hifv_applycals(flagdetailedsum=False, flagsum=False, gainmap=True)