compute likelihood contours