Accounting For Calibration Uncertainty In Detectors For High-Energy Astrophysics