plot convexity of MLE loss function