Flagautocorr
From CASA Guides
Help on flagautocorr task: Flag autocorrelations Flag autocorrelations: Flags all autocorrelation data in the measurements set. Unless these data will be specifically used in the subsequent reductions, they should be flagged. Keyword arguments: vis -- Name of input visibility file (MS) default: none. example: vis='ngc5921.ms'