remove environment from mandatory headers for raw observations and check that bounding box is non-null for pointing, focus and science observations before creation