/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).

utfile=/lscratch/kocevski/33165808/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 8.63
user 7.99
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33165808/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165808/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165808/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 71.09
user 66.11
sys 4.23

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165808/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.72
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165808/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.73
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33165808/Model_4FGL_J0245.4+2408_daily_bin2188.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 GA/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).

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


Performing analysis on: 4FGL_J0245.4+2408_daily_bin2188
RA = 41.3545, Dec = 24.1498
tmin = 806457601, tmax = 806716801
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='33165884', job_status='RUN', time_executed='2026-07-26 03:14:48.931429', time_epoch_executed='1785060888.93' WHERE source_name='4FGL J0245.4+2408' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33165884

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33165884/ft1_4FGL_J0245.4+2408_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33165884/ft1_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165884/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits ra=41.3545 dec=24.1498 rad=12.0 tmin=806457601.0 tmax=806716801.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 3.46
user 2.65
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.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/33165884/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.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 1.20
user 0.25
sys 0.13

Number of photons that the gtmktime cut: 1011

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33165667/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 11.39
user 9.94
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33165667/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165667/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165667/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 78.59
user 72.55
sys 4.65

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165667/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.19
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165667/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.18
user 0.22
sys 0.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33165667/Model_4FGL_J0245.4+2408_daily_bin2188.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 Gutfile=/lscratch/kocevski/33165833/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 7.24
user 6.62
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33165833/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165833/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165833/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 59.65
user 55.52
sys 3.46

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165833/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.67
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165833/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.68
user 0.18
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33165833/Model_4FGL_J0245.4+2408_daily_bin2188.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 GAutfile=/lscratch/kocevski/33165830/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 7.77
user 7.11
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33165830/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165830/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165830/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 64.18
user 59.76
sys 3.72

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165830/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.59
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165830/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.73
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33165830/Model_4FGL_J0245.4+2408_daily_bin2188.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 GAnumber of points = 7562
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0245.4+2408_daily_bin2188
RA = 41.3545, Dec = 24.1498
tmin = 806457601, tmax = 806716801
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='33166083', job_status='RUN', time_executed='2026-07-26 03:16:37.362306', time_epoch_executed='1785060997.36' WHERE source_name='4FGL J0245.4+2408' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33166083

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33166083/ft1_4FGL_J0245.4+2408_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33166083/ft1_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166083/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits ra=41.3545 dec=24.1498 rad=12.0 tmin=806457601.0 tmax=806716801.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 3.20
user 2.70
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.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/33166083/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.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.67
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1011

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" onumber of points = 7562
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0245.4+2408_daily_bin2188
RA = 41.3545, Dec = 24.1498
tmin = 806457601, tmax = 806716801
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='33166077', job_status='RUN', time_executed='2026-07-26 03:16:39.332091', time_epoch_executed='1785060999.33' WHERE source_name='4FGL J0245.4+2408' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33166077

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33166077/ft1_4FGL_J0245.4+2408_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33166077/ft1_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166077/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits ra=41.3545 dec=24.1498 rad=12.0 tmin=806457601.0 tmax=806716801.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 3.24
user 2.55
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.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/33166077/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.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.76
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 1011

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" onumber of points = 7562
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0245.4+2408_daily_bin2188
RA = 41.3545, Dec = 24.1498
tmin = 806457601, tmax = 806716801
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='33166120', job_status='RUN', time_executed='2026-07-26 03:17:39.048872', time_epoch_executed='1785061059.05' WHERE source_name='4FGL J0245.4+2408' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33166120

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33166120/ft1_4FGL_J0245.4+2408_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33166120/ft1_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166120/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits ra=41.3545 dec=24.1498 rad=12.0 tmin=806457601.0 tmax=806716801.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 3.24
user 2.70
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.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/33166120/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.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.64
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1011

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" oL_V02
Working on...
/lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 63.26
user 61.54
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33165808/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33165808/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33165808/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33165808/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33165808/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33165808/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33165808/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33165808/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
L_V02
Working on...
/lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 53.74
user 52.13
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33165833/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33165833/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33165833/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33165833/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33165833/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33165833/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33165833/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33165833/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
utfile=/lscratch/kocevski/33165884/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 10.10
user 8.71
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33165884/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165884/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33165884/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 77.65
user 71.95
sys 4.36

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165884/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.30
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33165884/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.86
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33165884/Model_4FGL_J0245.4+2408_daily_bin2188.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 GL_V02
Working on...
/lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 57.49
user 56.26
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33165830/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33165830/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33165830/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33165830/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33165830/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33165830/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33165830/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33165830/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
AL_V02
Working on...
/lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 72.20
user 68.52
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33165667/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33165667/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33165667/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33165667/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33165667/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33165667/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33165667/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33165667/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33165808/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:20:46.896510', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061246.9', return_code='0', job_id='33165808', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:20:47 PDT 2026

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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33165833/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:20:48.625332', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061248.63', return_code='0', job_id='33165833', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:20:48 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33165830/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:20:57.350901', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061257.35', return_code='0', job_id='33165830', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:20:57 PDT 2026

utfile=/lscratch/kocevski/33166077/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 8.17
user 7.41
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33166077/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166077/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33166077/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 65.87
user 61.39
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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166077/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.74
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166077/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.82
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33166077/Model_4FGL_J0245.4+2408_daily_bin2188.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 GAutfile=/lscratch/kocevski/33166083/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 8.59
user 7.89
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33166083/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166083/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33166083/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 71.50
user 66.69
sys 4.12

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166083/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.70
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166083/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.71
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33166083/Model_4FGL_J0245.4+2408_daily_bin2188.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 GA **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33165667/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:21:30.317737', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061290.32', return_code='0', job_id='33165667', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:21:30 PDT 2026

utfile=/lscratch/kocevski/33166120/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 8.60
user 8.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33166120/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166120/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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/33166120/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
.....................!
real 72.18
user 67.51
sys 3.98

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166120/cmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.65
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits scfile=/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits outfile=/lscratch/kocevski/33166120/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.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=41.3545 yref=24.1498 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.67
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33166120/Model_4FGL_J0245.4+2408_daily_bin2188.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 GAAL_V02
Working on...
/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 68.66
user 66.10
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33165884/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33165884/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33165884/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33165884/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33165884/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33165884/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33165884/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33165884/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
L_V02
Working on...
/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 59.15
user 57.48
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33166077/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33166077/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33166077/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33166077/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33166077/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33166077/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33166077/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33166077/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
L_V02
Working on...
/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 64.65
user 62.81
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33166083/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33166083/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33166083/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33166083/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33166083/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33166083/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33166083/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33166083/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33165884/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:23:51.562942', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061431.56', return_code='0', job_id='33165884', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:23:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33166077/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:23:56.690756', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061436.69', return_code='0', job_id='33166077', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:23:56 PDT 2026

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

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33166083/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:24:18.037015', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061458.04', return_code='0', job_id='33166083', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:24:18 PDT 2026

L_V02
Working on...
/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits.....................!
real 65.29
user 63.60
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits', '/lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits', expMap='/lscratch/kocevski/33166120/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', expCube='/lscratch/kocevski/33166120/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33166120/Model_4FGL_J0245.4+2408_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33166120/ft1_filtered_4FGL_J0245.4+2408_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33166120/ft2_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33166120/expmap_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33166120/ltcube_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33166120/Model_4FGL_J0245.4+2408_daily_bin2188.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) = 11072.8705683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13199E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36937E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3071       1.0000          .0000       .10000E+07
     4 'norm      '    .18714E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59001E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.272       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14769E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20505       1.0000          .0000       .10000E+07
    10 'norm      '    .53545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13798E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.902       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53221E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28587       1.0000          .0000       .10000E+07
    17 'norm      '    .67829E-06   1.0000          .0000       .10000E+07
    18 'norm      '    60.630       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2993       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16746E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0770       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11072.85     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2309 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1501        .63259E-08** at limit **
   2  Prefactor     .33307E-09    100.61       -.41644E-06** at limit **
   3  Prefactor     2.3093        2.6172        .15389E-07    .21508E-02
   4  norm           .0000        22.441       -.11287E-05** at limit **
   5  Prefactor      .0000        11.139       -.33475E-06** at limit **
   6  Prefactor     17.533        38.716       -.27149E-05   -.40845E-05
   7  Prefactor     .27756E-09    20.887        .19356E-05** at limit **
   8  norm          1.9226        1.9366       -.34677E-07   -.12642E-01
   9  Prefactor     .22552        7.1467       -.13180E-06** at limit **
  10  norm          .53419        .51627       -.60482E-08   -.71099E-02
  11  Prefactor      .0000        30.484        .35557E-06** at limit **
  12  Prefactor      .0000        12.336        .42828E-06** at limit **
  13  Prefactor      .0000        14.449       -.70554E-06** at limit **
  14  Prefactor     23.963        11.471        .19626E-07    .18209E-03
  15  Prefactor      .0000        8.7387       -.55888E-07** at limit **
  16  Prefactor     .55511E-10    78.714       -.16972E-06** at limit **
  17  norm           .0000        2.8697        .14743E-08** at limit **
  18  norm          60.842        32.874       -.44900E-06    .32414E-04
  19  Prefactor     7.2671        5.6925       -.73318E-07   -.16472E-01
  20  Prefactor      .0000        4.3177       -.16541E-07** at limit **
  21  norm          5.0869        3.1669       -.28236E-07   -.74023E-02
  22  Normalizat    .66176        .21987        .29777E-05    .37410E-04
  23  Prefactor     1.1701        .83355E-01    .40008E-06    .46732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 2.30927
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.5329
  Prefactor  = 2.77556e-10
  norm       = 1.92261
  Prefactor  = 0.225522
  norm       = 0.534195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.9626
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 60.8416
  Prefactor  = 7.26712
  Prefactor  = 0
  norm       = 5.0869
  Normalizat = 0.66176
  Prefactor  = 1.17008
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.85     FROM HESSE     STATUS=OK           374 CALLS     2683 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1507        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    105.06        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3093        2.6173        .17648E-04   -1.5678    
   4  norm           .0000        22.409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.533        38.639        .96288E-05   -1.5624    
   7  Prefactor     .27756E-09    20.924        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9226        1.9262        .13926E-04   -1.5680    
   9  Prefactor     .22552        9.4893        .72998E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53419        .50543        .62829E-05   -1.5693    
  11  Prefactor      .0000        30.492        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.963        11.447        .81836E-05   -1.5610    
  15  Prefactor      .0000        8.7417        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    78.987        .20824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.8706        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          60.842        32.880        .51374E-05   -1.5552    
  19  Prefactor     7.2671        5.7358        .74202E-04   -1.5654    
  20  Prefactor      .0000        4.3184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0869        3.1529        .13411E-04   -1.5663    
  22  Normalizat    .66176        .22829        .50859E-03   -1.0542    
  23  Prefactor     1.1701        .88446E-01    .15674E-03   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12733e-09
Minuit parameter uncertainties:
  1  5.41574e-07
  2  0.000364962
  3  2.6173
  4  1.27219e-06
  5  3.09148e-06
  6  38.6394
  7  0.00014749
  8  1.92624
  9  2.92579
  10  0.50543
  11  1.47553e-05
  12  2.26487e-06
  13  5.38373e-06
  14  11.4475
  15  2.75283e-06
  16  0.000119676
  17  8.12379e-07
  18  32.8801
  19  5.7358
  20  8.1455e-07
  21  3.15291
  22  0.228617
  23  0.0884569
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  2.396e+01  1.145e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.170e+00  8.846e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.618e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.37
Ra Dec: 41.355 24.150
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 6.57e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.61e-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) = 11072.2669103
delta logL = 0.586777423581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11072.26071
delta logL = 0.592977770048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11072.26     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      336 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3527        59.767        .11061E-04    .17732E-01
   2  Index         3.9067        3.8220        .56232E-02    .38184E-03
   3  Normalizat    .59523        .21483        .53421E-03    .21843E-03
   4  Prefactor     1.1940        .91292E-01    .15540E-03    .74689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35267
  Index      = 3.90674
  Normalizat = 0.595226
  Prefactor  = 1.19397
 **********
 **   18 **HESSE 
 **********

 FCN=   11072.26     FROM HESSE     STATUS=OK            25 CALLS      361 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3527        19.793        .44243E-06   -1.5658    
   2  Index         3.9067        2.1539        .22493E-03   -.22043    
   3  Normalizat    .59523        .22866        .21369E-04   -1.0819    
   4  Prefactor     1.1940        .91982E-01    .31081E-04   -.86517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73792e-10
Minuit parameter uncertainties:
  1  19.793
  2  2.23081
  3  0.229027
  4  0.0919945
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) = 11072.2607099
delta logL = 0.59297780375

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  6.353e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.907e+00  2.231e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.194e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.952e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 41.355 24.150
Photon Index (Free Index): 3.91 +/- 2.23
Photon Flux (Free Index): 1.72e-07 +/- 7.75e-08
Energy Flux (Free Index): 2.62e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33166120/cmap_HighResolution_806457601_806716801_4FGL_J0245.4+2408_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='2.62e-05', photon_flux_error='6.57e-08', dlogl='5.93e-01', energy_flux='3.38e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-07-26 03:25:18.622894', photon_index_error2='2.23', photon_index2='3.91', ts='6.37', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.66', time_epoch_completed='1785061518.62', return_code='0', job_id='33166120', GAL2='1.19', EG2='0.60', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.75e-08', ts2='7.91', photon_index='2.68' WHERE bin_id='2188' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 03:25:18 PDT 2026

