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

 FCN=   15009.74     FROM HESSE     STATUS=OK           497 CALLS     3734 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3011        47.948        .43565E-03   -1.5662    
   2  Prefactor     .13878E-08    10.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.415        8.1284        .27314E-03   -1.5635    
   4  Prefactor     14.240        22.620        .26530E-03   -1.5632    
   5  Prefactor     .25757E-06    40.642        .11991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .99920E-09    2.5817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    1.9368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .77716E-09    2.6601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33973E-07    4.3456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .52533        9.1299        .10361E-01   -1.5693    
  11  Prefactor     .18374E-07    4.4856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.076        14.525        .24960E-03   -1.5628    
  13  Prefactor     33.994        22.402        .17155E-03   -1.5591    
  14  norm          .86389E-01    .32310        .21835E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .30531E-08    3.0822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .53610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.3815        11.662        .36898E-03   -1.5654    
  18  norm          .16791        .67883        .33795E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .47591        2.2557        .81249E-03   -1.5694    
  20  norm          .43180        .84213        .30487E-02   -1.5695    
  21  Prefactor      .0000        .30453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3800        5.0150        .92388E-03   -1.5684    
  23  Prefactor     14.769        4.9135        .26007E-03   -1.5631    
  24  Normalizat    .74980        .14205        .81638E-01   -1.0196    
  25  Prefactor     1.2044        .79369E-01    .34529E-01   -.86197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00164e-05
Minuit parameter uncertainties:
  1  31.8862
  2  0.00024558
  3  8.12839
  4  22.6199
  5  0.00647081
  6  0.000101442
  7  2.19839e-05
  8  9.09366e-05
  9  0.000768469
  10  4.38005
  11  0.000573853
  12  14.5246
  13  22.4019
  14  0.3231
  15  0.000194162
  16  2.90452e-06
  17  11.662
  18  0.675228
  19  2.0722
  20  0.842125
  21  3.25896e-07
  22  5.01504
  23  4.91349
  24  0.142122
  25  0.0793771
/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).

Done.

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

Extracting fit parameters...

4FGL J0713.0+5738
   Spectrum: PowerLaw
284    Prefactor:  1.837e-08  5.739e-04  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  9.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
669    Prefactor:  1.204e+00  7.938e-02  0.000e+00  1.000e+01 ( 1.000e+00)
670        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
671        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
668   Normalization:  7.498e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 108.260 57.635
Photon Flux Upper Limit: 3.38708493339e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261724391335 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/13957884/likelihoodResults_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.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) = 15009.7408632
delta logL = -0.00320502106297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15009.7376582
delta logL = -7.28869054001e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15009.74     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      225 TOTAL
                     EDM=   .72E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4686        .42118E-03** at limit **
   2  Index         1.3962        .76548        .77792E-04     .0000    
   3  Normalizat    .74980        1.0894        .18641E-04   -.79500E-04
   4  Prefactor     1.2044        1.1016       -.56899E-05   -.22795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39616
  Normalizat = 0.749801
  Prefactor  = 1.20438
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15009.74     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .72E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16280        1.3224        .77792E-04   -.80491    
   3  Normalizat    .74980        1.0894        .18641E-04   -1.0196    
   4  Prefactor     1.2044        1.1016       -.56899E-05   -.86197    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.1521e-12
Minuit parameter uncertainties:
  1  5.01395e-06
  2  0.77184
  3  1.12361
  4  1.1238
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) = 15009.7376582
delta logL = 2.0518200472e-09

Extracting fit parameters...

4FGL J0713.0+5738
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  5.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  1.396e+00  7.718e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  9.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
669    Prefactor:  1.204e+00  1.124e+00  0.000e+00  1.000e+01 ( 1.000e+00)
670        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
671        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
668   Normalization:  7.498e-01  1.124e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 108.260 57.635

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/13957884/cmap_HighResolution_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.39e-08', time_completed='2025-10-18 16:13:46.716157', job_id='13957884', GAL2='1.20', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1760829226.72', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.05e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2093' AND source_name='4FGL J0713.0+5738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 18 16:13:47 PDT 2025

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


Performing analysis on: 4FGL_J0713.0+5738_daily_bin2093
RA = 108.26, Dec = 57.6345
tmin = 781833601, tmax = 782092801
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='13958842', job_status='RUN', time_executed='2025-10-18 16:12:33.702266', time_epoch_executed='1760829153.7' WHERE source_name='4FGL J0713.0+5738' and cadence='daily' and bin_id='2093'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/13958842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/13958842/ft1_4FGL_J0713.0+5738_daily_bin2093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/13958842/ft1_4FGL_J0713.0+5738_daily_bin2093.fits outfile=/lscratch/kocevski/13958842/ft1_filteredMKT_4FGL_J0713.0+5738_daily_bin2093.fits ra=108.26 dec=57.6345 rad=12.0 tmin=781833601.0 tmax=782092801.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.18
user 1.54
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.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/13958842/ft1_filteredMKT_4FGL_J0713.0+5738_daily_bin2093.fits evtable="EVENTS" outfile="/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.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.77
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1405

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits" evtable="EVENTS" scfile=/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits sctable="SC_DATA" outfile=/lscratch/kocevski/13958842/ltcube_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.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/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits
.....................!
real 8.47
user 7.78
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits evtable="EVENTS" scfile=/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits sctable="SC_DATA" expcube=/lscratch/kocevski/13958842/ltcube_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.fits outfile=/lscratch/kocevski/13958842/expmap_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.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/13958842/ltcube_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.fits
.....................!
real 74.87
user 70.31
sys 3.65

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

Setting source of interest to:
4FGL J0713.0+5738 @ 108.26 57.6345

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits scfile=/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits outfile=/lscratch/kocevski/13958842/cmap_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.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=108.26 yref=57.6345 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.73
user 0.19
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits scfile=/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits outfile=/lscratch/kocevski/13958842/cmap_HighResolution_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.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=108.26 yref=57.6345 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits evtable="EVENTS" scfile=/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/13958842/Model_4FGL_J0713.0+5738_daily_bin2093.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/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits.....................!
real 58.29
user 56.71
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits', '/lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits', expMap='/lscratch/kocevski/13958842/expmap_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.fits', expCube='/lscratch/kocevski/13958842/ltcube_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/13958842/Model_4FGL_J0713.0+5738_daily_bin2093.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0713.0+5738'

4FGL J0713.0+5738
   Spectrum: PowerLaw
284    Prefactor:  5.768e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  9.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/13958842/ft1_filtered_4FGL_J0713.0+5738_daily_bin2093.fits
Spacecraft file(s): /lscratch/kocevski/13958842/ft2_4FGL_J0713.0+5738_daily_bin2093.fits
Exposure map: /lscratch/kocevski/13958842/expmap_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.fits
Exposure cube: /lscratch/kocevski/13958842/ltcube_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/13958842/Model_4FGL_J0713.0+5738_daily_bin2093.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) = 15009.738797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3165       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58892E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.423       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.226       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18815       1.0000          .0000       .10000E+07
     6 'norm      '    .28715E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .20365E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .17605E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10905E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .50084       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24725E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    16.067       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.988       1.0000          .0000       .10000E+07
    14 'norm      '    .86669E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .27704E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.3790       1.0000          .0000       .10000E+07
    18 'norm      '    .16720       1.0000          .0000       .10000E+07
    19 'norm      '    .47516       1.0000          .0000       .10000E+07
    20 'norm      '    .43150       1.0000          .0000       .10000E+07
    21 'Prefactor '    .55511E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.3850       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.802       1.0000          .0000       .10000E+07
    24 'Normalizat'    .74961       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2044       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15009.74     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     3237 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3011        4.6591        .30478E-06    .15666E-01
   2  Prefactor     .13878E-08    10.691       -.40913E-06** at limit **
   3  Prefactor     13.415        1.3450       -.36974E-07   -.46650E-02
   4  Prefactor     14.240        1.1237        .15064E-07   -.19120E-01
   5  Prefactor     .25757E-06    15.222       -.17076E-05** at limit **
   6  norm          .99920E-09    2.5879        .11171E-07** at limit **
   7  norm          .55511E-10    1.9470        .37660E-06** at limit **
   8  Prefactor     .77716E-09    2.6613        .30678E-06** at limit **
   9  Prefactor     .33973E-07    3.5269        .45945E-06** at limit **
  10  Prefactor     .52533        86.753       -.33990E-05   -.34323E-03
  11  Prefactor     .18374E-07    3.8191       -.38717E-06** at limit **
  12  Prefactor     16.076        1.2080        .10342E-07   -.11359E-01
  13  Prefactor     33.994        2.5583       -.11481E-06    .12319    
  14  norm          .86389E-01    .83916       -.30417E-08** at limit **
  15  Prefactor     .30531E-08    3.0291       -.33494E-06** at limit **
  16  norm           .0000        .53622       -.15894E-06** at limit **
  17  Prefactor     7.3815        1.1607        .25146E-07   -.36449E-02
  18  norm          .16791        1.5576       -.26858E-06** at limit **
  19  norm          .47591        2.1744        .22436E-07   -.21797E-04
  20  norm          .43180        .71383        .60658E-07   -.16233E-02
  21  Prefactor      .0000        .30788        .83556E-07** at limit **
  22  Prefactor     1.3800        4.9728        .22008E-07    .32936E-04
  23  Prefactor     14.769        4.8882       -.48624E-08    .60280E-03
  24  Normalizat    .74980        .15010       -.72700E-05    .10279E-03
  25  Prefactor     1.2044        .86151E-01    .22963E-05    .29164E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.30108
  Prefactor  = 1.38778e-09
  Prefactor  = 13.4146
  Prefactor  = 14.2401
  Prefactor  = 2.57572e-07
  norm       = 9.99201e-10
  norm       = 5.55112e-11
  Prefactor  = 7.77156e-10
  Prefactor  = 3.39728e-08
  Prefactor  = 0.52533
  Prefactor  = 1.83742e-08
  Prefactor  = 16.0761
  Prefactor  = 33.9945
  norm       = 0.0863891
  Prefactor  = 3.05311e-09
  norm       = 0
  Prefactor  = 7.3815
  norm       = 0.167911
  norm       = 0.475906
  norm       = 0.431805
  Prefactor  = 0
  Prefactor  = 1.37998
  Prefactor  = 14.7688
  Normalizat = 0.749801
  Prefactor  = 1.20438
 **********
 **   18 **HESSE 
 **********

 FCN=   15009.74     FROM HESSE     STATUS=OK           497 CALLS     3734 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3011        47.948        .43565E-03   -1.5662    
   2  Prefactor     .13878E-08    10.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.415        8.1284        .27314E-03   -1.5635    
   4  Prefactor     14.240        22.620        .26530E-03   -1.5632    
   5  Prefactor     .25757E-06    40.642        .11991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .99920E-09    2.5817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    1.9368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .77716E-09    2.6601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33973E-07    4.3456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .52533        9.1299        .10361E-01   -1.5693    
  11  Prefactor     .18374E-07    4.4856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.076        14.525        .24960E-03   -1.5628    
  13  Prefactor     33.994        22.402        .17155E-03   -1.5591    
  14  norm          .86389E-01    .32310        .21835E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .30531E-08    3.0822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .53610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.3815        11.662        .36898E-03   -1.5654    
  18  norm          .16791        .67883        .33795E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .47591        2.2557        .81249E-03   -1.5694    
  20  norm          .43180        .84213        .30487E-02   -1.5695    
  21  Prefactor      .0000        .30453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3800        5.0150        .92388E-03   -1.5684    
  23  Prefactor     14.769        4.9135        .26007E-03   -1.5631    
  24  Normalizat    .74980        .14205        .81638E-01   -1.0196    
  25  Prefactor     1.2044        .79369E-01    .34529E-01   -.86197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00164e-05
Minuit parameter uncertainties:
  1  31.8862
  2  0.00024558
  3  8.12839
  4  22.6199
  5  0.00647081
  6  0.000101442
  7  2.19839e-05
  8  9.09366e-05
  9  0.000768469
  10  4.38005
  11  0.000573853
  12  14.5246
  13  22.4019
  14  0.3231
  15  0.000194162
  16  2.90452e-06
  17  11.662
  18  0.675228
  19  2.0722
  20  0.842125
  21  3.25896e-07
  22  5.01504
  23  4.91349
  24  0.142122
  25  0.0793771
Done.

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

Extracting fit parameters...

4FGL J0713.0+5738
   Spectrum: PowerLaw
284    Prefactor:  1.837e-08  5.739e-04  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  9.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
669    Prefactor:  1.204e+00  7.938e-02  0.000e+00  1.000e+01 ( 1.000e+00)
670        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
671        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
668   Normalization:  7.498e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 108.260 57.635
Photon Flux Upper Limit: 3.38708493339e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261724391335 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/13958842/likelihoodResults_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.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) = 15009.7408632
delta logL = -0.00320502106297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15009.7376582
delta logL = -7.28869054001e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15009.74     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      225 TOTAL
                     EDM=   .72E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4686        .42118E-03** at limit **
   2  Index         1.3962        .76548        .77792E-04     .0000    
   3  Normalizat    .74980        1.0894        .18641E-04   -.79500E-04
   4  Prefactor     1.2044        1.1016       -.56899E-05   -.22795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39616
  Normalizat = 0.749801
  Prefactor  = 1.20438
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15009.74     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .72E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16280        1.3224        .77792E-04   -.80491    
   3  Normalizat    .74980        1.0894        .18641E-04   -1.0196    
   4  Prefactor     1.2044        1.1016       -.56899E-05   -.86197    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.1521e-12
Minuit parameter uncertainties:
  1  5.01395e-06
  2  0.77184
  3  1.12361
  4  1.1238
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) = 15009.7376582
delta logL = 2.0518200472e-09

Extracting fit parameters...

4FGL J0713.0+5738
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  5.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  1.396e+00  7.718e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  9.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
669    Prefactor:  1.204e+00  1.124e+00  0.000e+00  1.000e+01 ( 1.000e+00)
670        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
671        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
668   Normalization:  7.498e-01  1.124e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 108.260 57.635

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/13958842/cmap_HighResolution_781833601_782092801_4FGL_J0713.0+5738_daily_bin2093.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.39e-08', time_completed='2025-10-18 16:25:12.630181', job_id='13958842', GAL2='1.20', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1760829912.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.05e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2093' AND source_name='4FGL J0713.0+5738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 18 16:25:12 PDT 2025

