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

 FCN=   22599.00     FROM HESSE     STATUS=OK           308 CALLS     1709 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13228E-05    34.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    1.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .54112E-06    15.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.882        35.967        .21621E-03   -1.5614    
   5  Prefactor     .66391E-07    16.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    8.9541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11629E-05    33.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.105        47.226        .17284E-03   -1.5593    
   9  Prefactor     4.4739        4.3245        .47664E-03   -1.5666    
  10  norm          .16653E-09    1.0547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23759E-06    14.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1707        2.8189        .69873E-03   -1.5678    
  13  norm          7.1441        4.7776        .37500E-03   -1.5655    
  14  Prefactor     .57192        1.9490        .72718E-03   -1.5693    
  15  Prefactor     18.093        14.106        .23446E-03   -1.5623    
  16  Prefactor     1.5406        3.2794        .85792E-03   -1.5683    
  17  norm          26.597        26.794        .19605E-03   -1.5605    
  18  Normalizat    1.0121        .13238        .83731E-01   -.92626    
  19  Prefactor     1.0073        .55956E-01    .43750E-01   -.92486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78933e-06
Minuit parameter uncertainties:
  1  0.0134801
  2  2.18774e-05
  3  0.00570129
  4  35.9672
  5  0.00208311
  6  7.15989e-05
  7  0.012481
  8  47.2261
  9  4.32447
  10  2.75435e-05
  11  0.00372876
  12  2.81886
  13  4.77758
  14  1.94898
  15  14.106
  16  3.27939
  17  26.7946
  18  0.132423
  19  0.0559594
/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) = 22599.0027788

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.163e-06  1.248e-02  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.007e+00  5.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.012e+00  1.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 5.99318658142e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00469527738219 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28173605/likelihoodResults_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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): 102
logL (Free Index) = 22599.0178102
delta logL = -0.0150314166713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885171
delta logL = 0.214261719655

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22598.79     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      257 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31672        1.5153        .27006E-02    .54997E-01
   2  Index         5.0593        1.0576        .29640        .13185E-03
   3  Normalizat    .98095        .12381E-01    .84906E-01    .51666E-04
   4  Prefactor     1.0148        .53811E-02    .42696E-01   -.39293E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.316723
  Index      = 5.05926
  Normalizat = 0.980952
  Prefactor  = 1.01482
 **********
 **   18 **HESSE 
 **********

 FCN=   22598.79     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      292 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31672        33.323        .10023E-03   -1.5697    
   2  Index         5.0593        7.1057        .86778E-02    .11853E-01
   3  Normalizat    .98095        .89045E-01    .37590E-03   -.93671    
   4  Prefactor     1.0148        .37894E-01    .16013E-03   -.92237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80822e-09
Minuit parameter uncertainties:
  1  6.49749
  2  10.867
  3  0.089058
  4  0.0378951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885164
delta logL = 0.21426238538

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  3.167e-01  6.497e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  5.059e+00  1.087e+01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.015e+00  3.790e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  9.810e-01  8.906e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

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/28173605/cmap_HighResolution_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2026-06-09 16:47:34.077757', job_id='28173605', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='1.01', time_epoch_completed='1781048854.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.14e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='931' AND source_name='4FGL J1751.6+2921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:47:34 PDT 2026

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


Performing analysis on: 4FGL_J1751.6+2921_weekly_bin931
RA = 267.904, Dec = 29.3582
tmin = 802051201, tmax = 802656001
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='28173994', job_status='RUN', time_executed='2026-06-09 16:46:36.666734', time_epoch_executed='1781048796.67' WHERE source_name='4FGL J1751.6+2921' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28173994

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28173994/ft1_4FGL_J1751.6+2921_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28173994/ft1_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28173994/ft1_filteredMKT_4FGL_J1751.6+2921_weekly_bin931.fits ra=267.904 dec=29.3582 rad=12.0 tmin=802051201.0 tmax=802656001.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.03
user 4.45
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.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/28173994/ft1_filteredMKT_4FGL_J1751.6+2921_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.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.67
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2128

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1751.6+2921_weekly_bin931
RA = 267.904, Dec = 29.3582
tmin = 802051201, tmax = 802656001
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='28174001', job_status='RUN', time_executed='2026-06-09 16:47:14.772982', time_epoch_executed='1781048834.77' WHERE source_name='4FGL J1751.6+2921' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28174001

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28174001/ft1_4FGL_J1751.6+2921_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28174001/ft1_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28174001/ft1_filteredMKT_4FGL_J1751.6+2921_weekly_bin931.fits ra=267.904 dec=29.3582 rad=12.0 tmin=802051201.0 tmax=802656001.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.20
user 4.50
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.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/28174001/ft1_filteredMKT_4FGL_J1751.6+2921_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.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.64
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 2128

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.163e-06  1.248e-02  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.007e+00  5.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.012e+00  1.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 5.99318658142e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00469527738219 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28173720/likelihoodResults_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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): 102
logL (Free Index) = 22599.0178102
delta logL = -0.0150314166713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885171
delta logL = 0.214261719655

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22598.79     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      257 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31672        1.5153        .27006E-02    .54997E-01
   2  Index         5.0593        1.0576        .29640        .13185E-03
   3  Normalizat    .98095        .12381E-01    .84906E-01    .51666E-04
   4  Prefactor     1.0148        .53811E-02    .42696E-01   -.39293E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.316723
  Index      = 5.05926
  Normalizat = 0.980952
  Prefactor  = 1.01482
 **********
 **   18 **HESSE 
 **********

 FCN=   22598.79     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      292 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31672        33.323        .10023E-03   -1.5697    
   2  Index         5.0593        7.1057        .86778E-02    .11853E-01
   3  Normalizat    .98095        .89045E-01    .37590E-03   -.93671    
   4  Prefactor     1.0148        .37894E-01    .16013E-03   -.92237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80822e-09
Minuit parameter uncertainties:
  1  6.49749
  2  10.867
  3  0.089058
  4  0.0378951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885164
delta logL = 0.21426238538

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  3.167e-01  6.497e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  5.059e+00  1.087e+01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.015e+00  3.790e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  9.810e-01  8.906e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

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/28173720/cmap_HighResolution_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2026-06-09 16:49:01.678634', job_id='28173720', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='1.01', time_epoch_completed='1781048941.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.14e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='931' AND source_name='4FGL J1751.6+2921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:49:01 PDT 2026

 outfile=/lscratch/kocevski/28173994/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits
.....................!
real 17.23
user 16.65
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28173994/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28173994/expmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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/28173994/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits
.....................!
real 66.90
user 61.85
sys 3.93

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

Setting source of interest to:
4FGL J1751.6+2921 @ 267.904 29.3582

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits scfile=/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28173994/cmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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=267.904 yref=29.3582 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.61
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits scfile=/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28173994/cmap_HighResolution_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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=267.904 yref=29.3582 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.58
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28173994/Model_4FGL_J1751.6+2921_weekly_bin931.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 sourc outfile=/lscratch/kocevski/28174001/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits
.....................!
real 17.37
user 16.70
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28174001/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28174001/expmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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/28174001/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits
.....................!
real 66.60
user 61.63
sys 4.01

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

Setting source of interest to:
4FGL J1751.6+2921 @ 267.904 29.3582

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits scfile=/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28174001/cmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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=267.904 yref=29.3582 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.70
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits scfile=/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits outfile=/lscratch/kocevski/28174001/cmap_HighResolution_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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=267.904 yref=29.3582 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28174001/Model_4FGL_J1751.6+2921_weekly_bin931.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/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits.....................!
real 64.24
user 62.68
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits', '/lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits', expMap='/lscratch/kocevski/28173994/expmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits', expCube='/lscratch/kocevski/28173994/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28173994/Model_4FGL_J1751.6+2921_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1751.6+2921'

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  9.593e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28173994/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28173994/ft2_4FGL_J1751.6+2921_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28173994/expmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28173994/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28173994/Model_4FGL_J1751.6+2921_weekly_bin931.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) = 22599.0297968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22074E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .31869E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17966E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    21.403       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10829E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .81706E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .65480E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    33.482       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4586       1.0000          .0000       .10000E+07
    10 'norm      '    .24641E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .98971E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1703       1.0000          .0000       .10000E+07
    13 'norm      '    7.1465       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56184       1.0000          .0000       .10000E+07
    15 'Prefactor '    18.205       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.5427       1.0000          .0000       .10000E+07
    17 'norm      '    26.027       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0122       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22599.00     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1401 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13228E-05    19.067       -.35562E-05** at limit **
   2  norm          .11102E-09    1.0816        .51528E-06** at limit **
   3  norm          .54112E-06    5.7706       -.17415E-05** at limit **
   4  Prefactor     21.882        32.245        .89752E-05   -.65296E-02
   5  Prefactor     .66391E-07    14.746       -.24643E-05** at limit **
   6  Prefactor     .16653E-09    8.9699       -.14273E-05** at limit **
   7  Prefactor     .11629E-05    18.742        .35230E-05** at limit **
   8  Prefactor     33.105        10.941        .24652E-05   -.54455E-01
   9  Prefactor     4.4739        4.3136        .20835E-06   -.37993E-03
  10  norm          .16653E-09    1.0970        .18971E-06** at limit **
  11  norm          .23759E-06    10.900        .12331E-05** at limit **
  12  Prefactor     2.1707        2.8058        .31151E-06   -.36667E-02
  13  norm          7.1441        4.7728        .82812E-07    .17743E-02
  14  Prefactor     .57192        1.9081        .48128E-06   -.14364E-02
  15  Prefactor     18.093        13.890       -.18630E-05   -.81755E-02
  16  Prefactor     1.5406        3.2412       -.12024E-05   -.18297E-02
  17  norm          26.597        4.7221       -.89448E-06   -.23315E-01
  18  Normalizat    1.0121        .15325       -.46870E-05    .87131E-04
  19  Prefactor     1.0073        .65593E-01    .46261E-06   -.44863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.32283e-06
  norm       = 1.11022e-10
  norm       = 5.41123e-07
  Prefactor  = 21.8815
  Prefactor  = 6.63913e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 1.1629e-06
  Prefactor  = 33.1054
  Prefactor  = 4.47389
  norm       = 1.66533e-10
  norm       = 2.37588e-07
  Prefactor  = 2.17066
  norm       = 7.14414
  Prefactor  = 0.571924
  Prefactor  = 18.0931
  Prefactor  = 1.54056
  norm       = 26.5965
  Normalizat = 1.0121
  Prefactor  = 1.00733
 **********
 **   18 **HESSE 
 **********

 FCN=   22599.00     FROM HESSE     STATUS=OK           308 CALLS     1709 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13228E-05    34.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    1.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .54112E-06    15.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.882        35.967        .21621E-03   -1.5614    
   5  Prefactor     .66391E-07    16.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    8.9541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11629E-05    33.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.105        47.226        .17284E-03   -1.5593    
   9  Prefactor     4.4739        4.3245        .47664E-03   -1.5666    
  10  norm          .16653E-09    1.0547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23759E-06    14.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1707        2.8189        .69873E-03   -1.5678    
  13  norm          7.1441        4.7776        .37500E-03   -1.5655    
  14  Prefactor     .57192        1.9490        .72718E-03   -1.5693    
  15  Prefactor     18.093        14.106        .23446E-03   -1.5623    
  16  Prefactor     1.5406        3.2794        .85792E-03   -1.5683    
  17  norm          26.597        26.794        .19605E-03   -1.5605    
  18  Normalizat    1.0121        .13238        .83731E-01   -.92626    
  19  Prefactor     1.0073        .55956E-01    .43750E-01   -.92486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78933e-06
Minuit parameter uncertainties:
  1  0.0134801
  2  2.18774e-05
  3  0.00570129
  4  35.9672
  5  0.00208311
  6  7.15989e-05
  7  0.012481
  8  47.2261
  9  4.32447
  10  2.75435e-05
  11  0.00372876
  12  2.81886
  13  4.77758
  14  1.94898
  15  14.106
  16  3.27939
  17  26.7946
  18  0.132423
  19  0.0559594
e GAL_V02
Working on...
/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits.....................!
real 63.86
user 62.19
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits', '/lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits', expMap='/lscratch/kocevski/28174001/expmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits', expCube='/lscratch/kocevski/28174001/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28174001/Model_4FGL_J1751.6+2921_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1751.6+2921'

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  9.593e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28174001/ft1_filtered_4FGL_J1751.6+2921_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28174001/ft2_4FGL_J1751.6+2921_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28174001/expmap_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28174001/ltcube_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28174001/Model_4FGL_J1751.6+2921_weekly_bin931.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) = 22599.0297968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22074E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .31869E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17966E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    21.403       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10829E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .81706E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .65480E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    33.482       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4586       1.0000          .0000       .10000E+07
    10 'norm      '    .24641E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .98971E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1703       1.0000          .0000       .10000E+07
    13 'norm      '    7.1465       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56184       1.0000          .0000       .10000E+07
    15 'Prefactor '    18.205       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.5427       1.0000          .0000       .10000E+07
    17 'norm      '    26.027       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0122       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22599.00     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1401 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13228E-05    19.067       -.35562E-05** at limit **
   2  norm          .11102E-09    1.0816        .51528E-06** at limit **
   3  norm          .54112E-06    5.7706       -.17415E-05** at limit **
   4  Prefactor     21.882        32.245        .89752E-05   -.65296E-02
   5  Prefactor     .66391E-07    14.746       -.24643E-05** at limit **
   6  Prefactor     .16653E-09    8.9699       -.14273E-05** at limit **
   7  Prefactor     .11629E-05    18.742        .35230E-05** at limit **
   8  Prefactor     33.105        10.941        .24652E-05   -.54455E-01
   9  Prefactor     4.4739        4.3136        .20835E-06   -.37993E-03
  10  norm          .16653E-09    1.0970        .18971E-06** at limit **
  11  norm          .23759E-06    10.900        .12331E-05** at limit **
  12  Prefactor     2.1707        2.8058        .31151E-06   -.36667E-02
  13  norm          7.1441        4.7728        .82812E-07    .17743E-02
  14  Prefactor     .57192        1.9081        .48128E-06   -.14364E-02
  15  Prefactor     18.093        13.890       -.18630E-05   -.81755E-02
  16  Prefactor     1.5406        3.2412       -.12024E-05   -.18297E-02
  17  norm          26.597        4.7221       -.89448E-06   -.23315E-01
  18  Normalizat    1.0121        .15325       -.46870E-05    .87131E-04
  19  Prefactor     1.0073        .65593E-01    .46261E-06   -.44863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.32283e-06
  norm       = 1.11022e-10
  norm       = 5.41123e-07
  Prefactor  = 21.8815
  Prefactor  = 6.63913e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 1.1629e-06
  Prefactor  = 33.1054
  Prefactor  = 4.47389
  norm       = 1.66533e-10
  norm       = 2.37588e-07
  Prefactor  = 2.17066
  norm       = 7.14414
  Prefactor  = 0.571924
  Prefactor  = 18.0931
  Prefactor  = 1.54056
  norm       = 26.5965
  Normalizat = 1.0121
  Prefactor  = 1.00733
 **********
 **   18 **HESSE 
 **********

 FCN=   22599.00     FROM HESSE     STATUS=OK           308 CALLS     1709 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13228E-05    34.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    1.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .54112E-06    15.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.882        35.967        .21621E-03   -1.5614    
   5  Prefactor     .66391E-07    16.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    8.9541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11629E-05    33.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.105        47.226        .17284E-03   -1.5593    
   9  Prefactor     4.4739        4.3245        .47664E-03   -1.5666    
  10  norm          .16653E-09    1.0547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23759E-06    14.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1707        2.8189        .69873E-03   -1.5678    
  13  norm          7.1441        4.7776        .37500E-03   -1.5655    
  14  Prefactor     .57192        1.9490        .72718E-03   -1.5693    
  15  Prefactor     18.093        14.106        .23446E-03   -1.5623    
  16  Prefactor     1.5406        3.2794        .85792E-03   -1.5683    
  17  norm          26.597        26.794        .19605E-03   -1.5605    
  18  Normalizat    1.0121        .13238        .83731E-01   -.92626    
  19  Prefactor     1.0073        .55956E-01    .43750E-01   -.92486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78933e-06
Minuit parameter uncertainties:
  1  0.0134801
  2  2.18774e-05
  3  0.00570129
  4  35.9672
  5  0.00208311
  6  7.15989e-05
  7  0.012481
  8  47.2261
  9  4.32447
  10  2.75435e-05
  11  0.00372876
  12  2.81886
  13  4.77758
  14  1.94898
  15  14.106
  16  3.27939
  17  26.7946
  18  0.132423
  19  0.0559594
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.163e-06  1.248e-02  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.007e+00  5.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.012e+00  1.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 5.99318658142e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00469527738219 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28173994/likelihoodResults_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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): 102
logL (Free Index) = 22599.0178102
delta logL = -0.0150314166713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885171
delta logL = 0.214261719655

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22598.79     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      257 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31672        1.5153        .27006E-02    .54997E-01
   2  Index         5.0593        1.0576        .29640        .13185E-03
   3  Normalizat    .98095        .12381E-01    .84906E-01    .51666E-04
   4  Prefactor     1.0148        .53811E-02    .42696E-01   -.39293E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.316723
  Index      = 5.05926
  Normalizat = 0.980952
  Prefactor  = 1.01482
 **********
 **   18 **HESSE 
 **********

 FCN=   22598.79     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      292 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31672        33.323        .10023E-03   -1.5697    
   2  Index         5.0593        7.1057        .86778E-02    .11853E-01
   3  Normalizat    .98095        .89045E-01    .37590E-03   -.93671    
   4  Prefactor     1.0148        .37894E-01    .16013E-03   -.92237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80822e-09
Minuit parameter uncertainties:
  1  6.49749
  2  10.867
  3  0.089058
  4  0.0378951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885164
delta logL = 0.21426238538

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  3.167e-01  6.497e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  5.059e+00  1.087e+01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.015e+00  3.790e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  9.810e-01  8.906e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

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/28173994/cmap_HighResolution_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2026-06-09 16:56:58.519669', job_id='28173994', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='1.01', time_epoch_completed='1781049418.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.14e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='931' AND source_name='4FGL J1751.6+2921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:56:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.163e-06  1.248e-02  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.007e+00  5.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.012e+00  1.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 5.99318658142e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00469527738219 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28174001/likelihoodResults_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.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): 102
logL (Free Index) = 22599.0178102
delta logL = -0.0150314166713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885171
delta logL = 0.214261719655

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22598.79     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      257 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31672        1.5153        .27006E-02    .54997E-01
   2  Index         5.0593        1.0576        .29640        .13185E-03
   3  Normalizat    .98095        .12381E-01    .84906E-01    .51666E-04
   4  Prefactor     1.0148        .53811E-02    .42696E-01   -.39293E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.316723
  Index      = 5.05926
  Normalizat = 0.980952
  Prefactor  = 1.01482
 **********
 **   18 **HESSE 
 **********

 FCN=   22598.79     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      292 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31672        33.323        .10023E-03   -1.5697    
   2  Index         5.0593        7.1057        .86778E-02    .11853E-01
   3  Normalizat    .98095        .89045E-01    .37590E-03   -.93671    
   4  Prefactor     1.0148        .37894E-01    .16013E-03   -.92237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80822e-09
Minuit parameter uncertainties:
  1  6.49749
  2  10.867
  3  0.089058
  4  0.0378951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22598.7885164
delta logL = 0.21426238538

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  3.167e-01  6.497e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  5.059e+00  1.087e+01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  1.015e+00  3.790e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  9.810e-01  8.906e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 267.904 29.358

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/28174001/cmap_HighResolution_802051201_802656001_4FGL_J1751.6+2921_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2026-06-09 16:57:40.459806', job_id='28174001', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='1.01', time_epoch_completed='1781049460.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.14e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='931' AND source_name='4FGL J1751.6+2921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:57:40 PDT 2026

