/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
number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.

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

Done.


Performing analysis on: 4FGL_J1645.6+6329_weekly_bin931
RA = 251.405, Dec = 63.4958
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28171951', job_status='RUN', time_executed='2026-06-09 15:18:34.852201', time_epoch_executed='1781043514.85' WHERE source_name='4FGL J1645.6+6329' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28171951

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28171951/ft1_4FGL_J1645.6+6329_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28171951/ft1_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171951/ft1_filteredMKT_4FGL_J1645.6+6329_weekly_bin931.fits ra=251.405 dec=63.4958 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.70
user 4.03
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/28171951/ft1_filteredMKT_4FGL_J1645.6+6329_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.80
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1782

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA"/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).

e GAL_V02
Working on...
/lscratch/kocevski/28171889/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits.....................!
real 53.46
user 51.69
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28171889/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits', '/lscratch/kocevski/28171889/ft2_4FGL_J1645.6+6329_weekly_bin931.fits', expMap='/lscratch/kocevski/28171889/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', expCube='/lscratch/kocevski/28171889/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28171889/Model_4FGL_J1645.6+6329_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28171889/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28171889/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28171889/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28171889/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28171889/Model_4FGL_J1645.6+6329_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5006       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39290E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54819E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     7 'norm      '    11.348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6664       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    11 'norm      '    8.6494       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.669       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28138E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .28868E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16133E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0685       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12416E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87041E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .66664E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16673E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.9569       1.0000          .0000       .10000E+07
    22 'norm      '    .58571       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24980E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .81641E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6481       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1049       1.000e GAL_V02
Working on...
/lscratch/kocevski/28171899/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits.....................!
real 54.64
user 52.95
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28171899/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits', '/lscratch/kocevski/28171899/ft2_4FGL_J1645.6+6329_weekly_bin931.fits', expMap='/lscratch/kocevski/28171899/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', expCube='/lscratch/kocevski/28171899/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28171899/Model_4FGL_J1645.6+6329_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28171899/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28171899/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28171899/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28171899/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28171899/Model_4FGL_J1645.6+6329_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5006       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39290E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54819E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     7 'norm      '    11.348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6664       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    11 'norm      '    8.6494       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.669       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28138E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .28868E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16133E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0685       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12416E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87041E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .66664E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16673E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.9569       1.0000          .0000       .10000E+07
    22 'norm      '    .58571       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24980E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .81641E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6481       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1049       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18970.47     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1946 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.9741        .89926E-06** at limit **
   2  norm          3.5009        1.5310        .23503E-08    .33046E-03
   3  Prefactor     .53990E-06    41.811       -.36711E-05** at limit **
   4  Prefactor     .27844E-06    19.322        .17418E-06** at limit **
   5  norm           .0000        .95714       -.23906E-06** at limit **
   6  Prefactor     10.626        8.7805        .90181E-06   -.93287E-02
   7  norm          11.353        8.4939        .88969E-06    .16780E-01
   8  Prefactor     .12212E-08    16.240        .51676E-06** at limit **
   9  Prefactor     3.6679        3.1932        .17035E-07    .14810E-02
  10  Prefactor     13.822        1.3376       -.11670E-07   -.63055E-02
  11  norm          8.6453        4.9077       -.67855E-07    .31859E-03
  12  Prefactor     10.675        6.2326       -.11832E-07   -.73261E-03
  13  Prefactor      .0000        2.4277       -.15482E-06** at limit **
  14  norm          .28454E-01    .42194        .30403E-06** at limit **
  15  Prefactor      .0000        1.6589       -.25310E-06** at limit **
  16  Prefactor     4.0606        7.6389       -.37852E-06    .98714E-04
  17  Prefactor     .55511E-10    3.9663       -.27620E-06** at limit **
  18  Prefactor      .0000        2.0654       -.24802E-07** at limit **
  19  Prefactor     .22204E-09    8.7515        .29251E-06** at limit **
  20  Prefactor     .18778E-05    18.602       -.68576E-06** at limit **
  21  norm          3.9565        1.5860       -.39937E-07   -.12894E-02
  22  norm          .58908        3.2463        .47969E-06   -.86300E-03
  23  Prefactor     .11102E-09    3.8929        .19442E-06** at limit **
  24  Prefactor     .48223E-06    19.239        .10005E-05** at limit **
  25  Prefactor     5.6473        3.8281       -.10141E-06   -.11208E-02
  26  Normalizat    1.1049        .12676        .35918E-05    .11284E-03
  27  Prefactor     1.0201        .10819       -.31836E-05    .89801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 3.50091
  Prefactor  = 5.39901e-07
  Prefactor  = 2.78444e-07
  norm       = 0
  Prefactor  = 10.6263
  norm       = 11.3528
  Prefactor  = 1.22125e-09
  Prefactor  = 3.66792
  Prefactor  = 13.8218
  norm       = 8.64527
  Prefactor  = 10.6748
  Prefactor  = 0
  norm       = 0.0284544
  Prefactor  = 0
  Prefactor  = 4.06056
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.87783e-06
  norm       = 3.95652
  norm       = 0.589082
  Prefactor  = 1.11022e-10
  Prefactor  = 4.82225e-07
  Prefactor  = 5.64728
  Normalizat = 1.10493
  Prefactor  = 1.02009
number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1645.6+6329_weekly_bin931
RA = 251.405, Dec = 63.4958
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28171975', job_status='RUN', time_executed='2026-06-09 15:20:59.064795', time_epoch_executed='1781043659.06' WHERE source_name='4FGL J1645.6+6329' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28171975

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28171975/ft1_4FGL_J1645.6+6329_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28171975/ft1_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171975/ft1_filteredMKT_4FGL_J1645.6+6329_weekly_bin931.fits ra=251.405 dec=63.4958 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.91
user 4.27
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/28171975/ft1_filteredMKT_4FGL_J1645.6+6329_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.76
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1782

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA"0         .10000E-01   10.000    
    27 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18970.47     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1946 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.9741        .89926E-06** at limit **
   2  norm          3.5009        1.5310        .23503E-08    .33046E-03
   3  Prefactor     .53990E-06    41.811       -.36711E-05** at limit **
   4  Prefactor     .27844E-06    19.322        .17418E-06** at limit **
   5  norm           .0000        .95714       -.23906E-06** at limit **
   6  Prefactor     10.626        8.7805        .90181E-06   -.93287E-02
   7  norm          11.353        8.4939        .88969E-06    .16780E-01
   8  Prefactor     .12212E-08    16.240        .51676E-06** at limit **
   9  Prefactor     3.6679        3.1932        .17035E-07    .14810E-02
  10  Prefactor     13.822        1.3376       -.11670E-07   -.63055E-02
  11  norm          8.6453        4.9077       -.67855E-07    .31859E-03
  12  Prefactor     10.675        6.2326       -.11832E-07   -.73261E-03
  13  Prefactor      .0000        2.4277       -.15482E-06** at limit **
  14  norm          .28454E-01    .42194        .30403E-06** at limit **
  15  Prefactor      .0000        1.6589       -.25310E-06** at limit **
  16  Prefactor     4.0606        7.6389       -.37852E-06    .98714E-04
  17  Prefactor     .55511E-10    3.9663       -.27620E-06** at limit **
  18  Prefactor      .0000        2.0654       -.24802E-07** at limit **
  19  Prefactor     .22204E-09    8.7515        .29251E-06** at limit **
  20  Prefactor     .18778E-05    18.602       -.68576E-06** at limit **
  21  norm          3.9565        1.5860       -.39937E-07   -.12894E-02
  22  norm          .58908        3.2463        .47969E-06   -.86300E-03
  23  Prefactor     .11102E-09    3.8929        .19442E-06** at limit **
  24  Prefactor     .48223E-06    19.239        .10005E-05** at limit **
  25  Prefactor     5.6473        3.8281       -.10141E-06   -.11208E-02
  26  Normalizat    1.1049        .12676        .35918E-05    .11284E-03
  27  Prefactor     1.0201        .10819       -.31836E-05    .89801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 3.50091
  Prefactor  = 5.39901e-07
  Prefactor  = 2.78444e-07
  norm       = 0
  Prefactor  = 10.6263
  norm       = 11.3528
  Prefactor  = 1.22125e-09
  Prefactor  = 3.66792
  Prefactor  = 13.8218
  norm       = 8.64527
  Prefactor  = 10.6748
  Prefactor  = 0
  norm       = 0.0284544
  Prefactor  = 0
  Prefactor  = 4.06056
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.87783e-06
  norm       = 3.95652
  norm       = 0.589082
  Prefactor  = 1.11022e-10
  Prefactor  = 4.82225e-07
  Prefactor  = 5.64728
  Normalizat = 1.10493
  Prefactor  = 1.02009
e GAL_V02
Working on...
/lscratch/kocevski/28171913/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits.....................!
real 52.18
user 50.30
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28171913/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits', '/lscratch/kocevski/28171913/ft2_4FGL_J1645.6+6329_weekly_bin931.fits', expMap='/lscratch/kocevski/28171913/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', expCube='/lscratch/kocevski/28171913/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28171913/Model_4FGL_J1645.6+6329_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28171913/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28171913/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28171913/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28171913/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28171913/Model_4FGL_J1645.6+6329_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5006       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39290E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54819E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     7 'norm      '    11.348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6664       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    11 'norm      '    8.6494       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.669       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28138E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .28868E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16133E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0685       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12416E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87041E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .66664E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16673E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.9569       1.0000          .0000       .10000E+07
    22 'norm      '    .58571       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24980E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .81641E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6481       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1049       1.000 outfile=/lscratch/kocevski/28171951/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
.....................!
real 15.73
user 15.11
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28171951/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171951/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28171951/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
.....................!
real 59.99
user 55.70
sys 3.52

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

Setting source of interest to:
4FGL J1645.6+6329 @ 251.405 63.4958

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits scfile=/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171951/cmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=251.405 yref=63.4958 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.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits scfile=/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171951/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=251.405 yref=63.4958 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.67
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28171951/Model_4FGL_J1645.6+6329_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/28171911/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits.....................!
real 56.49
user 52.48
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28171911/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits', '/lscratch/kocevski/28171911/ft2_4FGL_J1645.6+6329_weekly_bin931.fits', expMap='/lscratch/kocevski/28171911/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', expCube='/lscratch/kocevski/28171911/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28171911/Model_4FGL_J1645.6+6329_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28171911/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28171911/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28171911/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28171911/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28171911/Model_4FGL_J1645.6+6329_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5006       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39290E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54819E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     7 'norm      '    11.348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6664       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    11 'norm      '    8.6494       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.669       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28138E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .28868E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16133E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0685       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12416E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87041E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .66664E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16673E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.9569       1.0000          .0000       .10000E+07
    22 'norm      '    .58571       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24980E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .81641E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6481       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1049       1.000 **********
 **   18 **HESSE 
 **********

 FCN=   18970.47     FROM HESSE     STATUS=OK           548 CALLS     2494 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5009        1.5328        .54013E-03   -1.5671    
   3  Prefactor     .53990E-06    48.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27844E-06    1.7507        .63790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .96521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.626        12.547        .30637E-03   -1.5643    
   7  norm          11.353        11.753        .29714E-03   -1.5641    
   8  Prefactor     .12212E-08    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6679        3.2006        .52728E-03   -1.5670    
  10  Prefactor     13.822        15.674        .27249E-03   -1.5634    
  11  norm          8.6453        4.9168        .34059E-03   -1.5649    
  12  Prefactor     10.675        6.2524        .30649E-03   -1.5643    
  13  Prefactor      .0000        2.4319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28454E-01    .16571        .16511E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0606        7.8836        .49962E-03   -1.5668    
  17  Prefactor     .55511E-10    3.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    8.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18778E-05    42.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9565        1.6203        .50685E-03   -1.5668    
  22  norm          .58908        3.4592        .70518E-03   -1.5693    
  23  Prefactor     .11102E-09    3.9050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48223E-06    33.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6473        3.9172        .42245E-03   -1.5660    
  26  Normalizat    1.1049        .10771        .58171E-01   -.89594    
  27  Prefactor     1.0201        .91774E-01    .42123E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05615e-06
Minuit parameter uncertainties:
  1  0.000122518
  2  1.53277
  3  0.0102429
  4  0.00139645
  5  8.90314e-06
  6  12.5472
  7  11.7533
  8  0.000384884
  9  3.20059
  10  15.674
  11  4.91685
  12  6.25238
  13  1.00661e-05
  14  0.137336
  15  4.1357e-08
  16  7.88365
  17  2.40677e-05
  18  3.29393e-06
  19  8.28067e-05
  20  0.0177834
  21  1.62032
  22  2.85498
  23  3.87229e-05
  24  0.00799295
  25  3.91721
  26  0.107736
  27  0.0917885
0         .10000E-01   10.000    
    27 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18970.47     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1946 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.9741        .89926E-06** at limit **
   2  norm          3.5009        1.5310        .23503E-08    .33046E-03
   3  Prefactor     .53990E-06    41.811       -.36711E-05** at limit **
   4  Prefactor     .27844E-06    19.322        .17418E-06** at limit **
   5  norm           .0000        .95714       -.23906E-06** at limit **
   6  Prefactor     10.626        8.7805        .90181E-06   -.93287E-02
   7  norm          11.353        8.4939        .88969E-06    .16780E-01
   8  Prefactor     .12212E-08    16.240        .51676E-06** at limit **
   9  Prefactor     3.6679        3.1932        .17035E-07    .14810E-02
  10  Prefactor     13.822        1.3376       -.11670E-07   -.63055E-02
  11  norm          8.6453        4.9077       -.67855E-07    .31859E-03
  12  Prefactor     10.675        6.2326       -.11832E-07   -.73261E-03
  13  Prefactor      .0000        2.4277       -.15482E-06** at limit **
  14  norm          .28454E-01    .42194        .30403E-06** at limit **
  15  Prefactor      .0000        1.6589       -.25310E-06** at limit **
  16  Prefactor     4.0606        7.6389       -.37852E-06    .98714E-04
  17  Prefactor     .55511E-10    3.9663       -.27620E-06** at limit **
  18  Prefactor      .0000        2.0654       -.24802E-07** at limit **
  19  Prefactor     .22204E-09    8.7515        .29251E-06** at limit **
  20  Prefactor     .18778E-05    18.602       -.68576E-06** at limit **
  21  norm          3.9565        1.5860       -.39937E-07   -.12894E-02
  22  norm          .58908        3.2463        .47969E-06   -.86300E-03
  23  Prefactor     .11102E-09    3.8929        .19442E-06** at limit **
  24  Prefactor     .48223E-06    19.239        .10005E-05** at limit **
  25  Prefactor     5.6473        3.8281       -.10141E-06   -.11208E-02
  26  Normalizat    1.1049        .12676        .35918E-05    .11284E-03
  27  Prefactor     1.0201        .10819       -.31836E-05    .89801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 3.50091
  Prefactor  = 5.39901e-07
  Prefactor  = 2.78444e-07
  norm       = 0
  Prefactor  = 10.6263
  norm       = 11.3528
  Prefactor  = 1.22125e-09
  Prefactor  = 3.66792
  Prefactor  = 13.8218
  norm       = 8.64527
  Prefactor  = 10.6748
  Prefactor  = 0
  norm       = 0.0284544
  Prefactor  = 0
  Prefactor  = 4.06056
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.87783e-06
  norm       = 3.95652
  norm       = 0.589082
  Prefactor  = 1.11022e-10
  Prefactor  = 4.82225e-07
  Prefactor  = 5.64728
  Normalizat = 1.10493
  Prefactor  = 1.02009
0         .10000E-01   10.000    
    27 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18970.47     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1946 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.9741        .89926E-06** at limit **
   2  norm          3.5009        1.5310        .23503E-08    .33046E-03
   3  Prefactor     .53990E-06    41.811       -.36711E-05** at limit **
   4  Prefactor     .27844E-06    19.322        .17418E-06** at limit **
   5  norm           .0000        .95714       -.23906E-06** at limit **
   6  Prefactor     10.626        8.7805        .90181E-06   -.93287E-02
   7  norm          11.353        8.4939        .88969E-06    .16780E-01
   8  Prefactor     .12212E-08    16.240        .51676E-06** at limit **
   9  Prefactor     3.6679        3.1932        .17035E-07    .14810E-02
  10  Prefactor     13.822        1.3376       -.11670E-07   -.63055E-02
  11  norm          8.6453        4.9077       -.67855E-07    .31859E-03
  12  Prefactor     10.675        6.2326       -.11832E-07   -.73261E-03
  13  Prefactor      .0000        2.4277       -.15482E-06** at limit **
  14  norm          .28454E-01    .42194        .30403E-06** at limit **
  15  Prefactor      .0000        1.6589       -.25310E-06** at limit **
  16  Prefactor     4.0606        7.6389       -.37852E-06    .98714E-04
  17  Prefactor     .55511E-10    3.9663       -.27620E-06** at limit **
  18  Prefactor      .0000        2.0654       -.24802E-07** at limit **
  19  Prefactor     .22204E-09    8.7515        .29251E-06** at limit **
  20  Prefactor     .18778E-05    18.602       -.68576E-06** at limit **
  21  norm          3.9565        1.5860       -.39937E-07   -.12894E-02
  22  norm          .58908        3.2463        .47969E-06   -.86300E-03
  23  Prefactor     .11102E-09    3.8929        .19442E-06** at limit **
  24  Prefactor     .48223E-06    19.239        .10005E-05** at limit **
  25  Prefactor     5.6473        3.8281       -.10141E-06   -.11208E-02
  26  Normalizat    1.1049        .12676        .35918E-05    .11284E-03
  27  Prefactor     1.0201        .10819       -.31836E-05    .89801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 3.50091
  Prefactor  = 5.39901e-07
  Prefactor  = 2.78444e-07
  norm       = 0
  Prefactor  = 10.6263
  norm       = 11.3528
  Prefactor  = 1.22125e-09
  Prefactor  = 3.66792
  Prefactor  = 13.8218
  norm       = 8.64527
  Prefactor  = 10.6748
  Prefactor  = 0
  norm       = 0.0284544
  Prefactor  = 0
  Prefactor  = 4.06056
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.87783e-06
  norm       = 3.95652
  norm       = 0.589082
  Prefactor  = 1.11022e-10
  Prefactor  = 4.82225e-07
  Prefactor  = 5.64728
  Normalizat = 1.10493
  Prefactor  = 1.02009
Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.645e+00  4.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.020e+00  9.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.105e+00  1.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.19e-06 +/- 5.23e-06

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) = 18970.463489
delta logL = 0.00623012688811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629727
delta logL = 0.00674651194277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18970.46     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      258 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5065        5.1343        .13738E-04    .74146E-03
   2  alpha         2.4543        .63572        .25548E-01    .16727E-04
   3  Normalizat    1.1025        .12646        .25750E-03    .12115E-03
   4  Prefactor     1.0214        .10727        .22765E-03    .19815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.50649
  alpha      = 2.45432
  Normalizat = 1.1025
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.46     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5065        5.0174        .54953E-06   -1.5650    
   2  alpha         2.4543        .62108        .10219E-02   -.18272E-01
   3  Normalizat    1.1025        .12650        .10300E-04   -.89671    
   4  Prefactor     1.0214        .10731        .91062E-05   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46917e-11
Minuit parameter uncertainties:
  1  5.01739
  2  0.627655
  3  0.126534
  4  0.107335
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.47     FROM HESSE     STATUS=OK           548 CALLS     2494 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5009        1.5328        .54013E-03   -1.5671    
   3  Prefactor     .53990E-06    48.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27844E-06    1.7507        .63790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .96521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.626        12.547        .30637E-03   -1.5643    
   7  norm          11.353        11.753        .29714E-03   -1.5641    
   8  Prefactor     .12212E-08    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6679        3.2006        .52728E-03   -1.5670    
  10  Prefactor     13.822        15.674        .27249E-03   -1.5634    
  11  norm          8.6453        4.9168        .34059E-03   -1.5649    
  12  Prefactor     10.675        6.2524        .30649E-03   -1.5643    
  13  Prefactor      .0000        2.4319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28454E-01    .16571        .16511E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0606        7.8836        .49962E-03   -1.5668    
  17  Prefactor     .55511E-10    3.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    8.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18778E-05    42.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9565        1.6203        .50685E-03   -1.5668    
  22  norm          .58908        3.4592        .70518E-03   -1.5693    
  23  Prefactor     .11102E-09    3.9050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48223E-06    33.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6473        3.9172        .42245E-03   -1.5660    
  26  Normalizat    1.1049        .10771        .58171E-01   -.89594    
  27  Prefactor     1.0201        .91774E-01    .42123E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05615e-06
Minuit parameter uncertainties:
  1  0.000122518
  2  1.53277
  3  0.0102429
  4  0.00139645
  5  8.90314e-06
  6  12.5472
  7  11.7533
  8  0.000384884
  9  3.20059
  10  15.674
  11  4.91685
  12  6.25238
  13  1.00661e-05
  14  0.137336
  15  4.1357e-08
  16  7.88365
  17  2.40677e-05
  18  3.29393e-06
  19  8.28067e-05
  20  0.0177834
  21  1.62032
  22  2.85498
  23  3.87229e-05
  24  0.00799295
  25  3.91721
  26  0.107736
  27  0.0917885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629724
delta logL = 0.00674672755122

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.506e+00  5.017e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.454e+00  6.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.021e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.103e+00  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.45 +/- 0.63
Photon Flux (Free Index): 3.12e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.15e-06 +/- 5.17e-06

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/28171889/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='9.15e-06', photon_flux_error='1.68e-08', dlogl='6.75e-03', energy_flux='9.19e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2026-06-09 15:23:45.700042', photon_index_error2='0.63', photon_index2='2.45', ts='4.99', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.17e-06', EG='1.10', time_epoch_completed='1781043825.7', return_code='0', job_id='28171889', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='5.23e-06', photon_flux_error2='2.22e-08', ts2='5.00', photon_index='2.38' WHERE bin_id='931' AND source_name='4FGL J1645.6+6329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:23:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.645e+00  4.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.020e+00  9.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.105e+00  1.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.19e-06 +/- 5.23e-06

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) = 18970.463489
delta logL = 0.00623012688811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629727
delta logL = 0.00674651194277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18970.46     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      258 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5065        5.1343        .13738E-04    .74146E-03
   2  alpha         2.4543        .63572        .25548E-01    .16727E-04
   3  Normalizat    1.1025        .12646        .25750E-03    .12115E-03
   4  Prefactor     1.0214        .10727        .22765E-03    .19815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.50649
  alpha      = 2.45432
  Normalizat = 1.1025
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.46     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5065        5.0174        .54953E-06   -1.5650    
   2  alpha         2.4543        .62108        .10219E-02   -.18272E-01
   3  Normalizat    1.1025        .12650        .10300E-04   -.89671    
   4  Prefactor     1.0214        .10731        .91062E-05   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46917e-11
Minuit parameter uncertainties:
  1  5.01739
  2  0.627655
  3  0.126534
  4  0.107335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629724
delta logL = 0.00674672755122

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.506e+00  5.017e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.454e+00  6.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.021e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.103e+00  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.45 +/- 0.63
Photon Flux (Free Index): 3.12e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.15e-06 +/- 5.17e-06

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/28171899/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='9.15e-06', photon_flux_error='1.68e-08', dlogl='6.75e-03', energy_flux='9.19e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2026-06-09 15:24:17.141239', photon_index_error2='0.63', photon_index2='2.45', ts='4.99', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.17e-06', EG='1.10', time_epoch_completed='1781043857.14', return_code='0', job_id='28171899', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='5.23e-06', photon_flux_error2='2.22e-08', ts2='5.00', photon_index='2.38' WHERE bin_id='931' AND source_name='4FGL J1645.6+6329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:24:17 PDT 2026

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

 FCN=   18970.47     FROM HESSE     STATUS=OK           548 CALLS     2494 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5009        1.5328        .54013E-03   -1.5671    
   3  Prefactor     .53990E-06    48.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27844E-06    1.7507        .63790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .96521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.626        12.547        .30637E-03   -1.5643    
   7  norm          11.353        11.753        .29714E-03   -1.5641    
   8  Prefactor     .12212E-08    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6679        3.2006        .52728E-03   -1.5670    
  10  Prefactor     13.822        15.674        .27249E-03   -1.5634    
  11  norm          8.6453        4.9168        .34059E-03   -1.5649    
  12  Prefactor     10.675        6.2524        .30649E-03   -1.5643    
  13  Prefactor      .0000        2.4319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28454E-01    .16571        .16511E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0606        7.8836        .49962E-03   -1.5668    
  17  Prefactor     .55511E-10    3.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    8.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18778E-05    42.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9565        1.6203        .50685E-03   -1.5668    
  22  norm          .58908        3.4592        .70518E-03   -1.5693    
  23  Prefactor     .11102E-09    3.9050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48223E-06    33.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6473        3.9172        .42245E-03   -1.5660    
  26  Normalizat    1.1049        .10771        .58171E-01   -.89594    
  27  Prefactor     1.0201        .91774E-01    .42123E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05615e-06
Minuit parameter uncertainties:
  1  0.000122518
  2  1.53277
  3  0.0102429
  4  0.00139645
  5  8.90314e-06
  6  12.5472
  7  11.7533
  8  0.000384884
  9  3.20059
  10  15.674
  11  4.91685
  12  6.25238
  13  1.00661e-05
  14  0.137336
  15  4.1357e-08
  16  7.88365
  17  2.40677e-05
  18  3.29393e-06
  19  8.28067e-05
  20  0.0177834
  21  1.62032
  22  2.85498
  23  3.87229e-05
  24  0.00799295
  25  3.91721
  26  0.107736
  27  0.0917885
 outfile=/lscratch/kocevski/28171975/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
.....................!
real 16.39
user 15.75
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28171975/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171975/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28171975/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
.....................!
real 63.89
user 59.07
sys 3.97

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

Setting source of interest to:
4FGL J1645.6+6329 @ 251.405 63.4958

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits scfile=/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171975/cmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=251.405 yref=63.4958 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.83
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits scfile=/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits outfile=/lscratch/kocevski/28171975/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=251.405 yref=63.4958 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.76
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28171975/Model_4FGL_J1645.6+6329_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   18970.47     FROM HESSE     STATUS=OK           548 CALLS     2494 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5009        1.5328        .54013E-03   -1.5671    
   3  Prefactor     .53990E-06    48.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27844E-06    1.7507        .63790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .96521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.626        12.547        .30637E-03   -1.5643    
   7  norm          11.353        11.753        .29714E-03   -1.5641    
   8  Prefactor     .12212E-08    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6679        3.2006        .52728E-03   -1.5670    
  10  Prefactor     13.822        15.674        .27249E-03   -1.5634    
  11  norm          8.6453        4.9168        .34059E-03   -1.5649    
  12  Prefactor     10.675        6.2524        .30649E-03   -1.5643    
  13  Prefactor      .0000        2.4319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28454E-01    .16571        .16511E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0606        7.8836        .49962E-03   -1.5668    
  17  Prefactor     .55511E-10    3.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    8.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18778E-05    42.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9565        1.6203        .50685E-03   -1.5668    
  22  norm          .58908        3.4592        .70518E-03   -1.5693    
  23  Prefactor     .11102E-09    3.9050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48223E-06    33.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6473        3.9172        .42245E-03   -1.5660    
  26  Normalizat    1.1049        .10771        .58171E-01   -.89594    
  27  Prefactor     1.0201        .91774E-01    .42123E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05615e-06
Minuit parameter uncertainties:
  1  0.000122518
  2  1.53277
  3  0.0102429
  4  0.00139645
  5  8.90314e-06
  6  12.5472
  7  11.7533
  8  0.000384884
  9  3.20059
  10  15.674
  11  4.91685
  12  6.25238
  13  1.00661e-05
  14  0.137336
  15  4.1357e-08
  16  7.88365
  17  2.40677e-05
  18  3.29393e-06
  19  8.28067e-05
  20  0.0177834
  21  1.62032
  22  2.85498
  23  3.87229e-05
  24  0.00799295
  25  3.91721
  26  0.107736
  27  0.0917885
Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.645e+00  4.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.020e+00  9.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.105e+00  1.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.19e-06 +/- 5.23e-06

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) = 18970.463489
delta logL = 0.00623012688811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629727
delta logL = 0.00674651194277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18970.46     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      258 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5065        5.1343        .13738E-04    .74146E-03
   2  alpha         2.4543        .63572        .25548E-01    .16727E-04
   3  Normalizat    1.1025        .12646        .25750E-03    .12115E-03
   4  Prefactor     1.0214        .10727        .22765E-03    .19815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.50649
  alpha      = 2.45432
  Normalizat = 1.1025
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.46     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5065        5.0174        .54953E-06   -1.5650    
   2  alpha         2.4543        .62108        .10219E-02   -.18272E-01
   3  Normalizat    1.1025        .12650        .10300E-04   -.89671    
   4  Prefactor     1.0214        .10731        .91062E-05   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46917e-11
Minuit parameter uncertainties:
  1  5.01739
  2  0.627655
  3  0.126534
  4  0.107335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629724
delta logL = 0.00674672755122

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.506e+00  5.017e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.454e+00  6.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.021e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.103e+00  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.45 +/- 0.63
Photon Flux (Free Index): 3.12e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.15e-06 +/- 5.17e-06

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/28171913/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='9.15e-06', photon_flux_error='1.68e-08', dlogl='6.75e-03', energy_flux='9.19e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2026-06-09 15:24:53.457638', photon_index_error2='0.63', photon_index2='2.45', ts='4.99', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.17e-06', EG='1.10', time_epoch_completed='1781043893.46', return_code='0', job_id='28171913', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='5.23e-06', photon_flux_error2='2.22e-08', ts2='5.00', photon_index='2.38' WHERE bin_id='931' AND source_name='4FGL J1645.6+6329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:24:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.645e+00  4.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.020e+00  9.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.105e+00  1.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.19e-06 +/- 5.23e-06

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) = 18970.463489
delta logL = 0.00623012688811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629727
delta logL = 0.00674651194277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18970.46     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      258 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5065        5.1343        .13738E-04    .74146E-03
   2  alpha         2.4543        .63572        .25548E-01    .16727E-04
   3  Normalizat    1.1025        .12646        .25750E-03    .12115E-03
   4  Prefactor     1.0214        .10727        .22765E-03    .19815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.50649
  alpha      = 2.45432
  Normalizat = 1.1025
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.46     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5065        5.0174        .54953E-06   -1.5650    
   2  alpha         2.4543        .62108        .10219E-02   -.18272E-01
   3  Normalizat    1.1025        .12650        .10300E-04   -.89671    
   4  Prefactor     1.0214        .10731        .91062E-05   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46917e-11
Minuit parameter uncertainties:
  1  5.01739
  2  0.627655
  3  0.126534
  4  0.107335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629724
delta logL = 0.00674672755122

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.506e+00  5.017e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.454e+00  6.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.021e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.103e+00  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.45 +/- 0.63
Photon Flux (Free Index): 3.12e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.15e-06 +/- 5.17e-06

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/28171911/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='9.15e-06', photon_flux_error='1.68e-08', dlogl='6.75e-03', energy_flux='9.19e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2026-06-09 15:25:15.647291', photon_index_error2='0.63', photon_index2='2.45', ts='4.99', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.17e-06', EG='1.10', time_epoch_completed='1781043915.65', return_code='0', job_id='28171911', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='5.23e-06', photon_flux_error2='2.22e-08', ts2='5.00', photon_index='2.38' WHERE bin_id='931' AND source_name='4FGL J1645.6+6329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:25:15 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits.....................!
real 52.00
user 50.29
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits', '/lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits', expMap='/lscratch/kocevski/28171951/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', expCube='/lscratch/kocevski/28171951/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28171951/Model_4FGL_J1645.6+6329_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28171951/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28171951/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28171951/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28171951/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28171951/Model_4FGL_J1645.6+6329_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5006       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39290E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54819E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     7 'norm      '    11.348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6664       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    11 'norm      '    8.6494       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.669       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28138E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .28868E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16133E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0685       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12416E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87041E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .66664E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16673E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.9569       1.0000          .0000       .10000E+07
    22 'norm      '    .58571       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24980E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .81641E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6481       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1049       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18970.47     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1946 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.9741        .89926E-06** at limit **
   2  norm          3.5009        1.5310        .23503E-08    .33046E-03
   3  Prefactor     .53990E-06    41.811       -.36711E-05** at limit **
   4  Prefactor     .27844E-06    19.322        .17418E-06** at limit **
   5  norm           .0000        .95714       -.23906E-06** at limit **
   6  Prefactor     10.626        8.7805        .90181E-06   -.93287E-02
   7  norm          11.353        8.4939        .88969E-06    .16780E-01
   8  Prefactor     .12212E-08    16.240        .51676E-06** at limit **
   9  Prefactor     3.6679        3.1932        .17035E-07    .14810E-02
  10  Prefactor     13.822        1.3376       -.11670E-07   -.63055E-02
  11  norm          8.6453        4.9077       -.67855E-07    .31859E-03
  12  Prefactor     10.675        6.2326       -.11832E-07   -.73261E-03
  13  Prefactor      .0000        2.4277       -.15482E-06** at limit **
  14  norm          .28454E-01    .42194        .30403E-06** at limit **
  15  Prefactor      .0000        1.6589       -.25310E-06** at limit **
  16  Prefactor     4.0606        7.6389       -.37852E-06    .98714E-04
  17  Prefactor     .55511E-10    3.9663       -.27620E-06** at limit **
  18  Prefactor      .0000        2.0654       -.24802E-07** at limit **
  19  Prefactor     .22204E-09    8.7515        .29251E-06** at limit **
  20  Prefactor     .18778E-05    18.602       -.68576E-06** at limit **
  21  norm          3.9565        1.5860       -.39937E-07   -.12894E-02
  22  norm          .58908        3.2463        .47969E-06   -.86300E-03
  23  Prefactor     .11102E-09    3.8929        .19442E-06** at limit **
  24  Prefactor     .48223E-06    19.239        .10005E-05** at limit **
  25  Prefactor     5.6473        3.8281       -.10141E-06   -.11208E-02
  26  Normalizat    1.1049        .12676        .35918E-05    .11284E-03
  27  Prefactor     1.0201        .10819       -.31836E-05    .89801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 3.50091
  Prefactor  = 5.39901e-07
  Prefactor  = 2.78444e-07
  norm       = 0
  Prefactor  = 10.6263
  norm       = 11.3528
  Prefactor  = 1.22125e-09
  Prefactor  = 3.66792
  Prefactor  = 13.8218
  norm       = 8.64527
  Prefactor  = 10.6748
  Prefactor  = 0
  norm       = 0.0284544
  Prefactor  = 0
  Prefactor  = 4.06056
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.87783e-06
  norm       = 3.95652
  norm       = 0.589082
  Prefactor  = 1.11022e-10
  Prefactor  = 4.82225e-07
  Prefactor  = 5.64728
  Normalizat = 1.10493
  Prefactor  = 1.02009
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.47     FROM HESSE     STATUS=OK           548 CALLS     2494 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5009        1.5328        .54013E-03   -1.5671    
   3  Prefactor     .53990E-06    48.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27844E-06    1.7507        .63790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .96521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.626        12.547        .30637E-03   -1.5643    
   7  norm          11.353        11.753        .29714E-03   -1.5641    
   8  Prefactor     .12212E-08    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6679        3.2006        .52728E-03   -1.5670    
  10  Prefactor     13.822        15.674        .27249E-03   -1.5634    
  11  norm          8.6453        4.9168        .34059E-03   -1.5649    
  12  Prefactor     10.675        6.2524        .30649E-03   -1.5643    
  13  Prefactor      .0000        2.4319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28454E-01    .16571        .16511E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0606        7.8836        .49962E-03   -1.5668    
  17  Prefactor     .55511E-10    3.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    8.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18778E-05    42.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9565        1.6203        .50685E-03   -1.5668    
  22  norm          .58908        3.4592        .70518E-03   -1.5693    
  23  Prefactor     .11102E-09    3.9050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48223E-06    33.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6473        3.9172        .42245E-03   -1.5660    
  26  Normalizat    1.1049        .10771        .58171E-01   -.89594    
  27  Prefactor     1.0201        .91774E-01    .42123E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05615e-06
Minuit parameter uncertainties:
  1  0.000122518
  2  1.53277
  3  0.0102429
  4  0.00139645
  5  8.90314e-06
  6  12.5472
  7  11.7533
  8  0.000384884
  9  3.20059
  10  15.674
  11  4.91685
  12  6.25238
  13  1.00661e-05
  14  0.137336
  15  4.1357e-08
  16  7.88365
  17  2.40677e-05
  18  3.29393e-06
  19  8.28067e-05
  20  0.0177834
  21  1.62032
  22  2.85498
  23  3.87229e-05
  24  0.00799295
  25  3.91721
  26  0.107736
  27  0.0917885
e GAL_V02
Working on...
/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits.....................!
real 55.34
user 53.57
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits', '/lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits', expMap='/lscratch/kocevski/28171975/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', expCube='/lscratch/kocevski/28171975/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28171975/Model_4FGL_J1645.6+6329_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28171975/ft1_filtered_4FGL_J1645.6+6329_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28171975/ft2_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28171975/expmap_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28171975/ltcube_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28171975/Model_4FGL_J1645.6+6329_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5006       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39290E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54819E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .57732E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     7 'norm      '    11.348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23564E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6664       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    11 'norm      '    8.6494       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.669       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28138E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .28868E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16133E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0685       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12416E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87041E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .66664E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16673E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.9569       1.0000          .0000       .10000E+07
    22 'norm      '    .58571       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24980E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .81641E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.6481       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1049       1.000Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.645e+00  4.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.020e+00  9.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.105e+00  1.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.19e-06 +/- 5.23e-06

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) = 18970.463489
delta logL = 0.00623012688811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629727
delta logL = 0.00674651194277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18970.46     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      258 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5065        5.1343        .13738E-04    .74146E-03
   2  alpha         2.4543        .63572        .25548E-01    .16727E-04
   3  Normalizat    1.1025        .12646        .25750E-03    .12115E-03
   4  Prefactor     1.0214        .10727        .22765E-03    .19815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.50649
  alpha      = 2.45432
  Normalizat = 1.1025
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.46     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5065        5.0174        .54953E-06   -1.5650    
   2  alpha         2.4543        .62108        .10219E-02   -.18272E-01
   3  Normalizat    1.1025        .12650        .10300E-04   -.89671    
   4  Prefactor     1.0214        .10731        .91062E-05   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46917e-11
Minuit parameter uncertainties:
  1  5.01739
  2  0.627655
  3  0.126534
  4  0.107335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629724
delta logL = 0.00674672755122

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.506e+00  5.017e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.454e+00  6.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.021e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.103e+00  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.45 +/- 0.63
Photon Flux (Free Index): 3.12e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.15e-06 +/- 5.17e-06

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/28171951/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='9.15e-06', photon_flux_error='1.68e-08', dlogl='6.75e-03', energy_flux='9.19e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2026-06-09 15:28:52.451410', photon_index_error2='0.63', photon_index2='2.45', ts='4.99', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.17e-06', EG='1.10', time_epoch_completed='1781044132.45', return_code='0', job_id='28171951', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='5.23e-06', photon_flux_error2='2.22e-08', ts2='5.00', photon_index='2.38' WHERE bin_id='931' AND source_name='4FGL J1645.6+6329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:28:52 PDT 2026

0         .10000E-01   10.000    
    27 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18970.47     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1946 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    9.9741        .89926E-06** at limit **
   2  norm          3.5009        1.5310        .23503E-08    .33046E-03
   3  Prefactor     .53990E-06    41.811       -.36711E-05** at limit **
   4  Prefactor     .27844E-06    19.322        .17418E-06** at limit **
   5  norm           .0000        .95714       -.23906E-06** at limit **
   6  Prefactor     10.626        8.7805        .90181E-06   -.93287E-02
   7  norm          11.353        8.4939        .88969E-06    .16780E-01
   8  Prefactor     .12212E-08    16.240        .51676E-06** at limit **
   9  Prefactor     3.6679        3.1932        .17035E-07    .14810E-02
  10  Prefactor     13.822        1.3376       -.11670E-07   -.63055E-02
  11  norm          8.6453        4.9077       -.67855E-07    .31859E-03
  12  Prefactor     10.675        6.2326       -.11832E-07   -.73261E-03
  13  Prefactor      .0000        2.4277       -.15482E-06** at limit **
  14  norm          .28454E-01    .42194        .30403E-06** at limit **
  15  Prefactor      .0000        1.6589       -.25310E-06** at limit **
  16  Prefactor     4.0606        7.6389       -.37852E-06    .98714E-04
  17  Prefactor     .55511E-10    3.9663       -.27620E-06** at limit **
  18  Prefactor      .0000        2.0654       -.24802E-07** at limit **
  19  Prefactor     .22204E-09    8.7515        .29251E-06** at limit **
  20  Prefactor     .18778E-05    18.602       -.68576E-06** at limit **
  21  norm          3.9565        1.5860       -.39937E-07   -.12894E-02
  22  norm          .58908        3.2463        .47969E-06   -.86300E-03
  23  Prefactor     .11102E-09    3.8929        .19442E-06** at limit **
  24  Prefactor     .48223E-06    19.239        .10005E-05** at limit **
  25  Prefactor     5.6473        3.8281       -.10141E-06   -.11208E-02
  26  Normalizat    1.1049        .12676        .35918E-05    .11284E-03
  27  Prefactor     1.0201        .10819       -.31836E-05    .89801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 3.50091
  Prefactor  = 5.39901e-07
  Prefactor  = 2.78444e-07
  norm       = 0
  Prefactor  = 10.6263
  norm       = 11.3528
  Prefactor  = 1.22125e-09
  Prefactor  = 3.66792
  Prefactor  = 13.8218
  norm       = 8.64527
  Prefactor  = 10.6748
  Prefactor  = 0
  norm       = 0.0284544
  Prefactor  = 0
  Prefactor  = 4.06056
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.87783e-06
  norm       = 3.95652
  norm       = 0.589082
  Prefactor  = 1.11022e-10
  Prefactor  = 4.82225e-07
  Prefactor  = 5.64728
  Normalizat = 1.10493
  Prefactor  = 1.02009
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.47     FROM HESSE     STATUS=OK           548 CALLS     2494 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    10.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5009        1.5328        .54013E-03   -1.5671    
   3  Prefactor     .53990E-06    48.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27844E-06    1.7507        .63790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .96521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.626        12.547        .30637E-03   -1.5643    
   7  norm          11.353        11.753        .29714E-03   -1.5641    
   8  Prefactor     .12212E-08    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6679        3.2006        .52728E-03   -1.5670    
  10  Prefactor     13.822        15.674        .27249E-03   -1.5634    
  11  norm          8.6453        4.9168        .34059E-03   -1.5649    
  12  Prefactor     10.675        6.2524        .30649E-03   -1.5643    
  13  Prefactor      .0000        2.4319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28454E-01    .16571        .16511E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0606        7.8836        .49962E-03   -1.5668    
  17  Prefactor     .55511E-10    3.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    8.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18778E-05    42.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9565        1.6203        .50685E-03   -1.5668    
  22  norm          .58908        3.4592        .70518E-03   -1.5693    
  23  Prefactor     .11102E-09    3.9050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48223E-06    33.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6473        3.9172        .42245E-03   -1.5660    
  26  Normalizat    1.1049        .10771        .58171E-01   -.89594    
  27  Prefactor     1.0201        .91774E-01    .42123E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05615e-06
Minuit parameter uncertainties:
  1  0.000122518
  2  1.53277
  3  0.0102429
  4  0.00139645
  5  8.90314e-06
  6  12.5472
  7  11.7533
  8  0.000384884
  9  3.20059
  10  15.674
  11  4.91685
  12  6.25238
  13  1.00661e-05
  14  0.137336
  15  4.1357e-08
  16  7.88365
  17  2.40677e-05
  18  3.29393e-06
  19  8.28067e-05
  20  0.0177834
  21  1.62032
  22  2.85498
  23  3.87229e-05
  24  0.00799295
  25  3.91721
  26  0.107736
  27  0.0917885
Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.645e+00  4.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.020e+00  9.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.105e+00  1.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.19e-06 +/- 5.23e-06

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) = 18970.463489
delta logL = 0.00623012688811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629727
delta logL = 0.00674651194277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18970.46     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      258 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5065        5.1343        .13738E-04    .74146E-03
   2  alpha         2.4543        .63572        .25548E-01    .16727E-04
   3  Normalizat    1.1025        .12646        .25750E-03    .12115E-03
   4  Prefactor     1.0214        .10727        .22765E-03    .19815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.50649
  alpha      = 2.45432
  Normalizat = 1.1025
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   18970.46     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5065        5.0174        .54953E-06   -1.5650    
   2  alpha         2.4543        .62108        .10219E-02   -.18272E-01
   3  Normalizat    1.1025        .12650        .10300E-04   -.89671    
   4  Prefactor     1.0214        .10731        .91062E-05   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46917e-11
Minuit parameter uncertainties:
  1  5.01739
  2  0.627655
  3  0.126534
  4  0.107335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18970.4629724
delta logL = 0.00674672755122

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  8.506e+00  5.017e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.454e+00  6.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.021e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.103e+00  1.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.45 +/- 0.63
Photon Flux (Free Index): 3.12e-08 +/- 2.22e-08
Energy Flux (Free Index): 9.15e-06 +/- 5.17e-06

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/28171975/cmap_HighResolution_802051201_802656001_4FGL_J1645.6+6329_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='9.15e-06', photon_flux_error='1.68e-08', dlogl='6.75e-03', energy_flux='9.19e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2026-06-09 15:30:43.215890', photon_index_error2='0.63', photon_index2='2.45', ts='4.99', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.17e-06', EG='1.10', time_epoch_completed='1781044243.22', return_code='0', job_id='28171975', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='5.23e-06', photon_flux_error2='2.22e-08', ts2='5.00', photon_index='2.38' WHERE bin_id='931' AND source_name='4FGL J1645.6+6329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:30:43 PDT 2026

