Nat. Methods 12, 377–378 (2015); published online 29 April 2015; corrected after print 24 September 2015

In the version of this article initially published, the curves (in red) showing the likelihood distribution in Figure 2 were incorrectly drawn in some panels. The error has been corrected in the HTML and PDF versions of the article.