Updated code to write null data and plots when scan #s are repeated.

Also, added .flag and .fixed_lags to .gitignore
These are both outputs of the sdfits filler.