/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_J0115.1-0129_daily_bin1801
RA = 18.7859, Dec = -1.4962
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='17767693', job_status='RUN', time_executed='2023-05-22 00:05:59.157344', time_epoch_executed='1684739159.16' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767693

Creating custom pfile directory:
/lscratch/kocevski/17767693/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/17767693/ft1_4FGL_J0115.1-0129_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/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767693/ft1_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767693/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1801.fits ra=18.7859 dec=-1.4962 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.23
user 1.59
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_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/17767693/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_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.52
user 0.18
sys 0.11

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767693/ltcube_706147201_706406401_4FGL_J0115.1-0129_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/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits
.....................!
real 9.20
user 8.70
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767693/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767693/expmap_706147201_706406401_4FGL_J0115.1-0129_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/17767693/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits
.....................!
real 68.20
user 63.71
sys 3.92

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0115.1-0129 @ 18.7859 -1.4962

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits scfile=/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767693/cmap_706147201_706406401_4FGL_J0115.1-0129_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=18.7859 yref=-1.4962 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.41
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits scfile=/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767693/cmap_HighResolution_706147201_706406401_4FGL_J0115.1-0129_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=18.7859 yref=-1.4962 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.42
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767693/Model_4FGL_J0115.1-0129_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 GALDone.


Performing analysis on: 4FGL_J0115.1-0129_daily_bin1801
RA = 18.7859, Dec = -1.4962
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='17767694', job_status='RUN', time_executed='2023-05-22 00:05:59.050495', time_epoch_executed='1684739159.05' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767694

Creating custom pfile directory:
/lscratch/kocevski/17767694/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/17767694/ft1_4FGL_J0115.1-0129_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/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767694/ft1_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767694/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1801.fits ra=18.7859 dec=-1.4962 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.40
user 2.01
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_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/17767694/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_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.48
user 0.23
sys 0.15

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767694/ltcube_706147201_706406401_4FGL_J0115.1-0129_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/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits
.....................!
real 8.78
user 8.28
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767694/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767694/expmap_706147201_706406401_4FGL_J0115.1-0129_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/17767694/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits
.....................!
real 67.97
user 63.69
sys 3.80

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0115.1-0129 @ 18.7859 -1.4962

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits scfile=/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767694/cmap_706147201_706406401_4FGL_J0115.1-0129_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=18.7859 yref=-1.4962 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.42
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits scfile=/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits outfile=/lscratch/kocevski/17767694/cmap_HighResolution_706147201_706406401_4FGL_J0115.1-0129_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=18.7859 yref=-1.4962 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.40
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767694/Model_4FGL_J0115.1-0129_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/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits.....................!
real 28.45
user 27.43
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits', '/lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits', expMap='/lscratch/kocevski/17767693/expmap_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits', expCube='/lscratch/kocevski/17767693/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767693/Model_4FGL_J0115.1-0129_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.1-0129'

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.905e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.721e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767693/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767693/ft2_4FGL_J0115.1-0129_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767693/expmap_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767693/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767693/Model_4FGL_J0115.1-0129_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) = 6091.63091817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31370E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59546E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12698E-02   1.0000          .0000       .10000E+07
     4 'norm      '    1.7950       1.0000          .0000       .10000E+07
     5 'norm      '    .67671       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0304       1.0000          .0000       .10000E+07
     7 'Prefactor '    55.686       1.0000          .0000       .10000E+07
     8 'Prefactor '    33.628       1.0000          .0000       .10000E+07
     9 'norm      '    .15097E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33113       1.0000          .0000       .10000E+07
    11 'norm      '    19.300       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.741       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2451       1.0000          .0000       .10000E+07
    14 'Prefactor '    .91602E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19043E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15717E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .52678E-02   1.0000          .0000       .10000E+07
    18 'norm      '    18.134       1.0000          .0000       .10000E+07
    19 'Prefactor '    .88221E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1293       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6091.602     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1593 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14355E-05    4.8187        .11051E-06** at limit **
   2  Prefactor      .0000        1.5197       -.22822E-06** at limit **
   3  Prefactor      .0000        3.4603        .18397E-05** at limit **
   4  norm          1.7874        2.4095        .27449E-06   -.11070E-02
   5  norm          .82277        15.149       -.29282E-05   -.89505E-02
   6  Prefactor     5.7461        7.5825       -.93858E-06    .24837E-01
   7  Prefactor     55.793        2.2372       -.58680E-07    .42523E-01
   8  Prefactor     31.835        35.095        .88593E-06    .32800E-01
   9  norm          .87408E-06    4.4570        .11150E-05** at limit **
  10  Prefactor     .13787E-04    48.278        .11857E-05** at limit **
  11  norm          19.311        2.9916       -.16412E-06    .10775E-02
  12  Prefactor     12.715        8.2676        .40169E-06    .15352E-02
  13  Prefactor     2.2462        2.9666        .78606E-06    .10913E-02
  14  Prefactor     .74123E-05    9.1543        .11617E-06** at limit **
  15  Prefactor      .0000        3.3936        .40125E-08** at limit **
  16  Prefactor     .48850E-05    7.9177        .15514E-06** at limit **
  17  norm          .15155E-07    8.7950        .33762E-06** at limit **
  18  norm          18.179        7.6948        .54786E-06    .41033E-03
  19  Prefactor     .18794E-05    29.545        .32246E-05** at limit **
  20  Normalizat    1.1292        .22694        .12886E-04    .41545E-04
  21  Prefactor     .78796        .18649       -.80229E-05    .29112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43546e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.78738
  norm       = 0.822773
  Prefactor  = 5.74614
  Prefactor  = 55.793
  Prefactor  = 31.8354
  norm       = 8.74079e-07
  Prefactor  = 1.37873e-05
  norm       = 19.3107
  Prefactor  = 12.7152
  Prefactor  = 2.24622
  Prefactor  = 7.41229e-06
  Prefactor  = 0
  Prefactor  = 4.88498e-06
  norm       = 1.51545e-08
  norm       = 18.1787
  Prefactor  = 1.87944e-06
  Normalizat = 1.12918
  Prefactor  = 0.787956
_V02
Working on...
/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits.....................!
real 28.14
user 27.11
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits', '/lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits', expMap='/lscratch/kocevski/17767694/expmap_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits', expCube='/lscratch/kocevski/17767694/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767694/Model_4FGL_J0115.1-0129_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.1-0129'

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.905e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.721e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767694/ft1_filtered_4FGL_J0115.1-0129_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767694/ft2_4FGL_J0115.1-0129_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767694/expmap_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767694/ltcube_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767694/Model_4FGL_J0115.1-0129_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) = 6091.63091817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31370E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59546E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12698E-02   1.0000          .0000       .10000E+07
     4 'norm      '    1.7950       1.0000          .0000       .10000E+07
     5 'norm      '    .67671       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0304       1.0000          .0000       .10000E+07
     7 'Prefactor '    55.686       1.0000          .0000       .10000E+07
     8 'Prefactor '    33.628       1.0000          .0000       .10000E+07
     9 'norm      '    .15097E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33113       1.0000          .0000       .10000E+07
    11 'norm      '    19.300       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.741       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2451       1.0000          .0000       .10000E+07
    14 'Prefactor '    .91602E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19043E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15717E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .52678E-02   1.0000          .0000       .10000E+07
    18 'norm      '    18.134       1.0000          .0000       .10000E+07
    19 'Prefactor '    .88221E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1293       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6091.602     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1593 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14355E-05    4.8187        .11051E-06** at limit **
   2  Prefactor      .0000        1.5197       -.22822E-06** at limit **
   3  Prefactor      .0000        3.4603        .18397E-05** at limit **
   4  norm          1.7874        2.4095        .27449E-06   -.11070E-02
   5  norm          .82277        15.149       -.29282E-05   -.89505E-02
   6  Prefactor     5.7461        7.5825       -.93858E-06    .24837E-01
   7  Prefactor     55.793        2.2372       -.58680E-07    .42523E-01
   8  Prefactor     31.835        35.095        .88593E-06    .32800E-01
   9  norm          .87408E-06    4.4570        .11150E-05** at limit **
  10  Prefactor     .13787E-04    48.278        .11857E-05** at limit **
  11  norm          19.311        2.9916       -.16412E-06    .10775E-02
  12  Prefactor     12.715        8.2676        .40169E-06    .15352E-02
  13  Prefactor     2.2462        2.9666        .78606E-06    .10913E-02
  14  Prefactor     .74123E-05    9.1543        .11617E-06** at limit **
  15  Prefactor      .0000        3.3936        .40125E-08** at limit **
  16  Prefactor     .48850E-05    7.9177        .15514E-06** at limit **
  17  norm          .15155E-07    8.7950        .33762E-06** at limit **
  18  norm          18.179        7.6948        .54786E-06    .41033E-03
  19  Prefactor     .18794E-05    29.545        .32246E-05** at limit **
  20  Normalizat    1.1292        .22694        .12886E-04    .41545E-04
  21  Prefactor     .78796        .18649       -.80229E-05    .29112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43546e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.78738
  norm       = 0.822773
  Prefactor  = 5.74614
  Prefactor  = 55.793
  Prefactor  = 31.8354
  norm       = 8.74079e-07
  Prefactor  = 1.37873e-05
  norm       = 19.3107
  Prefactor  = 12.7152
  Prefactor  = 2.24622
  Prefactor  = 7.41229e-06
  Prefactor  = 0
  Prefactor  = 4.88498e-06
  norm       = 1.51545e-08
  norm       = 18.1787
  Prefactor  = 1.87944e-06
  Normalizat = 1.12918
  Prefactor  = 0.787956
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.602     FROM HESSE     STATUS=OK           363 CALLS     1956 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14355E-05    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.5111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.4387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7874        2.4565        .78020E-03   -1.5681    
   5  norm          .82277        16.431        .62619E-03   -1.5690    
   6  Prefactor     5.7461        52.762        .44810E-03   -1.5660    
   7  Prefactor     55.793        38.298        .13402E-03   -1.5559    
   8  Prefactor     31.835        37.163        .17247E-03   -1.5595    
   9  norm          .87408E-06    11.581        .84037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13787E-04    59.552        .97943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          19.311        2.9882        .22770E-03   -1.5620    
  12  Prefactor     12.715        8.2730        .28038E-03   -1.5637    
  13  Prefactor     2.2462        2.9862        .68558E-03   -1.5678    
  14  Prefactor     .74123E-05    15.569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.3952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .48850E-05    16.984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .15155E-07    8.8536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.179        7.7014        .23492E-03   -1.5623    
  19  Prefactor     .18794E-05    31.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1292        .19726        .60777E-01   -.88820    
  21  Prefactor     .78796        .16121        .43554E-01   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33761e-06
Minuit parameter uncertainties:
  1  0.0104477
  2  1.42477e-06
  3  7.65896e-06
  4  2.45645
  5  7.35363
  6  34.8245
  7  38.2984
  8  37.1629
  9  0.00636314
  10  0.0573088
  11  2.98819
  12  8.27296
  13  2.98623
  14  0.0214854
  15  2.53082e-06
  16  0.0182172
  17  0.000731951
  18  7.70141
  19  0.0154487
  20  0.197389
  21  0.161311
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.602     FROM HESSE     STATUS=OK           363 CALLS     1956 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14355E-05    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.5111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.4387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7874        2.4565        .78020E-03   -1.5681    
   5  norm          .82277        16.431        .62619E-03   -1.5690    
   6  Prefactor     5.7461        52.762        .44810E-03   -1.5660    
   7  Prefactor     55.793        38.298        .13402E-03   -1.5559    
   8  Prefactor     31.835        37.163        .17247E-03   -1.5595    
   9  norm          .87408E-06    11.581        .84037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13787E-04    59.552        .97943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          19.311        2.9882        .22770E-03   -1.5620    
  12  Prefactor     12.715        8.2730        .28038E-03   -1.5637    
  13  Prefactor     2.2462        2.9862        .68558E-03   -1.5678    
  14  Prefactor     .74123E-05    15.569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.3952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .48850E-05    16.984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .15155E-07    8.8536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.179        7.7014        .23492E-03   -1.5623    
  19  Prefactor     .18794E-05    31.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1292        .19726        .60777E-01   -.88820    
  21  Prefactor     .78796        .16121        .43554E-01   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33761e-06
Minuit parameter uncertainties:
  1  0.0104477
  2  1.42477e-06
  3  7.65896e-06
  4  2.45645
  5  7.35363
  6  34.8245
  7  38.2984
  8  37.1629
  9  0.00636314
  10  0.0573088
  11  2.98819
  12  8.27296
  13  2.98623
  14  0.0214854
  15  2.53082e-06
  16  0.0182172
  17  0.000731951
  18  7.70141
  19  0.0154487
  20  0.197389
  21  0.161311
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.272e+01  8.273e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.721e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.880e-01  1.613e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.129e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 18.786 -1.496
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 8.58e-08 +/- 5.58e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.32e-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) = 6091.52955207
delta logL = 0.0720370802073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6091.52726443
delta logL = 0.0743247206265

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.262       1.0000          .0000       .10000E+07
     2 'Index     '    2.4796       1.0000          .0000       10.000    
     3 'Normalizat'    1.1420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78009       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6091.527     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      260 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.272        250.42        .26496E-03    .35901E-03
   2  Index         2.4805        6.1145        .22775        .27491E-04
   3  Normalizat    1.1420        .11724        .60503E-01    .79907E-05
   4  Prefactor     .77995        .86580E-01    .43458E-01    .14171E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.272
  Index      = 2.48046
  Normalizat = 1.14202
  Prefactor  = 0.779951
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.527     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.272        9.7103        .10598E-04   -1.5632    
   2  Index         2.4805        .60765        .78972E-02   -.52812    
   3  Normalizat    1.1420        .22518        .26759E-03   -.88414    
   4  Prefactor     .77995        .18539        .26259E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0638e-13
Minuit parameter uncertainties:
  1  9.7103
  2  0.609675
  3  0.225374
  4  0.185534
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) = 6091.52726195
delta logL = 0.0743272021809

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.427e+01  9.710e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.480e+00  6.097e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.800e-01  1.855e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.142e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.34
Ra Dec: 18.786 -1.496
Photon Index (Free Index): 2.48 +/- 0.61
Photon Flux (Free Index): 7.35e-08 +/- 5.82e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/17767693/cmap_HighResolution_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.58e-08', energy_flux2='2.18e-05', photon_flux_error='5.58e-08', dlogl='7.43e-02', energy_flux='2.03e-05', photon_flux2='7.35e-08', job_status='DONE', time_completed='2023-05-22 00:10:04.738880', photon_index_error2='0.61', photon_index2='2.48', ts='4.15', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='1.13', time_epoch_completed='1684739404.74', return_code='0', job_id='17767693', GAL2='0.78', EG2='1.14', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.82e-08', ts2='4.34', photon_index='2.72' WHERE bin_id='1801' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:10:04 PDT 2023

Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.272e+01  8.273e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.721e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.880e-01  1.613e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.129e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 18.786 -1.496
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 8.58e-08 +/- 5.58e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.32e-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) = 6091.52955207
delta logL = 0.0720370802073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6091.52726443
delta logL = 0.0743247206265

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.262       1.0000          .0000       .10000E+07
     2 'Index     '    2.4796       1.0000          .0000       10.000    
     3 'Normalizat'    1.1420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78009       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6091.527     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      260 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.272        250.42        .26496E-03    .35901E-03
   2  Index         2.4805        6.1145        .22775        .27491E-04
   3  Normalizat    1.1420        .11724        .60503E-01    .79907E-05
   4  Prefactor     .77995        .86580E-01    .43458E-01    .14171E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.272
  Index      = 2.48046
  Normalizat = 1.14202
  Prefactor  = 0.779951
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.527     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.272        9.7103        .10598E-04   -1.5632    
   2  Index         2.4805        .60765        .78972E-02   -.52812    
   3  Normalizat    1.1420        .22518        .26759E-03   -.88414    
   4  Prefactor     .77995        .18539        .26259E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0638e-13
Minuit parameter uncertainties:
  1  9.7103
  2  0.609675
  3  0.225374
  4  0.185534
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) = 6091.52726195
delta logL = 0.0743272021809

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.427e+01  9.710e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.480e+00  6.097e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.800e-01  1.855e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.142e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.34
Ra Dec: 18.786 -1.496
Photon Index (Free Index): 2.48 +/- 0.61
Photon Flux (Free Index): 7.35e-08 +/- 5.82e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/17767694/cmap_HighResolution_706147201_706406401_4FGL_J0115.1-0129_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.58e-08', energy_flux2='2.18e-05', photon_flux_error='5.58e-08', dlogl='7.43e-02', energy_flux='2.03e-05', photon_flux2='7.35e-08', job_status='DONE', time_completed='2023-05-22 00:10:09.370198', photon_index_error2='0.61', photon_index2='2.48', ts='4.15', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='1.13', time_epoch_completed='1684739409.37', return_code='0', job_id='17767694', GAL2='0.78', EG2='1.14', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.82e-08', ts2='4.34', photon_index='2.72' WHERE bin_id='1801' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:10:09 PDT 2023

