close #7, integ color mag now written to output file