hifv_applycals(flagdetailedsum=False, flagbackup=True, calwt=[True], flagsum=False, gainmap=True)