!!! now with correct log prior for energy