nll_basic_logscale function

Negative log-likelihood function: basic model on logscale