the integration to get phiProfile seems to work for pot[0]=1