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

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33487441/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:11:21.922244', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298281.92', return_code='0', job_id='33487441', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:11:22 PDT 2026

/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).

 outfile=/lscratch/kocevski/33489878/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
.....................!
real 18.27
user 17.57
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33489878/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33489878/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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/33489878/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
.....................!
real 69.93
user 65.10
sys 3.95

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 195 point sources and 4 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 J2347.0+5141 @ 356.766 51.6966

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits scfile=/lscratch/kocevski/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33489878/cmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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=356.766 yref=51.6966 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits scfile=/lscratch/kocevski/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33489878/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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=356.766 yref=51.6966 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488350/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33488350/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488350/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 280.61
user 276.98
sys 1.48

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488350/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33488350/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33488350/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33488350/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488350/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488350/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488350/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488350/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488350/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488350/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488425/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33488425/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488425/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 275.99
user 272.75
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488425/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33488425/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33488425/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33488425/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488425/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488425/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488425/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488425/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488425/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488425/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2347.0+5141_weekly_bin938
RA = 356.766, Dec = 51.6966
tmin = 806284801, tmax = 806889601
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='33490182', job_status='RUN', time_executed='2026-07-28 21:11:35.929983', time_epoch_executed='1785298295.93' WHERE source_name='4FGL J2347.0+5141' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33490182

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33490182/ft1_4FGL_J2347.0+5141_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33490182/ft1_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33490182/ft1_filteredMKT_4FGL_J2347.0+5141_weekly_bin938.fits ra=356.766 dec=51.6966 rad=12.0 tmin=806284801.0 tmax=806889601.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.65
user 4.73
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.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/33490182/ft1_filteredMKT_4FGL_J2347.0+5141_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.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.21
sys 0.13

Number of photons that the gtmktime cut: 6094

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488595/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33488595/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488595/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 280.87
user 276.89
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488595/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33488595/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33488595/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33488595/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488595/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488595/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488595/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488595/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488595/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488595/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
 outfile=/lscratch/kocevski/33490182/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
.....................!
real 18.22
user 17.53
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33490182/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33490182/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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/33490182/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
.....................!
real 66.00
user 61.06
sys 3.86

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 195 point sources and 4 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 J2347.0+5141 @ 356.766 51.6966

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits scfile=/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33490182/cmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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=356.766 yref=51.6966 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.74
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits scfile=/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits outfile=/lscratch/kocevski/33490182/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.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=356.766 yref=51.6966 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.84
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weeklyDone.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33488350/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:16:50.564099', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298610.56', return_code='0', job_id='33488350', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:16:50 PDT 2026

bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488847/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33488847/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488847/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 267.65
user 264.95
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488847/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33488847/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33488847/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33488847/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488847/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488847/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488847/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488847/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488847/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488847/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33488425/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:17:29.888234', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298649.89', return_code='0', job_id='33488425', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:17:30 PDT 2026

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

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33488595/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:18:58.105590', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298738.11', return_code='0', job_id='33488595', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:18:58 PDT 2026

_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489255/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489255/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489255/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 270.07
user 266.72
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489255/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489255/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489255/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489255/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489255/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489255/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489255/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489255/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489255/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489255/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489254/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489254/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489254/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 269.91
user 266.43
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489254/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489254/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489254/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489254/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489254/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489254/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489254/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489254/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489254/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489254/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33488847/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:19:56.544617', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298796.54', return_code='0', job_id='33488847', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:19:56 PDT 2026

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

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488965/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33488965/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488965/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 304.43
user 300.76
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488965/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33488965/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33488965/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33488965/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488965/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488965/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488965/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488965/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488965/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488965/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489315/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489315/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489315/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 292.30
user 288.69
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489315/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489315/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489315/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489315/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489315/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489315/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489315/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489315/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489315/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489315/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489255/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:21:59.758581', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298919.76', return_code='0', job_id='33489255', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:22:00 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489254/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:22:21.626006', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785298941.63', return_code='0', job_id='33489254', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:22:21 PDT 2026

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

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489063/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489063/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489063/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 352.62
user 347.96
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489063/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489063/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489063/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489063/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489063/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489063/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489063/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489063/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489063/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489063/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33488965/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:23:55.418012', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299035.42', return_code='0', job_id='33488965', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:23:55 PDT 2026

_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489795/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489795/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489795/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 314.71
user 311.19
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489795/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489795/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489795/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489795/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489795/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489795/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489795/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489795/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489795/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489795/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489804/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489804/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489804/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 301.46
user 291.99
sys 1.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489804/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489804/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489804/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489804/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489804/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489804/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489804/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489804/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489804/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489804/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489315/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:24:20.273103', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299060.27', return_code='0', job_id='33489315', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:24:20 PDT 2026

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

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33489878/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 313.08
user 309.23
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33489878/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33489878/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33489878/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33489878/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33489878/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33489878/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33489878/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33489878/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489063/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:26:45.611601', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299205.61', return_code='0', job_id='33489063', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:26:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489795/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:27:17.301269', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299237.3', return_code='0', job_id='33489795', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:27:17 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489804/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:27:37.850487', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299257.85', return_code='0', job_id='33489804', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:27:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33489878/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:28:35.338611', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299315.34', return_code='0', job_id='33489878', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:28:35 PDT 2026

_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33490182/Model_4FGL_J2347.0+5141_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits.....................!
real 295.75
user 292.54
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits', '/lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits', expMap='/lscratch/kocevski/33490182/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', expCube='/lscratch/kocevski/33490182/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33490182/Model_4FGL_J2347.0+5141_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.0+5141'

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  7.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33490182/ft1_filtered_4FGL_J2347.0+5141_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33490182/ft2_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33490182/expmap_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33490182/ltcube_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33490182/Model_4FGL_J2347.0+5141_weekly_bin938.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) = 59653.5168705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5098       1.0000          .0000       .10000E+07
     2 'norm      '    1.0898       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4471       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4165       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.747       1.0000          .0000       .10000E+07
     6 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.615       1.0000          .0000       .10000E+07
    11 'norm      '    16.181       1.0000          .0000       .10000E+07
    12 'norm      '    6.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.791       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   59653.51     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5089        1.0538       -.27421E-07   -.16982E-01
   2  norm          1.0898        .63753        .61601E-07   -.29812E-02
   3  Prefactor     2.4469        1.5009        .95150E-07   -.45034E-02
   4  Prefactor     6.4202        1.3495        .48384E-07    .12287    
   5  Prefactor     23.743        1.1324        .24694E-07   -.48758E-01
   6  norm           .0000        .68832        .12039E-06** at limit **
   7  Prefactor     .20539E-08    9.3485        .13858E-05** at limit **
   8  norm           .0000        2.8870       -.20999E-06** at limit **
   9  norm          .19984E-08    10.818       -.84778E-06** at limit **
  10  Prefactor     11.620        1.0733       -.27614E-07    .30685E-01
  11  norm          16.180        6.2428        .88090E-07   -.28364E-01
  12  norm          6.0989        4.5989        .12224E-06   -.73751E-03
  13  Prefactor     18.793        1.0264       -.12924E-07    .25320E-01
  14  Normalizat    1.0007        .11795        .27576E-05   -.69905E-04
  15  Prefactor     .96194        .21096E-01    .27833E-07   -.23737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50891
  norm       = 1.08978
  Prefactor  = 2.44694
  Prefactor  = 6.42017
  Prefactor  = 23.7431
  norm       = 0
  Prefactor  = 2.05391e-09
  norm       = 0
  norm       = 1.9984e-09
  Prefactor  = 11.6197
  norm       = 16.1804
  norm       = 6.09895
  Prefactor  = 18.7934
  Normalizat = 1.0007
  Prefactor  = 0.961939
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.51     FROM HESSE     STATUS=OK           218 CALLS     1375 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5089        12.532        .36573E-03   -1.5653    
   2  norm          1.0898        .62415        .11459E-02   -1.5687    
   3  Prefactor     2.4469        1.5418        .65368E-03   -1.5677    
   4  Prefactor     6.4202        8.6423        .39599E-03   -1.5657    
   5  Prefactor     23.743        19.857        .20526E-03   -1.5611    
   6  norm           .0000        .68815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20539E-08    9.3597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19984E-08    10.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.620        21.922        .29369E-03   -1.5640    
  11  norm          16.180        6.2647        .24872E-03   -1.5628    
  12  norm          6.0989        4.6021        .40630E-03   -1.5659    
  13  Prefactor     18.793        28.117        .23077E-03   -1.5621    
  14  Normalizat    1.0007        .12197        .14818       -.93007    
  15  Prefactor     .96194        .20988E-01    .27384E-01   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03902e-07
Minuit parameter uncertainties:
  1  12.5325
  2  0.624154
  3  1.54175
  4  8.64231
  5  19.8571
  6  1.1273e-06
  7  0.000275911
  8  7.68604e-06
  9  0.000294433
  10  21.9217
  11  6.26469
  12  4.60211
  13  28.1169
  14  0.122008
  15  0.020988
Done.

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

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.099e+00  4.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.746e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.099e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.001e+00  1.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.34
Ra Dec: 356.766 51.697
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.23e-08 +/- 9.31e-09
Energy Flux (Fixed Index): 1.68e-05 +/- 1.26e-05

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) = 59653.5028599
delta logL = 0.0106108606924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027835
delta logL = 0.010687317641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   59653.50     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      281 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0571        4.6316        .81427E-04    .14006E-02
   2  alpha         1.6665        .53643        .35367E-01   -.93159E-04
   3  Normalizat    1.0018        .11530        .65829E-03    .93397E-05
   4  Prefactor     .96194        .21007E-01    .12102E-03   -.75151E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.05712
  alpha      = 1.66654
  Normalizat = 1.00175
  Prefactor  = 0.961943
 **********
 **   18 **HESSE 
 **********

 FCN=   59653.50     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0571        4.6680        .16285E-04   -1.5659    
   2  alpha         1.6665        .54186        .70735E-02   -.33989    
   3  Normalizat    1.0018        .11530        .13166E-03   -.92972    
   4  Prefactor     .96194        .21009E-01    .48409E-05   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21238e-14
Minuit parameter uncertainties:
  1  4.66805
  2  0.546746
  3  0.115331
  4  0.0210092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 59653.5027656
delta logL = 0.010705227236

Extracting fit parameters...

4FGL J2347.0+5141
   Spectrum: LogParabola
615         norm:  6.057e+00  4.668e+00  0.000e+00  1.000e+06 ( 1.000e-13)
616        alpha:  1.667e+00  5.467e-01  0.000e+00  5.000e+00 ( 1.000e+00)
617         beta:  3.654e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
618           Eb:  1.935e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.619e-01  2.101e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.002e+00  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 356.766 51.697
Photon Index (Free Index): 1.67 +/- 0.55
Photon Flux (Free Index): 1.08e-08 +/- 1.28e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.93e-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/33490182/cmap_HighResolution_806284801_806889601_4FGL_J2347.0+5141_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-08', energy_flux2='1.86e-05', photon_flux_error='9.31e-09', dlogl='1.07e-02', energy_flux='1.68e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2026-07-28 21:32:45.553569', photon_index_error2='0.55', photon_index2='1.67', ts='4.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.00', time_epoch_completed='1785299565.55', return_code='0', job_id='33490182', GAL2='0.96', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.28e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='938' AND source_name='4FGL J2347.0+5141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:32:45 PDT 2026

