Statistical mechanics of the inverse Ising problem and the optimal objective function. (14th August 2017)