Large-scale retrospective relative spectrophotometric self-calibration in space