added loglik for returned values in ash so that user doesn't have to do this separately