profile_max, phatfree = self._profile_optimum(phatfree, pvec[start])