A noniterative solution to the inverse Ising problem using a convex upper bound on the partition function. (1st February 2022)