Statistics for Determining Analytical Potential Energy Functions of Diatomic Molecules by Direct Fitting