Calculate 95% limit with Bayesian method with a flat prior

Marginalize the likelihood via MC integration. Then interpret the marginalized likelihood as a posterior pdf

This is fake data with 3 point