Plots: allow using a user-provided rate as fitted background in hist_bg_single
Require at least 10 samples to fit the exponential
Add function to fit BG as a function of Th for all the periods