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

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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


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

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

WARNING: version mismatch between CFITSIO header (v
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.

3.43) and linked library (vWARNING: version mismatch between CFITSIO header (v3.433.41).) and linked library (v3.41

).


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

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

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

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

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


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


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


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

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

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.8+3707_daily_bin2213
RA = 192.46, Dec = 37.1306
tmin = 812937601, tmax = 813196801
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='40343277', job_status='RUN', time_executed='2026-10-09 09:50:31.083947', time_epoch_executed='1791564631.08' WHERE source_name='4FGL J1249.8+3707' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40343277

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40343277/ft1_4FGL_J1249.8+3707_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40343277/ft1_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343277/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits ra=192.46 dec=37.1306 rad=12.0 tmin=812937601.0 tmax=813196801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.96
user 2.54
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.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/40343277/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40343165/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343165/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 9.01
user 8.50
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343165/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343165/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343165/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343165/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343165/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 72.68
user 67.90
sys 4.11

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

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

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

This is gtbin version HEAD
real 0.61
user 0.24
sys 0.13

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

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

This is gtbin version HEAD
real 0.68
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343165/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343165/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343165/Model_4FGL_J1249.8+3707_daily_bin2213.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/40343043/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 34.99
user 33.20
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343043/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343043/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343043/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343043/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343043/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343043/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343043/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343043/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343043/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343043/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
Working on...
/lscratch/kocevski/40343085/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 31.87
user 29.67
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343085/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343085/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343085/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343085/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343085/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343085/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343085/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343085/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343085/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343085/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
Working on...
/lscratch/kocevski/40343088/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 31.74
user 29.60
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343088/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343088/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343088/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343088/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343088/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343088/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343088/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343088/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343088/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343088/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343064/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343064/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:51:54.350138', job_id='40343064', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564714.35', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:51:54 PDT 2026

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

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343037/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343037/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:52:11.172424', job_id='40343037', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564731.17', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:52:11 PDT 2026

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


Performing analysis on: 4FGL_J1249.8+3707_daily_bin2213
RA = 192.46, Dec = 37.1306
tmin = 812937601, tmax = 813196801
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='40343337', job_status='RUN', time_executed='2026-10-09 09:51:30.570369', time_epoch_executed='1791564690.57' WHERE source_name='4FGL J1249.8+3707' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40343337

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40343337/ft1_4FGL_J1249.8+3707_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40343337/ft1_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343337/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits ra=192.46 dec=37.1306 rad=12.0 tmin=812937601.0 tmax=813196801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.91
user 2.45
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.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/40343337/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.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.13

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" outfDone.


Performing analysis on: 4FGL_J1249.8+3707_daily_bin2213
RA = 192.46, Dec = 37.1306
tmin = 812937601, tmax = 813196801
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='40343345', job_status='RUN', time_executed='2026-10-09 09:51:30.912190', time_epoch_executed='1791564690.91' WHERE source_name='4FGL J1249.8+3707' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40343345

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40343345/ft1_4FGL_J1249.8+3707_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40343345/ft1_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343345/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits ra=192.46 dec=37.1306 rad=12.0 tmin=812937601.0 tmax=813196801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.75
user 2.34
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.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/40343345/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.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.57
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" outfnumber of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
ile=/lscratch/kocevski/40343239/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 8.80
user 8.30
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343239/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343239/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343239/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 72.36
user 67.60
sys 4.10

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343239/cmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343239/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.50
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343239/Model_4FGL_J1249.8+3707_daily_bin2213.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
Done.


Performing analysis on: 4FGL_J1249.8+3707_daily_bin2213
RA = 192.46, Dec = 37.1306
tmin = 812937601, tmax = 813196801
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='40343349', job_status='RUN', time_executed='2026-10-09 09:51:30.918756', time_epoch_executed='1791564690.92' WHERE source_name='4FGL J1249.8+3707' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40343349

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40343349/ft1_4FGL_J1249.8+3707_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40343349/ft1_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343349/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits ra=192.46 dec=37.1306 rad=12.0 tmin=812937601.0 tmax=813196801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.88
user 2.32
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.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/40343349/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" outfnumber of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.8+3707_daily_bin2213
RA = 192.46, Dec = 37.1306
tmin = 812937601, tmax = 813196801
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='40343333', job_status='RUN', time_executed='2026-10-09 09:51:30.675376', time_epoch_executed='1791564690.68' WHERE source_name='4FGL J1249.8+3707' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40343333

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40343333/ft1_4FGL_J1249.8+3707_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40343333/ft1_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343333/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits ra=192.46 dec=37.1306 rad=12.0 tmin=812937601.0 tmax=813196801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.04
user 2.56
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.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/40343333/ft1_filteredMKT_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.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.61
user 0.21
sys 0.16

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343085/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343085/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:52:44.814441', job_id='40343085', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564764.81', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:52:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343088/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343043/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343088/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:52:48.506236', job_id='40343088', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564768.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:52:48 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343043/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:52:51.207159', job_id='40343043', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564771.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:52:51 PDT 2026

Working on...
/lscratch/kocevski/40343165/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 32.55
user 30.83
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343165/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343165/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343165/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343165/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343165/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343165/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343165/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343165/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343165/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343165/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
ile=/lscratch/kocevski/40343277/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 9.90
user 9.13
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343277/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343277/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343277/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 76.55
user 71.61
sys 4.16

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

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

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

This is gtbin version HEAD
real 0.67
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343277/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343277/Model_4FGL_J1249.8+3707_daily_bin2213.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
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
ile=/lscratch/kocevski/40343345/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 8.87
user 8.33
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343345/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343345/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343345/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 68.40
user 63.71
sys 4.09

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343345/cmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.64
user 0.23
sys 0.14

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

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

This is gtbin version HEAD
real 0.71
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343345/Model_4FGL_J1249.8+3707_daily_bin2213.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
ile=/lscratch/kocevski/40343349/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 8.79
user 8.26
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343349/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343349/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343349/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 68.12
user 63.58
sys 3.93

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

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

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

This is gtbin version HEAD
real 0.61
user 0.22
sys 0.11

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

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

This is gtbin version HEAD
real 0.69
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343349/Model_4FGL_J1249.8+3707_daily_bin2213.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/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 31.91
user 30.46
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343239/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343239/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343239/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343239/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343239/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343239/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343239/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343239/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343165/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343165/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:54:25.166101', job_id='40343165', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564865.17', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:54:25 PDT 2026

ile=/lscratch/kocevski/40343337/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 9.44
user 8.88
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343337/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343337/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343337/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 73.11
user 68.24
sys 4.24

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343337/cmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.64
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343337/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343337/Model_4FGL_J1249.8+3707_daily_bin2213.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
ile=/lscratch/kocevski/40343333/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 9.27
user 8.79
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40343333/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343333/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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/40343333/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
.....................!
real 74.82
user 69.76
sys 4.38

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

Setting source of interest to:
4FGL J1249.8+3707 @ 192.46 37.1306

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

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

This is gtbin version HEAD
real 0.72
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits scfile=/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits outfile=/lscratch/kocevski/40343333/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.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.46 yref=37.1306 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.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40343333/Model_4FGL_J1249.8+3707_daily_bin2213.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
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343239/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343239/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:55:26.156778', job_id='40343239', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564926.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:55:26 PDT 2026

Working on...
/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 33.24
user 31.52
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343277/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343277/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343277/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343277/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343277/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343277/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343277/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343277/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
Working on...
/lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 31.08
user 29.40
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343349/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343349/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343349/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343349/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343349/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343349/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343349/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343349/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
Working on...
/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 32.00
user 29.84
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343345/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343345/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343345/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343345/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343345/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343345/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343345/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343345/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
Working on...
/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 32.47
user 30.85
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343337/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343337/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343337/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343337/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343337/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343337/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343337/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343337/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
Working on...
/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits.....................!
real 33.55
user 32.07
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits', '/lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits', expMap='/lscratch/kocevski/40343333/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', expCube='/lscratch/kocevski/40343333/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40343333/Model_4FGL_J1249.8+3707_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.8+3707'

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  2.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40343333/ft1_filtered_4FGL_J1249.8+3707_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40343333/ft2_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40343333/expmap_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40343333/ltcube_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40343333/Model_4FGL_J1249.8+3707_daily_bin2213.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) = 9547.55651526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0222       1.0000          .0000       .10000E+07
     2 'norm      '    4.4552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6385       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19740E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24356E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13920E-05   1.0000          .0000       .10000E+07
    10 'norm      '    17.091       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7888       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4450       1.0000          .0000       .10000E+07
    13 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
    14 'norm      '    16.070       1.0000          .0000       .10000E+07
    15 'norm      '    26.656       1.0000          .0000       .10000E+07
    16 'norm      '    .34062E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9374       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12691E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10153E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19818E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1393 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59411E-04    69.397       -.20380E-05** at limit **
   2  norm          4.4553        3.4219        .50933E-07    .74744E-03
   3  Prefactor     .22204E-09    3.0339        .84773E-07** at limit **
   4  Prefactor     1.6383        2.0611       -.29611E-07   -.26033E-04
   5  Prefactor     2.8614        2.7466       -.34569E-07   -.23502E-03
   6  Prefactor      .0000        3.9682        .12752E-06** at limit **
   7  Prefactor     2.2633        1.3496       -.10544E-07    .96924E-02
   8  Prefactor     .55511E-10    6.7666        .90228E-07** at limit **
   9  Prefactor      .0000        1.4081       -.11617E-06** at limit **
  10  norm          17.109        5.8235        .10861E-07    .96442E-02
  11  Prefactor     6.8083        2.4555        .14997E-08   -.54915E-01
  12  Prefactor     4.4608        8.7321       -.20679E-07    .27515E-01
  13  norm          .11102E-09    2.8895       -.32047E-08** at limit **
  14  norm          16.077        1.0193       -.12482E-08   -.57238E-02
  15  norm          26.687        5.7310        .19959E-08    .29748E-02
  16  norm          .45852E-07    3.3360        .14810E-06** at limit **
  17  Prefactor     1.9339        2.5633        .40374E-07    .33873E-03
  18  Prefactor     .75828E-07    2.9160        .14216E-06** at limit **
  19  Prefactor     .10547E-08    21.129        .22469E-06** at limit **
  20  Prefactor     .95807E-06    58.677       -.18818E-05** at limit **
  21  Normalizat    1.5687        .19160       -.28005E-05   -.19080E-04
  22  Prefactor     .81091        .22774        .43338E-05    .15423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94109e-05
  norm       = 4.45525
  Prefactor  = 2.22045e-10
  Prefactor  = 1.63834
  Prefactor  = 2.86141
  Prefactor  = 0
  Prefactor  = 2.26325
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 17.1088
  Prefactor  = 6.80827
  Prefactor  = 4.46082
  norm       = 1.11022e-10
  norm       = 16.0771
  norm       = 26.6869
  norm       = 4.58522e-08
  Prefactor  = 1.9339
  Prefactor  = 7.58282e-08
  Prefactor  = 1.05471e-09
  Prefactor  = 9.58067e-07
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343277/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343277/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:56:34.621746', job_id='40343277', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791564994.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:56:34 PDT 2026

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

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
 **********
 **   18 **HESSE 
 **********

 FCN=   9547.503     FROM HESSE     STATUS=OK           396 CALLS     1789 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59411E-04    47.262        .17921E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4553        3.4387        .47682E-03   -1.5666    
   3  Prefactor     .22204E-09    3.0375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6383        2.0887        .82529E-03   -1.5682    
   5  Prefactor     2.8614        2.7675        .60070E-03   -1.5674    
   6  Prefactor      .0000        3.9835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2633        31.040        .67922E-03   -1.5678    
   8  Prefactor     .55511E-10    6.7805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.109        6.1300        .24199E-03   -1.5625    
  11  Prefactor     6.8083        16.863        .38485E-03   -1.5656    
  12  Prefactor     4.4608        9.6590        .47738E-03   -1.5666    
  13  norm          .11102E-09    2.8723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.077        11.716        .24957E-03   -1.5628    
  15  norm          26.687        5.7709        .19373E-03   -1.5605    
  16  norm          .45852E-07    5.4295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9339        2.5882        .74568E-03   -1.5680    
  18  Prefactor     .75828E-07    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10547E-08    21.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95807E-06    65.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5687        .16343        .53465E-01   -.75865    
  22  Prefactor     .81091        .19553        .85738E-01   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07529e-07
Minuit parameter uncertainties:
  1  0.10598
  2  3.4387
  3  5.04848e-05
  4  2.08874
  5  2.76748
  6  1.98374e-05
  7  16.7632
  8  3.888e-05
  9  1.12469e-05
  10  6.12998
  11  16.8635
  12  9.65902
  13  3.15501e-05
  14  11.7155
  15  5.77087
  16  0.00099818
  17  2.58817
  18  0.00126744
  19  0.000297904
  20  0.0158952
  21  0.163483
  22  0.1957
Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343349/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343349/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:57:04.851139', job_id='40343349', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791565024.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:57:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343345/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343345/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:57:09.117975', job_id='40343345', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791565029.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:57:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343337/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343337/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:57:18.677019', job_id='40343337', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791565038.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:57:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  5.551e-11  3.888e-05  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  1.780e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.460 37.131
Photon Flux Upper Limit: 2.58746978556e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00190297027556 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40343333/likelihoodResults_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9547.57418903
delta logL = -0.0714052296134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9547.50278485
delta logL = -1.04925675259e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9547.503     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      215 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0264        .42118E-03** at limit **
   2  Index         2.3712        1.6874        .27426E-04     .0000    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.69202E-04
   4  Prefactor     .81091        1.1592        .91517E-05   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37122
  Normalizat = 1.56873
  Prefactor  = 0.810906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9547.503     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62944        1.9575        .27426E-04   -.55360    
   3  Normalizat    1.5687        1.0432       -.28434E-05   -.75865    
   4  Prefactor     .81091        1.1592        .91517E-05   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21503e-12
Minuit parameter uncertainties:
  1  5.41561e-06
  2  1.7351
  3  1.05814
  4  1.19724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9547.5027838
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1249.8+3707
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  5.416e-06  0.000e+00  1.000e+06 ( 1.000e-14)
314        Index:  2.371e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  4.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.109e-01  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.569e+00  1.058e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.460 37.131

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/40343333/cmap_HighResolution_812937601_813196801_4FGL_J1249.8+3707_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-03', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2026-10-09 09:57:30.616361', job_id='40343333', GAL2='0.81', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1791565050.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='2213' AND source_name='4FGL J1249.8+3707' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 09:57:30 PDT 2026

