/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 = 17438
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1345.8+0706_weekly_bin916
RA = 206.465, Dec = 7.1072
tmin = 792979201, tmax = 793584001
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='21681196', job_status='RUN', time_executed='2026-02-24 00:57:08.445004', time_epoch_executed='1771923428.45' WHERE source_name='4FGL J1345.8+0706' and cadence='weekly' and bin_id='916'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/21681196

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/21681196/ft1_4FGL_J1345.8+0706_weekly_bin916.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/21681196/ft1_4FGL_J1345.8+0706_weekly_bin916.fits outfile=/lscratch/kocevski/21681196/ft1_filteredMKT_4FGL_J1345.8+0706_weekly_bin916.fits ra=206.465 dec=7.1072 rad=12.0 tmin=792979201.0 tmax=793584001.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 5.05
user 4.48
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.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/21681196/ft1_filteredMKT_4FGL_J1345.8+0706_weekly_bin916.fits evtable="EVENTS" outfile="/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 942

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits" evtable="EVENTS" scfile=/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits sctable="SC_DATA" outfile=/lscratch/kocevski/21681196/ltcube_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.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/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits
.....................!
real 23.51
user 22.71
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits evtable="EVENTS" scfile=/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits sctable="SC_DATA" expcube=/lscratch/kocevski/21681196/ltcube_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.fits outfile=/lscratch/kocevski/21681196/expmap_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.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/21681196/ltcube_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.fits
.....................!
real 65.88
user 61.56
sys 3.82

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

Setting source of interest to:
4FGL J1345.8+0706 @ 206.465 7.1072

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits scfile=/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits outfile=/lscratch/kocevski/21681196/cmap_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.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=206.465 yref=7.1072 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits scfile=/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits outfile=/lscratch/kocevski/21681196/cmap_HighResolution_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.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=206.465 yref=7.1072 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits evtable="EVENTS" scfile=/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/21681196/Model_4FGL_J1345.8+0706_weekly_bin916.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/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits.....................!
real 30.51
user 28.60
sys 1.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits', '/lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits', expMap='/lscratch/kocevski/21681196/expmap_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.fits', expCube='/lscratch/kocevski/21681196/ltcube_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/21681196/Model_4FGL_J1345.8+0706_weekly_bin916.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1345.8+0706'

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.852e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/21681196/ft1_filtered_4FGL_J1345.8+0706_weekly_bin916.fits
Spacecraft file(s): /lscratch/kocevski/21681196/ft2_4FGL_J1345.8+0706_weekly_bin916.fits
Exposure map: /lscratch/kocevski/21681196/expmap_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.fits
Exposure cube: /lscratch/kocevski/21681196/ltcube_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/21681196/Model_4FGL_J1345.8+0706_weekly_bin916.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) = 10496.4183293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.479       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28500E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11733E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12730E-02   1.0000          .0000       .10000E+07
     5 'norm      '    21.163       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20040E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.907       1.0000          .0000       .10000E+07
     8 'Prefactor '    .95096E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8079       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0973       1.0000          .0000       .10000E+07
    11 'Prefactor '    .59935E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    96.694       1.0000          .0000       .10000E+07
    13 'norm      '    .10480E-02   1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0613       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10495.73     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      809 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.335        14.974        .19305E-07   -.42173E-04
   2  Prefactor      .0000        8.6031        .24194E-06** at limit **
   3  Prefactor      .0000        26.239       -.14859E-06** at limit **
   4  Prefactor     .11102E-09    33.401       -.31950E-06** at limit **
   5  norm          21.206        1.1085       -.21988E-08   -.13167E-02
   6  Prefactor      .0000        1.1141       -.31864E-07** at limit **
   7  Prefactor     20.945        1.2203       -.37714E-09   -.46887E-02
   8  Prefactor      .0000        1.5108        .69703E-07** at limit **
   9  Prefactor     1.7632        8.9508       -.11043E-06    .15725E-04
  10  Prefactor     1.0422        14.567       -.43743E-07    .11021E-03
  11  Prefactor      .0000        6.5523       -.28417E-07** at limit **
  12  Prefactor     96.395        2.5228       -.73234E-08   -.85030E-02
  13  norm           .0000        19.871        .11284E-07** at limit **
  14  Normalizat    .96019        .18049        .48261E-06    .27085E-04
  15  Prefactor     1.0612        .13764       -.13092E-05    .44133E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3347
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 21.2061
  Prefactor  = 0
  Prefactor  = 20.9452
  Prefactor  = 0
  Prefactor  = 1.76321
  Prefactor  = 1.04222
  Prefactor  = 0
  Prefactor  = 96.3954
  norm       = 0
  Normalizat = 0.960194
  Prefactor  = 1.06121
 **********
 **   18 **HESSE 
 **********

 FCN=   10495.73     FROM HESSE     STATUS=OK           208 CALLS     1017 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.335        14.989        .27257E-03   -1.5635    
   2  Prefactor      .0000        8.5650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        26.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    33.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          21.206        23.324        .21744E-03   -1.5616    
   6  Prefactor      .0000        1.1181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.945        14.577        .21877E-03   -1.5616    
   8  Prefactor      .0000        1.5108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7632        9.0257        .77686E-03   -1.5681    
  10  Prefactor     1.0422        14.891        .11363E-02   -1.5688    
  11  Prefactor      .0000        6.5499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     96.395        25.943        .10170E-03   -1.5512    
  13  norm           .0000        19.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .96019        .15437        .45659E-01   -.94376    
  15  Prefactor     1.0612        .11684        .39291E-01   -.90716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31217e-07
Minuit parameter uncertainties:
  1  14.9887
  2  8.83067e-07
  3  1.53313e-06
  4  0.000135486
  5  23.3237
  6  4.66219e-07
  7  14.577
  8  1.37871e-06
  9  7.97855
  10  7.87915
  11  7.0149e-06
  12  25.9433
  13  2.131e-05
  14  0.154443
  15  0.11687
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  4.662e-07  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.061e+00  1.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.602e-01  1.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 4.77484488377e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00370018453631 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/21681196/likelihoodResults_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.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) = 10495.7359958
delta logL = -0.00319320895687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10495.7328027
delta logL = -1.32187778945e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10495.73     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      227 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1008        .42118E-03** at limit **
   2  Index         2.4917        1.2609       -.11304E-05     .0000    
   3  Normalizat    .96019        1.2923        .31580E-05   -.41949E-04
   4  Prefactor     1.0612        1.1793       -.34336E-05   -.83202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.49167
  Normalizat = 0.960194
  Prefactor  = 1.06121
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10495.73     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69935        1.9013       -.11304E-05   -.52552    
   3  Normalizat    .96019        1.2923        .31580E-05   -.94376    
   4  Prefactor     1.0612        1.1793       -.34336E-05   -.90716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.75559e-12
Minuit parameter uncertainties:
  1  1.97519e-06
  2  1.2795
  3  1.33838
  4  1.21016
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) = 10495.7328026
delta logL = 0.0

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  1.975e-06  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.492e+00  1.280e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.061e+00  1.210e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.602e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 206.465 7.107

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/21681196/cmap_HighResolution_792979201_793584001_4FGL_J1345.8+0706_weekly_bin916.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2026-02-24 01:03:47.653578', job_id='21681196', GAL2='1.06', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1771923827.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='916' AND source_name='4FGL J1345.8+0706' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 24 01:03:48 PST 2026

