obsname = '1875'
; Create extraction regions.
ae_make_catalog , obsname, EVTFILE='spectral.evt',PIPELINE_RANDOMIZATION=0
; Extract spectra and backgrounds.
ae_standard_extraction, obsname, EVTFILE='spectral.evt'
; Repeat the following two commands as needed to improve the size of the background region for each source.
ae_adjust_backscal_range, MIN_NUM_CTS=100
ae_standard_extraction, obsname, EVTFILE='spectral.evt', SRCLIST_FILENAME='rerun.srclist', $
EXTRACT_SPECTRA=0, TIMING=0, /REUSE_MASKING
; Perform photometry, and prepare spectra for fitting.
acis_extract, 'all.srclist', /MERGE_OBSERVATIONS
Potentially valuable diagnostic plots are available from all these AE stages, as described in §7. For simplicity in this Getting Started tutorial, we omit the plots. We recommend that you visually review the extraction regions (polygons) which are shown in a ds9 session spawned by ae_make_catalog. We also recommend that you visually review the background event list and exposure map formed by masking the point sources which are shown in a ds9 session spawned by ae_standard_extraction.
We recommend that you consider any warning or error messages produced by CIAO or AE; use egrep to scan for them in the log:
egrep -i "WARNING|ERROR" AE_simple_run.log | egrep -v "error=|No HDUNAME"
Many data products (discussed in other sections) are produced for each source, including source and background spectra, RMF and ARF files, ready for spectral fitting.