/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1615.6+2130_weekly_bin906
RA = 243.913, Dec = 21.5064
tmin = 786931201, tmax = 787536001
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='17379880', job_status='RUN', time_executed='2025-12-16 02:50:07.223459', time_epoch_executed='1765882207.22' WHERE source_name='4FGL J1615.6+2130' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17379880

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17379880/ft1_4FGL_J1615.6+2130_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17379880/ft1_4FGL_J1615.6+2130_weekly_bin906.fits outfile=/lscratch/kocevski/17379880/ft1_filteredMKT_4FGL_J1615.6+2130_weekly_bin906.fits ra=243.913 dec=21.5064 rad=12.0 tmin=786931201.0 tmax=787536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.47
user 4.38
sys 0.36

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.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/17379880/ft1_filteredMKT_4FGL_J1615.6+2130_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.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.94
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1667

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17379880/ltcube_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.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/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits
.....................!
real 16.22
user 15.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17379880/ltcube_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.fits outfile=/lscratch/kocevski/17379880/expmap_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.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/17379880/ltcube_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.fits
.....................!
real 60.27
user 55.68
sys 3.66

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

Setting source of interest to:
4FGL J1615.6+2130 @ 243.913 21.5064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits scfile=/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits outfile=/lscratch/kocevski/17379880/cmap_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.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=243.913 yref=21.5064 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.98
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits scfile=/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits outfile=/lscratch/kocevski/17379880/cmap_HighResolution_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.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=243.913 yref=21.5064 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 1.03
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17379880/Model_4FGL_J1615.6+2130_weekly_bin906.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/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits.....................!
real 43.16
user 41.51
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits', '/lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits', expMap='/lscratch/kocevski/17379880/expmap_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.fits', expCube='/lscratch/kocevski/17379880/ltcube_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17379880/Model_4FGL_J1615.6+2130_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1615.6+2130'

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  3.532e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        Index:  2.755e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17379880/ft1_filtered_4FGL_J1615.6+2130_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17379880/ft2_4FGL_J1615.6+2130_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17379880/expmap_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17379880/ltcube_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17379880/Model_4FGL_J1615.6+2130_weekly_bin906.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) = 18022.3044977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46196E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    23.061       1.0000          .0000       .10000E+07
     3 'norm      '    3.0406       1.0000          .0000       .10000E+07
     4 'norm      '    3.2777       1.0000          .0000       .10000E+07
     5 'norm      '    5.6330       1.0000          .0000       .10000E+07
     6 'Prefactor '    .80404E-03   1.0000          .0000       .10000E+07
     7 'norm      '    79.644       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.2375       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19564E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13638E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.3320       1.0000          .0000       .10000E+07
    12 'Prefactor '    22.927       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38967E-02   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1572       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85794       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18022.30     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      993 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .32282        .22756E-06** at limit **
   2  Prefactor     23.118        1.2882       -.93547E-08    .32564E-01
   3  norm          3.0476        1.5718       -.11266E-06    .50327E-02
   4  norm          3.2202        4.7088       -.44707E-06    .67161E-03
   5  norm          5.6366        1.3477       -.76418E-07   -.13148E-02
   6  Prefactor     .55511E-10    6.4897        .33030E-06** at limit **
   7  norm          79.644        1.2427       -.12712E-08    .20607E-01
   8  Prefactor     9.3752        7.1852        .21149E-06    .90306E-03
   9  Prefactor     .55511E-10    7.2863        .40191E-06** at limit **
  10  Prefactor      .0000        13.836        .52982E-06** at limit **
  11  Prefactor     6.3436        3.6897       -.83796E-08    .21216E-03
  12  Prefactor     22.905        1.2142        .23959E-08    .39121E-02
  13  Prefactor     .27756E-09    18.255        .30055E-06** at limit **
  14  Normalizat    1.1571        .15436       -.16394E-05    .82731E-04
  15  Prefactor     .85790        .80694E-01   -.21401E-05    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 23.1175
  norm       = 3.04758
  norm       = 3.22022
  norm       = 5.63659
  Prefactor  = 5.55112e-11
  norm       = 79.644
  Prefactor  = 9.37515
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.34355
  Prefactor  = 22.9052
  Prefactor  = 2.77556e-10
  Normalizat = 1.15706
  Prefactor  = 0.857902
 **********
 **   18 **HESSE 
 **********

 FCN=   18022.30     FROM HESSE     STATUS=OK           214 CALLS     1207 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .32406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.118        21.807        .20829E-03   -1.5612    
   3  norm          3.0476        1.5826        .58163E-03   -1.5673    
   4  norm          3.2202        4.7359        .55905E-03   -1.5672    
   5  norm          5.6366        1.3515        .42302E-03   -1.5660    
   6  Prefactor     .55511E-10    6.4896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          79.644        15.463        .11206E-03   -1.5529    
   8  Prefactor     9.3752        7.1895        .32951E-03   -1.5647    
   9  Prefactor     .55511E-10    7.3437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        13.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3436        3.7528        .39866E-03   -1.5658    
  12  Prefactor     22.905        16.065        .20890E-03   -1.5612    
  13  Prefactor     .27756E-09    18.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1571        .13208        .69974E-01   -.87940    
  15  Prefactor     .85790        .68035E-01    .44467E-01   -.97628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39291e-08
Minuit parameter uncertainties:
  1  2.23993e-06
  2  21.8067
  3  1.5826
  4  4.73594
  5  1.35147
  6  3.94196e-05
  7  15.4634
  8  7.18948
  9  3.67413e-05
  10  7.96776e-07
  11  3.75279
  12  16.0646
  13  0.000147363
  14  0.132116
  15  0.068042
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  9.375e+00  7.189e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        Index:  2.755e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.579e-01  6.804e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.157e+00  1.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.22
Ra Dec: 243.913 21.506
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 2.88e-08
Energy Flux (Fixed Index): 8.70e-06 +/- 6.67e-06

TS (Fixed Index): 2.22
Ra Dec: 243.913 21.506
Photon Flux Upper Limit: 9.48675798651e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00749167526715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17379880/likelihoodResults_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18022.1531291
delta logL = 0.14791182979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18022.1477345
delta logL = 0.153306499396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.751       1.0000          .0000       .10000E+07
     2 'Index     '    2.3927       1.0000          .0000       10.000    
     3 'Normalizat'    1.1657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+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=   18022.15     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      276 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.750        9.0253        .11679E-04    .16992E-01
   2  Index         2.3928        .60510        .13547E-01    .41046E-03
   3  Normalizat    1.1657        .15411        .30860E-03   -.27424E-03
   4  Prefactor     .85359        .81041E-01    .18585E-03   -.60998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7502
  Index      = 2.39276
  Normalizat = 1.16572
  Prefactor  = 0.853587
 **********
 **   18 **HESSE 
 **********

 FCN=   18022.15     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.750        8.8853        .46718E-06   -1.5639    
   2  Index         2.3928        .59596        .54188E-03   -.54855    
   3  Normalizat    1.1657        .15422        .12344E-04   -.87669    
   4  Prefactor     .85359        .81078E-01    .37171E-04   -.97782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18071e-09
Minuit parameter uncertainties:
  1  8.88532
  2  0.597911
  3  0.154278
  4  0.0810894
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) = 18022.1477344
delta logL = 0.153306506309

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.175e+01  8.885e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        Index:  2.393e+00  5.979e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.536e-01  8.109e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.166e+00  1.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 243.913 21.506
Photon Index (Free Index): 2.39 +/- 0.60
Photon Flux (Free Index): 3.40e-08 +/- 2.71e-08
Energy Flux (Free Index): 1.12e-05 +/- 9.91e-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/17379880/cmap_HighResolution_786931201_787536001_4FGL_J1615.6+2130_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.49e-03', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='1.12e-05', photon_flux_error='2.88e-08', dlogl='1.53e-01', energy_flux='8.70e-06', photon_flux2='3.40e-08', job_status='DONE', time_completed='2025-12-16 03:02:01.125402', photon_index_error2='0.60', photon_index2='2.39', ts='2.22', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='9.49e-08', energy_flux_error2='9.91e-06', EG='1.16', time_epoch_completed='1765882921.13', return_code='0', job_id='17379880', GAL2='0.85', EG2='1.17', return_code2='0', energy_flux_error='6.67e-06', photon_flux_error2='2.71e-08', ts2='2.51', photon_index='2.76' WHERE bin_id='906' AND source_name='4FGL J1615.6+2130' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 03:02:01 PST 2025

