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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1992
RA = 349.438, Dec = 28.6589
tmin = 755654401, tmax = 755913601
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='60279908', job_status='RUN', time_executed='2024-12-15 00:55:59.068285', time_epoch_executed='1734252959.07' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1992'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60279908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60279908/ft1_4FGL_J2317.7+2839_daily_bin1992.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60279908/ft1_4FGL_J2317.7+2839_daily_bin1992.fits outfile=/lscratch/kocevski/60279908/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1992.fits ra=349.438 dec=28.6589 rad=12.0 tmin=755654401.0 tmax=755913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.39
user 2.01
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.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/60279908/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1992.fits evtable="EVENTS" outfile="/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.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.45
user 0.19
sys 0.15

Number of photons that the gtmktime cut: 827

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60279908/ltcube_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.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/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits
.....................!
real 8.79
user 8.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits evtable="EVENTS" scfile=/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60279908/ltcube_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.fits outfile=/lscratch/kocevski/60279908/expmap_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.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/60279908/ltcube_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.fits
.....................!
real 69.83
user 65.43
sys 3.94

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

Setting source of interest to:
4FGL J2317.7+2839 @ 349.438 28.6589

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits scfile=/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits outfile=/lscratch/kocevski/60279908/cmap_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.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=349.438 yref=28.6589 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.40
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits scfile=/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits outfile=/lscratch/kocevski/60279908/cmap_HighResolution_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.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=349.438 yref=28.6589 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.41
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits evtable="EVENTS" scfile=/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60279908/Model_4FGL_J2317.7+2839_daily_bin1992.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/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits.....................!
real 38.67
user 37.69
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits', '/lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits', expMap='/lscratch/kocevski/60279908/expmap_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.fits', expCube='/lscratch/kocevski/60279908/ltcube_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60279908/Model_4FGL_J2317.7+2839_daily_bin1992.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2317.7+2839'

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.207e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60279908/ft1_filtered_4FGL_J2317.7+2839_daily_bin1992.fits
Spacecraft file(s): /lscratch/kocevski/60279908/ft2_4FGL_J2317.7+2839_daily_bin1992.fits
Exposure map: /lscratch/kocevski/60279908/expmap_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.fits
Exposure cube: /lscratch/kocevski/60279908/ltcube_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60279908/Model_4FGL_J2317.7+2839_daily_bin1992.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) = 8699.64107243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1606       1.0000          .0000       .10000E+07
     2 'norm      '    .13045E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43530E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6164       1.0000          .0000       .10000E+07
     5 'Prefactor '    .53694E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .11430E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19001       1.0000          .0000       .10000E+07
     8 'Prefactor '    .29326E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    92.490       1.0000          .0000       .10000E+07
    10 'Prefactor '    .72033       1.0000          .0000       .10000E+07
    11 'norm      '    .37352E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    18.761       1.0000          .0000       .10000E+07
    13 'norm      '    2.3749       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.375       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17457E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    .83149       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0970       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8699.638     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1262 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1595        1.3982       -.11334E-06   -.20816E-03
   2  norm           .0000        .35874       -.20936E-06** at limit **
   3  Prefactor     .55511E-10    3.2221        .99928E-06** at limit **
   4  Prefactor     6.6209        5.4457       -.65882E-06    .59237E-01
   5  Prefactor     .55511E-09    9.7511        .38300E-07** at limit **
   6  norm           .0000        .33319        .52078E-08** at limit **
   7  Prefactor     .62839E-06    27.407       -.44804E-05** at limit **
   8  Prefactor     .46074E-08    18.505        .18932E-05** at limit **
   9  Prefactor     92.196        3.5447       -.16988E-06    .10363    
  10  Prefactor     .63426        7.4700       -.10853E-05   -.39024E-02
  11  norm          .56066E-08    4.0722        .10704E-05** at limit **
  12  Prefactor     18.831        15.519        .10884E-05   -.33126E-01
  13  norm          2.3744        1.7903       -.63805E-07    .54821E-03
  14  Prefactor     11.347        4.6741       -.28454E-06   -.48419E-01
  15  Prefactor     .94869E-07    73.887       -.66506E-05** at limit **
  16  Normalizat    .83224        .22628        .24834E-04    .22387E-03
  17  Prefactor     1.0969        .11968       -.13735E-04    .31265E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15953
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 6.62092
  Prefactor  = 5.55112e-10
  norm       = 0
  Prefactor  = 6.28386e-07
  Prefactor  = 4.60743e-09
  Prefactor  = 92.1964
  Prefactor  = 0.634263
  norm       = 5.60663e-09
  Prefactor  = 18.831
  norm       = 2.37442
  Prefactor  = 11.347
  Prefactor  = 9.48686e-08
  Normalizat = 0.83224
  Prefactor  = 1.09691
 **********
 **   18 **HESSE 
 **********

 FCN=   8699.638     FROM HESSE     STATUS=OK           255 CALLS     1517 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1595        1.4012        .49389E-03   -1.5667    
   2  norm           .0000        .35997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    3.2148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6209        11.759        .38989E-03   -1.5657    
   5  Prefactor     .55511E-09    9.7618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .33426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .62839E-06    31.293        .11956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .46074E-08    18.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.196        39.700        .10399E-03   -1.5516    
  10  Prefactor     .63426        8.4859        .59073E-03   -1.5692    
  11  norm          .56066E-08    4.1022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.831        16.901        .23096E-03   -1.5621    
  13  norm          2.3744        1.7898        .66454E-03   -1.5677    
  14  Prefactor     11.347        14.368        .29680E-03   -1.5641    
  15  Prefactor     .94869E-07    73.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .83224        .20176        .83434E-01   -.98884    
  17  Prefactor     1.0969        .10523        .37703E-01   -.89566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62516e-07
Minuit parameter uncertainties:
  1  1.40125
  2  3.61497e-06
  3  3.05068e-05
  4  11.7588
  5  0.000145855
  6  3.49217e-06
  7  0.00886891
  8  0.000580737
  9  39.7
  10  4.63996
  11  0.000302787
  12  16.9014
  13  1.78981
  14  14.3677
  15  0.0052878
  16  0.201937
  17  0.105254
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  9.220e+01  3.970e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.097e+00  1.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  8.322e-01  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.13
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 5.08e-08
Energy Flux (Fixed Index): 8.10e-05 +/- 3.49e-05

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) = 8695.6726105
delta logL = 3.96585700866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8695.61240012
delta logL = 4.02606738929

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8695.612     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      266 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.758        43.639        .29201E-03    .69167E-02
   2  Index         2.9592        1.1711        .43511E-01    .62558E-03
   3  Normalizat    .68400        .10179        .90923E-01    .90803E-04
   4  Prefactor     1.1431        .50145E-01    .36139E-01    .94988E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7575
  Index      = 2.95922
  Normalizat = 0.684004
  Prefactor  = 1.14305
 **********
 **   18 **HESSE 
 **********

 FCN=   8695.612     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.758        56.925        .91277E-05   -1.5639    
   2  Index         2.9592        1.4550        .18519E-02   -.42043    
   3  Normalizat    .68400        .25645        .40279E-03   -1.0453    
   4  Prefactor     1.1431        .13561        .17139E-03   -.88102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35961e-10
Minuit parameter uncertainties:
  1  51.7425
  2  1.48086
  3  0.256902
  4  0.135648
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) = 8695.6123985
delta logL = 4.02606900237

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.176e+01  5.174e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.959e+00  1.481e+00  0.000e+00  1.000e+01 (-1.000e+00)
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.143e+00  1.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  6.840e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.79
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.96 +/- 1.48
Photon Flux (Free Index): 2.35e-07 +/- 8.04e-08
Energy Flux (Free Index): 4.80e-05 +/- 3.36e-05

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/60279908/cmap_HighResolution_755654401_755913601_4FGL_J2317.7+2839_daily_bin1992.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='4.80e-05', photon_flux_error='5.08e-08', dlogl='4.03e+00', energy_flux='8.10e-05', photon_flux2='2.35e-07', job_status='DONE', time_completed='2024-12-15 01:00:20.696119', photon_index_error2='1.48', photon_index2='2.96', ts='9.13', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.36e-05', EG='0.83', time_epoch_completed='1734253220.7', return_code='0', job_id='60279908', GAL2='1.14', EG2='0.68', return_code2='0', energy_flux_error='3.49e-05', photon_flux_error2='8.04e-08', ts2='17.79', photon_index='2.00' WHERE bin_id='1992' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 15 01:00:20 PST 2024

