Testing rgssources_test ... FAILED
Message: will run ./rgssources_test for no longer than 600 seconds.
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=create srclist=_R1S001SRCLI_0000.ds instexpid=R1S001 writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=atthk.dat attra=0 attdec=0 attapos=0 expmediantable=attgti.ds:STDGTI attstyle=start label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/EPIC.FIT epiclabelprefix=EPIC doconfusion=no instweights='3.5 1 1' flagepicsrcoutoffov=no withepicset=yes enablefilter=no bandids='2 3' withboresightfudge=yes  -w 1 -V 4
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
** rgssources: warning (incompleteLikelyODF), Both RA and DEC are zero for the proposed position.  ODF is very likely to be incomplete, corrupt or wrong,  except for the cases where the ODF is generated by SciSim, in which case it may be the intended behaviour. The boresight coordinates are close to (0,0), thus this task carries on processing as usual.  If it is not what you meant, remember you can always add sources manually by specifying addusersource=yes option etc.  Note that if you run this task with the verbosity (-V) of 5 or larger, you can see more information.
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

== Test for RATE calculations (rgssources) (retstat=0) ==
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=create srclist=./_0102640401R1S001SRCLI_0000.ds:SOURCES instexpid=/sasbuild/build/sas/lib/testodf/scisimsimple/0001_0000010010_R1S00101SPE.FIT writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=outfiles/P0102640401OBX000ATTTSR0000.FIT attra=0 attdec=0 attapos=0 expmediantable=attgti.ds:STDGTI attstyle=median label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/P0102640401EPX000OMSRLI0000.FIT:SRCLIST epiclabelprefix=EPIC doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=no withepicset=yes enablefilter=yes bandids='2 3' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  23.2124226
rgssources:-  attdec  =  30.6169161
rgssources:-  attapos =  66.9757848
rgssources:- Constructing the source list in memory.
rgssources:- Finding proposal info from the ODF.
** rgssources: warning (incompleteLikelyODF), Both RA and DEC are zero for the proposed position.  ODF is very likely to be incomplete, corrupt or wrong,  except for the cases where the ODF is generated by SciSim, in which case it may be the intended behaviour. The boresight coordinates are close to (0,0), thus this task carries on processing as usual.  If it is not what you meant, remember you can always add sources manually by specifying addusersource=yes option etc.  Note that if you run this task with the verbosity (-V) of 5 or larger, you can see more information.
 === ODF proposal information ===
 GO name                    : Dr. Pino Paperino
 GO institute               : Duck Research
 GO address                 : Duck Laboratories Unlimited, Via degli Stagni, Paperopoli, State, DUCK 42, Country
 GO e-mail                  : paperino@quack.duck-research.com
 AO                         : AO
 science type               : ST
 target name                : duckling
 target RA                  :    0.0000000000000000     
 target Dec                 :    0.0000000000000000     
 duration of observation [s]:    500.00000000000000     
 boresight RA               :    0.0000000000000000     
 boresight Dec              :    0.0000000000000000     
 position angle constr (lo) : 0  
 position angle constr (hi) : 360
 position angle orig. ref.  : ? 
 EMOS1 priority             :       1
 EMOS2 priority             :       2
 EPN priority               :       3
 RGS1 priority              :       4
 RGS2 priority              :       5
 OM priority                :       6
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

== Test for RATE calculations (rgssources_testrate.pl) (retstat=0) ==
=== Start running rgssources_testrate.pl ===
FLIST v1.6 :  Error opening file ./_0102640401R1S001SRCLI_0000.ds
FLIST v1.6 : Error Status Returned :  104
FLIST v1.6 : could not open the named file

FLIST v1.6 :  ***** FITSIO Error Stack Dump *****
failed to find or open the following file: (ffopen)
./_0102640401R1S001SRCLI_0000.ds
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(1), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(10), Instrument(2).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(10), Instrument(3).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(15), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(18), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(27), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(28), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(30), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(33), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(35), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(45), Instrument(1).
NOTE: No EPIC RATE is defined for the source ML_ID_SRC(52), Instrument(2).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(1).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(2).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(3).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(4).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(5).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(6).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(7).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(8).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(9).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(10).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(11).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(12).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(13).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(14).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(15).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(16).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(17).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(18).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(19).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(20).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(21).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(22).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(23).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(24).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(25).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(26).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(27).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(28).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(29).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(30).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(31).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(32).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(33).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(34).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(35).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(36).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(37).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(38).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(39).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(40).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(41).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(42).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(43).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(44).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(45).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(46).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(47).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(48).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(49).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(50).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(51).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(52).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(53).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(54).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(55).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(56).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(57).
NOTE: No RGS source corresponds to EPIC source ML_ID_SRC(58).
ERROR: RGS Row=(3) has a rate (0.000000), which should be ~1.214717.
ERROR: RGS Row=(4) has a rate (0.000000), which should be ~0.024008.
== Test for attstyle=user (rgssources) (retstat=2) ==
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=create srclist=dummy.ds instexpid=R1S001 writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=atthk.dat attra=23.212423 attdec=30.616916 attapos=66.975785 expmediantable=attgti.ds:STDGTI attstyle=user label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset='' epiclabelprefix=EPIC doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=no withepicset=no enablefilter=yes bandids='2 3' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  23.2124233
rgssources:-  attdec  =  30.6169167
rgssources:-  attapos =  66.9757843
rgssources:- Constructing the source list in memory.
rgssources:- Finding proposal info from the ODF.
** rgssources: warning (incompleteLikelyODF), Both RA and DEC are zero for the proposed position.  ODF is very likely to be incomplete, corrupt or wrong,  except for the cases where the ODF is generated by SciSim, in which case it may be the intended behaviour. The boresight coordinates are close to (0,0), thus this task carries on processing as usual.  If it is not what you meant, remember you can always add sources manually by specifying addusersource=yes option etc.  Note that if you run this task with the verbosity (-V) of 5 or larger, you can see more information.
 === ODF proposal information ===
 GO name                    : Dr. Pino Paperino
 GO institute               : Duck Research
 GO address                 : Duck Laboratories Unlimited, Via degli Stagni, Paperopoli, State, DUCK 42, Country
 GO e-mail                  : paperino@quack.duck-research.com
 AO                         : AO
 science type               : ST
 target name                : duckling
 target RA                  :    0.0000000000000000     
 target Dec                 :    0.0000000000000000     
 duration of observation [s]:    500.00000000000000     
 boresight RA               :    0.0000000000000000     
 boresight Dec              :    0.0000000000000000     
 position angle constr (lo) : 0  
 position angle constr (hi) : 360
 position angle orig. ref.  : ? 
 EMOS1 priority             :       1
 EMOS2 priority             :       2
 EPN priority               :       3
 RGS1 priority              :       4
 RGS2 priority              :       5
 OM priority                :       6
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

== Test for --flagepicsrcoutoffov (rgssources) (retstat=2) ==
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=create srclist=./_0102640401R1S001SRCLIA0000.ds instexpid=/sasbuild/build/sas/lib/testodf/scisimsimple/0001_0000010010_R1S00101SPE.FIT writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=outfiles/P0102640401OBX000ATTTSR0000.FIT attra=0 attdec=0 attapos=0 expmediantable=attgti.ds:STDGTI attstyle=median label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/P0102640401EPX000OMSRLI0000.FIT:SRCLIST epiclabelprefix=EPIC doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=yes withepicset=yes enablefilter=yes bandids='2 3' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  23.2124226
rgssources:-  attdec  =  30.6169161
rgssources:-  attapos =  66.9757848
rgssources:- Constructing the source list in memory.
rgssources:- Finding proposal info from the ODF.
** rgssources: warning (incompleteLikelyODF), Both RA and DEC are zero for the proposed position.  ODF is very likely to be incomplete, corrupt or wrong,  except for the cases where the ODF is generated by SciSim, in which case it may be the intended behaviour. The boresight coordinates are close to (0,0), thus this task carries on processing as usual.  If it is not what you meant, remember you can always add sources manually by specifying addusersource=yes option etc.  Note that if you run this task with the verbosity (-V) of 5 or larger, you can see more information.
 === ODF proposal information ===
 GO name                    : Dr. Pino Paperino
 GO institute               : Duck Research
 GO address                 : Duck Laboratories Unlimited, Via degli Stagni, Paperopoli, State, DUCK 42, Country
 GO e-mail                  : paperino@quack.duck-research.com
 AO                         : AO
 science type               : ST
 target name                : duckling
 target RA                  :    0.0000000000000000     
 target Dec                 :    0.0000000000000000     
 duration of observation [s]:    500.00000000000000     
 boresight RA               :    0.0000000000000000     
 boresight Dec              :    0.0000000000000000     
 position angle constr (lo) : 0  
 position angle constr (hi) : 360
 position angle orig. ref.  : ? 
 EMOS1 priority             :       1
 EMOS2 priority             :       2
 EPN priority               :       3
 RGS1 priority              :       4
 RGS2 priority              :       5
 OM priority                :       6
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

 == Test for --flagepicsrcoutoffov (fselect, flist) (retstat=2) ==
Parameter infile: file "./_0102640401R1S001SRCLI_0000.ds" is not accessible in mode r.
Error reading the 'infile' parameter. (at ftselect.c: 64)
PIL ERROR PIL_BAD_FILE_ACCESS: file not found (or has wrong access type)
Task ftselect 1.00 terminating with status -3039
error running ftselect infile='./_0102640401R1S001SRCLI_0000.ds' outfile='./_0102640401R1S001SRCLI_2000.ds' expression='@./_0102640401R1S001SRCLI_2000.ds-tmpexpr.txt' copyall='yes' clobber='yes' history='yes' mode='ql': Inappropriate ioctl for device at /sasbuild/tools/headas/architecture/bin/fselect line 71.
ERROR: Operation not permitted
Task fselect 1.1 terminating with status 1
Parameter infile: file "./_0102640401R1S001SRCLIA0000.ds" is not accessible in mode r.
Error reading the 'infile' parameter. (at ftselect.c: 64)
PIL ERROR PIL_BAD_FILE_ACCESS: file not found (or has wrong access type)
Task ftselect 1.00 terminating with status -3039
error running ftselect infile='./_0102640401R1S001SRCLIA0000.ds' outfile='./_0102640401R1S001SRCLIA2000.ds' expression='@./_0102640401R1S001SRCLIA2000.ds-tmpexpr.txt' copyall='yes' clobber='yes' history='yes' mode='ql': Inappropriate ioctl for device at /sasbuild/tools/headas/architecture/bin/fselect line 71.
ERROR: Operation not permitted
Task fselect 1.1 terminating with status 1
FLIST v1.6 :  Error opening file ./_0102640401R1S001SRCLI_2000.ds
FLIST v1.6 : Error Status Returned :  104
FLIST v1.6 : could not open the named file

FLIST v1.6 :  ***** FITSIO Error Stack Dump *****
failed to find or open the following file: (ffopen)
./_0102640401R1S001SRCLI_2000.ds
FLIST v1.6 :  Error opening file ./_0102640401R1S001SRCLIA2000.ds
FLIST v1.6 : Error Status Returned :  104
FLIST v1.6 : could not open the named file

FLIST v1.6 :  ***** FITSIO Error Stack Dump *****
failed to find or open the following file: (ffopen)
./_0102640401R1S001SRCLIA2000.ds
 == Test for --flagepicsrcoutoffov (diff) (retstat=104) ==
 == Test for --flagepicsrcoutoffov (fstruct) (retstat=104) ==
fstruct outfiles/P0102640401EPX000OMSRLI0000.FIT+1 colinfo=no | tail -1 | cut -f2 -d')' | sed -e 's/^ *//' | cut -f1 -d' '
fstruct4.1 :  Unable to open INFILE
fstruct4.1 :  Unable to open INFILE
 == Test for --flagepicsrcoutoffov (row-number1) (retstat=104) ==
 == Test for --flagepicsrcoutoffov (row-number2) (retstat=104) ==
./rgssources_test: 153: [: -eq: unexpected operator
 == Test for InstrumentId checking (rgssources) (retstat=2) ==
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=create srclist=srctest.ds instexpid=R2S000 writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=atthk.dat attra=34.500573 attdec=-4.996101 attapos=73.671295 expmediantable=attgti.ds:STDGTI attstyle=user label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/P0112370101M1S002EMSRLI0000_trim.FIT epiclabelprefix=EPIC doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=no withepicset=yes enablefilter=yes bandids='2 3' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  34.5005722
rgssources:-  attdec  =  -4.9961009
rgssources:-  attapos =  73.6712952
rgssources:- Constructing the source list in memory.
rgssources:- Finding proposal info from the ODF.
** rgssources: warning (incompleteLikelyODF), Both RA and DEC are zero for the proposed position.  ODF is very likely to be incomplete, corrupt or wrong,  except for the cases where the ODF is generated by SciSim, in which case it may be the intended behaviour. The boresight coordinates are close to (0,0), thus this task carries on processing as usual.  If it is not what you meant, remember you can always add sources manually by specifying addusersource=yes option etc.  Note that if you run this task with the verbosity (-V) of 5 or larger, you can see more information.
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

 === ODF proposal information ===
 GO name                    : Dr. Pino Paperino
 GO institute               : Duck Research
 GO address                 : Duck Laboratories Unlimited, Via degli Stagni, Paperopoli, State, DUCK 42, Country
 GO e-mail                  : paperino@quack.duck-research.com
 AO                         : AO
 science type               : ST
 target name                : duckling
 target RA                  :    0.0000000000000000     
 target Dec                 :    0.0000000000000000     
 duration of observation [s]:    500.00000000000000     
 boresight RA               :    0.0000000000000000     
 boresight Dec              :    0.0000000000000000     
 position angle constr (lo) : 0  
 position angle constr (hi) : 360
 position angle orig. ref.  : ? 
 EMOS1 priority             :       1
 EMOS2 priority             :       2
 EPN priority               :       3
 RGS1 priority              :       4
 RGS2 priority              :       5
 OM priority                :       6
 NOTE: OK (error (NoSuchExposure) is expected.)
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=create srclist=srctest.ds instexpid=M2S003 writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=atthk.dat attra=34.500573 attdec=-4.996101 attapos=73.671295 expmediantable=attgti.ds:STDGTI attstyle=user label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/P0112370101M1S002EMSRLI0000_trim.FIT epiclabelprefix=EPIC doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=no withepicset=yes enablefilter=yes bandids='2 3' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
** rgssources: warning (oddInstrumentId), instexpid gives the instrument number ( 5), which is neither RGS1 nor 2.
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  34.5005722
rgssources:-  attdec  =  -4.9961009
rgssources:-  attapos =  73.6712952
rgssources:- Constructing the source list in memory.
rgssources:- Finding proposal info from the ODF.
** rgssources: warning (incompleteLikelyODF), Both RA and DEC are zero for the proposed position.  ODF is very likely to be incomplete, corrupt or wrong,  except for the cases where the ODF is generated by SciSim, in which case it may be the intended behaviour. The boresight coordinates are close to (0,0), thus this task carries on processing as usual.  If it is not what you meant, remember you can always add sources manually by specifying addusersource=yes option etc.  Note that if you run this task with the verbosity (-V) of 5 or larger, you can see more information.
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

 === ODF proposal information ===
 GO name                    : Dr. Pino Paperino
 GO institute               : Duck Research
 GO address                 : Duck Laboratories Unlimited, Via degli Stagni, Paperopoli, State, DUCK 42, Country
 GO e-mail                  : paperino@quack.duck-research.com
 AO                         : AO
 science type               : ST
 target name                : duckling
 target RA                  :    0.0000000000000000     
 target Dec                 :    0.0000000000000000     
 duration of observation [s]:    500.00000000000000     
 boresight RA               :    0.0000000000000000     
 boresight Dec              :    0.0000000000000000     
 position angle constr (lo) : 0  
 position angle constr (hi) : 360
 position angle orig. ref.  : ? 
 EMOS1 priority             :       1
 EMOS2 priority             :       2
 EPN priority               :       3
 RGS1 priority              :       4
 RGS2 priority              :       5
 OM priority                :       6
 NOTE: OK (error (attributableNotFound) is expected.)
=== Test for filemode=modify (retstat=2) ==
 == Test for filemode=modify (rgssources 1) (retstat=2) ==
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=modify srclist=./_0102640401R1S001SRCLI_mod.ds instexpid=R1S001 writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=outfiles/P0102640401OBX000ATTTSR0000.FIT attra=0 attdec=0 attapos=0 expmediantable=attgti.ds:STDGTI attstyle=median label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/P0112370101M1S002EMSRLI0000_trim.FIT epiclabelprefix=EP1t doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=yes withepicset=yes enablefilter=yes bandids='1 3 4' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  23.2124226
rgssources:-  attdec  =  30.6169161
rgssources:-  attapos =  66.9757848
rgssources:- Constructing the source list in memory.
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

 == Test for filemode=modify (rgssources 2) (retstat=1) ==
rgssources:- Executing (routine): rgssources changeprime=no changeattitude=no filemode=modify srclist=./_0102640401R1S001SRCLI_mod.ds instexpid=R1S001 writeobskwds=yes writeexpkwds=yes clobberonlabel=no primeindex=1 primelabel=PROPOSAL primeexpression='' primestyle=auto meanset=atthk.dat medianset=outfiles/P0102640401OBX000ATTTSR0000.FIT attra=0 attdec=0 attapos=0 expmediantable=attgti.ds:STDGTI attstyle=median label=USER rate=0 userasprime=no process=no bkgexclude=yes ra=0 dec=0 deltaxdsp=0 deltadisp=0 positionstyle=radec addusersource=no epicset=outfiles/P0102640401EPX000OMSRLI0000.FIT:SRCLIST epiclabelprefix=EP2u doconfusion=yes instweights='3.5 1 1' flagepicsrcoutoffov=yes withepicset=yes enablefilter=yes bandids='2 3' withboresightfudge=yes  -w 10 -V 5
rgssources:- rgssources (rgssources-6.3.3)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:12:28.000
rgssources:- Obtaining pointing/attitude.
rgssources:- The RGS attitude used now is [in unit of degree]:
rgssources:-  attra   =  23.2124226
rgssources:-  attdec  =  30.6169161
rgssources:-  attapos =  66.9757848
rgssources:- Constructing the source list in memory.
Could not open file 'XMM_MISCDATA_0016.CCF' for reading in:
  /ccf/priv/dt
  /ccf/pub
  /ccf/priv/rt
  /sasbuild/build/sas/lib/testccf
  /sasbuild/build/sas/lib/testccf/
  .

 == Test for filemode=modify (E_BAND1) (retstat=1) ==
E_BAND1 =                    2 / [EPIC source list Band-ID(s)]
 == Test for filemode=modify (E_?BND2) (retstat=1) ==
 ERROR: The number of E_[0-9]BND2 in ./_0102640401R1S001SRCLI_mod.ds is NOT 3.
 == Test for filemode=modify (E_?BND3) (retstat=2) ==
 ERROR: The number of E_[0-9]BND3 in ./_0102640401R1S001SRCLI_mod.ds is NOT 2.
Error while running ./rgssources_test
ERROR: one of the tests failed