/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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


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

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


Performing analysis on: 4FGL_J1149.5-4029_weekly_bin948
RA = 177.387, Dec = -40.491
tmin = 812332801, tmax = 812937601
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='40023402', job_status='RUN', time_executed='2026-10-06 08:49:53.839863', time_epoch_executed='1791301793.84' WHERE source_name='4FGL J1149.5-4029' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40023402

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40023402/ft1_4FGL_J1149.5-4029_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40023402/ft1_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023402/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits ra=177.387 dec=-40.491 rad=12.0 tmin=812332801.0 tmax=812937601.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 5.97
user 5.21
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.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/40023402/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.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.14

Number of photons that the gtmktime cut: 2392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40023402/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 19.30
user 18.36
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40023402/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023402/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023402/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 69.05
user 64.14
sys 4.11

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 FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 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 231 point sources and 4 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 J1149.5-4029 @ 177.387 -40.491

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023402/cmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.75
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023402/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.25
sys 0.13

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


Performing analysis on: 4FGL_J1149.5-4029_weekly_bin948
RA = 177.387, Dec = -40.491
tmin = 812332801, tmax = 812937601
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='40023626', job_status='RUN', time_executed='2026-10-06 08:50:55.785152', time_epoch_executed='1791301855.79' WHERE source_name='4FGL J1149.5-4029' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40023626

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40023626/ft1_4FGL_J1149.5-4029_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40023626/ft1_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023626/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits ra=177.387 dec=-40.491 rad=12.0 tmin=812332801.0 tmax=812937601.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 6.26
user 5.48
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.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/40023626/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.79
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 2392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA"number of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1149.5-4029_weekly_bin948
RA = 177.387, Dec = -40.491
tmin = 812332801, tmax = 812937601
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='40023655', job_status='RUN', time_executed='2026-10-06 08:51:52.679949', time_epoch_executed='1791301912.68' WHERE source_name='4FGL J1149.5-4029' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40023655

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40023655/ft1_4FGL_J1149.5-4029_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40023655/ft1_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023655/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits ra=177.387 dec=-40.491 rad=12.0 tmin=812332801.0 tmax=812937601.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 6.20
user 5.33
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.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/40023655/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.77
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 2392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA"number of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1149.5-4029_weekly_bin948
RA = 177.387, Dec = -40.491
tmin = 812332801, tmax = 812937601
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='40023735', job_status='RUN', time_executed='2026-10-06 08:52:53.621629', time_epoch_executed='1791301973.62' WHERE source_name='4FGL J1149.5-4029' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40023735

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40023735/ft1_4FGL_J1149.5-4029_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40023735/ft1_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023735/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits ra=177.387 dec=-40.491 rad=12.0 tmin=812332801.0 tmax=812937601.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 5.92
user 5.21
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.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/40023735/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.77
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA"number of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1149.5-4029_weekly_bin948
RA = 177.387, Dec = -40.491
tmin = 812332801, tmax = 812937601
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='40023754', job_status='RUN', time_executed='2026-10-06 08:52:54.498104', time_epoch_executed='1791301974.5' WHERE source_name='4FGL J1149.5-4029' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40023754

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40023754/ft1_4FGL_J1149.5-4029_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40023754/ft1_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023754/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits ra=177.387 dec=-40.491 rad=12.0 tmin=812332801.0 tmax=812937601.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 6.53
user 5.81
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.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/40023754/ft1_filteredMKT_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.77
user 0.25
sys 0.12

Number of photons that the gtmktime cut: 2392

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/40023626/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 22.97
user 22.18
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40023626/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023626/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023626/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 73.59
user 68.69
sys 4.12

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 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 231 point sources and 4 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 J1149.5-4029 @ 177.387 -40.491

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023626/cmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.75
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023626/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.77
user 0.25
sys 0.14

Computing t outfile=/lscratch/kocevski/40023655/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 18.98
user 18.07
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40023655/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023655/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023655/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 71.44
user 66.55
sys 4.25

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 FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 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 231 point sources and 4 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 J1149.5-4029 @ 177.387 -40.491

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023655/cmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023655/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.25
sys 0.13

Computing t outfile=/lscratch/kocevski/40023735/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 19.10
user 18.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40023735/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023735/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023735/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 69.87
user 64.92
sys 3.97

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 FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 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 231 point sources and 4 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 J1149.5-4029 @ 177.387 -40.491

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023735/cmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023735/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.78
user 0.24
sys 0.12

Computing toutfile=/lscratch/kocevski/40023754/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 20.69
user 19.93
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40023754/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023754/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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/40023754/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
.....................!
real 77.75
user 72.59
sys 4.51

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 FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 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 231 point sources and 4 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 J1149.5-4029 @ 177.387 -40.491

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023754/cmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 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.89
user 0.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits scfile=/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits outfile=/lscratch/kocevski/40023754/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.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=177.387 yref=-40.491 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.26
sys 0.14

Computing thhe diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40023402/Model_4FGL_J1149.5-4029_weekly_bin948.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits.....................!
real 174.58
user 172.15
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits', '/lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits', expMap='/lscratch/kocevski/40023402/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', expCube='/lscratch/kocevski/40023402/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40023402/Model_4FGL_J1149.5-4029_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1149.5-4029'

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  3.786e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40023402/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40023402/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40023402/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40023402/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40023402/Model_4FGL_J1149.5-4029_weekly_bin948.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) = 24866.7828133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0829       1.0000          .0000       .10000E+07
     2 'norm      '    3.2397       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5800       1.0000          .0000       .10000E+07
     4 'norm      '    6.2164       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.995       1.0000          .0000       .10000E+07
     6 'norm      '    1.9127       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86414E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .12966E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6370       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.886       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3837       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9460       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      742 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0799        2.9894        .10362E-05    .10276E-02
   2  norm          3.2359        1.5417       -.10904E-06   -.47605E-02
   3  Prefactor     4.6127        5.8619       -.32710E-06    .95656E-02
   4  norm          6.6242        11.564        .13757E-05   -.35650E-02
   5  Prefactor     14.152        12.894       -.27553E-05    .14135E-01
   6  norm          1.9164        2.5795        .75074E-07    .21754E-02
   7  Prefactor      .0000        2.1802        .17359E-06** at limit **
   8  norm           .0000        2.3182       -.21249E-06** at limit **
   9  Prefactor     9.6574        1.7598        .37200E-06    .12720    
  10  Prefactor     13.847        22.381        .30936E-06   -.14435E-02
  11  Prefactor     1.2880        2.6492       -.93935E-05    .60093E-04
  12  Prefactor     3.9310        4.9922       -.25078E-06    .35554E-02
  13  Normalizat    1.1637        .17128        .16333E-05   -.24411E-04
  14  Prefactor     1.0202        .63385E-01    .10537E-05   -.71613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07991
  norm       = 3.23593
  Prefactor  = 4.61265
  norm       = 6.62419
  Prefactor  = 14.1515
  norm       = 1.91638
  Prefactor  = 0
  norm       = 0
  Prefactor  = 9.65744
  Prefactor  = 13.8465
  Prefactor  = 1.28795
  Prefactor  = 3.93104
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********

 FCN=   24866.76     FROM HESSE     STATUS=OK           198 CALLS      940 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0799        3.0492        .11553E-02   -1.5687    
   2  norm          3.2359        1.5492        .56249E-03   -1.5672    
   3  Prefactor     4.6127        5.9246        .47011E-03   -1.5665    
   4  norm          6.6242        11.608        .40239E-03   -1.5656    
   5  Prefactor     14.152        13.153        .26748E-03   -1.5633    
   6  norm          1.9164        2.5954        .75131E-03   -1.5680    
   7  Prefactor      .0000        2.1772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6574        6.0854        .32257E-03   -1.5646    
  10  Prefactor     13.847        24.361        .27878E-03   -1.5634    
  11  Prefactor     1.2880        2.9130        .92458E-02   -1.5481    
  12  Prefactor     3.9310        5.0081        .50757E-03   -1.5668    
  13  Normalizat    1.1637        .14659        .91969E-01   -.87731    
  14  Prefactor     1.0202        .53527E-01    .42101E-01   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18851e-08
Minuit parameter uncertainties:
  1  3.04918
  2  1.54925
  3  5.92462
  4  11.6084
  5  13.1526
  6  2.5954
  7  3.90176e-06
  8  1.10471e-06
  9  6.08541
  10  24.3611
  11  2.91329
  12  5.00809
  13  0.146639
  14  0.05353
he diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40023626/Model_4FGL_J1149.5-4029_weekly_bin948.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits.....................!
real 184.78
user 182.34
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits', '/lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits', expMap='/lscratch/kocevski/40023626/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', expCube='/lscratch/kocevski/40023626/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40023626/Model_4FGL_J1149.5-4029_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1149.5-4029'

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  3.786e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40023626/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40023626/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40023626/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40023626/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40023626/Model_4FGL_J1149.5-4029_weekly_bin948.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) = 24866.7828133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0829       1.0000          .0000       .10000E+07
     2 'norm      '    3.2397       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5800       1.0000          .0000       .10000E+07
     4 'norm      '    6.2164       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.995       1.0000          .0000       .10000E+07
     6 'norm      '    1.9127       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86414E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .12966E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6370       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.886       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3837       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9460       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      742 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0799        2.9894        .10362E-05    .10276E-02
   2  norm          3.2359        1.5417       -.10904E-06   -.47605E-02
   3  Prefactor     4.6127        5.8619       -.32710E-06    .95656E-02
   4  norm          6.6242        11.564        .13757E-05   -.35650E-02
   5  Prefactor     14.152        12.894       -.27553E-05    .14135E-01
   6  norm          1.9164        2.5795        .75074E-07    .21754E-02
   7  Prefactor      .0000        2.1802        .17359E-06** at limit **
   8  norm           .0000        2.3182       -.21249E-06** at limit **
   9  Prefactor     9.6574        1.7598        .37200E-06    .12720    
  10  Prefactor     13.847        22.381        .30936E-06   -.14435E-02
  11  Prefactor     1.2880        2.6492       -.93935E-05    .60093E-04
  12  Prefactor     3.9310        4.9922       -.25078E-06    .35554E-02
  13  Normalizat    1.1637        .17128        .16333E-05   -.24411E-04
  14  Prefactor     1.0202        .63385E-01    .10537E-05   -.71613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07991
  norm       = 3.23593
  Prefactor  = 4.61265
  norm       = 6.62419
  Prefactor  = 14.1515
  norm       = 1.91638
  Prefactor  = 0
  norm       = 0
  Prefactor  = 9.65744
  Prefactor  = 13.8465
  Prefactor  = 1.28795
  Prefactor  = 3.93104
  Normalizat = 1.16373
  Prefactor  = 1.02024
he diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40023655/Model_4FGL_J1149.5-4029_weekly_bin948.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits.....................!
real 184.03
user 182.05
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits', '/lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits', expMap='/lscratch/kocevski/40023655/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', expCube='/lscratch/kocevski/40023655/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40023655/Model_4FGL_J1149.5-4029_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1149.5-4029'

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  3.786e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40023655/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40023655/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40023655/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40023655/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40023655/Model_4FGL_J1149.5-4029_weekly_bin948.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) = 24866.7828133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0829       1.0000          .0000       .10000E+07
     2 'norm      '    3.2397       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5800       1.0000          .0000       .10000E+07
     4 'norm      '    6.2164       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.995       1.0000          .0000       .10000E+07
     6 'norm      '    1.9127       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86414E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .12966E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6370       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.886       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3837       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9460       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      742 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0799        2.9894        .10362E-05    .10276E-02
   2  norm          3.2359        1.5417       -.10904E-06   -.47605E-02
   3  Prefactor     4.6127        5.8619       -.32710E-06    .95656E-02
   4  norm          6.6242        11.564        .13757E-05   -.35650E-02
   5  Prefactor     14.152        12.894       -.27553E-05    .14135E-01
   6  norm          1.9164        2.5795        .75074E-07    .21754E-02
   7  Prefactor      .0000        2.1802        .17359E-06** at limit **
   8  norm           .0000        2.3182       -.21249E-06** at limit **
   9  Prefactor     9.6574        1.7598        .37200E-06    .12720    
  10  Prefactor     13.847        22.381        .30936E-06   -.14435E-02
  11  Prefactor     1.2880        2.6492       -.93935E-05    .60093E-04
  12  Prefactor     3.9310        4.9922       -.25078E-06    .35554E-02
  13  Normalizat    1.1637        .17128        .16333E-05   -.24411E-04
  14  Prefactor     1.0202        .63385E-01    .10537E-05   -.71613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07991
  norm       = 3.23593
  Prefactor  = 4.61265
  norm       = 6.62419
  Prefactor  = 14.1515
  norm       = 1.91638
  Prefactor  = 0
  norm       = 0
  Prefactor  = 9.65744
  Prefactor  = 13.8465
  Prefactor  = 1.28795
  Prefactor  = 3.93104
  Normalizat = 1.16373
  Prefactor  = 1.02024
Done.

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

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  3.902e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  5.353e-02  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.387 -40.491
Photon Flux Upper Limit: 2.70702209896e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00208664063778 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40023402/likelihoodResults_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7588368
delta logL = -0.0021886896393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7566559
delta logL = -7.73442661739e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0132        .42118E-03** at limit **
   2  Index         3.0432        1.9587       -.58015E-04     .0000    
   3  Normalizat    1.1637        1.1205       -.11867E-04    .11161E-04
   4  Prefactor     1.0202        1.2374        .60564E-05    .47996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.04323
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24866.76     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0460        2.1834       -.58015E-04   -.40210    
   3  Normalizat    1.1637        1.1205       -.11867E-04   -.87731    
   4  Prefactor     1.0202        1.2374        .60564E-05   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.39112e-12
Minuit parameter uncertainties:
  1  7.06798e-06
  2  2.02333
  3  1.14488
  4  1.2748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24866.7566481
delta logL = 0.0

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  7.068e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  3.043e+00  2.023e+00  0.000e+00  1.000e+01 (-1.000e+00)
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.145e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.387 -40.491

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/40023402/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-10-06 09:03:38.582819', job_id='40023402', GAL2='1.02', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1791302618.58', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='948' AND source_name='4FGL J1149.5-4029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:03:38 PDT 2026

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

 FCN=   24866.76     FROM HESSE     STATUS=OK           198 CALLS      940 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0799        3.0492        .11553E-02   -1.5687    
   2  norm          3.2359        1.5492        .56249E-03   -1.5672    
   3  Prefactor     4.6127        5.9246        .47011E-03   -1.5665    
   4  norm          6.6242        11.608        .40239E-03   -1.5656    
   5  Prefactor     14.152        13.153        .26748E-03   -1.5633    
   6  norm          1.9164        2.5954        .75131E-03   -1.5680    
   7  Prefactor      .0000        2.1772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6574        6.0854        .32257E-03   -1.5646    
  10  Prefactor     13.847        24.361        .27878E-03   -1.5634    
  11  Prefactor     1.2880        2.9130        .92458E-02   -1.5481    
  12  Prefactor     3.9310        5.0081        .50757E-03   -1.5668    
  13  Normalizat    1.1637        .14659        .91969E-01   -.87731    
  14  Prefactor     1.0202        .53527E-01    .42101E-01   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18851e-08
Minuit parameter uncertainties:
  1  3.04918
  2  1.54925
  3  5.92462
  4  11.6084
  5  13.1526
  6  2.5954
  7  3.90176e-06
  8  1.10471e-06
  9  6.08541
  10  24.3611
  11  2.91329
  12  5.00809
  13  0.146639
  14  0.05353
 **********
 **   18 **HESSE 
 **********

 FCN=   24866.76     FROM HESSE     STATUS=OK           198 CALLS      940 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0799        3.0492        .11553E-02   -1.5687    
   2  norm          3.2359        1.5492        .56249E-03   -1.5672    
   3  Prefactor     4.6127        5.9246        .47011E-03   -1.5665    
   4  norm          6.6242        11.608        .40239E-03   -1.5656    
   5  Prefactor     14.152        13.153        .26748E-03   -1.5633    
   6  norm          1.9164        2.5954        .75131E-03   -1.5680    
   7  Prefactor      .0000        2.1772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6574        6.0854        .32257E-03   -1.5646    
  10  Prefactor     13.847        24.361        .27878E-03   -1.5634    
  11  Prefactor     1.2880        2.9130        .92458E-02   -1.5481    
  12  Prefactor     3.9310        5.0081        .50757E-03   -1.5668    
  13  Normalizat    1.1637        .14659        .91969E-01   -.87731    
  14  Prefactor     1.0202        .53527E-01    .42101E-01   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18851e-08
Minuit parameter uncertainties:
  1  3.04918
  2  1.54925
  3  5.92462
  4  11.6084
  5  13.1526
  6  2.5954
  7  3.90176e-06
  8  1.10471e-06
  9  6.08541
  10  24.3611
  11  2.91329
  12  5.00809
  13  0.146639
  14  0.05353
he diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40023735/Model_4FGL_J1149.5-4029_weekly_bin948.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits.....................!
real 176.90
user 174.33
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits', '/lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits', expMap='/lscratch/kocevski/40023735/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', expCube='/lscratch/kocevski/40023735/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40023735/Model_4FGL_J1149.5-4029_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1149.5-4029'

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  3.786e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40023735/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40023735/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40023735/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40023735/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40023735/Model_4FGL_J1149.5-4029_weekly_bin948.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) = 24866.7828133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0829       1.0000          .0000       .10000E+07
     2 'norm      '    3.2397       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5800       1.0000          .0000       .10000E+07
     4 'norm      '    6.2164       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.995       1.0000          .0000       .10000E+07
     6 'norm      '    1.9127       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86414E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .12966E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6370       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.886       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3837       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9460       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      742 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0799        2.9894        .10362E-05    .10276E-02
   2  norm          3.2359        1.5417       -.10904E-06   -.47605E-02
   3  Prefactor     4.6127        5.8619       -.32710E-06    .95656E-02
   4  norm          6.6242        11.564        .13757E-05   -.35650E-02
   5  Prefactor     14.152        12.894       -.27553E-05    .14135E-01
   6  norm          1.9164        2.5795        .75074E-07    .21754E-02
   7  Prefactor      .0000        2.1802        .17359E-06** at limit **
   8  norm           .0000        2.3182       -.21249E-06** at limit **
   9  Prefactor     9.6574        1.7598        .37200E-06    .12720    
  10  Prefactor     13.847        22.381        .30936E-06   -.14435E-02
  11  Prefactor     1.2880        2.6492       -.93935E-05    .60093E-04
  12  Prefactor     3.9310        4.9922       -.25078E-06    .35554E-02
  13  Normalizat    1.1637        .17128        .16333E-05   -.24411E-04
  14  Prefactor     1.0202        .63385E-01    .10537E-05   -.71613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07991
  norm       = 3.23593
  Prefactor  = 4.61265
  norm       = 6.62419
  Prefactor  = 14.1515
  norm       = 1.91638
  Prefactor  = 0
  norm       = 0
  Prefactor  = 9.65744
  Prefactor  = 13.8465
  Prefactor  = 1.28795
  Prefactor  = 3.93104
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********

 FCN=   24866.76     FROM HESSE     STATUS=OK           198 CALLS      940 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0799        3.0492        .11553E-02   -1.5687    
   2  norm          3.2359        1.5492        .56249E-03   -1.5672    
   3  Prefactor     4.6127        5.9246        .47011E-03   -1.5665    
   4  norm          6.6242        11.608        .40239E-03   -1.5656    
   5  Prefactor     14.152        13.153        .26748E-03   -1.5633    
   6  norm          1.9164        2.5954        .75131E-03   -1.5680    
   7  Prefactor      .0000        2.1772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6574        6.0854        .32257E-03   -1.5646    
  10  Prefactor     13.847        24.361        .27878E-03   -1.5634    
  11  Prefactor     1.2880        2.9130        .92458E-02   -1.5481    
  12  Prefactor     3.9310        5.0081        .50757E-03   -1.5668    
  13  Normalizat    1.1637        .14659        .91969E-01   -.87731    
  14  Prefactor     1.0202        .53527E-01    .42101E-01   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18851e-08
Minuit parameter uncertainties:
  1  3.04918
  2  1.54925
  3  5.92462
  4  11.6084
  5  13.1526
  6  2.5954
  7  3.90176e-06
  8  1.10471e-06
  9  6.08541
  10  24.3611
  11  2.91329
  12  5.00809
  13  0.146639
  14  0.05353
e diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40023754/Model_4FGL_J1149.5-4029_weekly_bin948.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits.....................!
real 191.15
user 188.67
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits', '/lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits', expMap='/lscratch/kocevski/40023754/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', expCube='/lscratch/kocevski/40023754/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40023754/Model_4FGL_J1149.5-4029_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1149.5-4029'

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  3.786e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40023754/ft1_filtered_4FGL_J1149.5-4029_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40023754/ft2_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40023754/expmap_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40023754/ltcube_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40023754/Model_4FGL_J1149.5-4029_weekly_bin948.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) = 24866.7828133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0829       1.0000          .0000       .10000E+07
     2 'norm      '    3.2397       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5800       1.0000          .0000       .10000E+07
     4 'norm      '    6.2164       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.995       1.0000          .0000       .10000E+07
     6 'norm      '    1.9127       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86414E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .12966E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6370       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.886       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3837       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9460       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      742 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0799        2.9894        .10362E-05    .10276E-02
   2  norm          3.2359        1.5417       -.10904E-06   -.47605E-02
   3  Prefactor     4.6127        5.8619       -.32710E-06    .95656E-02
   4  norm          6.6242        11.564        .13757E-05   -.35650E-02
   5  Prefactor     14.152        12.894       -.27553E-05    .14135E-01
   6  norm          1.9164        2.5795        .75074E-07    .21754E-02
   7  Prefactor      .0000        2.1802        .17359E-06** at limit **
   8  norm           .0000        2.3182       -.21249E-06** at limit **
   9  Prefactor     9.6574        1.7598        .37200E-06    .12720    
  10  Prefactor     13.847        22.381        .30936E-06   -.14435E-02
  11  Prefactor     1.2880        2.6492       -.93935E-05    .60093E-04
  12  Prefactor     3.9310        4.9922       -.25078E-06    .35554E-02
  13  Normalizat    1.1637        .17128        .16333E-05   -.24411E-04
  14  Prefactor     1.0202        .63385E-01    .10537E-05   -.71613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07991
  norm       = 3.23593
  Prefactor  = 4.61265
  norm       = 6.62419
  Prefactor  = 14.1515
  norm       = 1.91638
  Prefactor  = 0
  norm       = 0
  Prefactor  = 9.65744
  Prefactor  = 13.8465
  Prefactor  = 1.28795
  Prefactor  = 3.93104
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********

 FCN=   24866.76     FROM HESSE     STATUS=OK           198 CALLS      940 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0799        3.0492        .11553E-02   -1.5687    
   2  norm          3.2359        1.5492        .56249E-03   -1.5672    
   3  Prefactor     4.6127        5.9246        .47011E-03   -1.5665    
   4  norm          6.6242        11.608        .40239E-03   -1.5656    
   5  Prefactor     14.152        13.153        .26748E-03   -1.5633    
   6  norm          1.9164        2.5954        .75131E-03   -1.5680    
   7  Prefactor      .0000        2.1772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6574        6.0854        .32257E-03   -1.5646    
  10  Prefactor     13.847        24.361        .27878E-03   -1.5634    
  11  Prefactor     1.2880        2.9130        .92458E-02   -1.5481    
  12  Prefactor     3.9310        5.0081        .50757E-03   -1.5668    
  13  Normalizat    1.1637        .14659        .91969E-01   -.87731    
  14  Prefactor     1.0202        .53527E-01    .42101E-01   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18851e-08
Minuit parameter uncertainties:
  1  3.04918
  2  1.54925
  3  5.92462
  4  11.6084
  5  13.1526
  6  2.5954
  7  3.90176e-06
  8  1.10471e-06
  9  6.08541
  10  24.3611
  11  2.91329
  12  5.00809
  13  0.146639
  14  0.05353
Done.

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

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  3.902e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  5.353e-02  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.387 -40.491
Photon Flux Upper Limit: 2.70702209896e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00208664063778 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40023626/likelihoodResults_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7588368
delta logL = -0.0021886896393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7566559
delta logL = -7.73442661739e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0132        .42118E-03** at limit **
   2  Index         3.0432        1.9587       -.58015E-04     .0000    
   3  Normalizat    1.1637        1.1205       -.11867E-04    .11161E-04
   4  Prefactor     1.0202        1.2374        .60564E-05    .47996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.04323
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24866.76     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0460        2.1834       -.58015E-04   -.40210    
   3  Normalizat    1.1637        1.1205       -.11867E-04   -.87731    
   4  Prefactor     1.0202        1.2374        .60564E-05   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.39112e-12
Minuit parameter uncertainties:
  1  7.06798e-06
  2  2.02333
  3  1.14488
  4  1.2748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24866.7566481
delta logL = 0.0

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  7.068e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  3.043e+00  2.023e+00  0.000e+00  1.000e+01 (-1.000e+00)
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.145e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.387 -40.491

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/40023626/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-10-06 09:05:50.112287', job_id='40023626', GAL2='1.02', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1791302750.11', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='948' AND source_name='4FGL J1149.5-4029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:05:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  3.902e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  5.353e-02  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.387 -40.491
Photon Flux Upper Limit: 2.70702209896e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00208664063778 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40023655/likelihoodResults_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7588368
delta logL = -0.0021886896393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7566559
delta logL = -7.73442661739e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0132        .42118E-03** at limit **
   2  Index         3.0432        1.9587       -.58015E-04     .0000    
   3  Normalizat    1.1637        1.1205       -.11867E-04    .11161E-04
   4  Prefactor     1.0202        1.2374        .60564E-05    .47996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.04323
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24866.76     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0460        2.1834       -.58015E-04   -.40210    
   3  Normalizat    1.1637        1.1205       -.11867E-04   -.87731    
   4  Prefactor     1.0202        1.2374        .60564E-05   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.39112e-12
Minuit parameter uncertainties:
  1  7.06798e-06
  2  2.02333
  3  1.14488
  4  1.2748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24866.7566481
delta logL = 0.0

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  7.068e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  3.043e+00  2.023e+00  0.000e+00  1.000e+01 (-1.000e+00)
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.145e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.387 -40.491

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/40023655/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-10-06 09:06:17.989752', job_id='40023655', GAL2='1.02', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1791302777.99', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='948' AND source_name='4FGL J1149.5-4029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:06:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  3.902e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  5.353e-02  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.387 -40.491
Photon Flux Upper Limit: 2.70702209896e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00208664063778 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40023735/likelihoodResults_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7588368
delta logL = -0.0021886896393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7566559
delta logL = -7.73442661739e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0132        .42118E-03** at limit **
   2  Index         3.0432        1.9587       -.58015E-04     .0000    
   3  Normalizat    1.1637        1.1205       -.11867E-04    .11161E-04
   4  Prefactor     1.0202        1.2374        .60564E-05    .47996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.04323
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24866.76     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0460        2.1834       -.58015E-04   -.40210    
   3  Normalizat    1.1637        1.1205       -.11867E-04   -.87731    
   4  Prefactor     1.0202        1.2374        .60564E-05   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.39112e-12
Minuit parameter uncertainties:
  1  7.06798e-06
  2  2.02333
  3  1.14488
  4  1.2748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24866.7566481
delta logL = 0.0

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  7.068e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  3.043e+00  2.023e+00  0.000e+00  1.000e+01 (-1.000e+00)
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.145e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.387 -40.491

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/40023735/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-10-06 09:06:50.797125', job_id='40023735', GAL2='1.02', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1791302810.8', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='948' AND source_name='4FGL J1149.5-4029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:06:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  3.902e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  5.353e-02  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.387 -40.491
Photon Flux Upper Limit: 2.70702209896e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00208664063778 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40023754/likelihoodResults_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7588368
delta logL = -0.0021886896393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24866.7566559
delta logL = -7.73442661739e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24866.76     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0132        .42118E-03** at limit **
   2  Index         3.0432        1.9587       -.58015E-04     .0000    
   3  Normalizat    1.1637        1.1205       -.11867E-04    .11161E-04
   4  Prefactor     1.0202        1.2374        .60564E-05    .47996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.04323
  Normalizat = 1.16373
  Prefactor  = 1.02024
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24866.76     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0460        2.1834       -.58015E-04   -.40210    
   3  Normalizat    1.1637        1.1205       -.11867E-04   -.87731    
   4  Prefactor     1.0202        1.2374        .60564E-05   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.39112e-12
Minuit parameter uncertainties:
  1  7.06798e-06
  2  2.02333
  3  1.14488
  4  1.2748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24866.7566481
delta logL = 0.0

Extracting fit parameters...

4FGL J1149.5-4029
   Spectrum: PowerLaw
405    Prefactor:  0.000e+00  7.068e-06  0.000e+00  1.000e+06 ( 1.000e-13)
406        Index:  3.043e+00  2.023e+00  0.000e+00  1.000e+01 (-1.000e+00)
407        Scale:  1.147e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
818    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
819        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
820        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
807   Normalization:  1.164e+00  1.145e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.387 -40.491

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/40023754/cmap_HighResolution_812332801_812937601_4FGL_J1149.5-4029_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-10-06 09:07:43.615953', job_id='40023754', GAL2='1.02', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1791302863.62', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='948' AND source_name='4FGL J1149.5-4029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 09:07:43 PDT 2026

