def lnlike(self, theta):
        """ Logarithm of the likelihood """
        params,loglike = self.params,self.loglike
        kwargs = dict(list(zip(params,theta)))
        try:
            lnlike = loglike.value(**kwargs)
        except ValueError as AssertionError:
            lnlike = -np.inf
        return lnlike
Logarithm of the likelihood