Use profile likelihood to calculate the full likelihood; remove redundant full likelihood code