/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.

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

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

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

Done.


Performing analysis on: 4FGL_J1249.3-0545_weekly_bin949
RA = 192.326, Dec = -5.7621
tmin = 812937601, tmax = 813542401
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='40712711', job_status='RUN', time_executed='2026-10-13 10:17:13.206482', time_epoch_executed='1791911833.21' WHERE source_name='4FGL J1249.3-0545' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712711

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712711/ft1_4FGL_J1249.3-0545_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712711/ft1_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712711/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits ra=192.326 dec=-5.7621 rad=12.0 tmin=812937601.0 tmax=813542401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.60
user 4.13
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.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/40712711/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.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.59
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1249.3-0545_weekly_bin949
RA = 192.326, Dec = -5.7621
tmin = 812937601, tmax = 813542401
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='40712713', job_status='RUN', time_executed='2026-10-13 10:17:22.973147', time_epoch_executed='1791911842.97' WHERE source_name='4FGL J1249.3-0545' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712713

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712713/ft1_4FGL_J1249.3-0545_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712713/ft1_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712713/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits ra=192.326 dec=-5.7621 rad=12.0 tmin=812937601.0 tmax=813542401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.99
user 4.39
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.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/40712713/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.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.60
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.3-0545_weekly_bin949
RA = 192.326, Dec = -5.7621
tmin = 812937601, tmax = 813542401
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='40712738', job_status='RUN', time_executed='2026-10-13 10:18:24.123851', time_epoch_executed='1791911904.12' WHERE source_name='4FGL J1249.3-0545' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712738

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712738/ft1_4FGL_J1249.3-0545_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712738/ft1_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712738/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits ra=192.326 dec=-5.7621 rad=12.0 tmin=812937601.0 tmax=813542401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.65
user 4.16
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.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/40712738/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.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.53
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA"  GAL_V02
Working on...
/lscratch/kocevski/40712596/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 24.74
user 23.46
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712596/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712596/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712596/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712596/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712596/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712596/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712596/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712596/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712596/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712596/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
GAL_V02
Working on...
/lscratch/kocevski/40712580/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 29.27
user 27.46
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712580/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712580/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712580/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712580/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712580/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712580/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712580/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712580/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712580/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712580/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 *number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.3-0545_weekly_bin949
RA = 192.326, Dec = -5.7621
tmin = 812937601, tmax = 813542401
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='40712750', job_status='RUN', time_executed='2026-10-13 10:18:58.708546', time_epoch_executed='1791911938.71' WHERE source_name='4FGL J1249.3-0545' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712750

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712750/ft1_4FGL_J1249.3-0545_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712750/ft1_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712750/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits ra=192.326 dec=-5.7621 rad=12.0 tmin=812937601.0 tmax=813542401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.31
user 3.72
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.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/40712750/ft1_filteredMKT_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.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.54
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" *   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
outfile=/lscratch/kocevski/40712690/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 19.22
user 18.59
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712690/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712690/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712690/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 72.66
user 67.64
sys 4.29

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1249.3-0545 @ 192.326 -5.7621

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712690/cmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 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.60
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712690/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 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.55
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712690/Model_4FGL_J1249.3-0545_weekly_bin949.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceDone.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712596/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:20:30.956835', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912030.96', return_code='0', job_id='40712596', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:20:31 PDT 2026

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

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712580/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:20:47.517755', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912047.52', return_code='0', job_id='40712580', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:20:47 PDT 2026

outfile=/lscratch/kocevski/40712711/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 18.39
user 17.81
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712711/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712711/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712711/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 68.18
user 63.57
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1249.3-0545 @ 192.326 -5.7621

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712711/cmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 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.54
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712711/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712711/Model_4FGL_J1249.3-0545_weekly_bin949.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceoutfile=/lscratch/kocevski/40712713/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 19.83
user 19.29
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712713/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712713/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712713/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 72.79
user 67.62
sys 4.27

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1249.3-0545 @ 192.326 -5.7621

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712713/cmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712713/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 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.54
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712713/Model_4FGL_J1249.3-0545_weekly_bin949.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceoutfile=/lscratch/kocevski/40712738/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 18.53
user 17.93
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712738/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712738/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712738/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 69.24
user 64.66
sys 3.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1249.3-0545 @ 192.326 -5.7621

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712738/cmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712738/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.27
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712738/Model_4FGL_J1249.3-0545_weekly_bin949.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceoutfile=/lscratch/kocevski/40712750/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 16.33
user 15.72
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712750/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712750/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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/40712750/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
.....................!
real 59.85
user 55.81
sys 3.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1249.3-0545 @ 192.326 -5.7621

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712750/cmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 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.58
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits scfile=/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits outfile=/lscratch/kocevski/40712750/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.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=192.326 yref=-5.7621 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.53
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712750/Model_4FGL_J1249.3-0545_weekly_bin949.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 29.98
user 28.10
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712690/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712690/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712690/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712690/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712690/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712690/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712690/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712690/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
 GAL_V02
Working on...
/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 28.70
user 27.22
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712711/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712711/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712711/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712711/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712711/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712711/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712711/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712711/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
  **********
 **   18 **HESSE 
 **********

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
**   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712690/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:23:02.858019', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912182.86', return_code='0', job_id='40712690', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:23:02 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 29.70
user 27.95
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712713/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712713/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712713/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712713/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712713/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712713/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712713/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712713/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
  **********
 **   18 **HESSE 
 **********

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
**   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
 GAL_V02
Working on...
/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 24.25
user 22.95
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712750/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712750/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712750/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712750/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712750/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712750/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712750/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712750/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
**   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712711/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:23:30.763896', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912210.76', return_code='0', job_id='40712711', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:23:30 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits.....................!
real 28.44
user 26.85
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits', '/lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits', expMap='/lscratch/kocevski/40712738/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', expCube='/lscratch/kocevski/40712738/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712738/Model_4FGL_J1249.3-0545_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712738/ft1_filtered_4FGL_J1249.3-0545_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712738/ft2_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712738/expmap_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712738/ltcube_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712738/Model_4FGL_J1249.3-0545_weekly_bin949.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) = 7810.93569165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.657       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.517       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2575       1.0000          .0000       .10000E+07
     5 'norm      '    .26096E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .12731E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60182E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.9312       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11377E-01   1.0000          .0000       .10000E+07
    12 'norm      '    9.5461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39526E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    322.35       1.0000          .0000       .10000E+07
    15 'norm      '    .66835E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .40523E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42771E-01   1.0000          .0000       .10000E+07
    18 'norm      '    18.614       1.0000          .0000       .10000E+07
    19 'norm      '    .30650E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33377E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5550       1.0000          .0000       .10000E+07
    23 'norm      '    3.0380       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2797       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
  **********
 **   18 **HESSE 
 **********

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
**   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.591     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2147 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.270        16.388        .56801E-05    .44049E-01
   2  Prefactor     12.485        14.905       -.59134E-05   -.33101E-01
   3  Prefactor     33.822        18.308       -.46588E-05    .10990    
   4  Prefactor     1.2117        7.2586        .30833E-05    .29455E-03
   5  norm           .0000        .76156       -.29651E-06** at limit **
   6  norm          .96034E-07    20.947       -.28064E-05** at limit **
   7  Prefactor      .0000        2.2307        .10113E-06** at limit **
   8  norm          2.9356        .77980       -.31900E-07    .50752E-02
   9  Prefactor     6.2959        2.9356        .20907E-05   -.14054E-03
  10  Prefactor     9.9674        10.830       -.50303E-06   -.23178E-02
  11  Prefactor     .18319E-07    18.473        .58350E-05** at limit **
  12  norm          9.5620        2.4834       -.36327E-07   -.26533E-02
  13  Prefactor     .27756E-09    5.0181        .74972E-06** at limit **
  14  Prefactor     339.71        99.931       -.23421E-05   -.66153E-02
  15  norm          .27756E-09    10.965       -.39535E-05** at limit **
  16  norm           .0000        .37997        .15162E-05** at limit **
  17  Prefactor     .37692E-05    4.8730        .20496E-05** at limit **
  18  norm          18.813        1.4434        .15276E-07    .17476E-01
  19  norm          .22204E-08    9.7115        .36974E-05** at limit **
  20  Prefactor     .55511E-10    3.1184        .10128E-05** at limit **
  21  Prefactor     .22204E-09    8.5577       -.18855E-05** at limit **
  22  Prefactor     7.5912        7.6167        .42388E-06   -.13323E-02
  23  norm          3.0447        1.8968       -.18320E-06   -.22346E-03
  24  Normalizat    1.2766        .31095        .43772E-04   -.12555E-03
  25  Prefactor     1.1984        .20624       -.98188E-05    .19415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2704
  Prefactor  = 12.4853
  Prefactor  = 33.8219
  Prefactor  = 1.21171
  norm       = 0
  norm       = 9.60343e-08
  Prefactor  = 0
  norm       = 2.93564
  Prefactor  = 6.29586
  Prefactor  = 9.96741
  Prefactor  = 1.83187e-08
  norm       = 9.56196
  Prefactor  = 2.77556e-10
  Prefactor  = 339.708
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 3.76921e-06
  norm       = 18.8135
  norm       = 2.22045e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 7.59122
  norm       = 3.04468
  Normalizat = 1.27661
  Prefactor  = 1.1984
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712713/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:23:54.632024', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912234.63', return_code='0', job_id='40712713', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:23:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712750/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:24:01.789629', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912241.79', return_code='0', job_id='40712750', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:24:01 PDT 2026

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

 FCN=   7810.591     FROM HESSE     STATUS=OK           491 CALLS     2638 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.270        23.447        .28130E-03   -1.5638    
   2  Prefactor     12.485        24.873        .28288E-03   -1.5637    
   3  Prefactor     33.822        30.900        .17280E-03   -1.5592    
   4  Prefactor     1.2117        7.4539        .99509E-03   -1.5686    
   5  norm           .0000        .76091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96034E-07    21.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9356        .77579        .59305E-03   -1.5674    
   9  Prefactor     6.2959        2.9340        .40023E-02   -1.5206    
  10  Prefactor     9.9674        10.854        .31620E-03   -1.5645    
  11  Prefactor     .18319E-07    18.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5620        2.4859        .32411E-03   -1.5646    
  13  Prefactor     .27756E-09    4.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     339.71        104.04        .55706E-04   -1.5339    
  15  norm          .27756E-09    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .18859        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37692E-05    48.655        .22023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.813        15.255        .23187E-03   -1.5621    
  19  norm          .22204E-08    9.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    3.1266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22204E-09    8.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5912        7.6019        .36462E-03   -1.5653    
  23  norm          3.0447        1.9018        .58189E-03   -1.5673    
  24  Normalizat    1.2766        .26538        .85415E-01   -.84267    
  25  Prefactor     1.1984        .17318        .59829E-01   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71516e-07
Minuit parameter uncertainties:
  1  23.4471
  2  24.873
  3  30.9
  4  6.01065
  5  2.79481e-06
  6  0.00288378
  7  6.44419e-06
  8  0.775786
  9  2.9341
  10  10.8543
  11  0.00116412
  12  2.48586
  13  7.5222e-05
  14  104.042
  15  0.000111166
  16  1.48277e-06
  17  0.0270846
  18  15.2553
  19  0.000293769
  20  1.9019e-05
  21  8.58978e-05
  22  7.60195
  23  1.90182
  24  0.265658
  25  0.173261
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.397e+02  1.040e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.198e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.277e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.24
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 9.07e-08
Energy Flux (Fixed Index): 1.78e-04 +/- 5.46e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.42677332
delta logL = 0.164673258688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277741
delta logL = 0.188669170507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.403     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     413.84        173.37        .98322E-05   -.36746E-03
   2  Index         1.9277        .21466        .30058E-02   -.52213E-04
   3  Normalizat    1.3012        .29975        .37517E-03   -.88484E-05
   4  Prefactor     1.1873        .20461        .26560E-03   -.22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 413.84
  Index      = 1.92775
  Normalizat = 1.30123
  Prefactor  = 1.18732
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.403     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     413.84        168.28        .19664E-05   -1.5301    
   2  Index         1.9277        .20826        .12023E-03   -.66169    
   3  Normalizat    1.3012        .29981        .15007E-04   -.83530    
   4  Prefactor     1.1873        .20471        .53119E-04   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92333e-10
Minuit parameter uncertainties:
  1  168.286
  2  0.208362
  3  0.300215
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.40277699
delta logL = 0.188669594131

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  4.138e+02  1.683e+02  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  1.928e+00  2.084e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.187e+00  2.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.301e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.25
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 1.93 +/- 0.21
Photon Flux (Free Index): 2.67e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.22e-04 +/- 1.05e-04

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/40712738/cmap_HighResolution_812937601_813542401_4FGL_J1249.3-0545_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='2.22e-04', photon_flux_error='9.07e-08', dlogl='1.89e-01', energy_flux='1.78e-04', photon_flux2='2.67e-07', job_status='DONE', time_completed='2026-10-13 10:24:21.052275', photon_index_error2='0.21', photon_index2='1.93', ts='27.24', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.05e-04', EG='1.28', time_epoch_completed='1791912261.05', return_code='0', job_id='40712738', GAL2='1.19', EG2='1.30', return_code2='0', energy_flux_error='5.46e-05', photon_flux_error2='9.34e-08', ts2='27.25', photon_index='2.06' WHERE bin_id='949' AND source_name='4FGL J1249.3-0545' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:24:21 PDT 2026

