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

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

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

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

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


Performing analysis on: 4FGL_J1258.6-1759_daily_bin2180
RA = 194.663, Dec = -17.9958
tmin = 804384001, tmax = 804643201
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='31401222', job_status='RUN', time_executed='2026-07-11 20:56:48.115453', time_epoch_executed='1783828608.12' WHERE source_name='4FGL J1258.6-1759' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31401222

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31401222/ft1_4FGL_J1258.6-1759_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31401222/ft1_4FGL_J1258.6-1759_daily_bin2180.fits outfile=/lscratch/kocevski/31401222/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin2180.fits ra=194.663 dec=-17.9958 rad=12.0 tmin=804384001.0 tmax=804643201.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.36
user 1.74
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits

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

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

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

Number of photons that the gtmktime cut: 1101

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

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

ce GAL_V02
Working on...
/lscratch/kocevski/31401058/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits.....................!
real 35.91
user 34.24
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401058/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits', '/lscratch/kocevski/31401058/ft2_4FGL_J1258.6-1759_daily_bin2180.fits', expMap='/lscratch/kocevski/31401058/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', expCube='/lscratch/kocevski/31401058/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401058/Model_4FGL_J1258.6-1759_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.6-1759'

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  4.083e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401058/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31401058/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31401058/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31401058/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401058/Model_4FGL_J1258.6-1759_daily_bin2180.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) = 11708.6023852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22500E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0892       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5859       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.383       1.0000          .0000       .10000E+07
     6 'norm      '    1.2522       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68430E-01   1.0000          .0000       .10000E+07
     8 'norm      '    5.8569       1.0000          .0000       .10000E+07
     9 'norm      '    2.5667       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13056E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .25924E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .15983E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1502       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9067       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12965       1.0000          .0000       .10000E+07
    16 'norm      '    1.0680       1.0000          .0000       .10000E+07
    17 'norm      '    14.114       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.560       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.037       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3579       1.0000          .0000       .10000E+07
    21 'norm      '    .63518E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .84457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11707.90     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1430 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    12.963       -.23222E-06** at limit **
   2  Prefactor     4.0866        3.4162        .64132E-08    .16828E-02
   3  Prefactor     4.5114        1.5150        .74894E-06    .41600E-03
   4  Prefactor     6.5812        1.5962       -.26254E-07    .12677E-01
   5  Prefactor     12.345        3.7600       -.39655E-06    .29115E-02
   6  norm          1.2518        .69206        .44217E-07   -.11646E-01
   7  Prefactor     .20539E-08    14.612       -.28805E-05** at limit **
   8  norm          5.8022        5.6407       -.33241E-06   -.17691E-02
   9  norm          2.5648        2.6486       -.18881E-07    .83779E-03
  10  Prefactor      .0000        .93828       -.16856E-06** at limit **
  11  norm           .0000        .75799        .10334E-06** at limit **
  12  norm           .0000        4.9507        .59418E-06** at limit **
  13  Prefactor     1.1030        2.8590       -.93749E-06   -.37405E-02
  14  Prefactor     2.8416        4.7330        .93984E-07    .60610E-03
  15  Prefactor     .27200E-08    27.568        .61587E-06** at limit **
  16  norm          1.0792        2.2701       -.88477E-07   -.65720E-03
  17  norm          14.148        1.6835        .17549E-06    .26598E-01
  18  Prefactor     14.292        3.4681       -.31544E-06    .14647E-01
  19  Prefactor     16.389        14.588       -.15259E-05   -.46427E-02
  20  Prefactor     8.4357        2.8760        .51799E-06   -.13749E-01
  21  norm           .0000        2.0358       -.24608E-06** at limit **
  22  Normalizat    .84608        .19161        .37145E-05   -.89177E-04
  23  Prefactor     .97289        .98563E-01    .16251E-05    .39389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  Prefactor  = 4.08655
  Prefactor  = 4.5114
  Prefactor  = 6.58117
  Prefactor  = 12.3448
  norm       = 1.25175
  Prefactor  = 2.05391e-09
  norm       = 5.80224
  norm       = 2.56479
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.10302
  Prefactor  = 2.84163
  Prefactor  = 2.72005e-09
  norm       = 1.07918
  norm       = 14.148
  Prefactor  = 14.2917
  Prefactor  = 16.3895
  Prefactor  = 8.43566
  norm       = 0
  Normalizat = 0.846076
  Prefactor  = 0.972891
 **********
 **   18 **HESSE 
 **********

 FCN=   11707.90     FROM HESSE     STATUS=OK           426 CALLS     1856 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    13.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0866        3.4380        .49831E-03   -1.5668    
   3  Prefactor     4.5114        1.5157        .47390E-02   -1.5283    
   4  Prefactor     6.5812        7.7150        .39080E-03   -1.5657    
   5  Prefactor     12.345        6.9135        .28440E-03   -1.5638    
   6  norm          1.2518        .70780        .99851E-03   -1.5686    
   7  Prefactor     .20539E-08    26.617        .14870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8022        5.7067        .41473E-03   -1.5660    
   9  norm          2.5648        2.6649        .63690E-03   -1.5676    
  10  Prefactor      .0000        .94086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .75151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.9434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1030        12.675        .10788E-02   -1.5687    
  14  Prefactor     2.8416        4.8684        .59571E-03   -1.5674    
  15  Prefactor     .27200E-08    7.8639        .13193E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0792        2.9087        .11772E-02   -1.5687    
  17  norm          14.148        6.6094        .26635E-03   -1.5633    
  18  Prefactor     14.292        16.428        .26223E-03   -1.5632    
  19  Prefactor     16.389        14.965        .24983E-03   -1.5627    
  20  Prefactor     8.4357        11.171        .34653E-03   -1.5650    
  21  norm           .0000        2.0408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84608        .17204        .80000E-01   -.98382    
  23  Prefactor     .97289        .84295E-01    .45932E-01   -.93639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69159e-06
Minuit parameter uncertainties:
  1  0.00032099
  2  3.43796
  3  1.51572
  4  7.71496
  5  6.9135
  6  0.7078
  7  0.000470747
  8  5.70666
  9  2.66485
  10  1.38159e-06
  11  3.544e-06
  12  6.57727e-06
  13  7.47829
  14  4.8684
  15  0.000291211
  16  2.90869
  17  6.60936
  18  16.4281
  19  14.9655
  20  11.1706
  21  6.94239e-06
  22  0.17215
  23  0.0843066
ce GAL_V02
Working on...
/lscratch/kocevski/31401074/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits.....................!
real 37.36
user 35.45
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401074/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits', '/lscratch/kocevski/31401074/ft2_4FGL_J1258.6-1759_daily_bin2180.fits', expMap='/lscratch/kocevski/31401074/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', expCube='/lscratch/kocevski/31401074/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401074/Model_4FGL_J1258.6-1759_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.6-1759'

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  4.083e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401074/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31401074/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31401074/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31401074/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401074/Model_4FGL_J1258.6-1759_daily_bin2180.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) = 11708.6023852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22500E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0892       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5859       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.383       1.0000          .0000       .10000E+07
     6 'norm      '    1.2522       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68430E-01   1.0000          .0000       .10000E+07
     8 'norm      '    5.8569       1.0000          .0000       .10000E+07
     9 'norm      '    2.5667       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13056E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .25924E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .15983E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1502       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9067       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12965       1.0000          .0000       .10000E+07
    16 'norm      '    1.0680       1.0000          .0000       .10000E+07
    17 'norm      '    14.114       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.560       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.037       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3579       1.0000          .0000       .10000E+07
    21 'norm      '    .63518E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .84457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11707.90     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1430 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    12.963       -.23222E-06** at limit **
   2  Prefactor     4.0866        3.4162        .64132E-08    .16828E-02
   3  Prefactor     4.5114        1.5150        .74894E-06    .41600E-03
   4  Prefactor     6.5812        1.5962       -.26254E-07    .12677E-01
   5  Prefactor     12.345        3.7600       -.39655E-06    .29115E-02
   6  norm          1.2518        .69206        .44217E-07   -.11646E-01
   7  Prefactor     .20539E-08    14.612       -.28805E-05** at limit **
   8  norm          5.8022        5.6407       -.33241E-06   -.17691E-02
   9  norm          2.5648        2.6486       -.18881E-07    .83779E-03
  10  Prefactor      .0000        .93828       -.16856E-06** at limit **
  11  norm           .0000        .75799        .10334E-06** at limit **
  12  norm           .0000        4.9507        .59418E-06** at limit **
  13  Prefactor     1.1030        2.8590       -.93749E-06   -.37405E-02
  14  Prefactor     2.8416        4.7330        .93984E-07    .60610E-03
  15  Prefactor     .27200E-08    27.568        .61587E-06** at limit **
  16  norm          1.0792        2.2701       -.88477E-07   -.65720E-03
  17  norm          14.148        1.6835        .17549E-06    .26598E-01
  18  Prefactor     14.292        3.4681       -.31544E-06    .14647E-01
  19  Prefactor     16.389        14.588       -.15259E-05   -.46427E-02
  20  Prefactor     8.4357        2.8760        .51799E-06   -.13749E-01
  21  norm           .0000        2.0358       -.24608E-06** at limit **
  22  Normalizat    .84608        .19161        .37145E-05   -.89177E-04
  23  Prefactor     .97289        .98563E-01    .16251E-05    .39389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  Prefactor  = 4.08655
  Prefactor  = 4.5114
  Prefactor  = 6.58117
  Prefactor  = 12.3448
  norm       = 1.25175
  Prefactor  = 2.05391e-09
  norm       = 5.80224
  norm       = 2.56479
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.10302
  Prefactor  = 2.84163
  Prefactor  = 2.72005e-09
  norm       = 1.07918
  norm       = 14.148
  Prefactor  = 14.2917
  Prefactor  = 16.3895
  Prefactor  = 8.43566
  norm       = 0
  Normalizat = 0.846076
  Prefactor  = 0.972891
 **********
 **   18 **HESSE 
 **********

 FCN=   11707.90     FROM HESSE     STATUS=OK           426 CALLS     1856 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    13.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0866        3.4380        .49831E-03   -1.5668    
   3  Prefactor     4.5114        1.5157        .47390E-02   -1.5283    
   4  Prefactor     6.5812        7.7150        .39080E-03   -1.5657    
   5  Prefactor     12.345        6.9135        .28440E-03   -1.5638    
   6  norm          1.2518        .70780        .99851E-03   -1.5686    
   7  Prefactor     .20539E-08    26.617        .14870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8022        5.7067        .41473E-03   -1.5660    
   9  norm          2.5648        2.6649        .63690E-03   -1.5676    
  10  Prefactor      .0000        .94086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .75151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.9434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1030        12.675        .10788E-02   -1.5687    
  14  Prefactor     2.8416        4.8684        .59571E-03   -1.5674    
  15  Prefactor     .27200E-08    7.8639        .13193E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0792        2.9087        .11772E-02   -1.5687    
  17  norm          14.148        6.6094        .26635E-03   -1.5633    
  18  Prefactor     14.292        16.428        .26223E-03   -1.5632    
  19  Prefactor     16.389        14.965        .24983E-03   -1.5627    
  20  Prefactor     8.4357        11.171        .34653E-03   -1.5650    
  21  norm           .0000        2.0408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84608        .17204        .80000E-01   -.98382    
  23  Prefactor     .97289        .84295E-01    .45932E-01   -.93639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69159e-06
Minuit parameter uncertainties:
  1  0.00032099
  2  3.43796
  3  1.51572
  4  7.71496
  5  6.9135
  6  0.7078
  7  0.000470747
  8  5.70666
  9  2.66485
  10  1.38159e-06
  11  3.544e-06
  12  6.57727e-06
  13  7.47829
  14  4.8684
  15  0.000291211
  16  2.90869
  17  6.60936
  18  16.4281
  19  14.9655
  20  11.1706
  21  6.94239e-06
  22  0.17215
  23  0.0843066
ce GAL_V02
Working on...
/lscratch/kocevski/31401089/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits.....................!
real 37.55
user 35.86
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401089/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits', '/lscratch/kocevski/31401089/ft2_4FGL_J1258.6-1759_daily_bin2180.fits', expMap='/lscratch/kocevski/31401089/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', expCube='/lscratch/kocevski/31401089/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401089/Model_4FGL_J1258.6-1759_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.6-1759'

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  4.083e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401089/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31401089/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31401089/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31401089/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401089/Model_4FGL_J1258.6-1759_daily_bin2180.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) = 11708.6023852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22500E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0892       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5859       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.383       1.0000          .0000       .10000E+07
     6 'norm      '    1.2522       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68430E-01   1.0000          .0000       .10000E+07
     8 'norm      '    5.8569       1.0000          .0000       .10000E+07
     9 'norm      '    2.5667       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13056E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .25924E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .15983E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1502       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9067       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12965       1.0000          .0000       .10000E+07
    16 'norm      '    1.0680       1.0000          .0000       .10000E+07
    17 'norm      '    14.114       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.560       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.037       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3579       1.0000          .0000       .10000E+07
    21 'norm      '    .63518E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .84457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11707.90     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1430 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    12.963       -.23222E-06** at limit **
   2  Prefactor     4.0866        3.4162        .64132E-08    .16828E-02
   3  Prefactor     4.5114        1.5150        .74894E-06    .41600E-03
   4  Prefactor     6.5812        1.5962       -.26254E-07    .12677E-01
   5  Prefactor     12.345        3.7600       -.39655E-06    .29115E-02
   6  norm          1.2518        .69206        .44217E-07   -.11646E-01
   7  Prefactor     .20539E-08    14.612       -.28805E-05** at limit **
   8  norm          5.8022        5.6407       -.33241E-06   -.17691E-02
   9  norm          2.5648        2.6486       -.18881E-07    .83779E-03
  10  Prefactor      .0000        .93828       -.16856E-06** at limit **
  11  norm           .0000        .75799        .10334E-06** at limit **
  12  norm           .0000        4.9507        .59418E-06** at limit **
  13  Prefactor     1.1030        2.8590       -.93749E-06   -.37405E-02
  14  Prefactor     2.8416        4.7330        .93984E-07    .60610E-03
  15  Prefactor     .27200E-08    27.568        .61587E-06** at limit **
  16  norm          1.0792        2.2701       -.88477E-07   -.65720E-03
  17  norm          14.148        1.6835        .17549E-06    .26598E-01
  18  Prefactor     14.292        3.4681       -.31544E-06    .14647E-01
  19  Prefactor     16.389        14.588       -.15259E-05   -.46427E-02
  20  Prefactor     8.4357        2.8760        .51799E-06   -.13749E-01
  21  norm           .0000        2.0358       -.24608E-06** at limit **
  22  Normalizat    .84608        .19161        .37145E-05   -.89177E-04
  23  Prefactor     .97289        .98563E-01    .16251E-05    .39389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  Prefactor  = 4.08655
  Prefactor  = 4.5114
  Prefactor  = 6.58117
  Prefactor  = 12.3448
  norm       = 1.25175
  Prefactor  = 2.05391e-09
  norm       = 5.80224
  norm       = 2.56479
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.10302
  Prefactor  = 2.84163
  Prefactor  = 2.72005e-09
  norm       = 1.07918
  norm       = 14.148
  Prefactor  = 14.2917
  Prefactor  = 16.3895
  Prefactor  = 8.43566
  norm       = 0
  Normalizat = 0.846076
  Prefactor  = 0.972891
number of points = 7669
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1258.6-1759_daily_bin2180
RA = 194.663, Dec = -17.9958
tmin = 804384001, tmax = 804643201
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='31401261', job_status='RUN', time_executed='2026-07-11 20:58:17.434536', time_epoch_executed='1783828697.43' WHERE source_name='4FGL J1258.6-1759' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31401261

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31401261/ft1_4FGL_J1258.6-1759_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31401261/ft1_4FGL_J1258.6-1759_daily_bin2180.fits outfile=/lscratch/kocevski/31401261/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin2180.fits ra=194.663 dec=-17.9958 rad=12.0 tmin=804384001.0 tmax=804643201.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.54
user 1.83
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.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/31401261/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin2180.fits evtable="EVENTS" outfile="/lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.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.80
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1101

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  5.802e+00  5.707e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.729e-01  8.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.461e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 9.77e-06

TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Flux Upper Limit: 8.17650175535e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08024518934e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401058/likelihoodResults_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11706.5757662
delta logL = 1.32854777583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.554168
delta logL = 1.35014598955

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11706.55     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82103        7.8256        .50960E-03   -.45471E-01
   2  alpha         4.5289        4.3269        .50000       -.88149E-04
   3  Normalizat    .73820        .62013E-01    .85150E-01   -.28251E-03
   4  Prefactor     1.0106        .32529E-01    .43225E-01   -.39890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821034
  alpha      = 4.52887
  Normalizat = 0.738196
  Prefactor  = 1.01063
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.55     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82103        11.491        .50618E-05   -1.5690    
   2  alpha         4.5289        4.4547        .30623E-01    .94679    
   3  Normalizat    .73820        .17155        .37709E-03   -1.0240    
   4  Prefactor     1.0106        .89229E-01    .17019E-03   -.92376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10746e-09
Minuit parameter uncertainties:
  1  6.14317
  2  4.72831
  3  0.171674
  4  0.0892425
 outfile=/lscratch/kocevski/31401222/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.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/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
.....................!
real 9.81
user 9.03
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31401222/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31401222/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits outfile=/lscratch/kocevski/31401222/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.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/31401222/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
.....................!
real 70.26
user 65.14
sys 4.14

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

Setting source of interest to:
4FGL J1258.6-1759 @ 194.663 -17.9958

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

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

This is gtbin version HEAD
real 0.70
user 0.21
sys 0.13

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

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

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31401222/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401222/Model_4FGL_J1258.6-1759_daily_bin2180.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.5541629
delta logL = 1.35015109999

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  8.210e-01  6.143e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  4.529e+00  4.728e+00  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.011e+00  8.924e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.382e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 194.663 -17.996
Photon Index (Free Index): 4.53 +/- 4.73
Photon Flux (Free Index): 9.25e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.02e-05

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/31401058/cmap_HighResolution_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.34e-05', photon_flux_error='2.59e-08', dlogl='1.35e+00', energy_flux='9.93e-06', photon_flux2='9.25e-08', job_status='DONE', time_completed='2026-07-11 21:00:10.939993', photon_index_error2='4.73', photon_index2='4.53', ts='1.43', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='1.02e-05', EG='0.85', time_epoch_completed='1783828810.94', return_code='0', job_id='31401058', GAL2='1.01', EG2='0.74', return_code2='102', energy_flux_error='9.77e-06', photon_flux_error2='5.04e-08', ts2='4.73', photon_index='2.23' WHERE bin_id='2180' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:00:11 PDT 2026

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

 FCN=   11707.90     FROM HESSE     STATUS=OK           426 CALLS     1856 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    13.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0866        3.4380        .49831E-03   -1.5668    
   3  Prefactor     4.5114        1.5157        .47390E-02   -1.5283    
   4  Prefactor     6.5812        7.7150        .39080E-03   -1.5657    
   5  Prefactor     12.345        6.9135        .28440E-03   -1.5638    
   6  norm          1.2518        .70780        .99851E-03   -1.5686    
   7  Prefactor     .20539E-08    26.617        .14870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8022        5.7067        .41473E-03   -1.5660    
   9  norm          2.5648        2.6649        .63690E-03   -1.5676    
  10  Prefactor      .0000        .94086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .75151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.9434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1030        12.675        .10788E-02   -1.5687    
  14  Prefactor     2.8416        4.8684        .59571E-03   -1.5674    
  15  Prefactor     .27200E-08    7.8639        .13193E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0792        2.9087        .11772E-02   -1.5687    
  17  norm          14.148        6.6094        .26635E-03   -1.5633    
  18  Prefactor     14.292        16.428        .26223E-03   -1.5632    
  19  Prefactor     16.389        14.965        .24983E-03   -1.5627    
  20  Prefactor     8.4357        11.171        .34653E-03   -1.5650    
  21  norm           .0000        2.0408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84608        .17204        .80000E-01   -.98382    
  23  Prefactor     .97289        .84295E-01    .45932E-01   -.93639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69159e-06
Minuit parameter uncertainties:
  1  0.00032099
  2  3.43796
  3  1.51572
  4  7.71496
  5  6.9135
  6  0.7078
  7  0.000470747
  8  5.70666
  9  2.66485
  10  1.38159e-06
  11  3.544e-06
  12  6.57727e-06
  13  7.47829
  14  4.8684
  15  0.000291211
  16  2.90869
  17  6.60936
  18  16.4281
  19  14.9655
  20  11.1706
  21  6.94239e-06
  22  0.17215
  23  0.0843066
Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  5.802e+00  5.707e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.729e-01  8.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.461e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 9.77e-06

TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Flux Upper Limit: 8.17650175535e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08024518934e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401074/likelihoodResults_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11706.5757662
delta logL = 1.32854777583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.554168
delta logL = 1.35014598955

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11706.55     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82103        7.8256        .50960E-03   -.45471E-01
   2  alpha         4.5289        4.3269        .50000       -.88149E-04
   3  Normalizat    .73820        .62013E-01    .85150E-01   -.28251E-03
   4  Prefactor     1.0106        .32529E-01    .43225E-01   -.39890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821034
  alpha      = 4.52887
  Normalizat = 0.738196
  Prefactor  = 1.01063
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.55     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82103        11.491        .50618E-05   -1.5690    
   2  alpha         4.5289        4.4547        .30623E-01    .94679    
   3  Normalizat    .73820        .17155        .37709E-03   -1.0240    
   4  Prefactor     1.0106        .89229E-01    .17019E-03   -.92376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10746e-09
Minuit parameter uncertainties:
  1  6.14317
  2  4.72831
  3  0.171674
  4  0.0892425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.5541629
delta logL = 1.35015109999

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  8.210e-01  6.143e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  4.529e+00  4.728e+00  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.011e+00  8.924e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.382e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 194.663 -17.996
Photon Index (Free Index): 4.53 +/- 4.73
Photon Flux (Free Index): 9.25e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.02e-05

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/31401074/cmap_HighResolution_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.34e-05', photon_flux_error='2.59e-08', dlogl='1.35e+00', energy_flux='9.93e-06', photon_flux2='9.25e-08', job_status='DONE', time_completed='2026-07-11 21:00:46.622895', photon_index_error2='4.73', photon_index2='4.53', ts='1.43', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='1.02e-05', EG='0.85', time_epoch_completed='1783828846.62', return_code='0', job_id='31401074', GAL2='1.01', EG2='0.74', return_code2='102', energy_flux_error='9.77e-06', photon_flux_error2='5.04e-08', ts2='4.73', photon_index='2.23' WHERE bin_id='2180' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:00:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  5.802e+00  5.707e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.729e-01  8.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.461e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 9.77e-06

TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Flux Upper Limit: 8.17650175535e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08024518934e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401089/likelihoodResults_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11706.5757662
delta logL = 1.32854777583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.554168
delta logL = 1.35014598955

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11706.55     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82103        7.8256        .50960E-03   -.45471E-01
   2  alpha         4.5289        4.3269        .50000       -.88149E-04
   3  Normalizat    .73820        .62013E-01    .85150E-01   -.28251E-03
   4  Prefactor     1.0106        .32529E-01    .43225E-01   -.39890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821034
  alpha      = 4.52887
  Normalizat = 0.738196
  Prefactor  = 1.01063
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.55     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82103        11.491        .50618E-05   -1.5690    
   2  alpha         4.5289        4.4547        .30623E-01    .94679    
   3  Normalizat    .73820        .17155        .37709E-03   -1.0240    
   4  Prefactor     1.0106        .89229E-01    .17019E-03   -.92376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10746e-09
Minuit parameter uncertainties:
  1  6.14317
  2  4.72831
  3  0.171674
  4  0.0892425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.5541629
delta logL = 1.35015109999

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  8.210e-01  6.143e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  4.529e+00  4.728e+00  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.011e+00  8.924e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.382e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 194.663 -17.996
Photon Index (Free Index): 4.53 +/- 4.73
Photon Flux (Free Index): 9.25e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.02e-05

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/31401089/cmap_HighResolution_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.34e-05', photon_flux_error='2.59e-08', dlogl='1.35e+00', energy_flux='9.93e-06', photon_flux2='9.25e-08', job_status='DONE', time_completed='2026-07-11 21:01:15.619460', photon_index_error2='4.73', photon_index2='4.53', ts='1.43', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='1.02e-05', EG='0.85', time_epoch_completed='1783828875.62', return_code='0', job_id='31401089', GAL2='1.01', EG2='0.74', return_code2='102', energy_flux_error='9.77e-06', photon_flux_error2='5.04e-08', ts2='4.73', photon_index='2.23' WHERE bin_id='2180' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:01:15 PDT 2026

 outfile=/lscratch/kocevski/31401261/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.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/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
.....................!
real 9.90
user 8.83
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31401261/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits outfile=/lscratch/kocevski/31401261/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.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/31401261/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
.....................!
real 76.39
user 69.48
sys 4.51

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

Setting source of interest to:
4FGL J1258.6-1759 @ 194.663 -17.9958

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

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

This is gtbin version HEAD
real 0.80
user 0.23
sys 0.17

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

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

This is gtbin version HEAD
real 0.80
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31401261/Model_4FGL_J1258.6-1759_daily_bin2180.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31401222/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits.....................!
real 37.08
user 34.89
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401222/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits', '/lscratch/kocevski/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits', expMap='/lscratch/kocevski/31401222/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', expCube='/lscratch/kocevski/31401222/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401222/Model_4FGL_J1258.6-1759_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.6-1759'

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  4.083e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401222/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31401222/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31401222/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31401222/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401222/Model_4FGL_J1258.6-1759_daily_bin2180.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) = 11708.6023852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22500E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0892       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5859       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.383       1.0000          .0000       .10000E+07
     6 'norm      '    1.2522       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68430E-01   1.0000          .0000       .10000E+07
     8 'norm      '    5.8569       1.0000          .0000       .10000E+07
     9 'norm      '    2.5667       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13056E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .25924E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .15983E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1502       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9067       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12965       1.0000          .0000       .10000E+07
    16 'norm      '    1.0680       1.0000          .0000       .10000E+07
    17 'norm      '    14.114       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.560       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.037       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3579       1.0000          .0000       .10000E+07
    21 'norm      '    .63518E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .84457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11707.90     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1430 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    12.963       -.23222E-06** at limit **
   2  Prefactor     4.0866        3.4162        .64132E-08    .16828E-02
   3  Prefactor     4.5114        1.5150        .74894E-06    .41600E-03
   4  Prefactor     6.5812        1.5962       -.26254E-07    .12677E-01
   5  Prefactor     12.345        3.7600       -.39655E-06    .29115E-02
   6  norm          1.2518        .69206        .44217E-07   -.11646E-01
   7  Prefactor     .20539E-08    14.612       -.28805E-05** at limit **
   8  norm          5.8022        5.6407       -.33241E-06   -.17691E-02
   9  norm          2.5648        2.6486       -.18881E-07    .83779E-03
  10  Prefactor      .0000        .93828       -.16856E-06** at limit **
  11  norm           .0000        .75799        .10334E-06** at limit **
  12  norm           .0000        4.9507        .59418E-06** at limit **
  13  Prefactor     1.1030        2.8590       -.93749E-06   -.37405E-02
  14  Prefactor     2.8416        4.7330        .93984E-07    .60610E-03
  15  Prefactor     .27200E-08    27.568        .61587E-06** at limit **
  16  norm          1.0792        2.2701       -.88477E-07   -.65720E-03
  17  norm          14.148        1.6835        .17549E-06    .26598E-01
  18  Prefactor     14.292        3.4681       -.31544E-06    .14647E-01
  19  Prefactor     16.389        14.588       -.15259E-05   -.46427E-02
  20  Prefactor     8.4357        2.8760        .51799E-06   -.13749E-01
  21  norm           .0000        2.0358       -.24608E-06** at limit **
  22  Normalizat    .84608        .19161        .37145E-05   -.89177E-04
  23  Prefactor     .97289        .98563E-01    .16251E-05    .39389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  Prefactor  = 4.08655
  Prefactor  = 4.5114
  Prefactor  = 6.58117
  Prefactor  = 12.3448
  norm       = 1.25175
  Prefactor  = 2.05391e-09
  norm       = 5.80224
  norm       = 2.56479
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.10302
  Prefactor  = 2.84163
  Prefactor  = 2.72005e-09
  norm       = 1.07918
  norm       = 14.148
  Prefactor  = 14.2917
  Prefactor  = 16.3895
  Prefactor  = 8.43566
  norm       = 0
  Normalizat = 0.846076
  Prefactor  = 0.972891
 **********
 **   18 **HESSE 
 **********

 FCN=   11707.90     FROM HESSE     STATUS=OK           426 CALLS     1856 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    13.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0866        3.4380        .49831E-03   -1.5668    
   3  Prefactor     4.5114        1.5157        .47390E-02   -1.5283    
   4  Prefactor     6.5812        7.7150        .39080E-03   -1.5657    
   5  Prefactor     12.345        6.9135        .28440E-03   -1.5638    
   6  norm          1.2518        .70780        .99851E-03   -1.5686    
   7  Prefactor     .20539E-08    26.617        .14870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8022        5.7067        .41473E-03   -1.5660    
   9  norm          2.5648        2.6649        .63690E-03   -1.5676    
  10  Prefactor      .0000        .94086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .75151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.9434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1030        12.675        .10788E-02   -1.5687    
  14  Prefactor     2.8416        4.8684        .59571E-03   -1.5674    
  15  Prefactor     .27200E-08    7.8639        .13193E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0792        2.9087        .11772E-02   -1.5687    
  17  norm          14.148        6.6094        .26635E-03   -1.5633    
  18  Prefactor     14.292        16.428        .26223E-03   -1.5632    
  19  Prefactor     16.389        14.965        .24983E-03   -1.5627    
  20  Prefactor     8.4357        11.171        .34653E-03   -1.5650    
  21  norm           .0000        2.0408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84608        .17204        .80000E-01   -.98382    
  23  Prefactor     .97289        .84295E-01    .45932E-01   -.93639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69159e-06
Minuit parameter uncertainties:
  1  0.00032099
  2  3.43796
  3  1.51572
  4  7.71496
  5  6.9135
  6  0.7078
  7  0.000470747
  8  5.70666
  9  2.66485
  10  1.38159e-06
  11  3.544e-06
  12  6.57727e-06
  13  7.47829
  14  4.8684
  15  0.000291211
  16  2.90869
  17  6.60936
  18  16.4281
  19  14.9655
  20  11.1706
  21  6.94239e-06
  22  0.17215
  23  0.0843066
Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  5.802e+00  5.707e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.729e-01  8.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.461e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 9.77e-06

TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Flux Upper Limit: 8.17650175535e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08024518934e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401222/likelihoodResults_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11706.5757662
delta logL = 1.32854777583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.554168
delta logL = 1.35014598955

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11706.55     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82103        7.8256        .50960E-03   -.45471E-01
   2  alpha         4.5289        4.3269        .50000       -.88149E-04
   3  Normalizat    .73820        .62013E-01    .85150E-01   -.28251E-03
   4  Prefactor     1.0106        .32529E-01    .43225E-01   -.39890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821034
  alpha      = 4.52887
  Normalizat = 0.738196
  Prefactor  = 1.01063
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.55     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82103        11.491        .50618E-05   -1.5690    
   2  alpha         4.5289        4.4547        .30623E-01    .94679    
   3  Normalizat    .73820        .17155        .37709E-03   -1.0240    
   4  Prefactor     1.0106        .89229E-01    .17019E-03   -.92376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10746e-09
Minuit parameter uncertainties:
  1  6.14317
  2  4.72831
  3  0.171674
  4  0.0892425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.5541629
delta logL = 1.35015109999

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  8.210e-01  6.143e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  4.529e+00  4.728e+00  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.011e+00  8.924e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.382e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 194.663 -17.996
Photon Index (Free Index): 4.53 +/- 4.73
Photon Flux (Free Index): 9.25e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.02e-05

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/31401222/cmap_HighResolution_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.34e-05', photon_flux_error='2.59e-08', dlogl='1.35e+00', energy_flux='9.93e-06', photon_flux2='9.25e-08', job_status='DONE', time_completed='2026-07-11 21:03:39.066891', photon_index_error2='4.73', photon_index2='4.53', ts='1.43', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='1.02e-05', EG='0.85', time_epoch_completed='1783829019.07', return_code='0', job_id='31401222', GAL2='1.01', EG2='0.74', return_code2='102', energy_flux_error='9.77e-06', photon_flux_error2='5.04e-08', ts2='4.73', photon_index='2.23' WHERE bin_id='2180' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:03:39 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits.....................!
real 37.72
user 35.49
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits', '/lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits', expMap='/lscratch/kocevski/31401261/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', expCube='/lscratch/kocevski/31401261/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31401261/Model_4FGL_J1258.6-1759_daily_bin2180.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.6-1759'

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  4.083e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31401261/ft1_filtered_4FGL_J1258.6-1759_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31401261/ft2_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31401261/expmap_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31401261/ltcube_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31401261/Model_4FGL_J1258.6-1759_daily_bin2180.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) = 11708.6023852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22500E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0892       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5859       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.383       1.0000          .0000       .10000E+07
     6 'norm      '    1.2522       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68430E-01   1.0000          .0000       .10000E+07
     8 'norm      '    5.8569       1.0000          .0000       .10000E+07
     9 'norm      '    2.5667       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13056E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .25924E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .15983E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1502       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9067       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12965       1.0000          .0000       .10000E+07
    16 'norm      '    1.0680       1.0000          .0000       .10000E+07
    17 'norm      '    14.114       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.560       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.037       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3579       1.0000          .0000       .10000E+07
    21 'norm      '    .63518E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .84457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11707.90     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1430 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    12.963       -.23222E-06** at limit **
   2  Prefactor     4.0866        3.4162        .64132E-08    .16828E-02
   3  Prefactor     4.5114        1.5150        .74894E-06    .41600E-03
   4  Prefactor     6.5812        1.5962       -.26254E-07    .12677E-01
   5  Prefactor     12.345        3.7600       -.39655E-06    .29115E-02
   6  norm          1.2518        .69206        .44217E-07   -.11646E-01
   7  Prefactor     .20539E-08    14.612       -.28805E-05** at limit **
   8  norm          5.8022        5.6407       -.33241E-06   -.17691E-02
   9  norm          2.5648        2.6486       -.18881E-07    .83779E-03
  10  Prefactor      .0000        .93828       -.16856E-06** at limit **
  11  norm           .0000        .75799        .10334E-06** at limit **
  12  norm           .0000        4.9507        .59418E-06** at limit **
  13  Prefactor     1.1030        2.8590       -.93749E-06   -.37405E-02
  14  Prefactor     2.8416        4.7330        .93984E-07    .60610E-03
  15  Prefactor     .27200E-08    27.568        .61587E-06** at limit **
  16  norm          1.0792        2.2701       -.88477E-07   -.65720E-03
  17  norm          14.148        1.6835        .17549E-06    .26598E-01
  18  Prefactor     14.292        3.4681       -.31544E-06    .14647E-01
  19  Prefactor     16.389        14.588       -.15259E-05   -.46427E-02
  20  Prefactor     8.4357        2.8760        .51799E-06   -.13749E-01
  21  norm           .0000        2.0358       -.24608E-06** at limit **
  22  Normalizat    .84608        .19161        .37145E-05   -.89177E-04
  23  Prefactor     .97289        .98563E-01    .16251E-05    .39389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  Prefactor  = 4.08655
  Prefactor  = 4.5114
  Prefactor  = 6.58117
  Prefactor  = 12.3448
  norm       = 1.25175
  Prefactor  = 2.05391e-09
  norm       = 5.80224
  norm       = 2.56479
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.10302
  Prefactor  = 2.84163
  Prefactor  = 2.72005e-09
  norm       = 1.07918
  norm       = 14.148
  Prefactor  = 14.2917
  Prefactor  = 16.3895
  Prefactor  = 8.43566
  norm       = 0
  Normalizat = 0.846076
  Prefactor  = 0.972891
 **********
 **   18 **HESSE 
 **********

 FCN=   11707.90     FROM HESSE     STATUS=OK           426 CALLS     1856 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    13.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0866        3.4380        .49831E-03   -1.5668    
   3  Prefactor     4.5114        1.5157        .47390E-02   -1.5283    
   4  Prefactor     6.5812        7.7150        .39080E-03   -1.5657    
   5  Prefactor     12.345        6.9135        .28440E-03   -1.5638    
   6  norm          1.2518        .70780        .99851E-03   -1.5686    
   7  Prefactor     .20539E-08    26.617        .14870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8022        5.7067        .41473E-03   -1.5660    
   9  norm          2.5648        2.6649        .63690E-03   -1.5676    
  10  Prefactor      .0000        .94086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .75151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.9434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1030        12.675        .10788E-02   -1.5687    
  14  Prefactor     2.8416        4.8684        .59571E-03   -1.5674    
  15  Prefactor     .27200E-08    7.8639        .13193E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0792        2.9087        .11772E-02   -1.5687    
  17  norm          14.148        6.6094        .26635E-03   -1.5633    
  18  Prefactor     14.292        16.428        .26223E-03   -1.5632    
  19  Prefactor     16.389        14.965        .24983E-03   -1.5627    
  20  Prefactor     8.4357        11.171        .34653E-03   -1.5650    
  21  norm           .0000        2.0408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84608        .17204        .80000E-01   -.98382    
  23  Prefactor     .97289        .84295E-01    .45932E-01   -.93639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69159e-06
Minuit parameter uncertainties:
  1  0.00032099
  2  3.43796
  3  1.51572
  4  7.71496
  5  6.9135
  6  0.7078
  7  0.000470747
  8  5.70666
  9  2.66485
  10  1.38159e-06
  11  3.544e-06
  12  6.57727e-06
  13  7.47829
  14  4.8684
  15  0.000291211
  16  2.90869
  17  6.60936
  18  16.4281
  19  14.9655
  20  11.1706
  21  6.94239e-06
  22  0.17215
  23  0.0843066
Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  5.802e+00  5.707e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.729e-01  8.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.461e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 9.77e-06

TS (Fixed Index): 1.43
Ra Dec: 194.663 -17.996
Photon Flux Upper Limit: 8.17650175535e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08024518934e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31401261/likelihoodResults_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11706.5757662
delta logL = 1.32854777583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.554168
delta logL = 1.35014598955

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11706.55     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82103        7.8256        .50960E-03   -.45471E-01
   2  alpha         4.5289        4.3269        .50000       -.88149E-04
   3  Normalizat    .73820        .62013E-01    .85150E-01   -.28251E-03
   4  Prefactor     1.0106        .32529E-01    .43225E-01   -.39890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821034
  alpha      = 4.52887
  Normalizat = 0.738196
  Prefactor  = 1.01063
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.55     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82103        11.491        .50618E-05   -1.5690    
   2  alpha         4.5289        4.4547        .30623E-01    .94679    
   3  Normalizat    .73820        .17155        .37709E-03   -1.0240    
   4  Prefactor     1.0106        .89229E-01    .17019E-03   -.92376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10746e-09
Minuit parameter uncertainties:
  1  6.14317
  2  4.72831
  3  0.171674
  4  0.0892425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11706.5541629
delta logL = 1.35015109999

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  8.210e-01  6.143e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        alpha:  4.529e+00  4.728e+00  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.011e+00  8.924e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.382e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 194.663 -17.996
Photon Index (Free Index): 4.53 +/- 4.73
Photon Flux (Free Index): 9.25e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.02e-05

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/31401261/cmap_HighResolution_804384001_804643201_4FGL_J1258.6-1759_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.34e-05', photon_flux_error='2.59e-08', dlogl='1.35e+00', energy_flux='9.93e-06', photon_flux2='9.25e-08', job_status='DONE', time_completed='2026-07-11 21:05:42.901718', photon_index_error2='4.73', photon_index2='4.53', ts='1.43', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='1.02e-05', EG='0.85', time_epoch_completed='1783829142.9', return_code='0', job_id='31401261', GAL2='1.01', EG2='0.74', return_code2='102', energy_flux_error='9.77e-06', photon_flux_error2='5.04e-08', ts2='4.73', photon_index='2.23' WHERE bin_id='2180' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 21:05:43 PDT 2026

