mev function

Loglikelihood adjustment for mev fits