Up to top level
AO15   AO16   AO17   AO18   Backgrounds   Calibration   Conference   Data   Docs   EPICMOS   EPICpn   Feedback   Gallery   Misc   OM   Pending   PhD_Theses   Publications   RGS   RadMonitor   SAS_Hardware   SAS_WS   SASv16.0   SASv16.0_Installation   SASv16.1   SASv16.1_Installation   SASv17.0   SASv17.0_Installation   SciSim   Simulators_other   Suggestions   Trash   Visibility   XMM-bouncing   XMM-news   XRPS   XSA   esas   incoming  

Logged in as guest

Viewing SASv17.0/83837
Full headers

From: vineetojhabhu@gmail.com
Subject: regarding sas intialization
Compose reply
Download message
Move To:
2 replies: 1 2
2 followups: 1 2

Private message: yes  no

Notes:

Notification:


Date: Wed, 15 Aug 2018 12:35:15 GMT
From: vineetojhabhu@gmail.com
To: xmmhelp@sciops.esa.int
CC: vineetojhabhu@gmail.com
Subject: regarding sas intialization
Full_Name: vineet ojha
Submission from: (NULL) (193.147.152.102)


Dear Sir,
          I have made the event, ccf.cif and summary file *SUM.SAS for many
observation IDs. Now I want to do the spectral analysis of these observations
IDs, So I first initialized the SAS software and other related things as follow
on the terminal for a particular observation ID in their ODF directory (let say
/media/vin/Vin_HD/XMM_data_1_2k/0790860101/ODF)

heainit 
sas
export SAS_CCFPATH=/home/vin/XMM_CALDB
pwd
export SAS_ODF=`pwd`  
export SAS_CCF=ccf.cif
export SAS_ODF=`ls -1 *SUM.SAS`

and do the spectral analysis.

Further, I want to do the spectral analysis of other observation ID in which
their event, ccf.cif and summary file *SUM.SAS already exist. So I don't set the
environment path variable again and start the spectral analysis by going to that
directory (i.e. /media/vin/Vin_HD/XMM_data_1_2k/0153220601/ODF). It runs without
any error. So can you tell me whether am I doing correctly or not? and also tell
me while running in the last directory where I have not set the path of ccf.cif
and *SUM.SAS path which files is it taking in place of ccf.cif and *SUM.SAS
files?

Thanking You
Regards
Vineet Ojha
SRF, ARIES, Nainital, India.



Reply 1

Resend
From: Pedro M. Rodriguez Pascual <xmmhelp@sciops.esa.int>
To: vineetojhabhu@gmail.com
Subject: Re: regarding sas intialization (PR#83837)
Date: Fri Aug 17 10:14:36 2018
Dear Vineet Ojha,

please, note that even if no error is issued by the SAS code weird results can
be obtained from SAS if the SAS_ODF and SAS_CCF do not point to the correct
values.

We strongly encourage you to (a) make a ccf.cif per observation as in the case
of *SUM.SAS files and (b) set SAS_ODF and SAS_CCF to the SUM.SAS and ccf.cif of
the corresponding observation.

Sincerely,

Pedro Rodriguez

> Full_Name: vineet ojha
> Submission from: (NULL) (193.147.152.102)
> 
> 
> Dear Sir,
>           I have made the event, ccf.cif and summary file *SUM.SAS for
many
> observation IDs. Now I want to do the spectral analysis of these
observations
> IDs, So I first initialized the SAS software and other related things as
follow
> on the terminal for a particular observation ID in their ODF directory (let
say
> /media/vin/Vin_HD/XMM_data_1_2k/0790860101/ODF)
> 
> heainit 
> sas
> export SAS_CCFPATH=/home/vin/XMM_CALDB
> pwd
> export SAS_ODF=`pwd`  
> export SAS_CCF=ccf.cif
> export SAS_ODF=`ls -1 *SUM.SAS`
> 
> and do the spectral analysis.
> 
> Further, I want to do the spectral analysis of other observation ID in
which
> their event, ccf.cif and summary file *SUM.SAS already exist. So I don't
set
the
> environment path variable again and start the spectral analysis by going to
that
> directory (i.e. /media/vin/Vin_HD/XMM_data_1_2k/0153220601/ODF). It runs
without
> any error. So can you tell me whether am I doing correctly or not? and also
tell
> me while running in the last directory where I have not set the path of
ccf.cif
> and *SUM.SAS path which files is it taking in place of ccf.cif and
*SUM.SAS
> files?
> 
> Thanking You
> Regards
> Vineet Ojha
> SRF, ARIES, Nainital, India.
> 
> 
> 


Followup 1

Compose reply
Download message
From: Vineet Ojha <vineetojhabhu@gmail.com>
Date: Fri, 17 Aug 2018 16:24:14 +0530
Subject: Re: regarding sas intialization (PR#83837)
To: "Pedro M. Rodriguez Pascual" <xmmhelp@sciops.esa.int>
--0000000000006a41e905739f6115
Content-Type: text/plain; charset="UTF-8"

Dear Pedro Rodriguez,
                                       Thanks for your valuable
suggestions. Actually, I am generating the source+background spectrum,
background spectrum, arf file, rmf file using 'especget' command as follows
to estimate the photon index of our source using some model in xspec

especget srcspecset=pn.pha bckspecset=pnb.pha srcarfset=pn.arf
srcrmfset=pn.rmf srcexp="((X,Y) in CIRCLE
(31302.079,34596.406,609.60812))&&(FLAG==0)&&(PATTERN <=
4)&&(PI in
[300:10000]) && gti(pn_gti.fits,TIME)" backexp="((X,Y) in CIRCLE
(32802.079,34816.406,609.60812))&&(FLAG==0)&&(PATTERN <=
4)&&(PI in
[300:10000]) && gti(pn_gti.fits,TIME)"
table=P0674320301PNU002PIEVLI0000.FIT

which needs event file only. So, if I do not initialize the path
of SAS_ODF, SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` in the working directory
even also it runs correctly and gives correct results. To confirm this
doubt I checked the header of the event file
'P0674320301PNU002PIEVLI0000.FIT' and foud ccf.cif in their header. This
confirms that when do I run the especget it takes the ccf.cif values from
the event file. To further confirm it, I initialize the path of SAS_ODF,
SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` in the working directory and
re-estimated the photon index of our source and found no change in its
value. I did it for 10 observations IDs in both the way with and without
initializing the path of SAS_ODF, SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` (
please refer my previous mail how have I done it) and found no change in
the estimated parameters.

Plese give me your comments, If I am doing wrong

Thanking You
Regards
Vineet Ojha
SRF, ARIES, Nainital, India

On Fri, Aug 17, 2018 at 3:44 PM, Pedro M. Rodriguez Pascual <
xmmhelp@sciops.esa.int> wrote:

> Dear Vineet Ojha,
>
> please, note that even if no error is issued by the SAS code weird results
> can
> be obtained from SAS if the SAS_ODF and SAS_CCF do not point to the correct
> values.
>
> We strongly encourage you to (a) make a ccf.cif per observation as in the
> case
> of *SUM.SAS files and (b) set SAS_ODF and SAS_CCF to the SUM.SAS and
> ccf.cif of
> the corresponding observation.
>
> Sincerely,
>
> Pedro Rodriguez
>
> > Full_Name: vineet ojha
> > Submission from: (NULL) (193.147.152.102)
> >
> >
> > Dear Sir,
> >           I have made the event, ccf.cif and summary file *SUM.SAS for
> many
> > observation IDs. Now I want to do the spectral analysis of these
> observations
> > IDs, So I first initialized the SAS software and other related things
as
> follow
> > on the terminal for a particular observation ID in their ODF directory
> (let
> say
> > /media/vin/Vin_HD/XMM_data_1_2k/0790860101/ODF)
> >
> > heainit
> > sas
> > export SAS_CCFPATH=/home/vin/XMM_CALDB
> > pwd
> > export SAS_ODF=`pwd`
> > export SAS_CCF=ccf.cif
> > export SAS_ODF=`ls -1 *SUM.SAS`
> >
> > and do the spectral analysis.
> >
> > Further, I want to do the spectral analysis of other observation ID in
> which
> > their event, ccf.cif and summary file *SUM.SAS already exist. So I
don't
> set
> the
> > environment path variable again and start the spectral analysis by
going
> to
> that
> > directory (i.e. /media/vin/Vin_HD/XMM_data_1_2k/0153220601/ODF). It
runs
> without
> > any error. So can you tell me whether am I doing correctly or not? and
> also
> tell
> > me while running in the last directory where I have not set the path
of
> ccf.cif
> > and *SUM.SAS path which files is it taking in place of ccf.cif and
> *SUM.SAS
> > files?
> >
> > Thanking You
> > Regards
> > Vineet Ojha
> > SRF, ARIES, Nainital, India.
> >
> >
> >
>
> This message is intended only for the recipient(s) named above. It may
> contain proprietary information and/or
> protected content. Any unauthorised disclosure, use, retention or
> dissemination is prohibited. If you have received
> this e-mail in error, please notify the sender immediately. ESA applies
> appropriate organisational measures to protect
> personal data, in case of data privacy queries, please contact the ESA
> Data Protection Officer (dpo@esa.int).
>
>
>

--0000000000006a41e905739f6115
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear=C2=A0Pedro Rodriguez,<div>=C2=A0 =C2=A0 =C2=A0
=C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks for your valuable suggestions.=
 Actually, I am generating the source+background spectrum, background sp

Message of length 10969 truncated


Reply 2

Resend
From: Pedro M. Rodriguez Pascual <xmmhelp@sciops.esa.int>
To: vineetojhabhu@gmail.com
Subject: Re: regarding sas intialization (PR#83837)
Date: Fri Aug 17 11:09:21 2018
Dear Vineet Ojha,

good to know that you have confirmed to obtain the same results with different
procedures on your data set. But as a general rule for any general case, you
should use specific ccf.cif and SUM.SAS per observation.

Pedro

> --0000000000006a41e905739f6115
> Content-Type: text/plain; charset="UTF-8"
> 
> Dear Pedro Rodriguez,
>                                        Thanks for your valuable
> suggestions. Actually, I am generating the source+background spectrum,
> background spectrum, arf file, rmf file using 'especget' command as
follows
> to estimate the photon index of our source using some model in xspec
> 
> especget srcspecset=pn.pha bckspecset=pnb.pha srcarfset=pn.arf
> srcrmfset=pn.rmf srcexp="((X,Y) in CIRCLE
> (31302.079,34596.406,609.60812))&&(FLAG==0)&&(PATTERN <=
4)&&(PI in
> [300:10000]) && gti(pn_gti.fits,TIME)" backexp="((X,Y) in CIRCLE
> (32802.079,34816.406,609.60812))&&(FLAG==0)&&(PATTERN <=
4)&&(PI in
> [300:10000]) && gti(pn_gti.fits,TIME)"
table=P0674320301PNU002PIEVLI0000.FIT
> 
> which needs event file only. So, if I do not initialize the path
> of SAS_ODF, SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` in the working directory
> even also it runs correctly and gives correct results. To confirm this
> doubt I checked the header of the event file
> 'P0674320301PNU002PIEVLI0000.FIT' and foud ccf.cif in their header. This
> confirms that when do I run the especget it takes the ccf.cif values from
> the event file. To further confirm it, I initialize the path of SAS_ODF,
> SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` in the working directory and
> re-estimated the photon index of our source and found no change in its
> value. I did it for 10 observations IDs in both the way with and without
> initializing the path of SAS_ODF, SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` (
> please refer my previous mail how have I done it) and found no change in
> the estimated parameters.
> 
> Plese give me your comments, If I am doing wrong
> 
> Thanking You
> Regards
> Vineet Ojha
> SRF, ARIES, Nainital, India
> 
> On Fri, Aug 17, 2018 at 3:44 PM, Pedro M. Rodriguez Pascual <
> xmmhelp@sciops.esa.int> wrote:
> 
>> Dear Vineet Ojha,
>>
>> please, note that even if no error is issued by the SAS code weird
results
>> can
>> be obtained from SAS if the SAS_ODF and SAS_CCF do not point to the
correct
>> values.
>>
>> We strongly encourage you to (a) make a ccf.cif per observation as in
the
>> case
>> of *SUM.SAS files and (b) set SAS_ODF and SAS_CCF to the SUM.SAS and
>> ccf.cif of
>> the corresponding observation.
>>
>> Sincerely,
>>
>> Pedro Rodriguez
>>
>> > Full_Name: vineet ojha
>> > Submission from: (NULL) (193.147.152.102)
>> >
>> >
>> > Dear Sir,
>> >           I have made the event, ccf.cif and summary file *SUM.SAS
for
>> many
>> > observation IDs. Now I want to do the spectral analysis of these
>> observations
>> > IDs, So I first initialized the SAS software and other related
things as
>> follow
>> > on the terminal for a particular observation ID in their ODF
directory
>> (let
>> say
>> > /media/vin/Vin_HD/XMM_data_1_2k/0790860101/ODF)
>> >
>> > heainit
>> > sas
>> > export SAS_CCFPATH=/home/vin/XMM_CALDB
>> > pwd
>> > export SAS_ODF=`pwd`
>> > export SAS_CCF=ccf.cif
>> > export SAS_ODF=`ls -1 *SUM.SAS`
>> >
>> > and do the spectral analysis.
>> >
>> > Further, I want to do the spectral analysis of other observation
ID in
>> which
>> > their event, ccf.cif and summary file *SUM.SAS already exist. So I
don't
>> set
>> the
>> > environment path variable again and start the spectral analysis by
going
>> to
>> that
>> > directory (i.e. /media/vin/Vin_HD/XMM_data_1_2k/0153220601/ODF).
It runs
>> without
>> > any error. So can you tell me whether am I doing correctly or not?
and
>> also
>> tell
>> > me while running in the last directory where I have not set the
path of
>> ccf.cif
>> > and *SUM.SAS path which files is it taking in place of ccf.cif
and
>> *SUM.SAS
>> > files?
>> >
>> > Thanking You
>> > Regards
>> > Vineet Ojha
>> > SRF, ARIES, Nainital, India.
>> >
>> >
>> >
>>
>> This message is intended only for the recipient(s) named above. It may
>> contain propriet

Message of length 12326 truncated


Followup 2

Compose reply
Download message
From: Vineet Ojha <vineetojhabhu@gmail.com>
Date: Fri, 17 Aug 2018 17:03:35 +0530
Subject: Re: regarding sas intialization (PR#83837)
To: "Pedro M. Rodriguez Pascual" <xmmhelp@sciops.esa.int>
--0000000000002a747005739fee6e
Content-Type: text/plain; charset="UTF-8"

Dear Pedro,
                    Thanks for your quick reply. Now I can proceed further
with our new procedure because It is giving no change in these two process.
Since I am working in an ODF directory where its ccf.cif and SUM.SAS file
already exists, So there may be one possibility that if our procedure is
not taking ccf.cif and SUM.SAS files from the event file, then it is taking
these file from the current working directory. To confirm it I removed
the  ccf.cif and SUM.SAS files from our current working ODF directory and
copied ccf.cif and SUM.SAS files of different ODF directory in our working
ODF directory. I again estimated the parameters ( photon index etc) for our
sources and found no change in it from the previous. This again confirmed
that in our procedure ccf.cif and SUM.SAS values are taking from the header
of the event file because when did I open the calibration index values from
the event file header and from the ccf.cif file separately they are exactly
matching.




Thanking You
Regards
Vineet

On Fri, Aug 17, 2018 at 4:39 PM, Pedro M. Rodriguez Pascual <
xmmhelp@sciops.esa.int> wrote:

> Dear Vineet Ojha,
>
> good to know that you have confirmed to obtain the same results with
> different
> procedures on your data set. But as a general rule for any general case,
> you
> should use specific ccf.cif and SUM.SAS per observation.
>
> Pedro
>
> > --0000000000006a41e905739f6115
> > Content-Type: text/plain; charset="UTF-8"
> >
> > Dear Pedro Rodriguez,
> >                                        Thanks for your valuable
> > suggestions. Actually, I am generating the source+background spectrum,
> > background spectrum, arf file, rmf file using 'especget' command as
> follows
> > to estimate the photon index of our source using some model in xspec
> >
> > especget srcspecset=pn.pha bckspecset=pnb.pha srcarfset=pn.arf
> > srcrmfset=pn.rmf srcexp="((X,Y) in CIRCLE
> > (31302.079,34596.406,609.60812))&&(FLAG==0)&&(PATTERN
<= 4)&&(PI in
> > [300:10000]) && gti(pn_gti.fits,TIME)" backexp="((X,Y) in
CIRCLE
> > (32802.079,34816.406,609.60812))&&(FLAG==0)&&(PATTERN
<= 4)&&(PI in
> > [300:10000]) && gti(pn_gti.fits,TIME)" table=
> P0674320301PNU002PIEVLI0000.FIT
> >
> > which needs event file only. So, if I do not initialize the path
> > of SAS_ODF, SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` in the working
directory
> > even also it runs correctly and gives correct results. To confirm this
> > doubt I checked the header of the event file
> > 'P0674320301PNU002PIEVLI0000.FIT' and foud ccf.cif in their header.
This
> > confirms that when do I run the especget it takes the ccf.cif values
from
> > the event file. To further confirm it, I initialize the path of
SAS_ODF,
> > SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS` in the working directory and
> > re-estimated the photon index of our source and found no change in its
> > value. I did it for 10 observations IDs in both the way with and
without
> > initializing the path of SAS_ODF, SAS_CCF and SAS_ODF=`ls -1 *SUM.SAS`
(
> > please refer my previous mail how have I done it) and found no change
in
> > the estimated parameters.
> >
> > Plese give me your comments, If I am doing wrong
> >
> > Thanking You
> > Regards
> > Vineet Ojha
> > SRF, ARIES, Nainital, India
> >
> > On Fri, Aug 17, 2018 at 3:44 PM, Pedro M. Rodriguez Pascual <
> > xmmhelp@sciops.esa.int> wrote:
> >
> >> Dear Vineet Ojha,
> >>
> >> please, note that even if no error is issued by the SAS code weird
> results
> >> can
> >> be obtained from SAS if the SAS_ODF and SAS_CCF do not point to
the
> correct
> >> values.
> >>
> >> We strongly encourage you to (a) make a ccf.cif per observation as
in
> the
> >> case
> >> of *SUM.SAS files and (b) set SAS_ODF and SAS_CCF to the SUM.SAS
and
> >> ccf.cif of
> >> the corresponding observation.
> >>
> >> Sincerely,
> >>
> >> Pedro Rodriguez
> >>
> >> > Full_Name: vineet ojha
> >> > Submission from: (NULL) (193.147.152.102)
> >> >
> >> >
> >> > Dear Sir,
> >> >           I have made the event, ccf.cif and summary file
*SUM.SAS for
> >> many
> >> > observation IDs. Now I want to do the spectral analysis of
these
> >> observations
> >> > IDs, So I first initialized the SAS software and other
related things
> as
> >> follow
> >> > on the terminal for a particu

Message of length 37105 truncated

Up to top level
AO15   AO16   AO17   AO18   Backgrounds   Calibration   Conference   Data   Docs   EPICMOS   EPICpn   Feedback   Gallery   Misc   OM   Pending   PhD_Theses   Publications   RGS   RadMonitor   SAS_Hardware   SAS_WS   SASv16.0   SASv16.0_Installation   SASv16.1   SASv16.1_Installation   SASv17.0   SASv17.0_Installation   SciSim   Simulators_other   Suggestions   Trash   Visibility   XMM-bouncing   XMM-news   XRPS   XSA   esas   incoming  

Logged in as guest


Please make your (short) question the subject of your request!


Web interface using JitterBug ... back to the XMM home page