added storing of likelihood for halo fit