create_full_nll function

Creates the full negative log-likelihood function create_full_nll Creates the full negative log-likelihood function