Integral error with a TF1 functoin not from fitting

See this old post (in the old “TH1F variable bin width” thread) and / or that old post (in the old “How to find the area error using peakfind.C" thread).