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

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699
 17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1707 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.660        9.0617        .76131E-06    .55476E-01
   2  Prefactor     14.295        8.2315       -.25720E-06   -.20975E-01
   3  Prefactor     .33307E-08    17.847        .95922E-07** at limit **
   4  Prefactor     .44052        18.729        .23896E-05   -.15203E-01
   5  norm          3.4284        2.1461       -.96570E-07    .14763E-02
   6  norm          .49299E-06    285.88       -.15589E-04** at limit **
   7  Prefactor     3.9238        4.9896       -.55767E-07    .14749E-03
   8  norm          4.9751        .96213        .22979E-07    .43800E-02
   9  Prefactor     6.3887        2.1671        .29467E-07    .12584E-03
  10  Prefactor     .61062E-09    4.5148       -.36768E-07** at limit **
  11  Prefactor     .55511E-10    5.2115        .10907E-06** at limit **
  12  norm          16.643        3.4424       -.70789E-07   -.49755E-03
  13  Prefactor     4.5664        6.7300        .55103E-06   -.39453E-05
  14  Prefactor     .20539E-08    27.601       -.53106E-06** at limit **
  15  norm           .0000        53.376        .47445E-07** at limit **
  16  norm           .0000        .56055       -.21853E-07** at limit **
  17  Prefactor     .17153E-07    34.776       -.60302E-07** at limit **
  18  norm          .16098E-08    4.7026        .89966E-06** at limit **
  19  norm          8.1237        9.8200        .57184E-06    .71528E-02
  20  Prefactor      .0000        3.0916       -.18294E-07** at limit **
  21  Prefactor     5.0410        1.2536       -.63619E-07   -.45034E-02
  22  Prefactor     .77716E-09    13.421        .20010E-06** at limit **
  23  norm          3.9774        1.7857        .10278E-06    .59134E-03
  24  Normalizat    1.2108        .26796        .62004E-05    .29582E-04
  25  Prefactor     1.1602        .17828       -.50775E-05    .36359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6595
  Prefactor  = 14.2954
  Prefactor  = 3.33067e-09
  Prefactor  = 0.440522
  norm       = 3.42835
  norm       = 4.92995e-07
  Prefactor  = 3.92379
  norm       = 4.97508
  Prefactor  = 6.38872
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 16.6431
  Prefactor  = 4.56636
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 0
  Prefactor  = 1.71529e-08
  norm       = 1.60982e-09
  norm       = 8.12373
  Prefactor  = 0
  Prefactor  = 5.04105
  Prefactor  = 7.77156e-10
  norm       = 3.97737
  Normalizat = 1.21081
  Prefactor  = 1.16015
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699

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

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

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699
tfile=/lscratch/kocevski/36562408/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
.....................!
real 9.38
user 8.33
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36562408/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562408/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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/36562408/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
.....................!
real 75.64
user 70.01
sys 4.21

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits scfile=/lscratch/kocevski/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562408/cmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits scfile=/lscratch/kocevski/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562408/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36562408/Model_4FGL_J1249.3-0545_daily_bin2200.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 GALDone.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562281/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562281/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:37:00.400346', job_id='36562281', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201420.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:37:00 PDT 2026

Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562300/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562300/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:37:07.845554', job_id='36562300', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201427.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:37:08 PDT 2026

_V02
Working on...
/lscratch/kocevski/36562357/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits.....................!
real 29.42
user 27.24
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562357/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits', '/lscratch/kocevski/36562357/ft2_4FGL_J1249.3-0545_daily_bin2200.fits', expMap='/lscratch/kocevski/36562357/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', expCube='/lscratch/kocevski/36562357/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562357/Model_4FGL_J1249.3-0545_daily_bin2200.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562357/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562357/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562357/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562357/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562357/Model_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.40032511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.433       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12283E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45854       1.0000          .0000       .10000E+07
     5 'norm      '    3.4263       1.0000          .0000       .10000E+07
     6 'norm      '    .46112       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8884       1.0000          .0000       .10000E+07
     8 'norm      '    4.9723       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34774E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13773E-05   1.0000          .0000       .10000E+07
    12 'norm      '    16.641       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5164       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42150E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .22549E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .10103E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52152E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    19 'norm      '    8.1272       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18461E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.9324       1.0000          .0000       .10000E+07
    22 'Prefactor '    .22736E-04   1.0000          .0000       .10000E+07
    23 'norm      '    3.9774       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2118       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1597       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1707 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.660        9.0617        .76131E-06    .55476E-01
   2  Prefactor     14.295        8.2315       -.25720E-06   -.20975E-01
   3  Prefactor     .33307E-08    17.847        .95922E-07** at limit **
   4  Prefactor     .44052        18.729        .23896E-05   -.15203E-01
   5  norm          3.4284        2.1461       -.96570E-07    .14763E-02
   6  norm          .49299E-06    285.88       -.15589E-04** at limit **
   7  Prefactor     3.9238        4.9896       -.55767E-07    .14749E-03
   8  norm          4.9751        .96213        .22979E-07    .43800E-02
   9  Prefactor     6.3887        2.1671        .29467E-07    .12584E-03
  10  Prefactor     .61062E-09    4.5148       -.36768E-07** at limit **
  11  Prefactor     .55511E-10    5.2115        .10907E-06** at limit **
  12  norm          16.643        3.4424       -.70789E-07   -.49755E-03
  13  Prefactor     4.5664        6.7300        .55103E-06   -.39453E-05
  14  Prefactor     .20539E-08    27.601       -.53106E-06** at limit **
  15  norm           .0000        53.376        .47445E-07** at limit **
  16  norm           .0000        .56055       -.21853E-07** at limit **
  17  Prefactor     .17153E-07    34.776       -.60302E-07** at limit **
  18  norm          .16098E-08    4.7026        .89966E-06** at limit **
  19  norm          8.1237        9.8200        .57184E-06    .71528E-02
  20  Prefactor      .0000        3.0916       -.18294E-07** at limit **
  21  Prefactor     5.0410        1.2536       -.63619E-07   -.45034E-02
  22  Prefactor     .77716E-09    13.421        .20010E-06** at limit **
  23  norm          3.9774        1.7857        .10278E-06    .59134E-03
  24  Normalizat    1.2108        .26796        .62004E-05    .29582E-04
  25  Prefactor     1.1602        .17828       -.50775E-05    .36359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6595
  Prefactor  = 14.2954
  Prefactor  = 3.33067e-09
  Prefactor  = 0.440522
  norm       = 3.42835
  norm       = 4.92995e-07
  Prefactor  = 3.92379
  norm       = 4.97508
  Prefactor  = 6.38872
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 16.6431
  Prefactor  = 4.56636
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 0
  Prefactor  = 1.71529e-08
  norm       = 1.60982e-09
  norm       = 8.12373
  Prefactor  = 0
  Prefactor  = 5.04105
  Prefactor  = 7.77156e-10
  norm       = 3.97737
  Normalizat = 1.21081
  Prefactor  = 1.16015
number of points = 7527
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1249.3-0545_daily_bin2200
RA = 192.326, Dec = -5.7621
tmin = 809568001, tmax = 809827201
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='36562533', job_status='RUN', time_executed='2026-08-31 11:36:26.392267', time_epoch_executed='1788201386.39' WHERE source_name='4FGL J1249.3-0545' and cadence='daily' and bin_id='2200'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36562533

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36562533/ft1_4FGL_J1249.3-0545_daily_bin2200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits


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

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

Done.
real 4.25
user 3.05
sys 0.25

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

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

Number of photons that the gtmktime cut: 806

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562301/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562301/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:37:32.774288', job_id='36562301', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201452.77', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:37:32 PDT 2026

tfile=/lscratch/kocevski/36562447/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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/36562447/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
.....................!
real 8.63
user 7.96
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36562447/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562447/ft2_4FGL_J1249.3-0545_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36562447/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562447/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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/36562447/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
.....................!
real 72.65
user 67.42
sys 4.19

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36562447/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits scfile=/lscratch/kocevski/36562447/ft2_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562447/cmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36562447/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits scfile=/lscratch/kocevski/36562447/ft2_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562447/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.14

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

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562357/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562357/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:38:31.329725', job_id='36562357', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201511.33', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:38:31 PDT 2026

_V02
Working on...
/lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits.....................!
real 31.75
user 29.77
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits', '/lscratch/kocevski/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits', expMap='/lscratch/kocevski/36562408/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', expCube='/lscratch/kocevski/36562408/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562408/Model_4FGL_J1249.3-0545_daily_bin2200.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562408/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562408/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562408/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562408/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562408/Model_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.40032511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.433       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12283E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45854       1.0000          .0000       .10000E+07
     5 'norm      '    3.4263       1.0000          .0000       .10000E+07
     6 'norm      '    .46112       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8884       1.0000          .0000       .10000E+07
     8 'norm      '    4.9723       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34774E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13773E-05   1.0000          .0000       .10000E+07
    12 'norm      '    16.641       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5164       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42150E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .22549E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .10103E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52152E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    19 'norm      '    8.1272       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18461E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.9324       1.0000          .0000       .10000E+07
    22 'Prefactor '    .22736E-04   1.0000          .0000       .10000E+07
    23 'norm      '    3.9774       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2118       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1597       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1707 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.660        9.0617        .76131E-06    .55476E-01
   2  Prefactor     14.295        8.2315       -.25720E-06   -.20975E-01
   3  Prefactor     .33307E-08    17.847        .95922E-07** at limit **
   4  Prefactor     .44052        18.729        .23896E-05   -.15203E-01
   5  norm          3.4284        2.1461       -.96570E-07    .14763E-02
   6  norm          .49299E-06    285.88       -.15589E-04** at limit **
   7  Prefactor     3.9238        4.9896       -.55767E-07    .14749E-03
   8  norm          4.9751        .96213        .22979E-07    .43800E-02
   9  Prefactor     6.3887        2.1671        .29467E-07    .12584E-03
  10  Prefactor     .61062E-09    4.5148       -.36768E-07** at limit **
  11  Prefactor     .55511E-10    5.2115        .10907E-06** at limit **
  12  norm          16.643        3.4424       -.70789E-07   -.49755E-03
  13  Prefactor     4.5664        6.7300        .55103E-06   -.39453E-05
  14  Prefactor     .20539E-08    27.601       -.53106E-06** at limit **
  15  norm           .0000        53.376        .47445E-07** at limit **
  16  norm           .0000        .56055       -.21853E-07** at limit **
  17  Prefactor     .17153E-07    34.776       -.60302E-07** at limit **
  18  norm          .16098E-08    4.7026        .89966E-06** at limit **
  19  norm          8.1237        9.8200        .57184E-06    .71528E-02
  20  Prefactor      .0000        3.0916       -.18294E-07** at limit **
  21  Prefactor     5.0410        1.2536       -.63619E-07   -.45034E-02
  22  Prefactor     .77716E-09    13.421        .20010E-06** at limit **
  23  norm          3.9774        1.7857        .10278E-06    .59134E-03
  24  Normalizat    1.2108        .26796        .62004E-05    .29582E-04
  25  Prefactor     1.1602        .17828       -.50775E-05    .36359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6595
  Prefactor  = 14.2954
  Prefactor  = 3.33067e-09
  Prefactor  = 0.440522
  norm       = 3.42835
  norm       = 4.92995e-07
  Prefactor  = 3.92379
  norm       = 4.97508
  Prefactor  = 6.38872
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 16.6431
  Prefactor  = 4.56636
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 0
  Prefactor  = 1.71529e-08
  norm       = 1.60982e-09
  norm       = 8.12373
  Prefactor  = 0
  Prefactor  = 5.04105
  Prefactor  = 7.77156e-10
  norm       = 3.97737
  Normalizat = 1.21081
  Prefactor  = 1.16015
tfile=/lscratch/kocevski/36562533/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
.....................!
real 8.35
user 7.68
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36562533/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562533/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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/36562533/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
.....................!
real 69.16
user 64.18
sys 3.90

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

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

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits scfile=/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562533/cmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits scfile=/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits outfile=/lscratch/kocevski/36562533/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=192.326 yref=-5.7621 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36562533/Model_4FGL_J1249.3-0545_daily_bin2200.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/36562447/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits.....................!
real 30.40
user 28.48
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562447/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits', '/lscratch/kocevski/36562447/ft2_4FGL_J1249.3-0545_daily_bin2200.fits', expMap='/lscratch/kocevski/36562447/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', expCube='/lscratch/kocevski/36562447/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562447/Model_4FGL_J1249.3-0545_daily_bin2200.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562447/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562447/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562447/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562447/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562447/Model_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.40032511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.433       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12283E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45854       1.0000          .0000       .10000E+07
     5 'norm      '    3.4263       1.0000          .0000       .10000E+07
     6 'norm      '    .46112       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8884       1.0000          .0000       .10000E+07
     8 'norm      '    4.9723       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34774E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13773E-05   1.0000          .0000       .10000E+07
    12 'norm      '    16.641       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5164       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42150E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .22549E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .10103E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52152E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    19 'norm      '    8.1272       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18461E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.9324       1.0000          .0000       .10000E+07
    22 'Prefactor '    .22736E-04   1.0000          .0000       .10000E+07
    23 'norm      '    3.9774       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2118       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1597       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   **********
 **   18 **HESSE 
 **********

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699
 17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1707 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.660        9.0617        .76131E-06    .55476E-01
   2  Prefactor     14.295        8.2315       -.25720E-06   -.20975E-01
   3  Prefactor     .33307E-08    17.847        .95922E-07** at limit **
   4  Prefactor     .44052        18.729        .23896E-05   -.15203E-01
   5  norm          3.4284        2.1461       -.96570E-07    .14763E-02
   6  norm          .49299E-06    285.88       -.15589E-04** at limit **
   7  Prefactor     3.9238        4.9896       -.55767E-07    .14749E-03
   8  norm          4.9751        .96213        .22979E-07    .43800E-02
   9  Prefactor     6.3887        2.1671        .29467E-07    .12584E-03
  10  Prefactor     .61062E-09    4.5148       -.36768E-07** at limit **
  11  Prefactor     .55511E-10    5.2115        .10907E-06** at limit **
  12  norm          16.643        3.4424       -.70789E-07   -.49755E-03
  13  Prefactor     4.5664        6.7300        .55103E-06   -.39453E-05
  14  Prefactor     .20539E-08    27.601       -.53106E-06** at limit **
  15  norm           .0000        53.376        .47445E-07** at limit **
  16  norm           .0000        .56055       -.21853E-07** at limit **
  17  Prefactor     .17153E-07    34.776       -.60302E-07** at limit **
  18  norm          .16098E-08    4.7026        .89966E-06** at limit **
  19  norm          8.1237        9.8200        .57184E-06    .71528E-02
  20  Prefactor      .0000        3.0916       -.18294E-07** at limit **
  21  Prefactor     5.0410        1.2536       -.63619E-07   -.45034E-02
  22  Prefactor     .77716E-09    13.421        .20010E-06** at limit **
  23  norm          3.9774        1.7857        .10278E-06    .59134E-03
  24  Normalizat    1.2108        .26796        .62004E-05    .29582E-04
  25  Prefactor     1.1602        .17828       -.50775E-05    .36359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6595
  Prefactor  = 14.2954
  Prefactor  = 3.33067e-09
  Prefactor  = 0.440522
  norm       = 3.42835
  norm       = 4.92995e-07
  Prefactor  = 3.92379
  norm       = 4.97508
  Prefactor  = 6.38872
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 16.6431
  Prefactor  = 4.56636
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 0
  Prefactor  = 1.71529e-08
  norm       = 1.60982e-09
  norm       = 8.12373
  Prefactor  = 0
  Prefactor  = 5.04105
  Prefactor  = 7.77156e-10
  norm       = 3.97737
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562408/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562408/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:40:23.620892', job_id='36562408', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201623.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:40:23 PDT 2026

Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562447/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562447/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:40:59.312611', job_id='36562447', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201659.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:40:59 PDT 2026

_V02
Working on...
/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits.....................!
real 28.58
user 26.77
sys 0.74

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits', '/lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits', expMap='/lscratch/kocevski/36562533/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', expCube='/lscratch/kocevski/36562533/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562533/Model_4FGL_J1249.3-0545_daily_bin2200.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562533/ft1_filtered_4FGL_J1249.3-0545_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562533/ft2_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562533/expmap_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562533/ltcube_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562533/Model_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.40032511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.433       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12283E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45854       1.0000          .0000       .10000E+07
     5 'norm      '    3.4263       1.0000          .0000       .10000E+07
     6 'norm      '    .46112       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8884       1.0000          .0000       .10000E+07
     8 'norm      '    4.9723       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34774E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13773E-05   1.0000          .0000       .10000E+07
    12 'norm      '    16.641       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5164       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42150E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .22549E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .10103E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52152E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    19 'norm      '    8.1272       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18461E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.9324       1.0000          .0000       .10000E+07
    22 'Prefactor '    .22736E-04   1.0000          .0000       .10000E+07
    23 'norm      '    3.9774       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2118       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1597       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1707 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.660        9.0617        .76131E-06    .55476E-01
   2  Prefactor     14.295        8.2315       -.25720E-06   -.20975E-01
   3  Prefactor     .33307E-08    17.847        .95922E-07** at limit **
   4  Prefactor     .44052        18.729        .23896E-05   -.15203E-01
   5  norm          3.4284        2.1461       -.96570E-07    .14763E-02
   6  norm          .49299E-06    285.88       -.15589E-04** at limit **
   7  Prefactor     3.9238        4.9896       -.55767E-07    .14749E-03
   8  norm          4.9751        .96213        .22979E-07    .43800E-02
   9  Prefactor     6.3887        2.1671        .29467E-07    .12584E-03
  10  Prefactor     .61062E-09    4.5148       -.36768E-07** at limit **
  11  Prefactor     .55511E-10    5.2115        .10907E-06** at limit **
  12  norm          16.643        3.4424       -.70789E-07   -.49755E-03
  13  Prefactor     4.5664        6.7300        .55103E-06   -.39453E-05
  14  Prefactor     .20539E-08    27.601       -.53106E-06** at limit **
  15  norm           .0000        53.376        .47445E-07** at limit **
  16  norm           .0000        .56055       -.21853E-07** at limit **
  17  Prefactor     .17153E-07    34.776       -.60302E-07** at limit **
  18  norm          .16098E-08    4.7026        .89966E-06** at limit **
  19  norm          8.1237        9.8200        .57184E-06    .71528E-02
  20  Prefactor      .0000        3.0916       -.18294E-07** at limit **
  21  Prefactor     5.0410        1.2536       -.63619E-07   -.45034E-02
  22  Prefactor     .77716E-09    13.421        .20010E-06** at limit **
  23  norm          3.9774        1.7857        .10278E-06    .59134E-03
  24  Normalizat    1.2108        .26796        .62004E-05    .29582E-04
  25  Prefactor     1.1602        .17828       -.50775E-05    .36359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6595
  Prefactor  = 14.2954
  Prefactor  = 3.33067e-09
  Prefactor  = 0.440522
  norm       = 3.42835
  norm       = 4.92995e-07
  Prefactor  = 3.92379
  norm       = 4.97508
  Prefactor  = 6.38872
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 16.6431
  Prefactor  = 4.56636
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 0
  Prefactor  = 1.71529e-08
  norm       = 1.60982e-09
  norm       = 8.12373
  Prefactor  = 0
  Prefactor  = 5.04105
  Prefactor  = 7.77156e-10
  norm       = 3.97737
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********

 FCN=   8645.287     FROM HESSE     STATUS=OK           493 CALLS     2200 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.660        12.249        .28384E-03   -1.5637    
   2  Prefactor     14.295        30.860        .25759E-03   -1.5632    
   3  Prefactor     .33307E-08    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44052        7.0829        .82995E-02   -1.5695    
   5  norm          3.4284        2.1551        .54622E-03   -1.5671    
   6  norm          .49299E-06    286.08        .82721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9238        5.0071        .51145E-03   -1.5668    
   8  norm          4.9751        .96685        .45077E-03   -1.5663    
   9  Prefactor     6.3887        2.1692        .39689E-02   -1.5202    
  10  Prefactor     .61062E-09    4.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.2118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.643        3.4393        .24525E-03   -1.5626    
  13  Prefactor     4.5664        6.7980        .47350E-03   -1.5665    
  14  Prefactor     .20539E-08    28.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.394        .16874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .72682E-01    .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17153E-07    36.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16098E-08    4.7231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.1237        9.8633        .35144E-03   -1.5651    
  20  Prefactor      .0000        3.0933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0410        19.628        .45263E-03   -1.5663    
  22  Prefactor     .77716E-09    13.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9774        1.7873        .50550E-03   -1.5668    
  24  Normalizat    1.2108        .22601        .78242E-01   -.86269    
  25  Prefactor     1.1602        .14694        .53753E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05785e-07
Minuit parameter uncertainties:
  1  12.2489
  2  30.8603
  3  0.000490063
  4  3.53281
  5  2.1551
  6  0.0237531
  7  5.00708
  8  0.966847
  9  2.16925
  10  0.000107011
  11  3.16044e-05
  12  3.43926
  13  6.79805
  14  0.000480952
  15  1.06649e-05
  16  4.43482e-07
  17  0.00158807
  18  0.000173365
  19  9.86334
  20  1.05591e-06
  21  19.6279
  22  0.000204044
  23  1.78733
  24  0.226192
  25  0.14699
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 6.84196253594e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00515608570715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562533/likelihoodResults_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.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) = 8645.30412321
delta logL = -0.0172042494341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.28691896
delta logL = -4.72573447041e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8645.287     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      203 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.140        .41500E-06** at limit **
   2  Index         1.8513        5.2350        .22452E-05     .0000    
   3  Normalizat    1.2108        .25940        .17775E-05   -.86139E-05
   4  Prefactor     1.1602        .17546        .71427E-06   -.25023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85133
  Normalizat = 1.21081
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8645.287     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .37E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35591        1.6965        .22452E-05   -.68121    
   3  Normalizat    1.2108        1.1027        .17775E-05   -.86269    
   4  Prefactor     1.1602        1.1176        .71427E-06   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.68562e-13
Minuit parameter uncertainties:
  1  3.0815e-06
  2  1.39572
  3  1.12507
  4  1.14163
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) = 8645.28691896
delta logL = 3.63797880709e-11

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.211e+00  1.125e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/36562533/cmap_HighResolution_809568001_809827201_4FGL_J1249.3-0545_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2026-08-31 11:42:24.638001', job_id='36562533', GAL2='1.16', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1788201744.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2200' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:42:24 PDT 2026

