Cost function builder. For fitting distributions. Based on iminuit.
https://github.com/scikit-hep/probfit
(a11401f8615e87237d3acd39eafa064f7837d493)