Added flux_error column to ouput, background is now averaged from the two regions