p(X i , Y i ) is the normalized JPDF of X and Y at X i and Y j respectively. dX and dY are the binning widths used to discretize the X and Y variables respectively. The minima of the discrete free energy surface correspond to the maxima of the joint probability. The effective free energy (