added warning on optimization error when computing profile likelihood, ref #30