Ecient Optimization of the Likelihood Function in