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

 FCN=   25895.33     FROM HESSE     STATUS=OK           247 CALLS     1183 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0611        1.8688        .57947E-03   -1.5673    
   2  Prefactor     .16881E-06    12.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1335        5.1189        .50226E-03   -1.5667    
   4  norm          4.3770        1.1348        .48110E-03   -1.5666    
   5  norm          125.24        15.842        .89219E-04   -1.5484    
   6  Prefactor     32.104        34.096        .17542E-03   -1.5595    
   7  Prefactor     7.7082        16.283        .36491E-03   -1.5652    
   8  Prefactor     .44229E-04    2.4307        .74692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4308        3.4311        .54610E-03   -1.5671    
  10  Prefactor      .0000        1.3529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4402        3.1793        .89829E-03   -1.5684    
  12  Prefactor     27.159        32.218        .19088E-03   -1.5604    
  13  Prefactor     7.1464        5.3702        .37477E-03   -1.5654    
  14  Prefactor     2.0459        13.498        .72191E-03   -1.5679    
  15  Normalizat    1.2204        .16199        .97407E-01   -.85973    
  16  Prefactor     .97828        .54866E-01    .45994E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17818e-06
Minuit parameter uncertainties:
  1  1.86875
  2  0.0029173
  3  5.11891
  4  1.13476
  5  15.8425
  6  34.0966
  7  16.2826
  8  0.0207372
  9  3.43106
  10  6.89378e-06
  11  3.17929
  12  32.2185
  13  5.37022
  14  10.5104
  15  0.162061
  16  0.0548694
/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).

vclsmin=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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/40041075/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits.....................!
real 74.63
user 72.88
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40041075/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits', '/lscratch/kocevski/40041075/ft2_4FGL_J1632.2+0854_weekly_bin948.fits', expMap='/lscratch/kocevski/40041075/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', expCube='/lscratch/kocevski/40041075/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40041075/Model_4FGL_J1632.2+0854_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.2+0854'

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  1.570e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40041075/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40041075/ft2_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40041075/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40041075/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40041075/Model_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.4272879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0620       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18369E-06   1.0000          .0000       .10000E+07
     3 'norm      '    4.0272       1.0000          .0000       .10000E+07
     4 'norm      '    4.3783       1.0000          .0000       .10000E+07
     5 'norm      '    125.65       1.0000          .0000       .10000E+07
     6 'Prefactor '    32.505       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5429       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31023E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4278       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23401E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4410       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.456       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1550       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0491       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2203       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25895.33     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      936 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0611        1.8713        .57675E-07    .41957E-04
   2  Prefactor     .16881E-06    11.694       -.54248E-06** at limit **
   3  norm          4.1335        5.1188        .88074E-07   -.24267E-04
   4  norm          4.3770        1.1341        .31110E-07    .42831E-03
   5  norm          125.24        3.4181       -.22225E-07   -.26834    
   6  Prefactor     32.104        26.504        .10839E-06    .32517E-01
   7  Prefactor     7.7082        15.874       -.48634E-06    .86498E-02
   8  Prefactor     .44229E-04    13.279       -.44748E-06** at limit **
   9  Prefactor     3.4308        3.3995       -.72648E-07    .15328E-02
  10  Prefactor      .0000        1.3624       -.85638E-08** at limit **
  11  Prefactor     1.4402        3.1582       -.59992E-07   -.27099E-03
  12  Prefactor     27.159        19.807        .90919E-07   -.54986E-01
  13  Prefactor     7.1464        5.3073       -.21211E-07   -.10808E-02
  14  Prefactor     2.0459        13.454       -.44210E-06   -.13159E-02
  15  Normalizat    1.2204        .19011        .32270E-05    .25096E-04
  16  Prefactor     .97828        .65825E-01   -.14008E-05    .79706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06111
  Prefactor  = 1.68809e-07
  norm       = 4.13351
  norm       = 4.37702
  norm       = 125.236
  Prefactor  = 32.1042
  Prefactor  = 7.70821
  Prefactor  = 4.42289e-05
  Prefactor  = 3.43076
  Prefactor  = 0
  Prefactor  = 1.44019
  Prefactor  = 27.159
  Prefactor  = 7.14635
  Prefactor  = 2.04595
  Normalizat = 1.22044
  Prefactor  = 0.978278
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.33     FROM HESSE     STATUS=OK           247 CALLS     1183 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0611        1.8688        .57947E-03   -1.5673    
   2  Prefactor     .16881E-06    12.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1335        5.1189        .50226E-03   -1.5667    
   4  norm          4.3770        1.1348        .48110E-03   -1.5666    
   5  norm          125.24        15.842        .89219E-04   -1.5484    
   6  Prefactor     32.104        34.096        .17542E-03   -1.5595    
   7  Prefactor     7.7082        16.283        .36491E-03   -1.5652    
   8  Prefactor     .44229E-04    2.4307        .74692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4308        3.4311        .54610E-03   -1.5671    
  10  Prefactor      .0000        1.3529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4402        3.1793        .89829E-03   -1.5684    
  12  Prefactor     27.159        32.218        .19088E-03   -1.5604    
  13  Prefactor     7.1464        5.3702        .37477E-03   -1.5654    
  14  Prefactor     2.0459        13.498        .72191E-03   -1.5679    
  15  Normalizat    1.2204        .16199        .97407E-01   -.85973    
  16  Prefactor     .97828        .54866E-01    .45994E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17818e-06
Minuit parameter uncertainties:
  1  1.86875
  2  0.0029173
  3  5.11891
  4  1.13476
  5  15.8425
  6  34.0966
  7  16.2826
  8  0.0207372
  9  3.43106
  10  6.89378e-06
  11  3.17929
  12  32.2185
  13  5.37022
  14  10.5104
  15  0.162061
  16  0.0548694
Done.

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

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  4.423e-05  2.074e-02  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.783e-01  5.487e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.220e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.060 8.904
Photon Flux Upper Limit: 4.7854340229e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366835724906 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40041018/likelihoodResults_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.3571709
delta logL = -0.0289147923759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25895.3085668
delta logL = 0.0196893930661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25895.31     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28132        .85394        .58098E-02    .23745E-01
   2  Index         3.1218        .16347        .50000        .32950E-05
   3  Normalizat    1.2133        .52551E-02    .97654E-01    .63945E-04
   4  Prefactor     .97927        .18532E-02    .46007E-01   -.28637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281321
  Index      = 3.12176
  Normalizat = 1.21332
  Prefactor  = 0.979266
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.31     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28132        335.97        .19295E-03   -1.5697    
   2  Index         3.1218        5.8358        .42286E-02   -.38510    
   3  Normalizat    1.2133        .11280        .43267E-03   -.86192    
   4  Prefactor     .97927        .41215E-01    .16693E-03   -.93424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15139e-05
Minuit parameter uncertainties:
  1  19.445
  2  30.9888
  3  0.112827
  4  0.0412161
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) = 25895.3085646
delta logL = 0.01969153135

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  2.813e-01  1.945e+01  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  3.122e+00  3.099e+01  0.000e+00  1.000e+01 (-1.000e+00)
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.793e-01  4.122e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.213e+00  1.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 248.060 8.904

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/40041018/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-10-06 13:12:17.973176', job_id='40041018', GAL2='0.98', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1791317537.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.97e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='948' AND source_name='4FGL J1632.2+0854' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 13:12:18 PDT 2026

vclsmin=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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/40041113/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits.....................!
real 75.65
user 73.78
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40041113/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits', '/lscratch/kocevski/40041113/ft2_4FGL_J1632.2+0854_weekly_bin948.fits', expMap='/lscratch/kocevski/40041113/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', expCube='/lscratch/kocevski/40041113/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40041113/Model_4FGL_J1632.2+0854_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.2+0854'

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  1.570e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40041113/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40041113/ft2_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40041113/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40041113/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40041113/Model_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.4272879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0620       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18369E-06   1.0000          .0000       .10000E+07
     3 'norm      '    4.0272       1.0000          .0000       .10000E+07
     4 'norm      '    4.3783       1.0000          .0000       .10000E+07
     5 'norm      '    125.65       1.0000          .0000       .10000E+07
     6 'Prefactor '    32.505       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5429       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31023E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4278       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23401E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4410       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.456       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1550       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0491       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2203       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25895.33     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      936 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0611        1.8713        .57675E-07    .41957E-04
   2  Prefactor     .16881E-06    11.694       -.54248E-06** at limit **
   3  norm          4.1335        5.1188        .88074E-07   -.24267E-04
   4  norm          4.3770        1.1341        .31110E-07    .42831E-03
   5  norm          125.24        3.4181       -.22225E-07   -.26834    
   6  Prefactor     32.104        26.504        .10839E-06    .32517E-01
   7  Prefactor     7.7082        15.874       -.48634E-06    .86498E-02
   8  Prefactor     .44229E-04    13.279       -.44748E-06** at limit **
   9  Prefactor     3.4308        3.3995       -.72648E-07    .15328E-02
  10  Prefactor      .0000        1.3624       -.85638E-08** at limit **
  11  Prefactor     1.4402        3.1582       -.59992E-07   -.27099E-03
  12  Prefactor     27.159        19.807        .90919E-07   -.54986E-01
  13  Prefactor     7.1464        5.3073       -.21211E-07   -.10808E-02
  14  Prefactor     2.0459        13.454       -.44210E-06   -.13159E-02
  15  Normalizat    1.2204        .19011        .32270E-05    .25096E-04
  16  Prefactor     .97828        .65825E-01   -.14008E-05    .79706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06111
  Prefactor  = 1.68809e-07
  norm       = 4.13351
  norm       = 4.37702
  norm       = 125.236
  Prefactor  = 32.1042
  Prefactor  = 7.70821
  Prefactor  = 4.42289e-05
  Prefactor  = 3.43076
  Prefactor  = 0
  Prefactor  = 1.44019
  Prefactor  = 27.159
  Prefactor  = 7.14635
  Prefactor  = 2.04595
  Normalizat = 1.22044
  Prefactor  = 0.978278
number of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1632.2+0854_weekly_bin948
RA = 248.06, Dec = 8.9044
tmin = 812332801, tmax = 812937601
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='40041542', job_status='RUN', time_executed='2026-10-06 13:09:57.616309', time_epoch_executed='1791317397.62' WHERE source_name='4FGL J1632.2+0854' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40041542

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40041542/ft1_4FGL_J1632.2+0854_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40041542/ft1_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041542/ft1_filteredMKT_4FGL_J1632.2+0854_weekly_bin948.fits ra=248.06 dec=8.9044 rad=12.0 tmin=812332801.0 tmax=812937601.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 6.20
user 5.56
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.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/40041542/ft1_filteredMKT_4FGL_J1632.2+0854_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.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.82
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 2406

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********

 FCN=   25895.33     FROM HESSE     STATUS=OK           247 CALLS     1183 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0611        1.8688        .57947E-03   -1.5673    
   2  Prefactor     .16881E-06    12.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1335        5.1189        .50226E-03   -1.5667    
   4  norm          4.3770        1.1348        .48110E-03   -1.5666    
   5  norm          125.24        15.842        .89219E-04   -1.5484    
   6  Prefactor     32.104        34.096        .17542E-03   -1.5595    
   7  Prefactor     7.7082        16.283        .36491E-03   -1.5652    
   8  Prefactor     .44229E-04    2.4307        .74692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4308        3.4311        .54610E-03   -1.5671    
  10  Prefactor      .0000        1.3529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4402        3.1793        .89829E-03   -1.5684    
  12  Prefactor     27.159        32.218        .19088E-03   -1.5604    
  13  Prefactor     7.1464        5.3702        .37477E-03   -1.5654    
  14  Prefactor     2.0459        13.498        .72191E-03   -1.5679    
  15  Normalizat    1.2204        .16199        .97407E-01   -.85973    
  16  Prefactor     .97828        .54866E-01    .45994E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17818e-06
Minuit parameter uncertainties:
  1  1.86875
  2  0.0029173
  3  5.11891
  4  1.13476
  5  15.8425
  6  34.0966
  7  16.2826
  8  0.0207372
  9  3.43106
  10  6.89378e-06
  11  3.17929
  12  32.2185
  13  5.37022
  14  10.5104
  15  0.162061
  16  0.0548694
Done.

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

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  4.423e-05  2.074e-02  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.783e-01  5.487e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.220e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.060 8.904
Photon Flux Upper Limit: 4.7854340229e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366835724906 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40041075/likelihoodResults_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.3571709
delta logL = -0.0289147923759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25895.3085668
delta logL = 0.0196893930661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25895.31     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28132        .85394        .58098E-02    .23745E-01
   2  Index         3.1218        .16347        .50000        .32950E-05
   3  Normalizat    1.2133        .52551E-02    .97654E-01    .63945E-04
   4  Prefactor     .97927        .18532E-02    .46007E-01   -.28637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281321
  Index      = 3.12176
  Normalizat = 1.21332
  Prefactor  = 0.979266
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.31     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28132        335.97        .19295E-03   -1.5697    
   2  Index         3.1218        5.8358        .42286E-02   -.38510    
   3  Normalizat    1.2133        .11280        .43267E-03   -.86192    
   4  Prefactor     .97927        .41215E-01    .16693E-03   -.93424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15139e-05
Minuit parameter uncertainties:
  1  19.445
  2  30.9888
  3  0.112827
  4  0.0412161
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) = 25895.3085646
delta logL = 0.01969153135

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  2.813e-01  1.945e+01  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  3.122e+00  3.099e+01  0.000e+00  1.000e+01 (-1.000e+00)
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.793e-01  4.122e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.213e+00  1.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 248.060 8.904

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/40041075/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-10-06 13:13:46.115003', job_id='40041075', GAL2='0.98', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1791317626.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.97e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='948' AND source_name='4FGL J1632.2+0854' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 13:13:46 PDT 2026

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


Performing analysis on: 4FGL_J1632.2+0854_weekly_bin948
RA = 248.06, Dec = 8.9044
tmin = 812332801, tmax = 812937601
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='40041646', job_status='RUN', time_executed='2026-10-06 13:10:51.904852', time_epoch_executed='1791317451.9' WHERE source_name='4FGL J1632.2+0854' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40041646

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40041646/ft1_4FGL_J1632.2+0854_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40041646/ft1_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041646/ft1_filteredMKT_4FGL_J1632.2+0854_weekly_bin948.fits ra=248.06 dec=8.9044 rad=12.0 tmin=812332801.0 tmax=812937601.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 6.60
user 5.79
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.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/40041646/ft1_filteredMKT_4FGL_J1632.2+0854_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.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.69
user 0.24
sys 0.16

Number of photons that the gtmktime cut: 2406

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits sctable="SC_DATA" outffile=/lscratch/kocevski/40041542/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits
.....................!
real 19.91
user 19.06
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40041542/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041542/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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/40041542/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
.....................!
real 73.45
user 68.35
sys 4.03

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 164 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 J1632.2+0854 @ 248.06 8.9044

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits scfile=/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041542/cmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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=248.06 yref=8.9044 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.75
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits scfile=/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041542/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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=248.06 yref=8.9044 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.90
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40041542/Model_4FGL_J1632.2+0854_weekly_bin948.xml irfs="P8R3_SOURCE_V2" eDone.

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

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  4.423e-05  2.074e-02  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.783e-01  5.487e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.220e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.060 8.904
Photon Flux Upper Limit: 4.7854340229e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366835724906 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40041113/likelihoodResults_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.3571709
delta logL = -0.0289147923759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25895.3085668
delta logL = 0.0196893930661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25895.31     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28132        .85394        .58098E-02    .23745E-01
   2  Index         3.1218        .16347        .50000        .32950E-05
   3  Normalizat    1.2133        .52551E-02    .97654E-01    .63945E-04
   4  Prefactor     .97927        .18532E-02    .46007E-01   -.28637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281321
  Index      = 3.12176
  Normalizat = 1.21332
  Prefactor  = 0.979266
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.31     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28132        335.97        .19295E-03   -1.5697    
   2  Index         3.1218        5.8358        .42286E-02   -.38510    
   3  Normalizat    1.2133        .11280        .43267E-03   -.86192    
   4  Prefactor     .97927        .41215E-01    .16693E-03   -.93424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15139e-05
Minuit parameter uncertainties:
  1  19.445
  2  30.9888
  3  0.112827
  4  0.0412161
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) = 25895.3085646
delta logL = 0.01969153135

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  2.813e-01  1.945e+01  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  3.122e+00  3.099e+01  0.000e+00  1.000e+01 (-1.000e+00)
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.793e-01  4.122e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.213e+00  1.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 248.060 8.904

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/40041113/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-10-06 13:15:06.316291', job_id='40041113', GAL2='0.98', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1791317706.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.97e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='948' AND source_name='4FGL J1632.2+0854' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 13:15:06 PDT 2026

ile=/lscratch/kocevski/40041646/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits
.....................!
real 21.20
user 20.28
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40041646/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041646/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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/40041646/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
.....................!
real 79.75
user 73.75
sys 4.50

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 164 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 J1632.2+0854 @ 248.06 8.9044

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits scfile=/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041646/cmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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=248.06 yref=8.9044 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.77
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits scfile=/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits outfile=/lscratch/kocevski/40041646/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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=248.06 yref=8.9044 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.68
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40041646/Model_4FGL_J1632.2+0854_weekly_bin948.xml irfs="P8R3_SOURCE_V2" evvclsmin=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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits.....................!
real 77.00
user 75.05
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits', '/lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits', expMap='/lscratch/kocevski/40041542/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', expCube='/lscratch/kocevski/40041542/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40041542/Model_4FGL_J1632.2+0854_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.2+0854'

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  1.570e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40041542/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40041542/ft2_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40041542/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40041542/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40041542/Model_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.4272879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0620       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18369E-06   1.0000          .0000       .10000E+07
     3 'norm      '    4.0272       1.0000          .0000       .10000E+07
     4 'norm      '    4.3783       1.0000          .0000       .10000E+07
     5 'norm      '    125.65       1.0000          .0000       .10000E+07
     6 'Prefactor '    32.505       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5429       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31023E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4278       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23401E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4410       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.456       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1550       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0491       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2203       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25895.33     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      936 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0611        1.8713        .57675E-07    .41957E-04
   2  Prefactor     .16881E-06    11.694       -.54248E-06** at limit **
   3  norm          4.1335        5.1188        .88074E-07   -.24267E-04
   4  norm          4.3770        1.1341        .31110E-07    .42831E-03
   5  norm          125.24        3.4181       -.22225E-07   -.26834    
   6  Prefactor     32.104        26.504        .10839E-06    .32517E-01
   7  Prefactor     7.7082        15.874       -.48634E-06    .86498E-02
   8  Prefactor     .44229E-04    13.279       -.44748E-06** at limit **
   9  Prefactor     3.4308        3.3995       -.72648E-07    .15328E-02
  10  Prefactor      .0000        1.3624       -.85638E-08** at limit **
  11  Prefactor     1.4402        3.1582       -.59992E-07   -.27099E-03
  12  Prefactor     27.159        19.807        .90919E-07   -.54986E-01
  13  Prefactor     7.1464        5.3073       -.21211E-07   -.10808E-02
  14  Prefactor     2.0459        13.454       -.44210E-06   -.13159E-02
  15  Normalizat    1.2204        .19011        .32270E-05    .25096E-04
  16  Prefactor     .97828        .65825E-01   -.14008E-05    .79706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06111
  Prefactor  = 1.68809e-07
  norm       = 4.13351
  norm       = 4.37702
  norm       = 125.236
  Prefactor  = 32.1042
  Prefactor  = 7.70821
  Prefactor  = 4.42289e-05
  Prefactor  = 3.43076
  Prefactor  = 0
  Prefactor  = 1.44019
  Prefactor  = 27.159
  Prefactor  = 7.14635
  Prefactor  = 2.04595
  Normalizat = 1.22044
  Prefactor  = 0.978278
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.33     FROM HESSE     STATUS=OK           247 CALLS     1183 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0611        1.8688        .57947E-03   -1.5673    
   2  Prefactor     .16881E-06    12.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1335        5.1189        .50226E-03   -1.5667    
   4  norm          4.3770        1.1348        .48110E-03   -1.5666    
   5  norm          125.24        15.842        .89219E-04   -1.5484    
   6  Prefactor     32.104        34.096        .17542E-03   -1.5595    
   7  Prefactor     7.7082        16.283        .36491E-03   -1.5652    
   8  Prefactor     .44229E-04    2.4307        .74692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4308        3.4311        .54610E-03   -1.5671    
  10  Prefactor      .0000        1.3529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4402        3.1793        .89829E-03   -1.5684    
  12  Prefactor     27.159        32.218        .19088E-03   -1.5604    
  13  Prefactor     7.1464        5.3702        .37477E-03   -1.5654    
  14  Prefactor     2.0459        13.498        .72191E-03   -1.5679    
  15  Normalizat    1.2204        .16199        .97407E-01   -.85973    
  16  Prefactor     .97828        .54866E-01    .45994E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17818e-06
Minuit parameter uncertainties:
  1  1.86875
  2  0.0029173
  3  5.11891
  4  1.13476
  5  15.8425
  6  34.0966
  7  16.2826
  8  0.0207372
  9  3.43106
  10  6.89378e-06
  11  3.17929
  12  32.2185
  13  5.37022
  14  10.5104
  15  0.162061
  16  0.0548694
clsmin=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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits.....................!
real 82.34
user 80.23
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits', '/lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits', expMap='/lscratch/kocevski/40041646/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', expCube='/lscratch/kocevski/40041646/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40041646/Model_4FGL_J1632.2+0854_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.2+0854'

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  1.570e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40041646/ft1_filtered_4FGL_J1632.2+0854_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40041646/ft2_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40041646/expmap_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40041646/ltcube_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40041646/Model_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.4272879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0620       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18369E-06   1.0000          .0000       .10000E+07
     3 'norm      '    4.0272       1.0000          .0000       .10000E+07
     4 'norm      '    4.3783       1.0000          .0000       .10000E+07
     5 'norm      '    125.65       1.0000          .0000       .10000E+07
     6 'Prefactor '    32.505       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5429       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31023E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4278       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23401E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4410       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.456       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1550       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0491       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2203       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25895.33     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      936 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0611        1.8713        .57675E-07    .41957E-04
   2  Prefactor     .16881E-06    11.694       -.54248E-06** at limit **
   3  norm          4.1335        5.1188        .88074E-07   -.24267E-04
   4  norm          4.3770        1.1341        .31110E-07    .42831E-03
   5  norm          125.24        3.4181       -.22225E-07   -.26834    
   6  Prefactor     32.104        26.504        .10839E-06    .32517E-01
   7  Prefactor     7.7082        15.874       -.48634E-06    .86498E-02
   8  Prefactor     .44229E-04    13.279       -.44748E-06** at limit **
   9  Prefactor     3.4308        3.3995       -.72648E-07    .15328E-02
  10  Prefactor      .0000        1.3624       -.85638E-08** at limit **
  11  Prefactor     1.4402        3.1582       -.59992E-07   -.27099E-03
  12  Prefactor     27.159        19.807        .90919E-07   -.54986E-01
  13  Prefactor     7.1464        5.3073       -.21211E-07   -.10808E-02
  14  Prefactor     2.0459        13.454       -.44210E-06   -.13159E-02
  15  Normalizat    1.2204        .19011        .32270E-05    .25096E-04
  16  Prefactor     .97828        .65825E-01   -.14008E-05    .79706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06111
  Prefactor  = 1.68809e-07
  norm       = 4.13351
  norm       = 4.37702
  norm       = 125.236
  Prefactor  = 32.1042
  Prefactor  = 7.70821
  Prefactor  = 4.42289e-05
  Prefactor  = 3.43076
  Prefactor  = 0
  Prefactor  = 1.44019
  Prefactor  = 27.159
  Prefactor  = 7.14635
  Prefactor  = 2.04595
  Normalizat = 1.22044
  Prefactor  = 0.978278
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.33     FROM HESSE     STATUS=OK           247 CALLS     1183 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0611        1.8688        .57947E-03   -1.5673    
   2  Prefactor     .16881E-06    12.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1335        5.1189        .50226E-03   -1.5667    
   4  norm          4.3770        1.1348        .48110E-03   -1.5666    
   5  norm          125.24        15.842        .89219E-04   -1.5484    
   6  Prefactor     32.104        34.096        .17542E-03   -1.5595    
   7  Prefactor     7.7082        16.283        .36491E-03   -1.5652    
   8  Prefactor     .44229E-04    2.4307        .74692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4308        3.4311        .54610E-03   -1.5671    
  10  Prefactor      .0000        1.3529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4402        3.1793        .89829E-03   -1.5684    
  12  Prefactor     27.159        32.218        .19088E-03   -1.5604    
  13  Prefactor     7.1464        5.3702        .37477E-03   -1.5654    
  14  Prefactor     2.0459        13.498        .72191E-03   -1.5679    
  15  Normalizat    1.2204        .16199        .97407E-01   -.85973    
  16  Prefactor     .97828        .54866E-01    .45994E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17818e-06
Minuit parameter uncertainties:
  1  1.86875
  2  0.0029173
  3  5.11891
  4  1.13476
  5  15.8425
  6  34.0966
  7  16.2826
  8  0.0207372
  9  3.43106
  10  6.89378e-06
  11  3.17929
  12  32.2185
  13  5.37022
  14  10.5104
  15  0.162061
  16  0.0548694
Done.

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

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  4.423e-05  2.074e-02  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.783e-01  5.487e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.220e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.060 8.904
Photon Flux Upper Limit: 4.7854340229e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366835724906 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40041542/likelihoodResults_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.3571709
delta logL = -0.0289147923759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25895.3085668
delta logL = 0.0196893930661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25895.31     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28132        .85394        .58098E-02    .23745E-01
   2  Index         3.1218        .16347        .50000        .32950E-05
   3  Normalizat    1.2133        .52551E-02    .97654E-01    .63945E-04
   4  Prefactor     .97927        .18532E-02    .46007E-01   -.28637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281321
  Index      = 3.12176
  Normalizat = 1.21332
  Prefactor  = 0.979266
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.31     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28132        335.97        .19295E-03   -1.5697    
   2  Index         3.1218        5.8358        .42286E-02   -.38510    
   3  Normalizat    1.2133        .11280        .43267E-03   -.86192    
   4  Prefactor     .97927        .41215E-01    .16693E-03   -.93424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15139e-05
Minuit parameter uncertainties:
  1  19.445
  2  30.9888
  3  0.112827
  4  0.0412161
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) = 25895.3085646
delta logL = 0.01969153135

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  2.813e-01  1.945e+01  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  3.122e+00  3.099e+01  0.000e+00  1.000e+01 (-1.000e+00)
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.793e-01  4.122e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.213e+00  1.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 248.060 8.904

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/40041542/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-10-06 13:20:55.068201', job_id='40041542', GAL2='0.98', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1791318055.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.97e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='948' AND source_name='4FGL J1632.2+0854' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 13:20:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  4.423e-05  2.074e-02  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.783e-01  5.487e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.220e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.060 8.904
Photon Flux Upper Limit: 4.7854340229e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00366835724906 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40041646/likelihoodResults_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.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) = 25895.3571709
delta logL = -0.0289147923759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25895.3085668
delta logL = 0.0196893930661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25895.31     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28132        .85394        .58098E-02    .23745E-01
   2  Index         3.1218        .16347        .50000        .32950E-05
   3  Normalizat    1.2133        .52551E-02    .97654E-01    .63945E-04
   4  Prefactor     .97927        .18532E-02    .46007E-01   -.28637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.281321
  Index      = 3.12176
  Normalizat = 1.21332
  Prefactor  = 0.979266
 **********
 **   18 **HESSE 
 **********

 FCN=   25895.31     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28132        335.97        .19295E-03   -1.5697    
   2  Index         3.1218        5.8358        .42286E-02   -.38510    
   3  Normalizat    1.2133        .11280        .43267E-03   -.86192    
   4  Prefactor     .97927        .41215E-01    .16693E-03   -.93424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15139e-05
Minuit parameter uncertainties:
  1  19.445
  2  30.9888
  3  0.112827
  4  0.0412161
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) = 25895.3085646
delta logL = 0.01969153135

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  2.813e-01  1.945e+01  0.000e+00  1.000e+06 ( 1.000e-13)
244        Index:  3.122e+00  3.099e+01  0.000e+00  1.000e+01 (-1.000e+00)
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.793e-01  4.122e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.213e+00  1.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 248.060 8.904

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/40041646/cmap_HighResolution_812332801_812937601_4FGL_J1632.2+0854_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2026-10-06 13:21:56.110653', job_id='40041646', GAL2='0.98', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1791318116.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.97e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='948' AND source_name='4FGL J1632.2+0854' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 13:21:56 PDT 2026

