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

 FCN=   7734.773     FROM HESSE     STATUS=OK           854 CALLS     3005 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.221        8.4805        .27484E-03   -1.5635    
   2  norm          1.6326        9.0216        .81359E-03   -1.5682    
   3  Prefactor     .28422E-07    49.509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15543E-08    27.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .76050E-08    18.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.8059        5.1646        .38421E-03   -1.5656    
   8  Prefactor     .28215        2.3348        .10506E-02   -1.5697    
   9  norm          48.610        21.646        .14325E-03   -1.5569    
  10  norm           .0000        .57903E-01    .11699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        6.2960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4660        2.6693        .54310E-03   -1.5671    
  13  Prefactor     .33362E-07    3.7406        .55741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16653E-08    15.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7482        1.4785        .52120E-03   -1.5669    
  16  Prefactor     1.6209        1.2442        .83070E-03   -1.5683    
  17  Prefactor      .0000        2.1239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        .92714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.999        9.3341        .22952E-03   -1.5621    
  20  norm          5.1778        1.7179        .44146E-03   -1.5662    
  21  Prefactor     .83267E-09    4.6253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .39544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.7530        4.9347        .61148E-03   -1.5675    
  24  norm          .57282        .50396        .71700E-03   -1.5693    
  25  norm          .33307E-09    4.6934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .55511E-10    3.3864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          3.9931        1.7022        .50460E-03   -1.5668    
  28  Prefactor      .0000        .96551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          1.4464        4.0928        .90417E-03   -1.5684    
  30  Prefactor     27.874        44.572        .18839E-03   -1.5602    
  31  Prefactor     9.6535        6.2447        .32105E-03   -1.5646    
  32  Prefactor     59.559        63.615        .13012E-03   -1.5554    
  33  Prefactor     .12712E-07    21.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.0643        .17213        .39713E-01   -.90906    
  35  Prefactor     .74774        .14797        .43033E-01   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97418e-07
Minuit parameter uncertainties:
  1  8.4805
  2  7.67549
  3  0.00237188
  4  0.00041595
  5  2.57068e-06
  6  0.000744147
  7  5.1646
  8  1.6233
  9  21.6458
  10  1.02452e-07
  11  8.24514e-06
  12  2.66926
  13  0.000706442
  14  0.000316803
  15  1.47845
  16  1.24423
  17  2.43675e-07
  18  2.96747e-06
  19  9.33412
  20  1.71793
  21  0.000124055
  22  1.07977e-06
  23  4.93467
  24  0.503964
  25  7.72253e-05
  26  3.1478e-05
  27  1.70221
  28  1.83924e-06
  29  4.09283
  30  44.5729
  31  6.24468
  32  63.6158
  33  0.00104883
  34  0.172225
  35  0.148047
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  2.437e-07  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.386e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.477e-01  1.480e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.064e+00  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 251.892 49.834
Photon Flux Upper Limit: 5.21618081137e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00402684144411 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36869086/likelihoodResults_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7734.77664998
delta logL = -0.00336379014243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7734.77328983
delta logL = -3.63840990758e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7734.773     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      232 TOTAL
                     EDM=   .31E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1859       -.65809E-07** at limit **
   2  Index         2.4053        1.3529       -.33333E-05     .0000    
   3  Normalizat    1.0643        .18524        .10496E-06    .60880E-04
   4  Prefactor     .74774        .16702        .33792E-05    .69228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.40534
  Normalizat = 1.0643
  Prefactor  = 0.747743
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7734.773     FROM HESSE     STATUS=FAILED        11 CALLS      243 TOTAL
                     EDM=   .31E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64902        1.8395       -.33333E-05   -.54560    
   3  Normalizat    1.0643        1.1865        .10496E-06   -.90906    
   4  Prefactor     .74774        1.0973        .33792E-05   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.11977e-12
Minuit parameter uncertainties:
  1  4.51308e-06
  2  1.08532
  3  1.21826
  4  1.13192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7734.77328619
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  4.513e-06  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.405e+00  1.085e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.477e-01  1.132e+00  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.064e+00  1.218e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 251.892 49.834

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/36869086/cmap_HighResolution_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2026-09-03 13:10:41.761527', job_id='36869086', GAL2='0.75', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1788466241.76', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2201' AND source_name='4FGL J1647.5+4950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 13:10:41 PDT 2026

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


Performing analysis on: 4FGL_J1647.5+4950_daily_bin2201
RA = 251.892, Dec = 49.8336
tmin = 809827201, tmax = 810086401
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='36869846', job_status='RUN', time_executed='2026-09-03 13:10:36.761516', time_epoch_executed='1788466236.76' WHERE source_name='4FGL J1647.5+4950' and cadence='daily' and bin_id='2201'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36869846

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36869846/ft1_4FGL_J1647.5+4950_daily_bin2201.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36869846/ft1_4FGL_J1647.5+4950_daily_bin2201.fits outfile=/lscratch/kocevski/36869846/ft1_filteredMKT_4FGL_J1647.5+4950_daily_bin2201.fits ra=251.892 dec=49.8336 rad=12.0 tmin=809827201.0 tmax=810086401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.97
user 2.12
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.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/36869846/ft1_filteredMKT_4FGL_J1647.5+4950_daily_bin2201.fits evtable="EVENTS" outfile="/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.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.81
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 729

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  2.437e-07  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.386e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.477e-01  1.480e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.064e+00  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 251.892 49.834
Photon Flux Upper Limit: 5.21618081137e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00402684144411 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36869111/likelihoodResults_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7734.77664998
delta logL = -0.00336379014243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7734.77328983
delta logL = -3.63840990758e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7734.773     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      232 TOTAL
                     EDM=   .31E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1859       -.65809E-07** at limit **
   2  Index         2.4053        1.3529       -.33333E-05     .0000    
   3  Normalizat    1.0643        .18524        .10496E-06    .60880E-04
   4  Prefactor     .74774        .16702        .33792E-05    .69228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.40534
  Normalizat = 1.0643
  Prefactor  = 0.747743
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7734.773     FROM HESSE     STATUS=FAILED        11 CALLS      243 TOTAL
                     EDM=   .31E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64902        1.8395       -.33333E-05   -.54560    
   3  Normalizat    1.0643        1.1865        .10496E-06   -.90906    
   4  Prefactor     .74774        1.0973        .33792E-05   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.11977e-12
Minuit parameter uncertainties:
  1  4.51308e-06
  2  1.08532
  3  1.21826
  4  1.13192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7734.77328619
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  4.513e-06  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.405e+00  1.085e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.477e-01  1.132e+00  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.064e+00  1.218e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 251.892 49.834

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/36869111/cmap_HighResolution_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2026-09-03 13:11:32.038486', job_id='36869111', GAL2='0.75', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1788466292.04', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2201' AND source_name='4FGL J1647.5+4950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 13:11:32 PDT 2026

tfile=/lscratch/kocevski/36869846/ltcube_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.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/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits
.....................!
real 8.33
user 7.68
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36869846/ltcube_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.fits outfile=/lscratch/kocevski/36869846/expmap_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.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/36869846/ltcube_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.fits
.....................!
real 69.06
user 64.00
sys 3.79

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

Setting source of interest to:
4FGL J1647.5+4950 @ 251.892 49.8336

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits scfile=/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits outfile=/lscratch/kocevski/36869846/cmap_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.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=251.892 yref=49.8336 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits scfile=/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits outfile=/lscratch/kocevski/36869846/cmap_HighResolution_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.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=251.892 yref=49.8336 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.64
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits evtable="EVENTS" scfile=/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36869846/Model_4FGL_J1647.5+4950_daily_bin2201.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits.....................!
real 25.48
user 23.69
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits', '/lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits', expMap='/lscratch/kocevski/36869846/expmap_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.fits', expCube='/lscratch/kocevski/36869846/ltcube_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36869846/Model_4FGL_J1647.5+4950_daily_bin2201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1647.5+4950'

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  2.441e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.386e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36869846/ft1_filtered_4FGL_J1647.5+4950_daily_bin2201.fits
Spacecraft file(s): /lscratch/kocevski/36869846/ft2_4FGL_J1647.5+4950_daily_bin2201.fits
Exposure map: /lscratch/kocevski/36869846/expmap_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.fits
Exposure cube: /lscratch/kocevski/36869846/ltcube_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36869846/Model_4FGL_J1647.5+4950_daily_bin2201.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7738.50084763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.257       1.0000          .0000       .10000E+07
     2 'norm      '    1.6762       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20105E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36276E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11380E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15423E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8112       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27937       1.0000          .0000       .10000E+07
     9 'norm      '    48.740       1.0000          .0000       .10000E+07
    10 'norm      '    .40523E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .13220E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4641       1.0000          .0000       .10000E+07
    13 'Prefactor '    .95300E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .42056E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7492       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.6217       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43743E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .49183E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.996       1.0000          .0000       .10000E+07
    20 'norm      '    5.1799       1.0000          .0000       .10000E+07
    21 'Prefactor '    .35877E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .27978E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.7679       1.0000          .0000       .10000E+07
    24 'norm      '    .57281       1.0000          .0000       .10000E+07
    25 'norm      '    .70126E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .72206E-05   1.0000          .0000       .10000E+07
    27 'norm      '    3.9910       1.0000          .0000       .10000E+07
    28 'Prefactor '    .97539E-06   1.0000          .0000       .10000E+07
    29 'norm      '    1.4276       1.0000          .0000       .10000E+07
    30 'Prefactor '    28.187       1.0000          .0000       .10000E+07
    31 'Prefactor '    9.7275       1.0000          .0000       .10000E+07
    32 'Prefactor '    59.074       1.0000          .0000       .10000E+07
    33 'Prefactor '    .47408E-02   1.0000          .0000       .10000E+07
    34 'Normalizat'    1.0638       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .74772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7734.773     FROM MIGRAD    STATUS=CONVERGED    239 CALLS     2151 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.221        8.1321       -.23096E-06   -.30359E-01
   2  norm          1.6326        8.2564        .51538E-06    .83823E-02
   3  Prefactor     .28422E-07    49.110        .54871E-06** at limit **
   4  Prefactor     .15543E-08    24.800       -.68829E-06** at limit **
   5  Prefactor      .0000        2.4344       -.65255E-06** at limit **
   6  Prefactor     .76050E-08    17.701       -.10654E-05** at limit **
   7  Prefactor     6.8059        5.0781       -.50002E-07   -.12365E-02
   8  Prefactor     .28215        2.3327       -.45088E-06   -.16292E-03
   9  norm          48.610        1.1988        .34960E-07    .82982E-02
  10  norm           .0000        .10715       -.11056E-06** at limit **
  11  norm           .0000        6.2822       -.20525E-06** at limit **
  12  Prefactor     3.4660        2.6629       -.14323E-06    .94768E-03
  13  Prefactor     .33362E-07    4.3764        .64260E-07** at limit **
  14  norm          .16653E-08    15.122        .24306E-06** at limit **
  15  Prefactor     3.7482        1.4910        .16254E-06    .27444E-02
  16  Prefactor     1.6209        1.2754       -.25961E-07    .60375E-03
  17  Prefactor      .0000        2.1532       -.72170E-06** at limit **
  18  Prefactor      .0000        .93015       -.45408E-07** at limit **
  19  Prefactor     18.999        3.4722        .27199E-06    .17975    
  20  norm          5.1778        1.7170       -.65593E-08    .20870E-03
  21  Prefactor     .83267E-09    4.6162       -.38835E-06** at limit **
  22  norm           .0000        .40958       -.41950E-06** at limit **
  23  Prefactor     2.7530        4.8917       -.45629E-06    .28814E-04
  24  norm          .57282        .50052       -.62572E-07    .66541E-03
  25  norm          .33307E-09    4.6898        .12927E-06** at limit **
  26  Prefactor     .55511E-10    3.3875       -.26286E-06** at limit **
  27  norm          3.9931        1.6875       -.91081E-07    .27646E-03
  28  Prefactor      .0000        .96604       -.51980E-06** at limit **
  29  norm          1.4464        4.0195        .15558E-06    .55995E-03
  30  Prefactor     27.874        22.615       -.17815E-05   -.68875E-01
  31  Prefactor     9.6535        6.0229       -.62748E-06    .28650E-02
  32  Prefactor     59.559        53.544        .34154E-05   -.50466E-01
  33  Prefactor     .12712E-07    20.834        .30122E-05** at limit **
  34  Normalizat    1.0643        .19540        .21543E-05    .49280E-05
  35  Prefactor     .74774        .16924        .12316E-04    .17206E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2214
  norm       = 1.63255
  Prefactor  = 2.84217e-08
  Prefactor  = 1.55431e-09
  Prefactor  = 0
  Prefactor  = 7.60503e-09
  Prefactor  = 6.80589
  Prefactor  = 0.282152
  norm       = 48.6103
  norm       = 0
  norm       = 0
  Prefactor  = 3.46599
  Prefactor  = 3.33622e-08
  norm       = 1.66533e-09
  Prefactor  = 3.7482
  Prefactor  = 1.62089
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.999
  norm       = 5.17785
  Prefactor  = 8.32667e-10
  norm       = 0
  Prefactor  = 2.75301
  norm       = 0.57282
  norm       = 3.33067e-10
  Prefactor  = 5.55112e-11
  norm       = 3.99311
  Prefactor  = 0
  norm       = 1.44644
  Prefactor  = 27.8737
  Prefactor  = 9.65353
  Prefactor  = 59.559
  Prefactor  = 1.27121e-08
  Normalizat = 1.0643
  Prefactor  = 0.747743
 **********
 **   18 **HESSE 
 **********

 FCN=   7734.773     FROM HESSE     STATUS=OK           854 CALLS     3005 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.221        8.4805        .27484E-03   -1.5635    
   2  norm          1.6326        9.0216        .81359E-03   -1.5682    
   3  Prefactor     .28422E-07    49.509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15543E-08    27.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .76050E-08    18.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.8059        5.1646        .38421E-03   -1.5656    
   8  Prefactor     .28215        2.3348        .10506E-02   -1.5697    
   9  norm          48.610        21.646        .14325E-03   -1.5569    
  10  norm           .0000        .57903E-01    .11699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        6.2960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4660        2.6693        .54310E-03   -1.5671    
  13  Prefactor     .33362E-07    3.7406        .55741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16653E-08    15.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7482        1.4785        .52120E-03   -1.5669    
  16  Prefactor     1.6209        1.2442        .83070E-03   -1.5683    
  17  Prefactor      .0000        2.1239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        .92714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.999        9.3341        .22952E-03   -1.5621    
  20  norm          5.1778        1.7179        .44146E-03   -1.5662    
  21  Prefactor     .83267E-09    4.6253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .39544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.7530        4.9347        .61148E-03   -1.5675    
  24  norm          .57282        .50396        .71700E-03   -1.5693    
  25  norm          .33307E-09    4.6934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .55511E-10    3.3864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          3.9931        1.7022        .50460E-03   -1.5668    
  28  Prefactor      .0000        .96551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          1.4464        4.0928        .90417E-03   -1.5684    
  30  Prefactor     27.874        44.572        .18839E-03   -1.5602    
  31  Prefactor     9.6535        6.2447        .32105E-03   -1.5646    
  32  Prefactor     59.559        63.615        .13012E-03   -1.5554    
  33  Prefactor     .12712E-07    21.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.0643        .17213        .39713E-01   -.90906    
  35  Prefactor     .74774        .14797        .43033E-01   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97418e-07
Minuit parameter uncertainties:
  1  8.4805
  2  7.67549
  3  0.00237188
  4  0.00041595
  5  2.57068e-06
  6  0.000744147
  7  5.1646
  8  1.6233
  9  21.6458
  10  1.02452e-07
  11  8.24514e-06
  12  2.66926
  13  0.000706442
  14  0.000316803
  15  1.47845
  16  1.24423
  17  2.43675e-07
  18  2.96747e-06
  19  9.33412
  20  1.71793
  21  0.000124055
  22  1.07977e-06
  23  4.93467
  24  0.503964
  25  7.72253e-05
  26  3.1478e-05
  27  1.70221
  28  1.83924e-06
  29  4.09283
  30  44.5729
  31  6.24468
  32  63.6158
  33  0.00104883
  34  0.172225
  35  0.148047
Done.

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

Extracting fit parameters...

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  2.437e-07  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.386e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.477e-01  1.480e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.064e+00  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 251.892 49.834
Photon Flux Upper Limit: 5.21618081137e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00402684144411 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36869846/likelihoodResults_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7734.77664998
delta logL = -0.00336379014243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7734.77328983
delta logL = -3.63840990758e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7734.773     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      232 TOTAL
                     EDM=   .31E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1859       -.65809E-07** at limit **
   2  Index         2.4053        1.3529       -.33333E-05     .0000    
   3  Normalizat    1.0643        .18524        .10496E-06    .60880E-04
   4  Prefactor     .74774        .16702        .33792E-05    .69228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.40534
  Normalizat = 1.0643
  Prefactor  = 0.747743
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7734.773     FROM HESSE     STATUS=FAILED        11 CALLS      243 TOTAL
                     EDM=   .31E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64902        1.8395       -.33333E-05   -.54560    
   3  Normalizat    1.0643        1.1865        .10496E-06   -.90906    
   4  Prefactor     .74774        1.0973        .33792E-05   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.11977e-12
Minuit parameter uncertainties:
  1  4.51308e-06
  2  1.08532
  3  1.21826
  4  1.13192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7734.77328619
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J1647.5+4950
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  4.513e-06  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.405e+00  1.085e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.183e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.477e-01  1.132e+00  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.064e+00  1.218e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 251.892 49.834

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/36869846/cmap_HighResolution_809827201_810086401_4FGL_J1647.5+4950_daily_bin2201.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2026-09-03 13:17:50.334166', job_id='36869846', GAL2='0.75', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1788466670.33', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2201' AND source_name='4FGL J1647.5+4950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  3 13:17:50 PDT 2026

