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

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

Done.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240509', job_status='RUN', time_executed='2026-05-26 08:40:48.238351', time_epoch_executed='1779810048.24' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240509

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240509/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240509/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240509/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.77
user 3.99
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240509/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.84
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA"/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)
 outfile=/lscratch/kocevski/27240459/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 18.27
user 17.34
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240459/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240459/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240459/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 68.64
user 63.81
sys 4.08

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240459/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.85
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240459/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.

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

Done.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240506', job_status='RUN', time_executed='2026-05-26 08:40:30.454819', time_epoch_executed='1779810030.45' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240506

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240506/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240506/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240506/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.88
user 4.08
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240506/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.82
user 0.21
sys 0.11

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA"number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240521', job_status='RUN', time_executed='2026-05-26 08:41:03.315300', time_epoch_executed='1779810063.32' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240521

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240521/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240521/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240521/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.93
user 4.16
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240521/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.72
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA"number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240540', job_status='RUN', time_executed='2026-05-26 08:41:41.152890', time_epoch_executed='1779810101.15' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240540

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240540/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240540/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240540/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.66
user 4.00
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240540/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.66
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA"number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240536', job_status='RUN', time_executed='2026-05-26 08:41:33.895162', time_epoch_executed='1779810093.9' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240536

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240536/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240536/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240536/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.66
user 3.95
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240536/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.78
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/27240509/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 16.57
user 15.65
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240509/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240509/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240509/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 62.03
user 57.84
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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240509/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240509/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfDone.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240570', job_status='RUN', time_executed='2026-05-26 08:42:34.108631', time_epoch_executed='1779810154.11' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240570

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240570/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240570/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240570/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.44
user 3.94
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240570/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.62
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27240506/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 17.05
user 16.25
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240506/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240506/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240506/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 63.39
user 58.91
sys 3.67

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240506/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240506/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scf outfile=/lscratch/kocevski/27240521/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 16.65
user 15.98
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240521/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240521/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240521/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 63.48
user 59.05
sys 3.69

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240521/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240521/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scf outfile=/lscratch/kocevski/27240540/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 16.58
user 15.75
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240540/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240540/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240540/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 61.93
user 57.44
sys 3.55

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240540/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.57
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240540/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.56
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfoutfile=/lscratch/kocevski/27240536/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 16.00
user 15.30
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240536/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240536/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240536/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 60.42
user 55.87
sys 3.68

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240536/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.66
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240536/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.61
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfinumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.0-3812_weekly_bin929
RA = 176.76, Dec = -38.2006
tmin = 800841601, tmax = 801446401
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='27240599', job_status='RUN', time_executed='2026-05-26 08:43:57.462715', time_epoch_executed='1779810237.46' WHERE source_name='4FGL J1147.0-3812' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27240599

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27240599/ft1_4FGL_J1147.0-3812_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27240599/ft1_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240599/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.92
user 4.22
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.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/27240599/ft1_filteredMKT_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.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.87
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 2556

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27240570/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 16.08
user 15.46
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240570/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240570/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240570/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 62.40
user 58.05
sys 3.71

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240570/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240570/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scf outfile=/lscratch/kocevski/27240599/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 17.12
user 16.41
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27240599/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240599/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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/27240599/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
.....................!
real 64.47
user 59.78
sys 3.81

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240599/cmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits scfile=/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits outfile=/lscratch/kocevski/27240599/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.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.76 yref=-38.2006 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.69
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240459/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 173.51
user 170.69
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240459/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240459/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240459/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240459/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240459/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240459/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240459/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240459/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240459/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:49:50.636440', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810590.64', return_code='0', job_id='27240459', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:49:50 PDT 2026

ile=/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240506/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 161.70
user 159.60
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240506/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240506/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240506/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240506/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240506/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240506/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240506/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240506/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
ile=/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240509/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 164.09
user 162.11
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240509/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240509/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240509/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240509/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240509/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240509/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240509/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240509/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
ile=/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240521/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 168.64
user 166.55
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240521/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240521/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240521/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240521/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240521/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240521/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240521/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240521/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
le=/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240536/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 158.85
user 156.00
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240536/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240536/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240536/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240536/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240536/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240536/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240536/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240536/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
ile=/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240540/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 165.59
user 163.42
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240540/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240540/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240540/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240540/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240540/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240540/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240540/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240540/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240506/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:51:00.353929', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810660.35', return_code='0', job_id='27240506', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:51:00 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240509/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:51:09.889679', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810669.89', return_code='0', job_id='27240509', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:51:10 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240521/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:51:21.703307', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810681.7', return_code='0', job_id='27240521', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:51:21 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240536/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:51:23.772060', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810683.77', return_code='0', job_id='27240536', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:51:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
ile=/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240570/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 167.80
user 165.54
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240570/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240570/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240570/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240570/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240570/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240570/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240570/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240570/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240540/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:51:34.326664', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810694.33', return_code='0', job_id='27240540', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:51:34 PDT 2026

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

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240570/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:52:31.798659', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810751.8', return_code='0', job_id='27240570', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:52:31 PDT 2026

ile=/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27240599/Model_4FGL_J1147.0-3812_weekly_bin929.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits.....................!
real 165.57
user 162.99
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits', '/lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits', expMap='/lscratch/kocevski/27240599/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', expCube='/lscratch/kocevski/27240599/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27240599/Model_4FGL_J1147.0-3812_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27240599/ft1_filtered_4FGL_J1147.0-3812_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27240599/ft2_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27240599/expmap_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27240599/ltcube_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27240599/Model_4FGL_J1147.0-3812_weekly_bin929.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) = 26281.6092772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2008       1.0000          .0000       .10000E+07
     2 'norm      '    4.6711       1.0000          .0000       .10000E+07
     3 'norm      '    .61266       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    30.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37169E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2154       1.0000          .0000       .10000E+07
     8 'norm      '    .38014E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7158       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.829       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0223       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26281.59     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      619 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2209        4.2823       -.21307E-07    .26246E-03
   2  norm          4.6797        1.4408       -.62547E-08    .17637E-03
   3  norm          .14814        135.28        .60270E-06** at limit **
   4  Prefactor      .0000        4.9562        .66230E-07** at limit **
   5  norm          30.094        5.0306        .74698E-08   -.13649E-03
   6  Prefactor      .0000        1.8963       -.10423E-06** at limit **
   7  Prefactor     2.2224        8.3123        .24078E-06   -.27646E-03
   8  norm           .0000        2.5801        .41744E-07** at limit **
   9  Prefactor     5.6238        5.0569       -.21889E-07    .12618E-03
  10  Prefactor     37.920        21.148       -.59510E-07    .33330E-03
  11  Normalizat    1.0210        .15417        .34715E-06    .23086E-04
  12  Prefactor     .99269        .61392E-01   -.53577E-06    .38286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22086
  norm       = 4.6797
  norm       = 0.148144
  Prefactor  = 0
  norm       = 30.094
  Prefactor  = 0
  Prefactor  = 2.22236
  norm       = 0
  Prefactor  = 5.62378
  Prefactor  = 37.9204
  Normalizat = 1.02103
  Prefactor  = 0.992686
 **********
 **   18 **HESSE 
 **********

 FCN=   26281.59     FROM HESSE     STATUS=OK           161 CALLS      780 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2209        4.2890        .34985E-03   -1.5651    
   2  norm          4.6797        1.4477        .46540E-03   -1.5665    
   3  norm          .14814        5.0730        .10822E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.094        5.0484        .18235E-03   -1.5598    
   6  Prefactor      .0000        1.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2224        8.3397        .69070E-03   -1.5678    
   8  norm           .0000        2.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6238        5.0637        .41990E-03   -1.5661    
  10  Prefactor     37.920        21.184        .16480E-03   -1.5585    
  11  Normalizat    1.0210        .13031        .88386E-01   -.92329    
  12  Prefactor     .99269        .51413E-01    .46170E-01   -.92974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65205e-07
Minuit parameter uncertainties:
  1  4.28904
  2  1.44774
  3  1.73382
  4  8.01109e-06
  5  5.04842
  6  2.60898e-06
  7  8.33979
  8  2.81167e-07
  9  5.06367
  10  21.1843
  11  0.130353
  12  0.0514152
Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.009e+01  5.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.927e-01  5.142e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.021e+00  1.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.94
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 7.76e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0989038
delta logL = 3.49273863776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844604656

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26278.06     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.470        5.7070        .17828E-03   -.64799E-01
   2  alpha         1.7798        .13424        .20333       -.59681E-04
   3  Normalizat    1.0713        .12867        .86607E-01    .78071E-04
   4  Prefactor     .98332        .51027E-01    .46058E-01   -.59353E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.4704
  alpha      = 1.77977
  Normalizat = 1.07127
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   26278.06     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.470        5.6522        .35657E-04   -1.5596    
   2  alpha         1.7798        .13994        .85188E-02   -.29224    
   3  Normalizat    1.0713        .15305        .38350E-03   -.90679    
   4  Prefactor     .98332        .60879E-01    .15814E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8115e-09
Minuit parameter uncertainties:
  1  5.65215
  2  0.140024
  3  0.153112
  4  0.0608832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26278.0631964
delta logL = 3.52844606965

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  3.147e+01  5.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.780e+00  1.400e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.833e-01  6.088e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  1.071e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.02
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.78 +/- 0.14
Photon Flux (Free Index): 1.28e-07 +/- 2.88e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27240599/cmap_HighResolution_800841601_801446401_4FGL_J1147.0-3812_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='1.20e-04', photon_flux_error='2.94e-08', dlogl='3.53e+00', energy_flux='7.76e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2026-05-26 08:53:54.552485', photon_index_error2='0.14', photon_index2='1.78', ts='127.94', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='1.02', time_epoch_completed='1779810834.55', return_code='0', job_id='27240599', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='2.88e-08', ts2='135.02', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J1147.0-3812' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 08:53:54 PDT 2026

