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

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
/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
outfile=/lscratch/kocevski/31401815/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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/31401815/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
.....................!
real 8.08
user 7.34
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401815/ft2_4FGL_J1258.8-2219_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31401815/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401815/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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/31401815/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
.....................!
real 64.39
user 60.09
sys 3.50

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

Setting source of interest to:
4FGL J1258.8-2219 @ 194.717 -22.3257

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits scfile=/lscratch/kocevski/31401815/ft2_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401815/cmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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=194.717 yref=-22.3257 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.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits scfile=/lscratch/kocevski/31401815/ft2_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401815/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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=194.717 yref=-22.3257 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401815/ft2_4FGL_J1258.8-2219_daily_bin218
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)
3.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401660/Model_4FGL_J1258.8-2219_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31401660/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits.....................!
real 65.16
user 63.07
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401660/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits', '/lscratch/kocevski/31401660/ft2_4FGL_J1258.8-2219_daily_bin2183.fits', expMap='/lscratch/kocevski/31401660/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', expCube='/lscratch/kocevski/31401660/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401660/Model_4FGL_J1258.8-2219_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.8-2219'

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.778e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401660/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31401660/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31401660/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31401660/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401660/Model_4FGL_J1258.8-2219_daily_bin2183.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) = 10088.8893046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28598E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5865       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96285       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63609       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.289       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9139       1.0000          .0000       .10000E+07
     9 'norm      '    .92282       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.363       1.0000          .0000       .10000E+07
    11 'norm      '    .27831E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47150E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42164E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1682       1.0000          .0000       .10000E+07
    16 'norm      '    29.819       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3796       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28486       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29652E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3679       1.0000   
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

       .0000       .10000E+07
    22 'Prefactor '    21.596       1.0000          .0000       .10000E+07
    23 'norm      '    .18259E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .19153E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .79040       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1756 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40024E-07    108.60       -.14763E-05** at limit **
   2  Prefactor     .10414E-06    2.9710       -.51916E-06** at limit **
   3  Prefactor     2.6204        7.7599        .22479E-06    .15843E-01
   4  Prefactor     1.1871        15.676       -.12362E-05    .63670E-01
   5  Prefactor     .62649        5.0542        .20801E-05    .10524E-01
   6  Prefactor     5.7730        2.0204       -.35893E-07   -.11012E-02
   7  Prefactor     11.246        1.4449        .11977E-06   -.22120E-01
   8  Prefactor     4.9850        6.9495       -.16371E-05   -.18154E-01
   9  norm          .92422        .64730        .38209E-07   -.79545E-02
  10  Prefactor     11.960        12.486       -.65972E-06    .26847E-01
  11  norm          .94369E-09    6.9145        .25631E-06** at limit **
  12  norm          .44409E-09    2.2728       -.29214E-06** at limit **
  13  Prefactor     .44409E-09    2.2862        .33615E-06** at limit **
  14  norm           .0000        1.4039       -.44682E-07** at limit **
  15  norm          2.1669        1.7390       -.46771E-07    .75388E-02
  16  norm          29.828        8.3489        .35398E-06    .64155E-01
  17  Prefactor     4.3962        4.2073        .70148E-06   -.77505E-02
  18  Prefactor     .94839E-04    407.09       -.49524E-05** at limit **
  19  Prefactor     .44409E-09    4.4350        .20368E-06** at limit **
  20  Prefactor     32.949        20.989       -.84493E-06   -.67930E-01
  21  Prefactor     1.3741        5.7738       -.10556E-06    .11782E-02
  22  Prefactor     21.603        3.3195       -.57765E-07    .31166E-02
  23  norm           .0000        1.2514        .12407E-06** at limit **
  24  norm          .95868E-07    3.5318        .33054E-06** at limit **
  25  Normalizat    .79118        .22717        .30215E-05   -.21013E-03
  26  Prefactor     1.0920        .11152        .52879E-06   -.40275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00235e-08
  Prefactor  = 1.04139e-07
  Prefactor  = 2.62037
  Prefactor  = 1.18706
  Prefactor  = 0.626491
  Prefactor  = 5.77297
  Prefactor  = 11.2462
  Prefactor  = 4.98497
  norm       = 0.924218
  Prefactor  = 11.9597
  norm       = 9.4369e-10
  norm       = 4.44089e-10
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 2.16687
  norm       = 29.8277
  Prefactor  = 4.39622
  Prefactor  = 9.48394e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 32.9495
  Prefactor  = 1.37408
  Prefactor  = 21.6027
  norm       = 0
  norm       = 9.58678e-08
  Normalizat = 0.791179
  Prefactor  = 1.092
Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401590/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31401590/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:10:18.575399', job_id='31401590', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829418.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:10:18 PDT 2026

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


Performing analysis on: 4FGL_J1258.8-2219_daily_bin2183
RA = 194.717, Dec = -22.3257
tmin = 805161601, tmax = 805420801
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='31401940', job_status='RUN', time_executed='2026-07-11 21:08:53.214101', time_epoch_executed='1783829333.21' WHERE source_name='4FGL J1258.8-2219' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31401940

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31401940/ft1_4FGL_J1258.8-2219_daily_bin2183.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31401940/ft1_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401940/ft1_filteredMKT_4FGL_J1258.8-2219_daily_bin2183.fits ra=194.717 dec=-22.3257 rad=12.0 tmin=805161601.0 tmax=805420801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.35
user 1.75
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.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/31401940/ft1_filteredMKT_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.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.65
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 951

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits sctable="SC_DATA"  **********
 **   18 **HESSE 
 **********

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401660/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31401660/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:11:23.657387', job_id='31401660', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829483.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:11:23 PDT 2026

3.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401781/Model_4FGL_J1258.8-2219_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31401781/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits.....................!
real 58.54
user 56.72
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401781/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits', '/lscratch/kocevski/31401781/ft2_4FGL_J1258.8-2219_daily_bin2183.fits', expMap='/lscratch/kocevski/31401781/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', expCube='/lscratch/kocevski/31401781/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401781/Model_4FGL_J1258.8-2219_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.8-2219'

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.778e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401781/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31401781/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31401781/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31401781/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401781/Model_4FGL_J1258.8-2219_daily_bin2183.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) = 10088.8893046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28598E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5865       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96285       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63609       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.289       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9139       1.0000          .0000       .10000E+07
     9 'norm      '    .92282       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.363       1.0000          .0000       .10000E+07
    11 'norm      '    .27831E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47150E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42164E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1682       1.0000          .0000       .10000E+07
    16 'norm      '    29.819       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3796       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28486       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29652E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3679       1.0000   number of points = 7570
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1258.8-2219_daily_bin2183
RA = 194.717, Dec = -22.3257
tmin = 805161601, tmax = 805420801
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='31402024', job_status='RUN', time_executed='2026-07-11 21:09:57.101740', time_epoch_executed='1783829397.1' WHERE source_name='4FGL J1258.8-2219' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31402024

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31402024/ft1_4FGL_J1258.8-2219_daily_bin2183.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31402024/ft1_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31402024/ft1_filteredMKT_4FGL_J1258.8-2219_daily_bin2183.fits ra=194.717 dec=-22.3257 rad=12.0 tmin=805161601.0 tmax=805420801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.95
user 2.11
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.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/31402024/ft1_filteredMKT_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 951

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits sctable="SC_DATA" ooutfile=/lscratch/kocevski/31401940/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
.....................!
real 7.62
user 6.90
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31401940/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401940/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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/31401940/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
.....................!
real 59.70
user 55.39
sys 3.55

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

Setting source of interest to:
4FGL J1258.8-2219 @ 194.717 -22.3257

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits scfile=/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401940/cmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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=194.717 yref=-22.3257 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits scfile=/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31401940/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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=194.717 yref=-22.3257 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.20
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin218       .0000       .10000E+07
    22 'Prefactor '    21.596       1.0000          .0000       .10000E+07
    23 'norm      '    .18259E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .19153E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .79040       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1756 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40024E-07    108.60       -.14763E-05** at limit **
   2  Prefactor     .10414E-06    2.9710       -.51916E-06** at limit **
   3  Prefactor     2.6204        7.7599        .22479E-06    .15843E-01
   4  Prefactor     1.1871        15.676       -.12362E-05    .63670E-01
   5  Prefactor     .62649        5.0542        .20801E-05    .10524E-01
   6  Prefactor     5.7730        2.0204       -.35893E-07   -.11012E-02
   7  Prefactor     11.246        1.4449        .11977E-06   -.22120E-01
   8  Prefactor     4.9850        6.9495       -.16371E-05   -.18154E-01
   9  norm          .92422        .64730        .38209E-07   -.79545E-02
  10  Prefactor     11.960        12.486       -.65972E-06    .26847E-01
  11  norm          .94369E-09    6.9145        .25631E-06** at limit **
  12  norm          .44409E-09    2.2728       -.29214E-06** at limit **
  13  Prefactor     .44409E-09    2.2862        .33615E-06** at limit **
  14  norm           .0000        1.4039       -.44682E-07** at limit **
  15  norm          2.1669        1.7390       -.46771E-07    .75388E-02
  16  norm          29.828        8.3489        .35398E-06    .64155E-01
  17  Prefactor     4.3962        4.2073        .70148E-06   -.77505E-02
  18  Prefactor     .94839E-04    407.09       -.49524E-05** at limit **
  19  Prefactor     .44409E-09    4.4350        .20368E-06** at limit **
  20  Prefactor     32.949        20.989       -.84493E-06   -.67930E-01
  21  Prefactor     1.3741        5.7738       -.10556E-06    .11782E-02
  22  Prefactor     21.603        3.3195       -.57765E-07    .31166E-02
  23  norm           .0000        1.2514        .12407E-06** at limit **
  24  norm          .95868E-07    3.5318        .33054E-06** at limit **
  25  Normalizat    .79118        .22717        .30215E-05   -.21013E-03
  26  Prefactor     1.0920        .11152        .52879E-06   -.40275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00235e-08
  Prefactor  = 1.04139e-07
  Prefactor  = 2.62037
  Prefactor  = 1.18706
  Prefactor  = 0.626491
  Prefactor  = 5.77297
  Prefactor  = 11.2462
  Prefactor  = 4.98497
  norm       = 0.924218
  Prefactor  = 11.9597
  norm       = 9.4369e-10
  norm       = 4.44089e-10
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 2.16687
  norm       = 29.8277
  Prefactor  = 4.39622
  Prefactor  = 9.48394e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 32.9495
  Prefactor  = 1.37408
  Prefactor  = 21.6027
  norm       = 0
  norm       = 9.58678e-08
  Normalizat = 0.791179
  Prefactor  = 1.092
3.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401694/Model_4FGL_J1258.8-2219_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31401694/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits.....................!
real 69.02
user 66.87
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401694/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits', '/lscratch/kocevski/31401694/ft2_4FGL_J1258.8-2219_daily_bin2183.fits', expMap='/lscratch/kocevski/31401694/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', expCube='/lscratch/kocevski/31401694/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401694/Model_4FGL_J1258.8-2219_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.8-2219'

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.778e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401694/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31401694/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31401694/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31401694/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401694/Model_4FGL_J1258.8-2219_daily_bin2183.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) = 10088.8893046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28598E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5865       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96285       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63609       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.289       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9139       1.0000          .0000       .10000E+07
     9 'norm      '    .92282       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.363       1.0000          .0000       .10000E+07
    11 'norm      '    .27831E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47150E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42164E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1682       1.0000          .0000       .10000E+07
    16 'norm      '    29.819       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3796       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28486       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29652E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3679       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.596       1.0000          .0000       .10000E+07
    23 'norm      '    .18259E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .19153E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .79040       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1756 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40024E-07    108.60       -.14763E-05** at limit **
   2  Prefactor     .10414E-06    2.9710       -.51916E-06** at limit **
   3  Prefactor     2.6204        7.7599        .22479E-06    .15843E-01
   4  Prefactor     1.1871        15.676       -.12362E-05    .63670E-01
   5  Prefactor     .62649        5.0542        .20801E-05    .10524E-01
   6  Prefactor     5.7730        2.0204       -.35893E-07   -.11012E-02
   7  Prefactor     11.246        1.4449        .11977E-06   -.22120E-01
   8  Prefactor     4.9850        6.9495       -.16371E-05   -.18154E-01
   9  norm          .92422        .64730        .38209E-07   -.79545E-02
  10  Prefactor     11.960        12.486       -.65972E-06    .26847E-01
  11  norm          .94369E-09    6.9145        .25631E-06** at limit **
  12  norm          .44409E-09    2.2728       -.29214E-06** at limit **
  13  Prefactor     .44409E-09    2.2862        .33615E-06** at limit **
  14  norm           .0000        1.4039       -.44682E-07** at limit **
  15  norm          2.1669        1.7390       -.46771E-07    .75388E-02
  16  norm          29.828        8.3489        .35398E-06    .64155E-01
  17  Prefactor     4.3962        4.2073        .70148E-06   -.77505E-02
  18  Prefactor     .94839E-04    407.09       -.49524E-05** at limit **
  19  Prefactor     .44409E-09    4.4350        .20368E-06** at limit **
  20  Prefactor     32.949        20.989       -.84493E-06   -.67930E-01
  21  Prefactor     1.3741        5.7738       -.10556E-06    .11782E-02
  22  Prefactor     21.603        3.3195       -.57765E-07    .31166E-02
  23  norm           .0000        1.2514        .12407E-06** at limit **
  24  norm          .95868E-07    3.5318        .33054E-06** at limit **
  25  Normalizat    .79118        .22717        .30215E-05   -.21013E-03
  26  Prefactor     1.0920        .11152        .52879E-06   -.40275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00235e-08
  Prefactor  = 1.04139e-07
  Prefactor  = 2.62037
  Prefactor  = 1.18706
  Prefactor  = 0.626491
  Prefactor  = 5.77297
  Prefactor  = 11.2462
  Prefactor  = 4.98497
  norm       = 0.924218
  Prefactor  = 11.9597
  norm       = 9.4369e-10
  norm       = 4.44089e-10
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 2.16687
  norm       = 29.8277
  Prefactor  = 4.39622
  Prefactor  = 9.48394e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 32.9495
  Prefactor  = 1.37408
  Prefactor  = 21.6027
  norm       = 0
  norm       = 9.58678e-08
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
3.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401815/Model_4FGL_J1258.8-2219_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits.....................!
real 57.72
user 55.95
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits', '/lscratch/kocevski/31401815/ft2_4FGL_J1258.8-2219_daily_bin2183.fits', expMap='/lscratch/kocevski/31401815/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', expCube='/lscratch/kocevski/31401815/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401815/Model_4FGL_J1258.8-2219_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.8-2219'

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.778e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401815/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31401815/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31401815/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31401815/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401815/Model_4FGL_J1258.8-2219_daily_bin2183.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) = 10088.8893046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28598E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5865       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96285       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63609       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.289       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9139       1.0000          .0000       .10000E+07
     9 'norm      '    .92282       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.363       1.0000          .0000       .10000E+07
    11 'norm      '    .27831E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47150E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42164E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1682       1.0000          .0000       .10000E+07
    16 'norm      '    29.819       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3796       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28486       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29652E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3679       1.0000    **********
 **   18 **HESSE 
 **********

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
       .0000       .10000E+07
    22 'Prefactor '    21.596       1.0000          .0000       .10000E+07
    23 'norm      '    .18259E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .19153E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .79040       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1756 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40024E-07    108.60       -.14763E-05** at limit **
   2  Prefactor     .10414E-06    2.9710       -.51916E-06** at limit **
   3  Prefactor     2.6204        7.7599        .22479E-06    .15843E-01
   4  Prefactor     1.1871        15.676       -.12362E-05    .63670E-01
   5  Prefactor     .62649        5.0542        .20801E-05    .10524E-01
   6  Prefactor     5.7730        2.0204       -.35893E-07   -.11012E-02
   7  Prefactor     11.246        1.4449        .11977E-06   -.22120E-01
   8  Prefactor     4.9850        6.9495       -.16371E-05   -.18154E-01
   9  norm          .92422        .64730        .38209E-07   -.79545E-02
  10  Prefactor     11.960        12.486       -.65972E-06    .26847E-01
  11  norm          .94369E-09    6.9145        .25631E-06** at limit **
  12  norm          .44409E-09    2.2728       -.29214E-06** at limit **
  13  Prefactor     .44409E-09    2.2862        .33615E-06** at limit **
  14  norm           .0000        1.4039       -.44682E-07** at limit **
  15  norm          2.1669        1.7390       -.46771E-07    .75388E-02
  16  norm          29.828        8.3489        .35398E-06    .64155E-01
  17  Prefactor     4.3962        4.2073        .70148E-06   -.77505E-02
  18  Prefactor     .94839E-04    407.09       -.49524E-05** at limit **
  19  Prefactor     .44409E-09    4.4350        .20368E-06** at limit **
  20  Prefactor     32.949        20.989       -.84493E-06   -.67930E-01
  21  Prefactor     1.3741        5.7738       -.10556E-06    .11782E-02
  22  Prefactor     21.603        3.3195       -.57765E-07    .31166E-02
  23  norm           .0000        1.2514        .12407E-06** at limit **
  24  norm          .95868E-07    3.5318        .33054E-06** at limit **
  25  Normalizat    .79118        .22717        .30215E-05   -.21013E-03
  26  Prefactor     1.0920        .11152        .52879E-06   -.40275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00235e-08
  Prefactor  = 1.04139e-07
  Prefactor  = 2.62037
  Prefactor  = 1.18706
  Prefactor  = 0.626491
  Prefactor  = 5.77297
  Prefactor  = 11.2462
  Prefactor  = 4.98497
  norm       = 0.924218
  Prefactor  = 11.9597
  norm       = 9.4369e-10
  norm       = 4.44089e-10
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 2.16687
  norm       = 29.8277
  Prefactor  = 4.39622
  Prefactor  = 9.48394e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 32.9495
  Prefactor  = 1.37408
  Prefactor  = 21.6027
  norm       = 0
  norm       = 9.58678e-08
  Normalizat = 0.791179
  Prefactor  = 1.092
Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401781/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31401781/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:13:06.457343', job_id='31401781', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829586.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:13:06 PDT 2026

utfile=/lscratch/kocevski/31402024/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
.....................!
real 8.23
user 7.54
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31402024/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31402024/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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/31402024/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
.....................!
real 75.92
user 70.48
sys 4.56

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

Setting source of interest to:
4FGL J1258.8-2219 @ 194.717 -22.3257

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits scfile=/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31402024/cmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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=194.717 yref=-22.3257 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.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits scfile=/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits outfile=/lscratch/kocevski/31402024/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.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=194.717 yref=-22.3257 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183 **********
 **   18 **HESSE 
 **********

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401694/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31401694/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:13:31.340623', job_id='31401694', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829611.34', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:13:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401815/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31401815/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:13:56.657074', job_id='31401815', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829636.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:13:56 PDT 2026

3.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401940/Model_4FGL_J1258.8-2219_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits.....................!
real 54.03
user 52.26
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits', '/lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits', expMap='/lscratch/kocevski/31401940/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', expCube='/lscratch/kocevski/31401940/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401940/Model_4FGL_J1258.8-2219_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.8-2219'

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.778e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401940/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31401940/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31401940/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31401940/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401940/Model_4FGL_J1258.8-2219_daily_bin2183.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) = 10088.8893046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28598E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5865       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96285       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63609       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.289       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9139       1.0000          .0000       .10000E+07
     9 'norm      '    .92282       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.363       1.0000          .0000       .10000E+07
    11 'norm      '    .27831E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47150E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42164E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1682       1.0000          .0000       .10000E+07
    16 'norm      '    29.819       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3796       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28486       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29652E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3679       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.596       1.0000          .0000       .10000E+07
    23 'norm      '    .18259E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .19153E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .79040       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1756 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40024E-07    108.60       -.14763E-05** at limit **
   2  Prefactor     .10414E-06    2.9710       -.51916E-06** at limit **
   3  Prefactor     2.6204        7.7599        .22479E-06    .15843E-01
   4  Prefactor     1.1871        15.676       -.12362E-05    .63670E-01
   5  Prefactor     .62649        5.0542        .20801E-05    .10524E-01
   6  Prefactor     5.7730        2.0204       -.35893E-07   -.11012E-02
   7  Prefactor     11.246        1.4449        .11977E-06   -.22120E-01
   8  Prefactor     4.9850        6.9495       -.16371E-05   -.18154E-01
   9  norm          .92422        .64730        .38209E-07   -.79545E-02
  10  Prefactor     11.960        12.486       -.65972E-06    .26847E-01
  11  norm          .94369E-09    6.9145        .25631E-06** at limit **
  12  norm          .44409E-09    2.2728       -.29214E-06** at limit **
  13  Prefactor     .44409E-09    2.2862        .33615E-06** at limit **
  14  norm           .0000        1.4039       -.44682E-07** at limit **
  15  norm          2.1669        1.7390       -.46771E-07    .75388E-02
  16  norm          29.828        8.3489        .35398E-06    .64155E-01
  17  Prefactor     4.3962        4.2073        .70148E-06   -.77505E-02
  18  Prefactor     .94839E-04    407.09       -.49524E-05** at limit **
  19  Prefactor     .44409E-09    4.4350        .20368E-06** at limit **
  20  Prefactor     32.949        20.989       -.84493E-06   -.67930E-01
  21  Prefactor     1.3741        5.7738       -.10556E-06    .11782E-02
  22  Prefactor     21.603        3.3195       -.57765E-07    .31166E-02
  23  norm           .0000        1.2514        .12407E-06** at limit **
  24  norm          .95868E-07    3.5318        .33054E-06** at limit **
  25  Normalizat    .79118        .22717        .30215E-05   -.21013E-03
  26  Prefactor     1.0920        .11152        .52879E-06   -.40275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00235e-08
  Prefactor  = 1.04139e-07
  Prefactor  = 2.62037
  Prefactor  = 1.18706
  Prefactor  = 0.626491
  Prefactor  = 5.77297
  Prefactor  = 11.2462
  Prefactor  = 4.98497
  norm       = 0.924218
  Prefactor  = 11.9597
  norm       = 9.4369e-10
  norm       = 4.44089e-10
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 2.16687
  norm       = 29.8277
  Prefactor  = 4.39622
  Prefactor  = 9.48394e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 32.9495
  Prefactor  = 1.37408
  Prefactor  = 21.6027
  norm       = 0
  norm       = 9.58678e-08
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401940/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31401940/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:15:37.058171', job_id='31401940', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829737.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:15:37 PDT 2026

.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31402024/Model_4FGL_J1258.8-2219_daily_bin2183.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits.....................!
real 69.59
user 67.07
sys 1.48

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits', '/lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits', expMap='/lscratch/kocevski/31402024/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', expCube='/lscratch/kocevski/31402024/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31402024/Model_4FGL_J1258.8-2219_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.8-2219'

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.778e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31402024/ft1_filtered_4FGL_J1258.8-2219_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31402024/ft2_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31402024/expmap_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31402024/ltcube_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31402024/Model_4FGL_J1258.8-2219_daily_bin2183.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) = 10088.8893046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28598E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5865       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96285       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63609       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.289       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9139       1.0000          .0000       .10000E+07
     9 'norm      '    .92282       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.363       1.0000          .0000       .10000E+07
    11 'norm      '    .27831E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47150E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42164E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1682       1.0000          .0000       .10000E+07
    16 'norm      '    29.819       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3796       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28486       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29652E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3679       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.596       1.0000          .0000       .10000E+07
    23 'norm      '    .18259E-05   1.0000          .0000       .10000E+07
    24 'norm      '    .19153E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .79040       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1756 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40024E-07    108.60       -.14763E-05** at limit **
   2  Prefactor     .10414E-06    2.9710       -.51916E-06** at limit **
   3  Prefactor     2.6204        7.7599        .22479E-06    .15843E-01
   4  Prefactor     1.1871        15.676       -.12362E-05    .63670E-01
   5  Prefactor     .62649        5.0542        .20801E-05    .10524E-01
   6  Prefactor     5.7730        2.0204       -.35893E-07   -.11012E-02
   7  Prefactor     11.246        1.4449        .11977E-06   -.22120E-01
   8  Prefactor     4.9850        6.9495       -.16371E-05   -.18154E-01
   9  norm          .92422        .64730        .38209E-07   -.79545E-02
  10  Prefactor     11.960        12.486       -.65972E-06    .26847E-01
  11  norm          .94369E-09    6.9145        .25631E-06** at limit **
  12  norm          .44409E-09    2.2728       -.29214E-06** at limit **
  13  Prefactor     .44409E-09    2.2862        .33615E-06** at limit **
  14  norm           .0000        1.4039       -.44682E-07** at limit **
  15  norm          2.1669        1.7390       -.46771E-07    .75388E-02
  16  norm          29.828        8.3489        .35398E-06    .64155E-01
  17  Prefactor     4.3962        4.2073        .70148E-06   -.77505E-02
  18  Prefactor     .94839E-04    407.09       -.49524E-05** at limit **
  19  Prefactor     .44409E-09    4.4350        .20368E-06** at limit **
  20  Prefactor     32.949        20.989       -.84493E-06   -.67930E-01
  21  Prefactor     1.3741        5.7738       -.10556E-06    .11782E-02
  22  Prefactor     21.603        3.3195       -.57765E-07    .31166E-02
  23  norm           .0000        1.2514        .12407E-06** at limit **
  24  norm          .95868E-07    3.5318        .33054E-06** at limit **
  25  Normalizat    .79118        .22717        .30215E-05   -.21013E-03
  26  Prefactor     1.0920        .11152        .52879E-06   -.40275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00235e-08
  Prefactor  = 1.04139e-07
  Prefactor  = 2.62037
  Prefactor  = 1.18706
  Prefactor  = 0.626491
  Prefactor  = 5.77297
  Prefactor  = 11.2462
  Prefactor  = 4.98497
  norm       = 0.924218
  Prefactor  = 11.9597
  norm       = 9.4369e-10
  norm       = 4.44089e-10
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 2.16687
  norm       = 29.8277
  Prefactor  = 4.39622
  Prefactor  = 9.48394e-05
  Prefactor  = 4.44089e-10
  Prefactor  = 32.9495
  Prefactor  = 1.37408
  Prefactor  = 21.6027
  norm       = 0
  norm       = 9.58678e-08
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********

 FCN=   10088.79     FROM HESSE     STATUS=OK           528 CALLS     2284 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40024E-07    20.890        .16124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10414E-06    5.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6204        28.096        .63424E-03   -1.5676    
   4  Prefactor     1.1871        53.239        .42446E-03   -1.5686    
   5  Prefactor     .62649        5.2104        .66055E-03   -1.5692    
   6  Prefactor     5.7730        2.0332        .41793E-02   -1.5227    
   7  Prefactor     11.246        9.7065        .29792E-03   -1.5641    
   8  Prefactor     4.9850        7.0645        .45349E-03   -1.5663    
   9  norm          .92422        .64969        .44195E-03   -1.5689    
  10  Prefactor     11.960        43.358        .28464E-03   -1.5639    
  11  norm          .94369E-09    7.0065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    2.2768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    2.2841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1669        1.7417        .69912E-03   -1.5679    
  16  norm          29.828        9.6321        .18316E-03   -1.5599    
  17  Prefactor     4.3962        10.411        .48103E-03   -1.5666    
  18  Prefactor     .94839E-04    16.395        .12383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.949        22.225        .17518E-03   -1.5593    
  21  Prefactor     1.3741        5.8451        .93226E-03   -1.5685    
  22  Prefactor     21.603        10.740        .21525E-03   -1.5615    
  23  norm           .0000        1.2513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .95868E-07    5.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79118        .20797        .89919E-01   -1.0040    
  26  Prefactor     1.0920        .98031E-01    .37882E-01   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18875e-06
Minuit parameter uncertainties:
  1  0.00182916
  2  0.00157458
  3  17.1606
  4  15.8996
  5  3.61345
  6  2.03325
  7  9.70654
  8  7.06451
  9  0.649689
  10  43.3591
  11  0.000162526
  12  6.47382e-05
  13  6.47213e-05
  14  8.71737e-07
  15  1.74168
  16  9.63211
  17  10.4112
  18  0.0788639
  19  8.63847e-05
  20  22.225
  21  5.66802
  22  10.7403
  23  5.37111e-06
  24  0.00149256
  25  0.208178
  26  0.0980473
Done.

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

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  4.441e-10  6.474e-05  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.717 -22.326
Photon Flux Upper Limit: 5.95903895241e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10894445257e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31402024/likelihoodResults_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7974672
delta logL = -0.0112965996886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10088.7861712
delta logL = -6.06676621828e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10088.79     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.6025       -.11151E-06** at limit **
   2  alpha         1.4147        1.3928       -.93463E-05     .0000    
   3  Normalizat    .79118        .22465        .12292E-04   -.79651E-04
   4  Prefactor     1.0920        .11105       -.33549E-05   -.94663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.41472
  Normalizat = 0.791179
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10088.79     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .45338        1.0576       -.93463E-05   -.44905    
   3  Normalizat    .79118        1.1301        .12292E-04   -1.0040    
   4  Prefactor     1.0920        1.1538       -.33549E-05   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.26626e-12
Minuit parameter uncertainties:
  1  6.85305e-06
  2  0.955514
  3  1.16656
  4  1.18193
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) = 10088.7861706
delta logL = 1.25510268845e-10

Extracting fit parameters...

4FGL J1258.8-2219
   Spectrum: LogParabola
279         norm:  0.000e+00  6.853e-06  0.000e+00  1.000e+06 ( 1.000e-12)
280        alpha:  1.415e+00  9.555e-01  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  9.348e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  8.142e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.092e+00  1.182e+00  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  7.912e-01  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.717 -22.326

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/31402024/cmap_HighResolution_805161601_805420801_4FGL_J1258.8-2219_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2026-07-11 21:18:05.760495', job_id='31402024', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1783829885.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.26e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2183' AND source_name='4FGL J1258.8-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:18:06 PDT 2026

