/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 = 17362
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17362
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0242.3+1102_weekly_bin773
RA = 40.5951, Dec = 11.0477
tmin = 706492801, tmax = 707097601
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='17971491', job_status='RUN', time_executed='2023-05-30 00:06:29.291215', time_epoch_executed='1685430389.29' WHERE source_name='4FGL J0242.3+1102' and cadence='weekly' and bin_id='773'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17971491

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17971491/ft1_4FGL_J0242.3+1102_weekly_bin773.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17971491/ft1_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971491/ft1_filteredMKT_4FGL_J0242.3+1102_weekly_bin773.fits ra=40.5951 dec=11.0477 rad=12.0 tmin=706492801.0 tmax=707097601.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 4.74
user 4.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.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/17971491/ft1_filteredMKT_4FGL_J0242.3+1102_weekly_bin773.fits evtable="EVENTS" outfile="/lscratch/kocevski/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.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.49
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 2188

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17971491/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits
.....................!
real 32.56
user 31.85
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits evtable="EVENTS" scfile=/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17971491/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971491/expmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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/17971491/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits
.....................!
real 65.47
user 61.59
sys 3.38

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/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits scfile=/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971491/cmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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.45
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits scfile=/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971491/cmap_HighResolution_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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.48
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits evtable="EVENTS" scfile=/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17971491/Model_4FGL_J0242.3+1102_weekly_bin773.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 sourcDone.


Performing analysis on: 4FGL_J0242.3+1102_weekly_bin773
RA = 40.5951, Dec = 11.0477
tmin = 706492801, tmax = 707097601
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='17971492', job_status='RUN', time_executed='2023-05-30 00:06:29.469279', time_epoch_executed='1685430389.47' WHERE source_name='4FGL J0242.3+1102' and cadence='weekly' and bin_id='773'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17971492

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17971492/ft1_4FGL_J0242.3+1102_weekly_bin773.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17971492/ft1_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971492/ft1_filteredMKT_4FGL_J0242.3+1102_weekly_bin773.fits ra=40.5951 dec=11.0477 rad=12.0 tmin=706492801.0 tmax=707097601.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 4.71
user 4.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.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/17971492/ft1_filteredMKT_4FGL_J0242.3+1102_weekly_bin773.fits evtable="EVENTS" outfile="/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.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.57
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 2188

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17971492/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits
.....................!
real 30.43
user 29.57
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits evtable="EVENTS" scfile=/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17971492/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971492/expmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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/17971492/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits
.....................!
real 65.84
user 61.70
sys 3.55

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/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits scfile=/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971492/cmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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.43
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits scfile=/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits outfile=/lscratch/kocevski/17971492/cmap_HighResolution_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.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.48
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits evtable="EVENTS" scfile=/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17971492/Model_4FGL_J0242.3+1102_weekly_bin773.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/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits.....................!
real 111.11
user 109.55
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits', '/lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits', expMap='/lscratch/kocevski/17971491/expmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits', expCube='/lscratch/kocevski/17971491/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17971491/Model_4FGL_J0242.3+1102_weekly_bin773.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/17971491/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits
Spacecraft file(s): /lscratch/kocevski/17971491/ft2_4FGL_J0242.3+1102_weekly_bin773.fits
Exposure map: /lscratch/kocevski/17971491/expmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits
Exposure cube: /lscratch/kocevski/17971491/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17971491/Model_4FGL_J0242.3+1102_weekly_bin773.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) = 24238.3506612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3788       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.9154       1.0000          .0000       .10000E+07
     3 'norm      '    5.8296       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.9539       1.0000          .0000       .10000E+07
     5 'norm      '    1.0118       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.085       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.1546       1.0000          .0000       .10000E+07
     8 'Prefactor '    .44693E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10264E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.1869       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21888E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .61044       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18596E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10969E-03   1.0000          .0000       .10000E+07
    15 'norm      '    17.529       1.0000          .0000       .10000E+07
    16 'Prefactor '    .83511       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.6796       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25371E-05   1.0000          .0000       .10000E+07
    20 'norm      '    4.9846       1.0000          .0000       .10000E+07
    21 'norm      '    7.9371       1.0000          .0000       .10000E+07
    22 'norm      '    1.9363       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.5780       1.0000          .0000       .10000E+07
    24 'norm      '    1.1673       1.0000          .0000       .10000E+07
    25 'Prefactor '    2.3083       1.0000          .0000       .10000E+07
    26 'Prefactor '    6.6257       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0651       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0010       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=   24238.30     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2537 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3783        3.2347        .99614E-07   -.51650E-03
   2  Prefactor     8.9161        2.2038       -.76866E-07    .21603E-02
   3  norm          5.8299        2.7478        .87298E-07   -.11926E-03
   4  Prefactor     3.9542        1.6267        .60775E-07   -.91433E-03
   5  norm          1.0118        .45031       -.25866E-08    .14861E-04
   6  Prefactor     18.064        1.2373        .14482E-08   -.59886E-03
   7  Prefactor     5.1299        1.6437        .20029E-07   -.18274E-01
   8  Prefactor     .49960E-09    21.017        .19371E-06** at limit **
   9  Prefactor      .0000        6.7071        .11664E-06** at limit **
  10  Prefactor     6.2256        1.3211       -.13440E-07    .43193E-02
  11  Prefactor      .0000        1.6024        .59217E-07** at limit **
  12  norm          .61044        .25602        .11519E-07    .63564E-03
  13  Prefactor     .16653E-09    6.5049        .17324E-06** at limit **
  14  Prefactor     .44409E-09    11.999       -.25074E-07** at limit **
  15  norm          17.567        8.4642       -.20846E-06   -.36951E-03
  16  Prefactor     .82021        .74157        .97139E-08    .10108E-01
  17  Prefactor     .11102E-08    90.947       -.77741E-07** at limit **
  18  Prefactor     4.7758        10.781        .13398E-06   -.48131E-03
  19  Prefactor     .10547E-08    11.854        .18646E-06** at limit **
  20  norm          4.9890        4.5513        .14251E-06   -.49536E-03
  21  norm          7.9356        6.0919        .56845E-08    .13369E-03
  22  norm          1.9362        1.6831        .43056E-07   -.89084E-04
  23  Prefactor     3.5789        2.7301       -.53072E-07   -.97699E-05
  24  norm          1.1800        4.9015       -.10796E-06    .43493E-04
  25  Prefactor     2.3081        2.0086        .48062E-07   -.53501E-03
  26  Prefactor     6.6153        6.4187       -.41698E-07    .25453E-04
  27  Normalizat    1.0651        .13899       -.31523E-06    .90232E-05
  28  Prefactor     1.0009        .58773E-01    .34840E-06    .35100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.37831
  Prefactor  = 8.91605
  norm       = 5.82989
  Prefactor  = 3.95424
  norm       = 1.01176
  Prefactor  = 18.0644
  Prefactor  = 5.1299
  Prefactor  = 4.996e-10
  Prefactor  = 0
  Prefactor  = 6.22557
  Prefactor  = 0
  norm       = 0.610442
  Prefactor  = 1.66533e-10
  Prefactor  = 4.44089e-10
  norm       = 17.5674
  Prefactor  = 0.820207
  Prefactor  = 1.11022e-09
  Prefactor  = 4.77576
  Prefactor  = 1.05471e-09
  norm       = 4.98897
  norm       = 7.93555
  norm       = 1.93615
  Prefactor  = 3.57895
  norm       = 1.18001
  Prefactor  = 2.30815
  Prefactor  = 6.61529
  Normalizat = 1.06514
  Prefactor  = 1.0009
e GAL_V02
Working on...
/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits.....................!
real 112.62
user 111.20
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits', '/lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits', expMap='/lscratch/kocevski/17971492/expmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits', expCube='/lscratch/kocevski/17971492/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17971492/Model_4FGL_J0242.3+1102_weekly_bin773.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/17971492/ft1_filtered_4FGL_J0242.3+1102_weekly_bin773.fits
Spacecraft file(s): /lscratch/kocevski/17971492/ft2_4FGL_J0242.3+1102_weekly_bin773.fits
Exposure map: /lscratch/kocevski/17971492/expmap_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits
Exposure cube: /lscratch/kocevski/17971492/ltcube_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17971492/Model_4FGL_J0242.3+1102_weekly_bin773.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) = 24238.3506612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3788       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.9154       1.0000          .0000       .10000E+07
     3 'norm      '    5.8296       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.9539       1.0000          .0000       .10000E+07
     5 'norm      '    1.0118       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.085       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.1546       1.0000          .0000       .10000E+07
     8 'Prefactor '    .44693E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10264E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.1869       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21888E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .61044       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18596E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10969E-03   1.0000          .0000       .10000E+07
    15 'norm      '    17.529       1.0000          .0000       .10000E+07
    16 'Prefactor '    .83511       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11668E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.6796       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25371E-05   1.0000          .0000       .10000E+07
    20 'norm      '    4.9846       1.0000          .0000       .10000E+07
    21 'norm      '    7.9371       1.0000          .0000       .10000E+07
    22 'norm      '    1.9363       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.5780       1.0000          .0000       .10000E+07
    24 'norm      '    1.1673       1.0000          .0000       .10000E+07
    25 'Prefactor '    2.3083       1.0000          .0000       .10000E+07
    26 'Prefactor '    6.6257       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0651       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0010       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=   24238.30     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2537 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3783        3.2347        .99614E-07   -.51650E-03
   2  Prefactor     8.9161        2.2038       -.76866E-07    .21603E-02
   3  norm          5.8299        2.7478        .87298E-07   -.11926E-03
   4  Prefactor     3.9542        1.6267        .60775E-07   -.91433E-03
   5  norm          1.0118        .45031       -.25866E-08    .14861E-04
   6  Prefactor     18.064        1.2373        .14482E-08   -.59886E-03
   7  Prefactor     5.1299        1.6437        .20029E-07   -.18274E-01
   8  Prefactor     .49960E-09    21.017        .19371E-06** at limit **
   9  Prefactor      .0000        6.7071        .11664E-06** at limit **
  10  Prefactor     6.2256        1.3211       -.13440E-07    .43193E-02
  11  Prefactor      .0000        1.6024        .59217E-07** at limit **
  12  norm          .61044        .25602        .11519E-07    .63564E-03
  13  Prefactor     .16653E-09    6.5049        .17324E-06** at limit **
  14  Prefactor     .44409E-09    11.999       -.25074E-07** at limit **
  15  norm          17.567        8.4642       -.20846E-06   -.36951E-03
  16  Prefactor     .82021        .74157        .97139E-08    .10108E-01
  17  Prefactor     .11102E-08    90.947       -.77741E-07** at limit **
  18  Prefactor     4.7758        10.781        .13398E-06   -.48131E-03
  19  Prefactor     .10547E-08    11.854        .18646E-06** at limit **
  20  norm          4.9890        4.5513        .14251E-06   -.49536E-03
  21  norm          7.9356        6.0919        .56845E-08    .13369E-03
  22  norm          1.9362        1.6831        .43056E-07   -.89084E-04
  23  Prefactor     3.5789        2.7301       -.53072E-07   -.97699E-05
  24  norm          1.1800        4.9015       -.10796E-06    .43493E-04
  25  Prefactor     2.3081        2.0086        .48062E-07   -.53501E-03
  26  Prefactor     6.6153        6.4187       -.41698E-07    .25453E-04
  27  Normalizat    1.0651        .13899       -.31523E-06    .90232E-05
  28  Prefactor     1.0009        .58773E-01    .34840E-06    .35100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.37831
  Prefactor  = 8.91605
  norm       = 5.82989
  Prefactor  = 3.95424
  norm       = 1.01176
  Prefactor  = 18.0644
  Prefactor  = 5.1299
  Prefactor  = 4.996e-10
  Prefactor  = 0
  Prefactor  = 6.22557
  Prefactor  = 0
  norm       = 0.610442
  Prefactor  = 1.66533e-10
  Prefactor  = 4.44089e-10
  norm       = 17.5674
  Prefactor  = 0.820207
  Prefactor  = 1.11022e-09
  Prefactor  = 4.77576
  Prefactor  = 1.05471e-09
  norm       = 4.98897
  norm       = 7.93555
  norm       = 1.93615
  Prefactor  = 3.57895
  norm       = 1.18001
  Prefactor  = 2.30815
  Prefactor  = 6.61529
  Normalizat = 1.06514
  Prefactor  = 1.0009
 **********
 **   18 **HESSE 
 **********

 FCN=   24238.30     FROM HESSE     STATUS=OK           587 CALLS     3124 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3783        3.2453        .39717E-03   -1.5657    
   2  Prefactor     8.9161        2.2099        .33544E-03   -1.5648    
   3  norm          5.8299        2.7523        .41572E-03   -1.5660    
   4  Prefactor     3.9542        1.6648        .50705E-03   -1.5668    
   5  norm          1.0118        .45054        .44181E-04   -1.5688    
   6  Prefactor     18.064        19.949        .23524E-03   -1.5623    
   7  Prefactor     5.1299        25.386        .44256E-03   -1.5663    
   8  Prefactor     .49960E-09    21.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.6893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2256        14.875        .40336E-03   -1.5658    
  11  Prefactor      .0000        1.6070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61044        .26817        .68298E-03   -1.5692    
  13  Prefactor     .16653E-09    6.5254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .44409E-09    12.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          17.567        8.4810        .23895E-03   -1.5624    
  16  Prefactor     .82021        27.688        .50354E-03   -1.5690    
  17  Prefactor     .11102E-08    90.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7758        11.054        .46496E-03   -1.5664    
  19  Prefactor     .10547E-08    11.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.9890        4.5470        .45020E-03   -1.5663    
  21  norm          7.9356        6.1074        .35566E-03   -1.5652    
  22  norm          1.9362        1.6842        .74595E-03   -1.5680    
  23  Prefactor     3.5789        2.7315        .53401E-03   -1.5670    
  24  norm          1.1800        4.8887        .10631E-02   -1.5686    
  25  Prefactor     2.3081        2.0054        .67507E-03   -1.5678    
  26  Prefactor     6.6153        6.4174        .38961E-03   -1.5657    
  27  Normalizat    1.0651        .13199        .88449E-01   -.90879    
  28  Prefactor     1.0009        .52763E-01    .45384E-01   -.92699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40693e-06
Minuit parameter uncertainties:
  1  3.24531
  2  2.20993
  3  2.75231
  4  1.66484
  5  0.450537
  6  19.9487
  7  22.8238
  8  0.000199893
  9  1.56665e-05
  10  14.8746
  11  1.5249e-06
  12  0.26817
  13  6.2528e-05
  14  0.000146793
  15  8.48104
  16  9.53099
  17  0.000640418
  18  11.0544
  19  0.000219298
  20  4.54696
  21  6.10741
  22  1.68424
  23  2.73148
  24  4.80362
  25  2.00545
  26  6.41736
  27  0.132035
  28  0.0527661
 **********
 **   18 **HESSE 
 **********

 FCN=   24238.30     FROM HESSE     STATUS=OK           587 CALLS     3124 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3783        3.2453        .39717E-03   -1.5657    
   2  Prefactor     8.9161        2.2099        .33544E-03   -1.5648    
   3  norm          5.8299        2.7523        .41572E-03   -1.5660    
   4  Prefactor     3.9542        1.6648        .50705E-03   -1.5668    
   5  norm          1.0118        .45054        .44181E-04   -1.5688    
   6  Prefactor     18.064        19.949        .23524E-03   -1.5623    
   7  Prefactor     5.1299        25.386        .44256E-03   -1.5663    
   8  Prefactor     .49960E-09    21.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.6893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2256        14.875        .40336E-03   -1.5658    
  11  Prefactor      .0000        1.6070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61044        .26817        .68298E-03   -1.5692    
  13  Prefactor     .16653E-09    6.5254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .44409E-09    12.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          17.567        8.4810        .23895E-03   -1.5624    
  16  Prefactor     .82021        27.688        .50354E-03   -1.5690    
  17  Prefactor     .11102E-08    90.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7758        11.054        .46496E-03   -1.5664    
  19  Prefactor     .10547E-08    11.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.9890        4.5470        .45020E-03   -1.5663    
  21  norm          7.9356        6.1074        .35566E-03   -1.5652    
  22  norm          1.9362        1.6842        .74595E-03   -1.5680    
  23  Prefactor     3.5789        2.7315        .53401E-03   -1.5670    
  24  norm          1.1800        4.8887        .10631E-02   -1.5686    
  25  Prefactor     2.3081        2.0054        .67507E-03   -1.5678    
  26  Prefactor     6.6153        6.4174        .38961E-03   -1.5657    
  27  Normalizat    1.0651        .13199        .88449E-01   -.90879    
  28  Prefactor     1.0009        .52763E-01    .45384E-01   -.92699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40693e-06
Minuit parameter uncertainties:
  1  3.24531
  2  2.20993
  3  2.75231
  4  1.66484
  5  0.450537
  6  19.9487
  7  22.8238
  8  0.000199893
  9  1.56665e-05
  10  14.8746
  11  1.5249e-06
  12  0.26817
  13  6.2528e-05
  14  0.000146793
  15  8.48104
  16  9.53099
  17  0.000640418
  18  11.0544
  19  0.000219298
  20  4.54696
  21  6.10741
  22  1.68424
  23  2.73148
  24  4.80362
  25  2.00545
  26  6.41736
  27  0.132035
  28  0.0527661
Done.

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

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  1.757e+01  8.481e+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

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.001e+00  5.277e-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.065e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.30
Ra Dec: 40.595 11.048
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 8.50e-06

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) = 24238.2040028
delta logL = 0.0942366212512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24238.2028269
delta logL = 0.0954124306882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.384       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6481       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0030       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24238.20     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      309 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.408        8.9317        .49433E-04    .83860E-03
   2  alpha         2.6498        .51577        .22864E-01    .40062E-03
   3  Normalizat    1.0561        .13559        .39316E-03   -.80965E-06
   4  Prefactor     1.0029        .56754E-01    .16931E-03   -.28738E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.408
  alpha      = 2.64984
  Normalizat = 1.05614
  Prefactor  = 1.00291
 **********
 **   18 **HESSE 
 **********

 FCN=   24238.20     FROM HESSE     STATUS=OK            27 CALLS      336 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.408        8.6591        .98867E-05   -1.5627    
   2  alpha         2.6498        .49986        .45728E-02    .59972E-01
   3  Normalizat    1.0561        .13556        .15727E-04   -.91173    
   4  Prefactor     1.0029        .56738E-01    .67725E-05   -.92633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15003e-12
Minuit parameter uncertainties:
  1  8.65913
  2  0.503266
  3  0.1356
  4  0.0567411
Done.

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

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  1.757e+01  8.481e+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

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.001e+00  5.277e-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.065e+00  1.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.30
Ra Dec: 40.595 11.048
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 8.50e-06

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) = 24238.2040028
delta logL = 0.0942366212512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24238.2028269
delta logL = 0.0954124306882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.384       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6481       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0030       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24238.20     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      309 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.408        8.9317        .49433E-04    .83860E-03
   2  alpha         2.6498        .51577        .22864E-01    .40062E-03
   3  Normalizat    1.0561        .13559        .39316E-03   -.80965E-06
   4  Prefactor     1.0029        .56754E-01    .16931E-03   -.28738E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.408
  alpha      = 2.64984
  Normalizat = 1.05614
  Prefactor  = 1.00291
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) = 24238.2028091
delta logL = 0.0954302804748

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  1.641e+01  8.659e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.650e+00  5.033e-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.003e+00  5.674e-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.056e+00  1.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.48
Ra Dec: 40.595 11.048
Photon Index (Free Index): 2.65 +/- 0.50
Photon Flux (Free Index): 6.74e-08 +/- 3.67e-08
Energy Flux (Free Index): 1.77e-05 +/- 8.31e-06

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/17971491/cmap_HighResolution_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='1.77e-05', photon_flux_error='2.82e-08', dlogl='9.54e-02', energy_flux='1.76e-05', photon_flux2='6.74e-08', job_status='DONE', time_completed='2023-05-30 00:18:37.912696', photon_index_error2='0.50', photon_index2='2.65', ts='6.30', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='8.31e-06', EG='1.07', time_epoch_completed='1685431117.91', return_code='0', job_id='17971491', GAL2='1.00', EG2='1.06', return_code2='0', energy_flux_error='8.50e-06', photon_flux_error2='3.67e-08', ts2='6.48', photon_index='2.44' WHERE bin_id='773' AND source_name='4FGL J0242.3+1102' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 30 00:18:37 PDT 2023

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

 FCN=   24238.20     FROM HESSE     STATUS=OK            27 CALLS      336 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.408        8.6591        .98867E-05   -1.5627    
   2  alpha         2.6498        .49986        .45728E-02    .59972E-01
   3  Normalizat    1.0561        .13556        .15727E-04   -.91173    
   4  Prefactor     1.0029        .56738E-01    .67725E-05   -.92633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15003e-12
Minuit parameter uncertainties:
  1  8.65913
  2  0.503266
  3  0.1356
  4  0.0567411
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) = 24238.2028091
delta logL = 0.0954302804748

Extracting fit parameters...

4FGL J0242.3+1102
   Spectrum: LogParabola
254         norm:  1.641e+01  8.659e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.650e+00  5.033e-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.003e+00  5.674e-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.056e+00  1.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.48
Ra Dec: 40.595 11.048
Photon Index (Free Index): 2.65 +/- 0.50
Photon Flux (Free Index): 6.74e-08 +/- 3.67e-08
Energy Flux (Free Index): 1.77e-05 +/- 8.31e-06

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/17971492/cmap_HighResolution_706492801_707097601_4FGL_J0242.3+1102_weekly_bin773.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='1.77e-05', photon_flux_error='2.82e-08', dlogl='9.54e-02', energy_flux='1.76e-05', photon_flux2='6.74e-08', job_status='DONE', time_completed='2023-05-30 00:18:40.888780', photon_index_error2='0.50', photon_index2='2.65', ts='6.30', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='8.31e-06', EG='1.07', time_epoch_completed='1685431120.89', return_code='0', job_id='17971492', GAL2='1.00', EG2='1.06', return_code2='0', energy_flux_error='8.50e-06', photon_flux_error2='3.67e-08', ts2='6.48', photon_index='2.44' WHERE bin_id='773' AND source_name='4FGL J0242.3+1102' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 30 00:18:40 PDT 2023

