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

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

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

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

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

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

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


Performing analysis on: 4FGL_J1513.4-3231_daily_bin2163
RA = 228.369, Dec = -32.5265
tmin = 799977601, tmax = 800236801
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='26504115', job_status='RUN', time_executed='2026-05-12 00:53:14.334039', time_epoch_executed='1778572394.33' WHERE source_name='4FGL J1513.4-3231' and cadence='daily' and bin_id='2163'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26504115

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26504115/ft1_4FGL_J1513.4-3231_daily_bin2163.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26504115/ft1_4FGL_J1513.4-3231_daily_bin2163.fits outfile=/lscratch/kocevski/26504115/ft1_filteredMKT_4FGL_J1513.4-3231_daily_bin2163.fits ra=228.369 dec=-32.5265 rad=12.0 tmin=799977601.0 tmax=800236801.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.04
user 1.52
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.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/26504115/ft1_filteredMKT_4FGL_J1513.4-3231_daily_bin2163.fits evtable="EVENTS" outfile="/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.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.78
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 11

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26504115/ltcube_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.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/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits
.....................!
real 10.13
user 9.49
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits evtable="EVENTS" scfile=/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26504115/ltcube_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.fits outfile=/lscratch/kocevski/26504115/expmap_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.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/26504115/ltcube_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.fits
.....................!
real 75.39
user 70.04
sys 4.42

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Added 269 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1513.4-3231 @ 228.369 -32.5265

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits scfile=/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits outfile=/lscratch/kocevski/26504115/cmap_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.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=228.369 yref=-32.5265 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits scfile=/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits outfile=/lscratch/kocevski/26504115/cmap_HighResolution_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.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=228.369 yref=-32.5265 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.65
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits evtable="EVENTS" scfile=/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26504115/Model_4FGL_J1513.4-3231_daily_bin2163.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FHES J1626.9-2431
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1616-508
Working on...
/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits...........!
real 8.08
user 6.73
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits', '/lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits', expMap='/lscratch/kocevski/26504115/expmap_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.fits', expCube='/lscratch/kocevski/26504115/ltcube_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26504115/Model_4FGL_J1513.4-3231_daily_bin2163.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1513.4-3231'

4FGL J1513.4-3231
   Spectrum: LogParabola
350         norm:  2.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.360e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
352         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  8.240e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26504115/ft1_filtered_4FGL_J1513.4-3231_daily_bin2163.fits
Spacecraft file(s): /lscratch/kocevski/26504115/ft2_4FGL_J1513.4-3231_daily_bin2163.fits
Exposure map: /lscratch/kocevski/26504115/expmap_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.fits
Exposure cube: /lscratch/kocevski/26504115/ltcube_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26504115/Model_4FGL_J1513.4-3231_daily_bin2163.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 134.960170824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 134.502948322

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1552       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.1892       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.1366       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2128       1.0000          .0000       .10000E+07
     5 'norm      '    9.6115       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7520       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7634       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.7107       1.0000          .0000       .10000E+07
     9 'norm      '    1.0279       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5959       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2687       1.0000          .0000       .10000E+07
    12 'norm      '    2.0092       1.0000          .0000       .10000E+07
    13 'norm      '    6.8872       1.0000          .0000       .10000E+07
    14 'norm      '    1.1405       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8458       1.0000          .0000       .10000E+07
    16 'norm      '    2.0008       1.0000          .0000       .10000E+07
    17 'norm      '    156.43       1.0000          .0000       .10000E+07
    18 'Normalizat'    4.6231       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .50150E-08   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   134.5025     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      140 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1552        1.0131         .0000         .0000    
   2  Prefactor     5.1892        1.0047         .0000         .0000    
   3  Prefactor     6.1366        1.0034         .0000         .0000    
   4  Prefactor     2.2128        1.0281         .0000         .0000    
   5  norm          9.6115        1.0014         .0000         .0000    
   6  Prefactor     9.7520        1.0013         .0000         .0000    
   7  Prefactor     6.7634        1.0028         .0000         .0000    
   8  Prefactor     1.3226        .48312        .13014E-06    .23274E-01
   9  norm          1.0279        1.2745         .0000         .0000    
  10  Prefactor     1.5959        1.0602         .0000         .0000    
  11  Prefactor     3.2687        1.0122         .0000         .0000    
  12  norm          2.0092        1.0349         .0000         .0000    
  13  norm          .34031E-01    .70481E-01    .30554E-06** at limit **
  14  norm          1.1405        1.1621         .0000         .0000    
  15  Prefactor     2.8458        1.0163         .0000         .0000    
  16  norm          2.0008        1.0352         .0000         .0000    
  17  norm          157.02        1.0019       -.32028E-08    .11414    
  18  Normalizat    4.6217        1.0001        .71970E-04   -.16938E-06
  19  Prefactor     .17697E-11    .25504        .86035E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 3.15516
  Prefactor  = 5.18918
  Prefactor  = 6.13663
  Prefactor  = 2.21282
  norm       = 9.61151
  Prefactor  = 9.752
  Prefactor  = 6.7634
  Prefactor  = 1.32257
  norm       = 1.02786
  Prefactor  = 1.59586
  Prefactor  = 3.26869
  norm       = 2.00915
  norm       = 0.0340309
  norm       = 1.14052
  Prefactor  = 2.84584
  norm       = 2.00079
  norm       = 157.018
  Normalizat = 4.62167
  Prefactor  = 1.7697e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   134.5025     FROM HESSE     STATUS=FAILED        11 CALLS      151 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62763.        62760.         .0000       -1.5672    
   2  Prefactor     5.1892        1.0047         .0000       -1.5662    
   3  Prefactor     6.1366        1.0034         .0000       -1.5658    
   4  Prefactor     2.2128        1.0281         .0000       -1.5678    
   5  norm          9.6115        1.0014         .0000       -1.5646    
   6  Prefactor     9.7520        1.0013         .0000       -1.5646    
   7  Prefactor     6.7634        1.0028         .0000       -1.5656    
   8  Prefactor     1.3226        .48312        .13014E-06   -1.5685    
   9  norm          1.0279        1.2745         .0000       -1.5688    
  10  Prefactor     1.5959        1.0602         .0000       -1.5683    
  11  Prefactor     3.2687        1.0122         .0000       -1.5672    
  12  norm          2.0092        1.0349         .0000       -1.5680    
  13  norm          .34031E-01    .70481E-01    .30554E-06   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1405        1.1621         .0000       -1.5687    
  15  Prefactor     2.8458        1.0163         .0000       -1.5674    
  16  norm          2.0008        1.0352         .0000       -1.5680    
  17  norm          157.02        1.0019       -.32028E-08   -1.5457    
  18  Normalizat    4.6217        1.0001        .71970E-04   -.76819E-01
  19  Prefactor     .17697E-11    .25504        .86035E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.45598e-10
Minuit parameter uncertainties:
  1  1.01314
  2  1.00472
  3  1.00336
  4  1.02813
  5  1.00136
  6  1.00132
  7  1.00276
  8  0.483116
  9  1.27451
  10  1.0602
  11  1.01221
  12  1.03491
  13  0.070481
  14  1.16214
  15  1.01633
  16  1.03524
  17  1.00188
  18  1.00695
  19  1.34949e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 134.502515446

Extracting fit parameters...

4FGL J1513.4-3231
   Spectrum: LogParabola
350         norm:  2.009e+00  1.035e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.360e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
352         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  8.240e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
944    Prefactor:  1.770e-12  1.349e-06  0.000e+00  1.000e+01 ( 1.000e+00)
945        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
946        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
928   Normalization:  4.622e+00  1.007e+00  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 1000000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 228.369 -32.526
Photon Flux Upper Limit: -1 ph cm-2 s-1
Energy Flux Upper Limit: -349.105887936 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26504115/likelihoodResults_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.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): 101
logL (Free Index) = 134.502515446
delta logL = 5.23556309417e-10

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 134.502515446
delta logL = 5.23556309417e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.3601       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   134.5025     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.3601        1.0003        .41233         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.36014
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   134.5025     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       1.1594        1.2125        .41233       -.55973E-01
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 134.502515446
delta logL = 5.23556309417e-10

Extracting fit parameters...

4FGL J1513.4-3231
   Spectrum: LogParabola
350         norm:  2.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12) fixed
351        alpha:  2.360e+00  1.029e+00  0.000e+00  5.000e+00 ( 1.000e+00)
352         beta:  1.374e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  8.240e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
944    Prefactor:  8.438e-14  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
945        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
946        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
928   Normalization:  4.622e+00  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 228.369 -32.526

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/26504115/cmap_HighResolution_799977601_800236801_4FGL_J1513.4-3231_daily_bin2163.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-3.49e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2026-05-12 00:57:43.423884', job_id='26504115', GAL2='0.00', fit_tolerance='1e-08', EG2='4.62', EG='4.62', time_epoch_completed='1778572663.42', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='5.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='2163' AND source_name='4FGL J1513.4-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May 12 00:57:43 PDT 2026

