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


Performing analysis on: 4FGL_J1147.2-2627_daily_bin2190
RA = 176.811, Dec = -26.4649
tmin = 806976001, tmax = 807235201
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='33899319', job_status='RUN', time_executed='2026-08-01 10:07:15.368287', time_epoch_executed='1785604035.37' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33899319

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33899319/ft1_4FGL_J1147.2-2627_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33899319/ft1_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899319/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=806976001.0 tmax=807235201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.14
user 1.41
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.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/33899319/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.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.88
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

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

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


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

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


Performing analysis on: 4FGL_J1147.2-2627_daily_bin2190
RA = 176.811, Dec = -26.4649
tmin = 806976001, tmax = 807235201
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='33899344', job_status='RUN', time_executed='2026-08-01 10:08:14.950972', time_epoch_executed='1785604094.95' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33899344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33899344/ft1_4FGL_J1147.2-2627_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33899344/ft1_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899344/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=806976001.0 tmax=807235201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.23
user 1.44
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.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/33899344/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.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.77
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33899319/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 7.85
user 6.95
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33899319/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899319/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899319/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 59.87
user 55.40
sys 3.50

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899319/cmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.11
user 0.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899319/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.87
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33899319/Model_4FGL_J1147.2-2627_daily_bin2190.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 sourcnumber of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.2-2627_daily_bin2190
RA = 176.811, Dec = -26.4649
tmin = 806976001, tmax = 807235201
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='33899387', job_status='RUN', time_executed='2026-08-01 10:09:13.917895', time_epoch_executed='1785604153.92' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33899387

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33899387/ft1_4FGL_J1147.2-2627_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33899387/ft1_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899387/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=806976001.0 tmax=807235201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.12
user 1.40
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.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/33899387/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.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.74
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" number of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.2-2627_daily_bin2190
RA = 176.811, Dec = -26.4649
tmin = 806976001, tmax = 807235201
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='33899376', job_status='RUN', time_executed='2026-08-01 10:09:15.330728', time_epoch_executed='1785604155.33' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33899376

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33899376/ft1_4FGL_J1147.2-2627_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33899376/ft1_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899376/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=806976001.0 tmax=807235201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.37
user 1.57
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.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/33899376/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.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.79
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33899344/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 7.93
user 7.13
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33899344/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899344/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899344/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 61.34
user 56.78
sys 3.52

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899344/cmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899344/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.91
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33899344/Model_4FGL_J1147.2-2627_daily_bin2190.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 sourcnumber of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.2-2627_daily_bin2190
RA = 176.811, Dec = -26.4649
tmin = 806976001, tmax = 807235201
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='33899437', job_status='RUN', time_executed='2026-08-01 10:10:15.637546', time_epoch_executed='1785604215.64' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33899437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33899437/ft1_4FGL_J1147.2-2627_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33899437/ft1_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899437/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=806976001.0 tmax=807235201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.61
user 1.70
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.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/33899437/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.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.95
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" Done.


Performing analysis on: 4FGL_J1147.2-2627_daily_bin2190
RA = 176.811, Dec = -26.4649
tmin = 806976001, tmax = 807235201
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='33899396', job_status='RUN', time_executed='2026-08-01 10:10:15.399005', time_epoch_executed='1785604215.4' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33899396

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33899396/ft1_4FGL_J1147.2-2627_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33899396/ft1_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899396/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=806976001.0 tmax=807235201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.47
user 1.67
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.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/33899396/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.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.93
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" oe GAL_V02
Working on...
/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits.....................!
real 25.68
user 24.04
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits', '/lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits', expMap='/lscratch/kocevski/33899319/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', expCube='/lscratch/kocevski/33899319/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33899319/Model_4FGL_J1147.2-2627_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33899319/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33899319/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33899319/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33899319/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33899319/Model_4FGL_J1147.2-2627_daily_bin2190.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) = 8498.03891517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3911       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.612       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58739       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.520       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.097       1.0000          .0000       .10000E+07
     6 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     7 'norm      '    17.043       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80574E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.6553       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15904E-04   1.0000          .0000       .10000E+07
    11 'norm      '    8.5362       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43069E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36873       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5670       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2678       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4225       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1288 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2830        5.9158        .69910E-07   -.47279E-02
   2  Prefactor     17.580        7.1298        .35706E-06   -.16402E-01
   3  Prefactor     .16198E-06    115.88       -.32833E-06** at limit **
   4  Prefactor     22.546        4.5707       -.10091E-07   -.91964E-02
   5  Prefactor     36.254        5.6481       -.31606E-06    .58622E-01
   6  norm           .0000        .53352        .78322E-08** at limit **
   7  norm          17.014        7.8112        .71577E-08    .43781E-02
   8  Prefactor      .0000        1.5361        .84089E-07** at limit **
   9  norm          1.7272        23.558        .82918E-07   -.36160E-03
  10  Prefactor     .55511E-10    5.8822       -.39864E-07** at limit **
  11  norm          8.5369        4.4562       -.31036E-07    .23857E-01
  12  Prefactor     .96111        3.1427        .15659E-06   -.16719E-02
  13  Prefactor     .38858E-09    17.427       -.16111E-07** at limit **
  14  Prefactor     .16698E-06    791.38       -.11949E-04** at limit **
  15  Prefactor     4.2091        69.986        .42587E-05    .40615E-02
  16  Prefactor     1.2784        39.645        .83900E-05    .18443E-02
  17  Normalizat    1.4228        .24798        .76868E-06    .33476E-04
  18  Prefactor     .89024        .12420       -.17814E-05    .34063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28297
  Prefactor  = 17.5802
  Prefactor  = 1.61982e-07
  Prefactor  = 22.5456
  Prefactor  = 36.2537
  norm       = 0
  norm       = 17.0142
  Prefactor  = 0
  norm       = 1.72719
  Prefactor  = 5.55112e-11
  norm       = 8.5369
  Prefactor  = 0.961108
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 4.20906
  Prefactor  = 1.27843
  Normalizat = 1.42283
  Prefactor  = 0.890239
 **********
 **   18 **HESSE 
 **********

 FCN=   8498.036     FROM HESSE     STATUS=OK           290 CALLS     1578 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2830        5.9202        .36868E-03   -1.5654    
   2  Prefactor     17.580        31.585        .23839E-03   -1.5624    
   3  Prefactor     .16198E-06    117.31        .70365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.546        12.742        .21078E-03   -1.5613    
   5  Prefactor     36.254        29.098        .16646E-03   -1.5588    
   6  norm           .0000        .52545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.014        7.8189        .24233E-03   -1.5625    
   8  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7272        27.201        .82000E-03   -1.5682    
  10  Prefactor     .55511E-10    5.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5369        4.4647        .34286E-03   -1.5650    
  12  Prefactor     .96111        3.1785        .12605E-02   -1.5688    
  13  Prefactor     .38858E-09    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16698E-06    23.949        .11938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2091        107.40        .53487E-03   -1.5667    
  16  Prefactor     1.2784        39.152        .98843E-03   -1.5685    
  17  Normalizat    1.4228        .20892        .70858E-01   -.79971    
  18  Prefactor     .89024        .10428        .44879E-01   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85789e-07
Minuit parameter uncertainties:
  1  5.92019
  2  31.5851
  3  0.00871768
  4  12.7424
  5  29.0985
  6  4.18601e-06
  7  7.81886
  8  2.20469e-06
  9  13.7086
  10  3.75541e-05
  11  4.46467
  12  3.1785
  13  0.000167412
  14  0.00399966
  15  42.5232
  16  14.1497
  17  0.209048
  18  0.104303
outfile=/lscratch/kocevski/33899387/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 7.75
user 7.05
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33899387/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899387/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899387/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 59.90
user 55.41
sys 3.50

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899387/cmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.91
user 0.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899387/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.80
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33899387/Model_4FGL_J1147.2-2627_daily_bin2190.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  2.205e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 5.97353136346e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00466448800802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33899319/likelihoodResults_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.txt

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): 102
logL (Free Index) = 8498.03689973
delta logL = -0.0012812513778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8498.03561869
delta logL = -2.12552549783e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      244 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0210        .42118E-03** at limit **
   2  Index         3.1188        1.2987        .48854E-04     .0000    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.18064E-03
   4  Prefactor     .89024        1.2356       -.65686E-06   -.32285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11882
  Normalizat = 1.42283
  Prefactor  = 0.890237
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0967        2.0976        .48854E-04   -.38573    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.79971    
   4  Prefactor     .89024        1.2356       -.65686E-06   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.25298e-11
Minuit parameter uncertainties:
  1  6.84443e-06
  2  1.31635
  3  1.07586
  4  1.27812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8498.03561848
delta logL = 5.63886715099e-11

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.844e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  3.119e+00  1.316e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.278e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 176.811 -26.465

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/33899319/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2026-08-01 10:13:23.651126', job_id='33899319', GAL2='0.89', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1785604403.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2190' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 10:13:24 PDT 2026

outfile=/lscratch/kocevski/33899376/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 9.06
user 8.28
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33899376/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899376/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899376/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 69.07
user 63.97
sys 4.10

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899376/cmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.00
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899376/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.02
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33899376/Model_4FGL_J1147.2-2627_daily_bin2190.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits.....................!
real 26.59
user 24.71
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits', '/lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits', expMap='/lscratch/kocevski/33899344/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', expCube='/lscratch/kocevski/33899344/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33899344/Model_4FGL_J1147.2-2627_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33899344/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33899344/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33899344/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33899344/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33899344/Model_4FGL_J1147.2-2627_daily_bin2190.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) = 8498.03891517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3911       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.612       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58739       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.520       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.097       1.0000          .0000       .10000E+07
     6 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     7 'norm      '    17.043       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80574E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.6553       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15904E-04   1.0000          .0000       .10000E+07
    11 'norm      '    8.5362       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43069E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36873       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5670       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2678       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4225       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1288 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2830        5.9158        .69910E-07   -.47279E-02
   2  Prefactor     17.580        7.1298        .35706E-06   -.16402E-01
   3  Prefactor     .16198E-06    115.88       -.32833E-06** at limit **
   4  Prefactor     22.546        4.5707       -.10091E-07   -.91964E-02
   5  Prefactor     36.254        5.6481       -.31606E-06    .58622E-01
   6  norm           .0000        .53352        .78322E-08** at limit **
   7  norm          17.014        7.8112        .71577E-08    .43781E-02
   8  Prefactor      .0000        1.5361        .84089E-07** at limit **
   9  norm          1.7272        23.558        .82918E-07   -.36160E-03
  10  Prefactor     .55511E-10    5.8822       -.39864E-07** at limit **
  11  norm          8.5369        4.4562       -.31036E-07    .23857E-01
  12  Prefactor     .96111        3.1427        .15659E-06   -.16719E-02
  13  Prefactor     .38858E-09    17.427       -.16111E-07** at limit **
  14  Prefactor     .16698E-06    791.38       -.11949E-04** at limit **
  15  Prefactor     4.2091        69.986        .42587E-05    .40615E-02
  16  Prefactor     1.2784        39.645        .83900E-05    .18443E-02
  17  Normalizat    1.4228        .24798        .76868E-06    .33476E-04
  18  Prefactor     .89024        .12420       -.17814E-05    .34063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28297
  Prefactor  = 17.5802
  Prefactor  = 1.61982e-07
  Prefactor  = 22.5456
  Prefactor  = 36.2537
  norm       = 0
  norm       = 17.0142
  Prefactor  = 0
  norm       = 1.72719
  Prefactor  = 5.55112e-11
  norm       = 8.5369
  Prefactor  = 0.961108
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 4.20906
  Prefactor  = 1.27843
  Normalizat = 1.42283
  Prefactor  = 0.890239
 **********
 **   18 **HESSE 
 **********

 FCN=   8498.036     FROM HESSE     STATUS=OK           290 CALLS     1578 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2830        5.9202        .36868E-03   -1.5654    
   2  Prefactor     17.580        31.585        .23839E-03   -1.5624    
   3  Prefactor     .16198E-06    117.31        .70365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.546        12.742        .21078E-03   -1.5613    
   5  Prefactor     36.254        29.098        .16646E-03   -1.5588    
   6  norm           .0000        .52545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.014        7.8189        .24233E-03   -1.5625    
   8  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7272        27.201        .82000E-03   -1.5682    
  10  Prefactor     .55511E-10    5.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5369        4.4647        .34286E-03   -1.5650    
  12  Prefactor     .96111        3.1785        .12605E-02   -1.5688    
  13  Prefactor     .38858E-09    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16698E-06    23.949        .11938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2091        107.40        .53487E-03   -1.5667    
  16  Prefactor     1.2784        39.152        .98843E-03   -1.5685    
  17  Normalizat    1.4228        .20892        .70858E-01   -.79971    
  18  Prefactor     .89024        .10428        .44879E-01   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85789e-07
Minuit parameter uncertainties:
  1  5.92019
  2  31.5851
  3  0.00871768
  4  12.7424
  5  29.0985
  6  4.18601e-06
  7  7.81886
  8  2.20469e-06
  9  13.7086
  10  3.75541e-05
  11  4.46467
  12  3.1785
  13  0.000167412
  14  0.00399966
  15  42.5232
  16  14.1497
  17  0.209048
  18  0.104303
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  2.205e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 5.97353136346e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00466448800802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33899344/likelihoodResults_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.txt

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): 102
logL (Free Index) = 8498.03689973
delta logL = -0.0012812513778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8498.03561869
delta logL = -2.12552549783e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      244 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0210        .42118E-03** at limit **
   2  Index         3.1188        1.2987        .48854E-04     .0000    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.18064E-03
   4  Prefactor     .89024        1.2356       -.65686E-06   -.32285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11882
  Normalizat = 1.42283
  Prefactor  = 0.890237
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0967        2.0976        .48854E-04   -.38573    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.79971    
   4  Prefactor     .89024        1.2356       -.65686E-06   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.25298e-11
Minuit parameter uncertainties:
  1  6.84443e-06
  2  1.31635
  3  1.07586
  4  1.27812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8498.03561848
delta logL = 5.63886715099e-11

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.844e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  3.119e+00  1.316e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.278e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 176.811 -26.465

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/33899344/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2026-08-01 10:14:25.979965', job_id='33899344', GAL2='0.89', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1785604465.98', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2190' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 10:14:26 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits.....................!
real 26.96
user 24.76
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits', '/lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits', expMap='/lscratch/kocevski/33899387/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', expCube='/lscratch/kocevski/33899387/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33899387/Model_4FGL_J1147.2-2627_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33899387/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33899387/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33899387/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33899387/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33899387/Model_4FGL_J1147.2-2627_daily_bin2190.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) = 8498.03891517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3911       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.612       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58739       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.520       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.097       1.0000          .0000       .10000E+07
     6 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     7 'norm      '    17.043       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80574E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.6553       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15904E-04   1.0000          .0000       .10000E+07
    11 'norm      '    8.5362       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43069E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36873       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5670       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2678       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4225       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1288 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2830        5.9158        .69910E-07   -.47279E-02
   2  Prefactor     17.580        7.1298        .35706E-06   -.16402E-01
   3  Prefactor     .16198E-06    115.88       -.32833E-06** at limit **
   4  Prefactor     22.546        4.5707       -.10091E-07   -.91964E-02
   5  Prefactor     36.254        5.6481       -.31606E-06    .58622E-01
   6  norm           .0000        .53352        .78322E-08** at limit **
   7  norm          17.014        7.8112        .71577E-08    .43781E-02
   8  Prefactor      .0000        1.5361        .84089E-07** at limit **
   9  norm          1.7272        23.558        .82918E-07   -.36160E-03
  10  Prefactor     .55511E-10    5.8822       -.39864E-07** at limit **
  11  norm          8.5369        4.4562       -.31036E-07    .23857E-01
  12  Prefactor     .96111        3.1427        .15659E-06   -.16719E-02
  13  Prefactor     .38858E-09    17.427       -.16111E-07** at limit **
  14  Prefactor     .16698E-06    791.38       -.11949E-04** at limit **
  15  Prefactor     4.2091        69.986        .42587E-05    .40615E-02
  16  Prefactor     1.2784        39.645        .83900E-05    .18443E-02
  17  Normalizat    1.4228        .24798        .76868E-06    .33476E-04
  18  Prefactor     .89024        .12420       -.17814E-05    .34063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28297
  Prefactor  = 17.5802
  Prefactor  = 1.61982e-07
  Prefactor  = 22.5456
  Prefactor  = 36.2537
  norm       = 0
  norm       = 17.0142
  Prefactor  = 0
  norm       = 1.72719
  Prefactor  = 5.55112e-11
  norm       = 8.5369
  Prefactor  = 0.961108
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 4.20906
  Prefactor  = 1.27843
  Normalizat = 1.42283
  Prefactor  = 0.890239
utfile=/lscratch/kocevski/33899396/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 9.13
user 8.31
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33899396/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899396/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899396/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 71.86
user 66.57
sys 4.21

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899396/cmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.95
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899396/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.94
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33899396/Model_4FGL_J1147.2-2627_daily_bin2190.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 sourceoutfile=/lscratch/kocevski/33899437/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 9.20
user 8.40
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33899437/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899437/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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/33899437/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
.....................!
real 72.07
user 66.89
sys 4.15

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899437/cmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.03
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits scfile=/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits outfile=/lscratch/kocevski/33899437/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.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=176.811 yref=-26.4649 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.03
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33899437/Model_4FGL_J1147.2-2627_daily_bin2190.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   8498.036     FROM HESSE     STATUS=OK           290 CALLS     1578 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2830        5.9202        .36868E-03   -1.5654    
   2  Prefactor     17.580        31.585        .23839E-03   -1.5624    
   3  Prefactor     .16198E-06    117.31        .70365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.546        12.742        .21078E-03   -1.5613    
   5  Prefactor     36.254        29.098        .16646E-03   -1.5588    
   6  norm           .0000        .52545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.014        7.8189        .24233E-03   -1.5625    
   8  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7272        27.201        .82000E-03   -1.5682    
  10  Prefactor     .55511E-10    5.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5369        4.4647        .34286E-03   -1.5650    
  12  Prefactor     .96111        3.1785        .12605E-02   -1.5688    
  13  Prefactor     .38858E-09    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16698E-06    23.949        .11938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2091        107.40        .53487E-03   -1.5667    
  16  Prefactor     1.2784        39.152        .98843E-03   -1.5685    
  17  Normalizat    1.4228        .20892        .70858E-01   -.79971    
  18  Prefactor     .89024        .10428        .44879E-01   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85789e-07
Minuit parameter uncertainties:
  1  5.92019
  2  31.5851
  3  0.00871768
  4  12.7424
  5  29.0985
  6  4.18601e-06
  7  7.81886
  8  2.20469e-06
  9  13.7086
  10  3.75541e-05
  11  4.46467
  12  3.1785
  13  0.000167412
  14  0.00399966
  15  42.5232
  16  14.1497
  17  0.209048
  18  0.104303
e GAL_V02
Working on...
/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits.....................!
real 30.09
user 28.06
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits', '/lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits', expMap='/lscratch/kocevski/33899376/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', expCube='/lscratch/kocevski/33899376/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33899376/Model_4FGL_J1147.2-2627_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33899376/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33899376/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33899376/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33899376/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33899376/Model_4FGL_J1147.2-2627_daily_bin2190.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) = 8498.03891517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3911       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.612       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58739       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.520       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.097       1.0000          .0000       .10000E+07
     6 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     7 'norm      '    17.043       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80574E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.6553       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15904E-04   1.0000          .0000       .10000E+07
    11 'norm      '    8.5362       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43069E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36873       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5670       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2678       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4225       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1288 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2830        5.9158        .69910E-07   -.47279E-02
   2  Prefactor     17.580        7.1298        .35706E-06   -.16402E-01
   3  Prefactor     .16198E-06    115.88       -.32833E-06** at limit **
   4  Prefactor     22.546        4.5707       -.10091E-07   -.91964E-02
   5  Prefactor     36.254        5.6481       -.31606E-06    .58622E-01
   6  norm           .0000        .53352        .78322E-08** at limit **
   7  norm          17.014        7.8112        .71577E-08    .43781E-02
   8  Prefactor      .0000        1.5361        .84089E-07** at limit **
   9  norm          1.7272        23.558        .82918E-07   -.36160E-03
  10  Prefactor     .55511E-10    5.8822       -.39864E-07** at limit **
  11  norm          8.5369        4.4562       -.31036E-07    .23857E-01
  12  Prefactor     .96111        3.1427        .15659E-06   -.16719E-02
  13  Prefactor     .38858E-09    17.427       -.16111E-07** at limit **
  14  Prefactor     .16698E-06    791.38       -.11949E-04** at limit **
  15  Prefactor     4.2091        69.986        .42587E-05    .40615E-02
  16  Prefactor     1.2784        39.645        .83900E-05    .18443E-02
  17  Normalizat    1.4228        .24798        .76868E-06    .33476E-04
  18  Prefactor     .89024        .12420       -.17814E-05    .34063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28297
  Prefactor  = 17.5802
  Prefactor  = 1.61982e-07
  Prefactor  = 22.5456
  Prefactor  = 36.2537
  norm       = 0
  norm       = 17.0142
  Prefactor  = 0
  norm       = 1.72719
  Prefactor  = 5.55112e-11
  norm       = 8.5369
  Prefactor  = 0.961108
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 4.20906
  Prefactor  = 1.27843
  Normalizat = 1.42283
  Prefactor  = 0.890239
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  2.205e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 5.97353136346e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00466448800802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33899387/likelihoodResults_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.txt

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): 102
logL (Free Index) = 8498.03689973
delta logL = -0.0012812513778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8498.03561869
delta logL = -2.12552549783e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      244 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0210        .42118E-03** at limit **
   2  Index         3.1188        1.2987        .48854E-04     .0000    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.18064E-03
   4  Prefactor     .89024        1.2356       -.65686E-06   -.32285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11882
  Normalizat = 1.42283
  Prefactor  = 0.890237
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0967        2.0976        .48854E-04   -.38573    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.79971    
   4  Prefactor     .89024        1.2356       -.65686E-06   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.25298e-11
Minuit parameter uncertainties:
  1  6.84443e-06
  2  1.31635
  3  1.07586
  4  1.27812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8498.03561848
delta logL = 5.63886715099e-11

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.844e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  3.119e+00  1.316e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.278e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 176.811 -26.465

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/33899387/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2026-08-01 10:15:11.955168', job_id='33899387', GAL2='0.89', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1785604511.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2190' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 10:15:12 PDT 2026

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

 FCN=   8498.036     FROM HESSE     STATUS=OK           290 CALLS     1578 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2830        5.9202        .36868E-03   -1.5654    
   2  Prefactor     17.580        31.585        .23839E-03   -1.5624    
   3  Prefactor     .16198E-06    117.31        .70365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.546        12.742        .21078E-03   -1.5613    
   5  Prefactor     36.254        29.098        .16646E-03   -1.5588    
   6  norm           .0000        .52545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.014        7.8189        .24233E-03   -1.5625    
   8  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7272        27.201        .82000E-03   -1.5682    
  10  Prefactor     .55511E-10    5.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5369        4.4647        .34286E-03   -1.5650    
  12  Prefactor     .96111        3.1785        .12605E-02   -1.5688    
  13  Prefactor     .38858E-09    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16698E-06    23.949        .11938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2091        107.40        .53487E-03   -1.5667    
  16  Prefactor     1.2784        39.152        .98843E-03   -1.5685    
  17  Normalizat    1.4228        .20892        .70858E-01   -.79971    
  18  Prefactor     .89024        .10428        .44879E-01   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85789e-07
Minuit parameter uncertainties:
  1  5.92019
  2  31.5851
  3  0.00871768
  4  12.7424
  5  29.0985
  6  4.18601e-06
  7  7.81886
  8  2.20469e-06
  9  13.7086
  10  3.75541e-05
  11  4.46467
  12  3.1785
  13  0.000167412
  14  0.00399966
  15  42.5232
  16  14.1497
  17  0.209048
  18  0.104303
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  2.205e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 5.97353136346e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00466448800802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33899376/likelihoodResults_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.txt

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): 102
logL (Free Index) = 8498.03689973
delta logL = -0.0012812513778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8498.03561869
delta logL = -2.12552549783e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      244 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0210        .42118E-03** at limit **
   2  Index         3.1188        1.2987        .48854E-04     .0000    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.18064E-03
   4  Prefactor     .89024        1.2356       -.65686E-06   -.32285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11882
  Normalizat = 1.42283
  Prefactor  = 0.890237
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0967        2.0976        .48854E-04   -.38573    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.79971    
   4  Prefactor     .89024        1.2356       -.65686E-06   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.25298e-11
Minuit parameter uncertainties:
  1  6.84443e-06
  2  1.31635
  3  1.07586
  4  1.27812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8498.03561848
delta logL = 5.63886715099e-11

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.844e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  3.119e+00  1.316e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.278e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 176.811 -26.465

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/33899376/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2026-08-01 10:15:47.882177', job_id='33899376', GAL2='0.89', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1785604547.88', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2190' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 10:15:48 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits.....................!
real 31.76
user 29.71
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits', '/lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits', expMap='/lscratch/kocevski/33899437/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', expCube='/lscratch/kocevski/33899437/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33899437/Model_4FGL_J1147.2-2627_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33899437/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33899437/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33899437/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33899437/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33899437/Model_4FGL_J1147.2-2627_daily_bin2190.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) = 8498.03891517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3911       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.612       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58739       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.520       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.097       1.0000          .0000       .10000E+07
     6 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     7 'norm      '    17.043       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80574E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.6553       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15904E-04   1.0000          .0000       .10000E+07
    11 'norm      '    8.5362       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43069E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36873       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5670       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2678       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4225       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1288 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2830        5.9158        .69910E-07   -.47279E-02
   2  Prefactor     17.580        7.1298        .35706E-06   -.16402E-01
   3  Prefactor     .16198E-06    115.88       -.32833E-06** at limit **
   4  Prefactor     22.546        4.5707       -.10091E-07   -.91964E-02
   5  Prefactor     36.254        5.6481       -.31606E-06    .58622E-01
   6  norm           .0000        .53352        .78322E-08** at limit **
   7  norm          17.014        7.8112        .71577E-08    .43781E-02
   8  Prefactor      .0000        1.5361        .84089E-07** at limit **
   9  norm          1.7272        23.558        .82918E-07   -.36160E-03
  10  Prefactor     .55511E-10    5.8822       -.39864E-07** at limit **
  11  norm          8.5369        4.4562       -.31036E-07    .23857E-01
  12  Prefactor     .96111        3.1427        .15659E-06   -.16719E-02
  13  Prefactor     .38858E-09    17.427       -.16111E-07** at limit **
  14  Prefactor     .16698E-06    791.38       -.11949E-04** at limit **
  15  Prefactor     4.2091        69.986        .42587E-05    .40615E-02
  16  Prefactor     1.2784        39.645        .83900E-05    .18443E-02
  17  Normalizat    1.4228        .24798        .76868E-06    .33476E-04
  18  Prefactor     .89024        .12420       -.17814E-05    .34063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28297
  Prefactor  = 17.5802
  Prefactor  = 1.61982e-07
  Prefactor  = 22.5456
  Prefactor  = 36.2537
  norm       = 0
  norm       = 17.0142
  Prefactor  = 0
  norm       = 1.72719
  Prefactor  = 5.55112e-11
  norm       = 8.5369
  Prefactor  = 0.961108
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 4.20906
  Prefactor  = 1.27843
  Normalizat = 1.42283
  Prefactor  = 0.890239
 GAL_V02
Working on...
/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits.....................!
real 31.02
user 29.33
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits', '/lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits', expMap='/lscratch/kocevski/33899396/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', expCube='/lscratch/kocevski/33899396/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33899396/Model_4FGL_J1147.2-2627_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33899396/ft1_filtered_4FGL_J1147.2-2627_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33899396/ft2_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33899396/expmap_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33899396/ltcube_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33899396/Model_4FGL_J1147.2-2627_daily_bin2190.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) = 8498.03891517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3911       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.612       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58739       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.520       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.097       1.0000          .0000       .10000E+07
     6 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     7 'norm      '    17.043       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80574E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.6553       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15904E-04   1.0000          .0000       .10000E+07
    11 'norm      '    8.5362       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43069E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36873       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5670       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.2678       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4225       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1288 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2830        5.9158        .69910E-07   -.47279E-02
   2  Prefactor     17.580        7.1298        .35706E-06   -.16402E-01
   3  Prefactor     .16198E-06    115.88       -.32833E-06** at limit **
   4  Prefactor     22.546        4.5707       -.10091E-07   -.91964E-02
   5  Prefactor     36.254        5.6481       -.31606E-06    .58622E-01
   6  norm           .0000        .53352        .78322E-08** at limit **
   7  norm          17.014        7.8112        .71577E-08    .43781E-02
   8  Prefactor      .0000        1.5361        .84089E-07** at limit **
   9  norm          1.7272        23.558        .82918E-07   -.36160E-03
  10  Prefactor     .55511E-10    5.8822       -.39864E-07** at limit **
  11  norm          8.5369        4.4562       -.31036E-07    .23857E-01
  12  Prefactor     .96111        3.1427        .15659E-06   -.16719E-02
  13  Prefactor     .38858E-09    17.427       -.16111E-07** at limit **
  14  Prefactor     .16698E-06    791.38       -.11949E-04** at limit **
  15  Prefactor     4.2091        69.986        .42587E-05    .40615E-02
  16  Prefactor     1.2784        39.645        .83900E-05    .18443E-02
  17  Normalizat    1.4228        .24798        .76868E-06    .33476E-04
  18  Prefactor     .89024        .12420       -.17814E-05    .34063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28297
  Prefactor  = 17.5802
  Prefactor  = 1.61982e-07
  Prefactor  = 22.5456
  Prefactor  = 36.2537
  norm       = 0
  norm       = 17.0142
  Prefactor  = 0
  norm       = 1.72719
  Prefactor  = 5.55112e-11
  norm       = 8.5369
  Prefactor  = 0.961108
  Prefactor  = 3.88578e-10
  Prefactor  = 1.66978e-07
  Prefactor  = 4.20906
  Prefactor  = 1.27843
  Normalizat = 1.42283
  Prefactor  = 0.890239
 **********
 **   18 **HESSE 
 **********

 FCN=   8498.036     FROM HESSE     STATUS=OK           290 CALLS     1578 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2830        5.9202        .36868E-03   -1.5654    
   2  Prefactor     17.580        31.585        .23839E-03   -1.5624    
   3  Prefactor     .16198E-06    117.31        .70365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.546        12.742        .21078E-03   -1.5613    
   5  Prefactor     36.254        29.098        .16646E-03   -1.5588    
   6  norm           .0000        .52545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.014        7.8189        .24233E-03   -1.5625    
   8  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7272        27.201        .82000E-03   -1.5682    
  10  Prefactor     .55511E-10    5.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5369        4.4647        .34286E-03   -1.5650    
  12  Prefactor     .96111        3.1785        .12605E-02   -1.5688    
  13  Prefactor     .38858E-09    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16698E-06    23.949        .11938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2091        107.40        .53487E-03   -1.5667    
  16  Prefactor     1.2784        39.152        .98843E-03   -1.5685    
  17  Normalizat    1.4228        .20892        .70858E-01   -.79971    
  18  Prefactor     .89024        .10428        .44879E-01   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85789e-07
Minuit parameter uncertainties:
  1  5.92019
  2  31.5851
  3  0.00871768
  4  12.7424
  5  29.0985
  6  4.18601e-06
  7  7.81886
  8  2.20469e-06
  9  13.7086
  10  3.75541e-05
  11  4.46467
  12  3.1785
  13  0.000167412
  14  0.00399966
  15  42.5232
  16  14.1497
  17  0.209048
  18  0.104303
 **********
 **   18 **HESSE 
 **********

 FCN=   8498.036     FROM HESSE     STATUS=OK           290 CALLS     1578 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2830        5.9202        .36868E-03   -1.5654    
   2  Prefactor     17.580        31.585        .23839E-03   -1.5624    
   3  Prefactor     .16198E-06    117.31        .70365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.546        12.742        .21078E-03   -1.5613    
   5  Prefactor     36.254        29.098        .16646E-03   -1.5588    
   6  norm           .0000        .52545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.014        7.8189        .24233E-03   -1.5625    
   8  Prefactor      .0000        1.5350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7272        27.201        .82000E-03   -1.5682    
  10  Prefactor     .55511E-10    5.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5369        4.4647        .34286E-03   -1.5650    
  12  Prefactor     .96111        3.1785        .12605E-02   -1.5688    
  13  Prefactor     .38858E-09    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16698E-06    23.949        .11938E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2091        107.40        .53487E-03   -1.5667    
  16  Prefactor     1.2784        39.152        .98843E-03   -1.5685    
  17  Normalizat    1.4228        .20892        .70858E-01   -.79971    
  18  Prefactor     .89024        .10428        .44879E-01   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85789e-07
Minuit parameter uncertainties:
  1  5.92019
  2  31.5851
  3  0.00871768
  4  12.7424
  5  29.0985
  6  4.18601e-06
  7  7.81886
  8  2.20469e-06
  9  13.7086
  10  3.75541e-05
  11  4.46467
  12  3.1785
  13  0.000167412
  14  0.00399966
  15  42.5232
  16  14.1497
  17  0.209048
  18  0.104303
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  2.205e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 5.97353136346e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00466448800802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33899437/likelihoodResults_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.txt

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): 102
logL (Free Index) = 8498.03689973
delta logL = -0.0012812513778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8498.03561869
delta logL = -2.12552549783e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      244 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0210        .42118E-03** at limit **
   2  Index         3.1188        1.2987        .48854E-04     .0000    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.18064E-03
   4  Prefactor     .89024        1.2356       -.65686E-06   -.32285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11882
  Normalizat = 1.42283
  Prefactor  = 0.890237
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  2.205e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 5.97353136346e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00466448800802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33899396/likelihoodResults_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.txt

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): 102
logL (Free Index) = 8498.03689973
delta logL = -0.0012812513778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8498.03561869
delta logL = -2.12552549783e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      244 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0210        .42118E-03** at limit **
   2  Index         3.1188        1.2987        .48854E-04     .0000    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.18064E-03
   4  Prefactor     .89024        1.2356       -.65686E-06   -.32285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.11882
  Normalizat = 1.42283
  Prefactor  = 0.890237
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0967        2.0976        .48854E-04   -.38573    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.79971    
   4  Prefactor     .89024        1.2356       -.65686E-06   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.25298e-11
Minuit parameter uncertainties:
  1  6.84443e-06
  2  1.31635
  3  1.07586
  4  1.27812
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8498.036     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0967        2.0976        .48854E-04   -.38573    
   3  Normalizat    1.4228        1.0588       -.68860E-05   -.79971    
   4  Prefactor     .89024        1.2356       -.65686E-06   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.25298e-11
Minuit parameter uncertainties:
  1  6.84443e-06
  2  1.31635
  3  1.07586
  4  1.27812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8498.03561848
delta logL = 5.63886715099e-11

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.844e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  3.119e+00  1.316e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.278e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 176.811 -26.465

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/33899437/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2026-08-01 10:16:52.768747', job_id='33899437', GAL2='0.89', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1785604612.77', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2190' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 10:16:53 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8498.03561848
delta logL = 5.63886715099e-11

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.844e-06  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  3.119e+00  1.316e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.902e-01  1.278e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.423e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 176.811 -26.465

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/33899396/cmap_HighResolution_806976001_807235201_4FGL_J1147.2-2627_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.66e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2026-08-01 10:16:52.784412', job_id='33899396', GAL2='0.89', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1785604612.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='2190' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 10:16:53 PDT 2026

