Maximum Likelihood fitting