Marginal log-likelihood using blackbox likelihood function

You can use a CustomDist to implement your black box likelihood. We are actually rewriting the PyMC example to use CustomDist instead of a Potential: Update blackbox likelihood example by ricardoV94 · Pull Request #631 · pymc-devs/pymc-examples · GitHub