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

 FCN=   10277.73     FROM HESSE     STATUS=OK           310 CALLS     1771 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.775        18.396        .13708E-03   -1.5563    
   2  Prefactor      .0000        29.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44868        18.261        .13100E-01   -1.5695    
   4  Prefactor      .0000        2.3260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.5615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1779        5.6565        .56744E-03   -1.5672    
   7  Prefactor      .0000        3.8980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    43.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0795        6.9498        .44515E-03   -1.5663    
  10  Prefactor      .0000        3.9233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        98.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .93076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0820        14.371        .40718E-03   -1.5659    
  14  norm          3.7954        6.8545        .51748E-03   -1.5669    
  15  Prefactor     102.38        81.072        .98262E-04   -1.5506    
  16  Prefactor     10.413        3.7351        .31024E-03   -1.5643    
  17  norm          .27756E-09    49.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .99770        .27137        .10984       -.93108    
  19  Prefactor     1.0945        .86667E-01    .37798E-01   -.89642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59996e-07
Minuit parameter uncertainties:
  1  18.3959
  2  4.51311e-06
  3  5.72482
  4  1.40009e-06
  5  4.77039e-07
  6  5.65654
  7  4.76089e-08
  8  0.000245606
  9  6.94984
  10  2.45047e-07
  11  5.8845e-05
  12  8.49093e-07
  13  14.3714
  14  6.85456
  15  81.0724
  16  3.73507
  17  0.000246435
  18  0.27175
  19  0.0866784
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1650.7+0831_daily_bin2204
RA = 252.7, Dec = 8.5182
tmin = 810604801, tmax = 810864001
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='38053550', job_status='RUN', time_executed='2026-09-12 13:16:14.694262', time_epoch_executed='1789244174.69' WHERE source_name='4FGL J1650.7+0831' and cadence='daily' and bin_id='2204'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38053550

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38053550/ft1_4FGL_J1650.7+0831_daily_bin2204.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38053550/ft1_4FGL_J1650.7+0831_daily_bin2204.fits outfile=/lscratch/kocevski/38053550/ft1_filteredMKT_4FGL_J1650.7+0831_daily_bin2204.fits ra=252.7 dec=8.5182 rad=12.0 tmin=810604801.0 tmax=810864001.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.80
user 2.30
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.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/38053550/ft1_filteredMKT_4FGL_J1650.7+0831_daily_bin2204.fits evtable="EVENTS" outfile="/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.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.72
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 996

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits sctable="SC_DATA" outfile=Done.

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

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  4.761e-08  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.095e+00  8.668e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.977e-01  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 252.700 8.518
Photon Flux Upper Limit: 9.48414347595e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00741068969392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38052858/likelihoodResults_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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) = 10277.7283634
delta logL = -0.000182395535376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10277.7281868
delta logL = -5.76671118324e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10277.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1219        .42118E-03** at limit **
   2  Index         2.5272        1.2745        .46715E-04     .0000    
   3  Normalizat    .99770        1.3277        .24222E-05   -.86604E-04
   4  Prefactor     1.0945        1.1526        .23531E-05   -.29852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.52721
  Normalizat = 0.997697
  Prefactor  = 1.09451
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10277.73     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72040        1.9155        .46715E-04   -.51733    
   3  Normalizat    .99770        1.3277        .24222E-05   -.93108    
   4  Prefactor     1.0945        1.1526        .23531E-05   -.89642    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4031e-11
Minuit parameter uncertainties:
  1  8.67792e-06
  2  1.29355
  3  1.37604
  4  1.18048
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) = 10277.728181
delta logL = -1.09139364213e-11

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  8.678e-06  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.527e+00  1.294e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.095e+00  1.180e+00  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.977e-01  1.376e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 252.700 8.518

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/38052858/cmap_HighResolution_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2026-09-12 13:16:58.533033', job_id='38052858', GAL2='1.09', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1789244218.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2204' AND source_name='4FGL J1650.7+0831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 13:16:58 PDT 2026

vclass="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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/38053107/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits.....................!
real 35.16
user 33.39
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38053107/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits', '/lscratch/kocevski/38053107/ft2_4FGL_J1650.7+0831_daily_bin2204.fits', expMap='/lscratch/kocevski/38053107/expmap_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits', expCube='/lscratch/kocevski/38053107/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38053107/Model_4FGL_J1650.7+0831_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1650.7+0831'

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  1.844e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38053107/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38053107/ft2_4FGL_J1650.7+0831_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38053107/expmap_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38053107/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38053107/Model_4FGL_J1650.7+0831_daily_bin2204.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) = 10277.9281801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    53.226       1.0000          .0000       .10000E+07
     2 'Prefactor '    .54700E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40026       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16986E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59197E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1862       1.0000          .0000       .10000E+07
     7 'Prefactor '    .42640E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10332E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.0959       1.0000          .0000       .10000E+07
    10 'Prefactor '    .73053E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10860E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .71054E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0731       1.0000          .0000       .10000E+07
    14 'norm      '    3.8014       1.0000          .0000       .10000E+07
    15 'Prefactor '    103.58       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.414       1.0000          .0000       .10000E+07
    17 'norm      '    .96699E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .99641       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0945       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10277.73     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1461 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.775        18.434        .17210E-06    .32860E-04
   2  Prefactor      .0000        29.551        .26631E-05** at limit **
   3  Prefactor     .44868        2.2156        .77256E-06   -.22049E-02
   4  Prefactor      .0000        2.3261        .32479E-06** at limit **
   5  Prefactor      .0000        5.5729        .27777E-05** at limit **
   6  Prefactor     3.1779        5.6370        .25001E-07   -.84960E-04
   7  Prefactor      .0000        3.9145       -.54047E-06** at limit **
   8  Prefactor     .33307E-09    43.184       -.46458E-06** at limit **
   9  Prefactor     5.0795        6.9411        .41363E-07    .83820E-04
  10  Prefactor      .0000        3.9253        .30119E-07** at limit **
  11  Prefactor      .0000        98.134       -.73713E-06** at limit **
  12  norm           .0000        .93284        .92742E-07** at limit **
  13  Prefactor     6.0820        14.286        .31969E-06    .51938E-04
  14  norm          3.7954        6.8349        .62955E-08   -.78462E-05
  15  Prefactor     102.38        80.867        .41683E-06    .76974E-03
  16  Prefactor     10.413        3.7236        .12963E-06    .60120E-04
  17  norm          .27756E-09    50.410        .82122E-05** at limit **
  18  Normalizat    .99770        .30268       -.18387E-04    .13488E-04
  19  Prefactor     1.0945        .98970E-01    .11560E-05    .64257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 52.7748
  Prefactor  = 0
  Prefactor  = 0.448681
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.1779
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 5.07955
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.082
  norm       = 3.79545
  Prefactor  = 102.376
  Prefactor  = 10.413
  norm       = 2.77556e-10
  Normalizat = 0.997697
  Prefactor  = 1.09451
 **********
 **   18 **HESSE 
 **********

 FCN=   10277.73     FROM HESSE     STATUS=OK           310 CALLS     1771 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.775        18.396        .13708E-03   -1.5563    
   2  Prefactor      .0000        29.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44868        18.261        .13100E-01   -1.5695    
   4  Prefactor      .0000        2.3260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.5615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1779        5.6565        .56744E-03   -1.5672    
   7  Prefactor      .0000        3.8980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    43.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0795        6.9498        .44515E-03   -1.5663    
  10  Prefactor      .0000        3.9233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        98.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .93076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0820        14.371        .40718E-03   -1.5659    
  14  norm          3.7954        6.8545        .51748E-03   -1.5669    
  15  Prefactor     102.38        81.072        .98262E-04   -1.5506    
  16  Prefactor     10.413        3.7351        .31024E-03   -1.5643    
  17  norm          .27756E-09    49.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .99770        .27137        .10984       -.93108    
  19  Prefactor     1.0945        .86667E-01    .37798E-01   -.89642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59996e-07
Minuit parameter uncertainties:
  1  18.3959
  2  4.51311e-06
  3  5.72482
  4  1.40009e-06
  5  4.77039e-07
  6  5.65654
  7  4.76089e-08
  8  0.000245606
  9  6.94984
  10  2.45047e-07
  11  5.8845e-05
  12  8.49093e-07
  13  14.3714
  14  6.85456
  15  81.0724
  16  3.73507
  17  0.000246435
  18  0.27175
  19  0.0866784
/lscratch/kocevski/38053550/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits
.....................!
real 9.25
user 8.52
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38053550/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits outfile=/lscratch/kocevski/38053550/expmap_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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/38053550/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits
.....................!
real 75.79
user 70.15
sys 4.38

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 170 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1650.7+0831 @ 252.7 8.5182

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits scfile=/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits outfile=/lscratch/kocevski/38053550/cmap_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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=252.7 yref=8.5182 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.55
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits scfile=/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits outfile=/lscratch/kocevski/38053550/cmap_HighResolution_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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=252.7 yref=8.5182 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.59
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38053550/Model_4FGL_J1650.7+0831_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 Done.

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

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  4.761e-08  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.095e+00  8.668e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.977e-01  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 252.700 8.518
Photon Flux Upper Limit: 9.48414347595e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00741068969392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38053107/likelihoodResults_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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) = 10277.7283634
delta logL = -0.000182395535376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10277.7281868
delta logL = -5.76671118324e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10277.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1219        .42118E-03** at limit **
   2  Index         2.5272        1.2745        .46715E-04     .0000    
   3  Normalizat    .99770        1.3277        .24222E-05   -.86604E-04
   4  Prefactor     1.0945        1.1526        .23531E-05   -.29852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.52721
  Normalizat = 0.997697
  Prefactor  = 1.09451
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10277.73     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72040        1.9155        .46715E-04   -.51733    
   3  Normalizat    .99770        1.3277        .24222E-05   -.93108    
   4  Prefactor     1.0945        1.1526        .23531E-05   -.89642    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4031e-11
Minuit parameter uncertainties:
  1  8.67792e-06
  2  1.29355
  3  1.37604
  4  1.18048
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) = 10277.728181
delta logL = -1.09139364213e-11

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  8.678e-06  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.527e+00  1.294e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.095e+00  1.180e+00  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.977e-01  1.376e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 252.700 8.518

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/38053107/cmap_HighResolution_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2026-09-12 13:18:30.252985', job_id='38053107', GAL2='1.09', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1789244310.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2204' AND source_name='4FGL J1650.7+0831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 13:18:30 PDT 2026

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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits.....................!
real 36.59
user 34.82
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits', '/lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits', expMap='/lscratch/kocevski/38053550/expmap_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits', expCube='/lscratch/kocevski/38053550/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38053550/Model_4FGL_J1650.7+0831_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1650.7+0831'

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  1.844e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38053550/ft1_filtered_4FGL_J1650.7+0831_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38053550/ft2_4FGL_J1650.7+0831_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38053550/expmap_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38053550/ltcube_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38053550/Model_4FGL_J1650.7+0831_daily_bin2204.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) = 10277.9281801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    53.226       1.0000          .0000       .10000E+07
     2 'Prefactor '    .54700E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40026       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16986E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59197E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1862       1.0000          .0000       .10000E+07
     7 'Prefactor '    .42640E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10332E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.0959       1.0000          .0000       .10000E+07
    10 'Prefactor '    .73053E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10860E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .71054E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0731       1.0000          .0000       .10000E+07
    14 'norm      '    3.8014       1.0000          .0000       .10000E+07
    15 'Prefactor '    103.58       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.414       1.0000          .0000       .10000E+07
    17 'norm      '    .96699E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .99641       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0945       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10277.73     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1461 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.775        18.434        .17210E-06    .32860E-04
   2  Prefactor      .0000        29.551        .26631E-05** at limit **
   3  Prefactor     .44868        2.2156        .77256E-06   -.22049E-02
   4  Prefactor      .0000        2.3261        .32479E-06** at limit **
   5  Prefactor      .0000        5.5729        .27777E-05** at limit **
   6  Prefactor     3.1779        5.6370        .25001E-07   -.84960E-04
   7  Prefactor      .0000        3.9145       -.54047E-06** at limit **
   8  Prefactor     .33307E-09    43.184       -.46458E-06** at limit **
   9  Prefactor     5.0795        6.9411        .41363E-07    .83820E-04
  10  Prefactor      .0000        3.9253        .30119E-07** at limit **
  11  Prefactor      .0000        98.134       -.73713E-06** at limit **
  12  norm           .0000        .93284        .92742E-07** at limit **
  13  Prefactor     6.0820        14.286        .31969E-06    .51938E-04
  14  norm          3.7954        6.8349        .62955E-08   -.78462E-05
  15  Prefactor     102.38        80.867        .41683E-06    .76974E-03
  16  Prefactor     10.413        3.7236        .12963E-06    .60120E-04
  17  norm          .27756E-09    50.410        .82122E-05** at limit **
  18  Normalizat    .99770        .30268       -.18387E-04    .13488E-04
  19  Prefactor     1.0945        .98970E-01    .11560E-05    .64257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 52.7748
  Prefactor  = 0
  Prefactor  = 0.448681
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.1779
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 5.07955
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.082
  norm       = 3.79545
  Prefactor  = 102.376
  Prefactor  = 10.413
  norm       = 2.77556e-10
  Normalizat = 0.997697
  Prefactor  = 1.09451
 **********
 **   18 **HESSE 
 **********

 FCN=   10277.73     FROM HESSE     STATUS=OK           310 CALLS     1771 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.775        18.396        .13708E-03   -1.5563    
   2  Prefactor      .0000        29.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44868        18.261        .13100E-01   -1.5695    
   4  Prefactor      .0000        2.3260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.5615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1779        5.6565        .56744E-03   -1.5672    
   7  Prefactor      .0000        3.8980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    43.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0795        6.9498        .44515E-03   -1.5663    
  10  Prefactor      .0000        3.9233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        98.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .93076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0820        14.371        .40718E-03   -1.5659    
  14  norm          3.7954        6.8545        .51748E-03   -1.5669    
  15  Prefactor     102.38        81.072        .98262E-04   -1.5506    
  16  Prefactor     10.413        3.7351        .31024E-03   -1.5643    
  17  norm          .27756E-09    49.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .99770        .27137        .10984       -.93108    
  19  Prefactor     1.0945        .86667E-01    .37798E-01   -.89642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59996e-07
Minuit parameter uncertainties:
  1  18.3959
  2  4.51311e-06
  3  5.72482
  4  1.40009e-06
  5  4.77039e-07
  6  5.65654
  7  4.76089e-08
  8  0.000245606
  9  6.94984
  10  2.45047e-07
  11  5.8845e-05
  12  8.49093e-07
  13  14.3714
  14  6.85456
  15  81.0724
  16  3.73507
  17  0.000246435
  18  0.27175
  19  0.0866784
Done.

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

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  4.761e-08  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.095e+00  8.668e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.977e-01  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 252.700 8.518
Photon Flux Upper Limit: 9.48414347595e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00741068969392 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38053550/likelihoodResults_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.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) = 10277.7283634
delta logL = -0.000182395535376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10277.7281868
delta logL = -5.76671118324e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10277.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1219        .42118E-03** at limit **
   2  Index         2.5272        1.2745        .46715E-04     .0000    
   3  Normalizat    .99770        1.3277        .24222E-05   -.86604E-04
   4  Prefactor     1.0945        1.1526        .23531E-05   -.29852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.52721
  Normalizat = 0.997697
  Prefactor  = 1.09451
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10277.73     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72040        1.9155        .46715E-04   -.51733    
   3  Normalizat    .99770        1.3277        .24222E-05   -.93108    
   4  Prefactor     1.0945        1.1526        .23531E-05   -.89642    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4031e-11
Minuit parameter uncertainties:
  1  8.67792e-06
  2  1.29355
  3  1.37604
  4  1.18048
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) = 10277.728181
delta logL = -1.09139364213e-11

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  8.678e-06  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.527e+00  1.294e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.095e+00  1.180e+00  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.977e-01  1.376e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 252.700 8.518

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/38053550/cmap_HighResolution_810604801_810864001_4FGL_J1650.7+0831_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2026-09-12 13:21:53.668288', job_id='38053550', GAL2='1.09', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1789244513.67', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='2204' AND source_name='4FGL J1650.7+0831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 13:21:53 PDT 2026

