Research & Science Home ESA Public Web Site Sci-Tech Portal      XMM-Newton Public Web Site XMM-Newton Sci-Tech Portal
Astrophysics Missions Planetary Exploration Missions Solar Terrestrial Science Missions Fundamental Physics Missions Science Faculty

SAS watchout page


I get the error: "Subscript 1 of PATTFRACTION (value 1) is out of range (1:0)" with rmfgen

A problem has been found with rmfgen when run on EPIC-pn spectra extracted from a spatial region which includes several different CCDs. The code attempts to calculate the centre of the spatial region and occasionally exits with an error message about PATTFRACTION subscripts. If you encounter this problem the solution is to use the appropriate canned matrix from the SOC web-site: ftp://xmm.esac.esa.int/pub/ccf/constituents/extras/responses/PN/

To find the correct canned matrix to use for a given spectrum, it is necessary to first look at an image and roughly calculate the mean RAW-Y position of the events in the spectrum. Using this, the observing mode and the selected event pattern range, the relevant redistribution matrix can be found. Instructions are given on the EPIC response web pages

   Copyright 2012© European Space Agency. All rights reserved.
This page was last updated on 22 February, 2011.