move calibVersion metadata from butler to processCcd and detrend