gof optim with MLE