/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).


Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).


WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7264
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0242.3+1102_daily_bin1801
RA = 40.5951, Dec = 11.0477
tmin = 706147201, tmax = 706406401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='17767896', job_status='RUN', time_executed='2023-05-22 00:06:16.545554', time_epoch_executed='1684739176.55' WHERE source_name='4FGL J0242.3+1102' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767896

Creating custom pfile directory:
/lscratch/kocevski/17767896/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=706147201.0 && nMetStart<706406401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=706147201.0 && nMetStart<706406401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17767896/ft1_4FGL_J0242.3+1102_daily_bin1801.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=706147201.0 && nMetStart<706406401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767896/ft1_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767896/ft1_filteredMKT_4FGL_J0242.3+1102_daily_bin1801.fits ra=40.5951 dec=11.0477 rad=12.0 tmin=706147201.0 tmax=706406401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.33
user 1.79
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17767896/ft1_filteredMKT_4FGL_J0242.3+1102_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.45
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 907

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767896/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits
.....................!
real 10.92
user 10.55
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767896/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767896/expmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/17767896/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits
.....................!
real 64.15
user 60.26
sys 3.51

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0242.3+1102 @ 40.5951 11.0477

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits scfile=/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767896/cmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=40.5951 yref=11.0477 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.37
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits scfile=/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767896/cmap_HighResolution_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=40.5951 yref=11.0477 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.52
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767896/Model_4FGL_J0242.3+1102_daily_bin1801.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GDone.


Performing analysis on: 4FGL_J0242.3+1102_daily_bin1801
RA = 40.5951, Dec = 11.0477
tmin = 706147201, tmax = 706406401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='17767895', job_status='RUN', time_executed='2023-05-22 00:06:16.528053', time_epoch_executed='1684739176.53' WHERE source_name='4FGL J0242.3+1102' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767895

Creating custom pfile directory:
/lscratch/kocevski/17767895/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=706147201.0 && nMetStart<706406401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=706147201.0 && nMetStart<706406401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17767895/ft1_4FGL_J0242.3+1102_daily_bin1801.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=706147201.0 && nMetStart<706406401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767895/ft1_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767895/ft1_filteredMKT_4FGL_J0242.3+1102_daily_bin1801.fits ra=40.5951 dec=11.0477 rad=12.0 tmin=706147201.0 tmax=706406401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.29
user 1.82
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17767895/ft1_filteredMKT_4FGL_J0242.3+1102_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.19
sys 0.11

Number of photons that the gtmktime cut: 907

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767895/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits
.....................!
real 12.20
user 11.85
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767895/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767895/expmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/17767895/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits
.....................!
real 64.37
user 60.31
sys 3.49

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0242.3+1102 @ 40.5951 11.0477

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits scfile=/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767895/cmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=40.5951 yref=11.0477 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.37
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits scfile=/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits outfile=/lscratch/kocevski/17767895/cmap_HighResolution_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=40.5951 yref=11.0477 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.43
user 0.25
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767895/Model_4FGL_J0242.3+1102_daily_bin1801.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits.....................!
real 49.58
user 48.31
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits', '/lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits', expMap='/lscratch/kocevski/17767896/expmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits', expCube='/lscratch/kocevski/17767896/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767896/Model_4FGL_J0242.3+1102_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.3+1102'

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  4.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.435e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  2.435e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767896/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767896/ft2_4FGL_J0242.3+1102_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767896/expmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767896/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767896/Model_4FGL_J0242.3+1102_daily_bin1801.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9962.97389141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9962.95266808

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0370       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.655       1.0000          .0000       .10000E+07
     3 'norm      '    13.359       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51331E-06   1.0000          .0000       .10000E+07
     5 'norm      '    3.0247       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2922       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56943E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20532E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19429E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12921E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6944       1.0000          .0000       .10000E+07
    12 'norm      '    .80577       1.0000          .0000       .10000E+07
    13 'Prefactor '    27.791       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.118       1.0000          .0000       .10000E+07
    15 'norm      '    20.476       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1478       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15580E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10151E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.2774       1.0000          .0000       .10000E+07
    20 'norm      '    7.0245       1.0000          .0000       .10000E+07
    21 'norm      '    7.5820       1.0000          .0000       .10000E+07
    22 'norm      '    1.4051       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    24 'norm      '    6.5905       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12823E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2659       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9962.953     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     3044 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0379        8.2881        .14561E-06    .79311E-02
   2  Prefactor     13.655        4.2929       -.31520E-07    .17648E-02
   3  norm          13.359        6.6239       -.18193E-06   -.38150E-03
   4  Prefactor     .66613E-09    6.3865        .13239E-06** at limit **
   5  norm          3.0247        1.2463       -.91315E-08    .61726E-03
   6  Prefactor     9.3165        19.472        .49274E-07    .47335E-01
   7  Prefactor     .17154E-05    18.767        .45724E-06** at limit **
   8  Prefactor     .16334E-05    29.593       -.12659E-06** at limit **
   9  Prefactor      .0000        4.1882       -.53087E-07** at limit **
  10  Prefactor     .47327E-05    16.577        .27128E-06** at limit **
  11  Prefactor     5.7017        6.2399       -.44949E-07    .73301E-01
  12  norm          .80568        .49981        .57266E-08    .83870E-03
  13  Prefactor     27.748        10.712        .68953E-07   -.10554    
  14  Prefactor     16.119        3.6416        .73757E-08   -.34104E-02
  15  norm          20.478        2.1337       -.46863E-08    .40102E-01
  16  Prefactor     1.1434        2.3260       -.58828E-07   -.36289E-02
  17  Prefactor     .17708E-07    136.95       -.27937E-05** at limit **
  18  Prefactor     .83267E-09    12.121       -.20709E-07** at limit **
  19  Prefactor     2.2774        3.3665       -.13042E-06   -.97639E-03
  20  norm          7.0256        6.5390        .52550E-07    .35672E-01
  21  norm          7.5818        7.0783       -.12029E-06    .52804E-03
  22  norm          1.4046        3.9876        .26593E-06    .18073E-02
  23  Prefactor     .98255E-08    3.8220       -.86938E-07** at limit **
  24  norm          6.5922        6.1016        .91461E-07    .71461E-01
  25  Prefactor     .15821E-07    3.5965        .98091E-07** at limit **
  26  Prefactor      .0000        7.0848       -.22193E-06** at limit **
  27  Normalizat    1.2658        .24770        .47856E-05    .14131E-03
  28  Prefactor     1.0616        .10022       -.38978E-06    .26808E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.03791
  Prefactor  = 13.6553
  norm       = 13.3588
  Prefactor  = 6.66134e-10
  norm       = 3.02468
  Prefactor  = 9.31648
  Prefactor  = 1.71541e-06
  Prefactor  = 1.63336e-06
  Prefactor  = 0
  Prefactor  = 4.73271e-06
  Prefactor  = 5.70166
  norm       = 0.805683
  Prefactor  = 27.7482
  Prefactor  = 16.1187
  norm       = 20.478
  Prefactor  = 1.14335
  Prefactor  = 1.77081e-08
  Prefactor  = 8.32667e-10
  Prefactor  = 2.27736
  norm       = 7.02555
  norm       = 7.58177
  norm       = 1.40465
  Prefactor  = 9.82547e-09
  norm       = 6.59216
  Prefactor  = 1.58207e-08
  Prefactor  = 0
  Normalizat = 1.26582
  Prefactor  = 1.06159
AL_V02
Working on...
/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits.....................!
real 50.37
user 48.58
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits', '/lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits', expMap='/lscratch/kocevski/17767895/expmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits', expCube='/lscratch/kocevski/17767895/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767895/Model_4FGL_J0242.3+1102_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.3+1102'

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  4.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.435e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  2.435e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767895/ft1_filtered_4FGL_J0242.3+1102_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767895/ft2_4FGL_J0242.3+1102_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767895/expmap_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767895/ltcube_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767895/Model_4FGL_J0242.3+1102_daily_bin1801.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9962.97389141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9962.95266808

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0370       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.655       1.0000          .0000       .10000E+07
     3 'norm      '    13.359       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51331E-06   1.0000          .0000       .10000E+07
     5 'norm      '    3.0247       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2922       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56943E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20532E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19429E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12921E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6944       1.0000          .0000       .10000E+07
    12 'norm      '    .80577       1.0000          .0000       .10000E+07
    13 'Prefactor '    27.791       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.118       1.0000          .0000       .10000E+07
    15 'norm      '    20.476       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1478       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15580E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10151E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.2774       1.0000          .0000       .10000E+07
    20 'norm      '    7.0245       1.0000          .0000       .10000E+07
    21 'norm      '    7.5820       1.0000          .0000       .10000E+07
    22 'norm      '    1.4051       1.0000          .0000       .10000E+07
    23 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    24 'norm      '    6.5905       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12823E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2659       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9962.953     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     3044 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0379        8.2881        .14561E-06    .79311E-02
   2  Prefactor     13.655        4.2929       -.31520E-07    .17648E-02
   3  norm          13.359        6.6239       -.18193E-06   -.38150E-03
   4  Prefactor     .66613E-09    6.3865        .13239E-06** at limit **
   5  norm          3.0247        1.2463       -.91315E-08    .61726E-03
   6  Prefactor     9.3165        19.472        .49274E-07    .47335E-01
   7  Prefactor     .17154E-05    18.767        .45724E-06** at limit **
   8  Prefactor     .16334E-05    29.593       -.12659E-06** at limit **
   9  Prefactor      .0000        4.1882       -.53087E-07** at limit **
  10  Prefactor     .47327E-05    16.577        .27128E-06** at limit **
  11  Prefactor     5.7017        6.2399       -.44949E-07    .73301E-01
  12  norm          .80568        .49981        .57266E-08    .83870E-03
  13  Prefactor     27.748        10.712        .68953E-07   -.10554    
  14  Prefactor     16.119        3.6416        .73757E-08   -.34104E-02
  15  norm          20.478        2.1337       -.46863E-08    .40102E-01
  16  Prefactor     1.1434        2.3260       -.58828E-07   -.36289E-02
  17  Prefactor     .17708E-07    136.95       -.27937E-05** at limit **
  18  Prefactor     .83267E-09    12.121       -.20709E-07** at limit **
  19  Prefactor     2.2774        3.3665       -.13042E-06   -.97639E-03
  20  norm          7.0256        6.5390        .52550E-07    .35672E-01
  21  norm          7.5818        7.0783       -.12029E-06    .52804E-03
  22  norm          1.4046        3.9876        .26593E-06    .18073E-02
  23  Prefactor     .98255E-08    3.8220       -.86938E-07** at limit **
  24  norm          6.5922        6.1016        .91461E-07    .71461E-01
  25  Prefactor     .15821E-07    3.5965        .98091E-07** at limit **
  26  Prefactor      .0000        7.0848       -.22193E-06** at limit **
  27  Normalizat    1.2658        .24770        .47856E-05    .14131E-03
  28  Prefactor     1.0616        .10022       -.38978E-06    .26808E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.03791
  Prefactor  = 13.6553
  norm       = 13.3588
  Prefactor  = 6.66134e-10
  norm       = 3.02468
  Prefactor  = 9.31648
  Prefactor  = 1.71541e-06
  Prefactor  = 1.63336e-06
  Prefactor  = 0
  Prefactor  = 4.73271e-06
  Prefactor  = 5.70166
  norm       = 0.805683
  Prefactor  = 27.7482
  Prefactor  = 16.1187
  norm       = 20.478
  Prefactor  = 1.14335
  Prefactor  = 1.77081e-08
  Prefactor  = 8.32667e-10
  Prefactor  = 2.27736
  norm       = 7.02555
  norm       = 7.58177
  norm       = 1.40465
  Prefactor  = 9.82547e-09
  norm       = 6.59216
  Prefactor  = 1.58207e-08
  Prefactor  = 0
  Normalizat = 1.26582
  Prefactor  = 1.06159
 **********
 **   18 **HESSE 
 **********

 FCN=   9962.953     FROM HESSE     STATUS=OK           581 CALLS     3625 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0379        8.3686        .44780E-03   -1.5663    
   2  Prefactor     13.655        4.3017        .27080E-03   -1.5634    
   3  norm          13.359        6.6360        .27380E-03   -1.5635    
   4  Prefactor     .66613E-09    6.1607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.0247        1.2465        .58325E-03   -1.5673    
   6  Prefactor     9.3165        32.271        .32853E-03   -1.5647    
   7  Prefactor     .17154E-05    21.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16334E-05    31.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47327E-05    23.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7017        12.639        .42070E-03   -1.5660    
  12  norm          .80568        .53938        .52506E-04   -1.5690    
  13  Prefactor     27.748        47.779        .18973E-03   -1.5603    
  14  Prefactor     16.119        23.260        .24920E-03   -1.5628    
  15  norm          20.478        12.818        .22106E-03   -1.5617    
  16  Prefactor     1.1434        45.323        .10811E-02   -1.5687    
  17  Prefactor     .17708E-07    137.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .83267E-09    12.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2774        3.3889        .68014E-03   -1.5678    
  20  norm          7.0256        10.025        .37827E-03   -1.5655    
  21  norm          7.5818        7.0873        .36396E-03   -1.5653    
  22  norm          1.4046        4.0108        .91439E-03   -1.5684    
  23  Prefactor     .98255E-08    3.8702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.5922        9.5590        .39066E-03   -1.5657    
  25  Prefactor     .15821E-07    3.7918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        7.0934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2658        .24018        .92574E-01   -.84592    
  28  Prefactor     1.0616        .91418E-01    .39275E-01   -.90704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52155e-06
Minuit parameter uncertainties:
  1  8.36865
  2  4.30168
  3  6.63597
  4  0.000129249
  5  1.24645
  6  32.2716
  7  0.0122012
  8  0.0142733
  9  1.58366e-06
  10  0.0210608
  11  12.6387
  12  0.539383
  13  47.7793
  14  23.2603
  15  12.8182
  16  14.3973
  17  0.00311691
  18  0.000203534
  19  3.38895
  20  10.025
  21  7.08736
  22  4.01079
  23  0.000390232
  24  9.55899
  25  0.00048963
  26  3.59746e-06
  27  0.240393
  28  0.0914318
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9962.95266818

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  2.048e+01  1.282e+01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.435e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  2.435e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.062e+00  9.143e-02  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.266e+00  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 40.595 11.048
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.82e-08 +/- 4.27e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.28e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9962.00255251
delta logL = 0.950115661772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9962.00203121
delta logL = 0.950636971191

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.176       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5107       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9962.002     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.176        11.871        .22270E-03    .98019E-02
   2  alpha         1.5107        .49146        .46224       -.41254E-04
   3  Normalizat    1.2992        .21327        .91558E-01    .22913E-04
   4  Prefactor     1.0541        .87676E-01    .39677E-01    .58998E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 20.1765
  alpha      = 1.51068
  Normalizat = 1.29924
  Prefactor  = 1.05408
 **********
 **   18 **HESSE 
 **********

 FCN=   9962.002     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.176        13.318        .89079E-05   -1.5618    
   2  alpha         1.5107        .59864        .20866E-01   -.40686    
   3  Normalizat    1.2992        .23446        .40551E-03   -.83589    
   4  Prefactor     1.0541        .96716E-01    .18191E-03   -.90948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58346e-09
Minuit parameter uncertainties:
  1  13.3178
  2  0.605641
  3  0.234653
  4  0.0967325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9962.00203086
delta logL = 0.950637313912

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  2.018e+01  1.332e+01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.511e+00  6.056e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  2.435e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.054e+00  9.673e-02  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.299e+00  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.77
Ra Dec: 40.595 11.048
Photon Index (Free Index): 1.51 +/- 0.61
Photon Flux (Free Index): 3.65e-08 +/- 2.78e-08
Energy Flux (Free Index): 2.87e-05 +/- 1.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17767896/cmap_HighResolution_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.82e-08', energy_flux2='2.87e-05', photon_flux_error='4.27e-08', dlogl='9.51e-01', energy_flux='2.05e-05', photon_flux2='3.65e-08', job_status='DONE', time_completed='2023-05-22 00:12:28.089122', photon_index_error2='0.61', photon_index2='1.51', ts='4.86', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.27', time_epoch_completed='1684739548.09', return_code='0', job_id='17767896', GAL2='1.05', EG2='1.30', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='2.78e-08', ts2='6.77', photon_index='2.44' WHERE bin_id='1801' AND source_name='4FGL J0242.3+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:12:28 PDT 2023

 **********
 **   18 **HESSE 
 **********

 FCN=   9962.953     FROM HESSE     STATUS=OK           581 CALLS     3625 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0379        8.3686        .44780E-03   -1.5663    
   2  Prefactor     13.655        4.3017        .27080E-03   -1.5634    
   3  norm          13.359        6.6360        .27380E-03   -1.5635    
   4  Prefactor     .66613E-09    6.1607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.0247        1.2465        .58325E-03   -1.5673    
   6  Prefactor     9.3165        32.271        .32853E-03   -1.5647    
   7  Prefactor     .17154E-05    21.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16334E-05    31.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47327E-05    23.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7017        12.639        .42070E-03   -1.5660    
  12  norm          .80568        .53938        .52506E-04   -1.5690    
  13  Prefactor     27.748        47.779        .18973E-03   -1.5603    
  14  Prefactor     16.119        23.260        .24920E-03   -1.5628    
  15  norm          20.478        12.818        .22106E-03   -1.5617    
  16  Prefactor     1.1434        45.323        .10811E-02   -1.5687    
  17  Prefactor     .17708E-07    137.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .83267E-09    12.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2774        3.3889        .68014E-03   -1.5678    
  20  norm          7.0256        10.025        .37827E-03   -1.5655    
  21  norm          7.5818        7.0873        .36396E-03   -1.5653    
  22  norm          1.4046        4.0108        .91439E-03   -1.5684    
  23  Prefactor     .98255E-08    3.8702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.5922        9.5590        .39066E-03   -1.5657    
  25  Prefactor     .15821E-07    3.7918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        7.0934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2658        .24018        .92574E-01   -.84592    
  28  Prefactor     1.0616        .91418E-01    .39275E-01   -.90704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52155e-06
Minuit parameter uncertainties:
  1  8.36865
  2  4.30168
  3  6.63597
  4  0.000129249
  5  1.24645
  6  32.2716
  7  0.0122012
  8  0.0142733
  9  1.58366e-06
  10  0.0210608
  11  12.6387
  12  0.539383
  13  47.7793
  14  23.2603
  15  12.8182
  16  14.3973
  17  0.00311691
  18  0.000203534
  19  3.38895
  20  10.025
  21  7.08736
  22  4.01079
  23  0.000390232
  24  9.55899
  25  0.00048963
  26  3.59746e-06
  27  0.240393
  28  0.0914318
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9962.95266818

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  2.048e+01  1.282e+01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.435e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  2.435e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.062e+00  9.143e-02  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.266e+00  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 40.595 11.048
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.82e-08 +/- 4.27e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.28e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9962.00255251
delta logL = 0.950115661772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9962.00203121
delta logL = 0.950636971191

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.176       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5107       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9962.002     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.176        11.871        .22270E-03    .98019E-02
   2  alpha         1.5107        .49146        .46224       -.41254E-04
   3  Normalizat    1.2992        .21327        .91558E-01    .22913E-04
   4  Prefactor     1.0541        .87676E-01    .39677E-01    .58998E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 20.1765
  alpha      = 1.51068
  Normalizat = 1.29924
  Prefactor  = 1.05408
 **********
 **   18 **HESSE 
 **********

 FCN=   9962.002     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.176        13.318        .89079E-05   -1.5618    
   2  alpha         1.5107        .59864        .20866E-01   -.40686    
   3  Normalizat    1.2992        .23446        .40551E-03   -.83589    
   4  Prefactor     1.0541        .96716E-01    .18191E-03   -.90948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58346e-09
Minuit parameter uncertainties:
  1  13.3178
  2  0.605641
  3  0.234653
  4  0.0967325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9962.00203086
delta logL = 0.950637313912

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  2.018e+01  1.332e+01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.511e+00  6.056e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  2.435e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.054e+00  9.673e-02  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.299e+00  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.77
Ra Dec: 40.595 11.048
Photon Index (Free Index): 1.51 +/- 0.61
Photon Flux (Free Index): 3.65e-08 +/- 2.78e-08
Energy Flux (Free Index): 2.87e-05 +/- 1.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17767895/cmap_HighResolution_706147201_706406401_4FGL_J0242.3+1102_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.82e-08', energy_flux2='2.87e-05', photon_flux_error='4.27e-08', dlogl='9.51e-01', energy_flux='2.05e-05', photon_flux2='3.65e-08', job_status='DONE', time_completed='2023-05-22 00:12:39.131922', photon_index_error2='0.61', photon_index2='1.51', ts='4.86', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.27', time_epoch_completed='1684739559.13', return_code='0', job_id='17767895', GAL2='1.05', EG2='1.30', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='2.78e-08', ts2='6.77', photon_index='2.44' WHERE bin_id='1801' AND source_name='4FGL J0242.3+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:12:39 PDT 2023

