aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 30 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7416
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1762
RA = 349.438, Dec = 28.6589
tmin = 696038401, tmax = 696297601
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='123340', job_status='RUN', time_executed='2023-01-25 01:46:33.959465', time_epoch_executed='1674639993.96' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123340

Creating custom pfile directory:
/scratch/kocevski/123340/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696038401.0 && nMetStart<696297601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696038401.0 && nMetStart<696297601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123340/ft1_4FGL_J2317.7+2839_daily_bin1762.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696038401.0 && nMetStart<696297601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123340/ft1_4FGL_J2317.7+2839_daily_bin1762.fits outfile=/scratch/kocevski/123340/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1762.fits ra=349.438 dec=28.6589 rad=12.0 tmin=696038401.0 tmax=696297601.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 3.73
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/123340/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 773

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/123340/ltcube_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.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 /scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits
.....................!
real 14.37
user 13.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/123340/ltcube_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.fits outfile=/scratch/kocevski/123340/expmap_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.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 /scratch/kocevski/123340/ltcube_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.fits
.....................!
real 192.67
user 187.02
sys 4.56

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=/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits scfile=/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits outfile=/scratch/kocevski/123340/cmap_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits scfile=/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits outfile=/scratch/kocevski/123340/cmap_HighResolution_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123340/Model_4FGL_J2317.7+2839_daily_bin1762.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...
/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits.....................!
real 92.19
user 90.53
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits', '/scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits', expMap='/scratch/kocevski/123340/expmap_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.fits', expCube='/scratch/kocevski/123340/ltcube_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123340/Model_4FGL_J2317.7+2839_daily_bin1762.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): /scratch/kocevski/123340/ft1_filtered_4FGL_J2317.7+2839_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/123340/ft2_4FGL_J2317.7+2839_daily_bin1762.fits
Exposure map: /scratch/kocevski/123340/expmap_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.fits
Exposure cube: /scratch/kocevski/123340/ltcube_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123340/Model_4FGL_J2317.7+2839_daily_bin1762.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) = 8118.04104746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5771       1.0000          .0000       .10000E+07
     2 'norm      '    1.4425       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20595E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.025       1.0000          .0000       .10000E+07
     5 'Prefactor '    .59516       1.0000          .0000       .10000E+07
     6 'norm      '    .80369       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1702       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.125       1.0000          .0000       .10000E+07
     9 'Prefactor '    .80841E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.6819       1.0000          .0000       .10000E+07
    11 'norm      '    15.599       1.0000          .0000       .10000E+07
    12 'Prefactor '    44.614       1.0000          .0000       .10000E+07
    13 'norm      '    3.0484       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.5364       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15197E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .80008       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94342       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=   8118.022     FROM MIGRAD    STATUS=CONVERGED     86 CALLS     1154 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5773        1.0420       -.32512E-06    .53701E-03
   2  norm          1.4427        1.3759       -.51202E-06   -.27166E-02
   3  Prefactor      .0000        2.1663        .28779E-06** at limit **
   4  Prefactor     24.138        9.3953       -.64329E-06   -.11131    
   5  Prefactor     .72765        4.9716        .24263E-05   -.44670E-01
   6  norm          .80311        1.0497        .75121E-06    .23721E-02
   7  Prefactor     3.1906        10.577        .18245E-05    .41268E-01
   8  Prefactor     10.145        11.761        .20990E-05    .57979E-01
   9  Prefactor     .90483E-07    27.934        .37692E-05** at limit **
  10  Prefactor     7.7012        6.0573       -.16714E-06    .11510E-02
  11  norm          15.600        6.5258       -.77396E-06   -.22479E-02
  12  Prefactor     44.662        12.913        .94607E-06   -.15429    
  13  norm          3.0482        2.7884       -.36912E-06    .18525E-03
  14  Prefactor     4.4579        4.3966        .90270E-06    .13615E-02
  15  Prefactor     .41633E-08    46.679        .91851E-06** at limit **
  16  Normalizat    .80017        .22112        .40883E-05    .30980E-05
  17  Prefactor     .94323        .11467        .15291E-05   -.18998E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.57733
  norm       = 1.44272
  Prefactor  = 0
  Prefactor  = 24.1377
  Prefactor  = 0.727649
  norm       = 0.803113
  Prefactor  = 3.19057
  Prefactor  = 10.1454
  Prefactor  = 9.04832e-08
  Prefactor  = 7.70117
  norm       = 15.6005
  Prefactor  = 44.6617
  norm       = 3.04823
  Prefactor  = 4.45785
  Prefactor  = 4.16334e-09
  Normalizat = 0.800174
  Prefactor  = 0.94323
 **********
 **   18 **HESSE 
 **********

 FCN=   8118.022     FROM HESSE     STATUS=OK           265 CALLS     1419 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5773        1.0427        .63550E-04   -1.5676    
   2  norm          1.4427        1.3952        .89763E-03   -1.5684    
   3  Prefactor      .0000        2.1673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.138        18.139        .20406E-03   -1.5610    
   5  Prefactor     .72765        94.935        .69663E-03   -1.5691    
   6  norm          .80311        1.0618        .52660E-03   -1.5690    
   7  Prefactor     3.1906        26.071        .56895E-03   -1.5672    
   8  Prefactor     10.145        12.139        .31465E-03   -1.5644    
   9  Prefactor     .90483E-07    27.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.7012        6.3932        .36157E-03   -1.5652    
  11  norm          15.600        6.9399        .25332E-03   -1.5629    
  12  Prefactor     44.662        21.817        .14973E-03   -1.5574    
  13  norm          3.0482        2.7973        .58084E-03   -1.5673    
  14  Prefactor     4.4579        18.210        .47242E-03   -1.5666    
  15  Prefactor     .41633E-08    45.170        .17376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .80017        .19432        .79521E-01   -1.0006    
  17  Prefactor     .94323        .99408E-01    .45556E-01   -.94646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42012e-06
Minuit parameter uncertainties:
  1  1.04267
  2  1.3952
  3  3.98074e-06
  4  18.1391
  5  16.6231
  6  1.06184
  7  18.2408
  8  12.1388
  9  0.00317751
  10  6.39324
  11  6.93989
  12  21.8173
  13  2.79728
  14  18.0197
  15  0.00086905
  16  0.194493
  17  0.0994268
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  9.048e-08  3.178e-03  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:  9.432e-01  9.943e-02  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.002e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 349.438 28.659
Photon Flux Upper Limit: 6.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123340/likelihoodResults_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.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): 102
logL (Free Index) = 8118.03925695
delta logL = -0.017640210337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8117.32640799
delta logL = 0.695208753722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35188       1.0000          .0000       .10000E+07
     2 'Index     '    3.6879       1.0000          .0000       10.000    
     3 'Normalizat'    .72861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96066       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=   8117.326     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      242 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35144        4.1549        .95287E-03    .62499E-01
   2  Index         3.6884        1.6697        .71766E-01    .67494E-03
   3  Normalizat    .72879        .40644E-01    .82824E-01    .28180E-03
   4  Prefactor     .96059        .21605E-01    .45774E-01    .12450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.351441
  Index      = 3.68844
  Normalizat = 0.728786
  Prefactor  = 0.960589
 **********
 **   18 **HESSE 
 **********

 FCN=   8117.326     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      273 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35144        13.164        .45910E-05   -1.5696    
   2  Index         3.6884        3.4582        .39788E-02   -.26542    
   3  Normalizat    .72879        .18604        .36676E-03   -1.0277    
   4  Prefactor     .96059        .96725E-01    .17125E-03   -.94055    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58641e-09
Minuit parameter uncertainties:
  1  4.30182
  2  3.85563
  3  0.186197
  4  0.096742
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123340': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8117.32640725
delta logL = 0.695209494436

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  3.514e-01  4.302e+00  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  3.688e+00  3.856e+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:  9.606e-01  9.674e-02  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:  7.288e-01  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 349.438 28.659
Photon Index (Free Index): 3.69 +/- 3.86
Photon Flux (Free Index): 6.96e-08 +/- 6.16e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.25e-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 /scratch/kocevski/123340/cmap_HighResolution_696038401_696297601_4FGL_J2317.7+2839_daily_bin1762.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/123340

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-03', comment='SUCCESS', energy_flux2='1.11e-05', dlogl='6.95e-01', photon_flux2='6.96e-08', job_status='DONE', time_completed='2023-01-25 01:56:44.421745', photon_index_error2='3.86', photon_index2='3.69', ts='-0.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='6.98e-08', energy_flux_error2='1.25e-05', EG='0.80', time_epoch_completed='1674640604.42', return_code='0', job_id='123340', GAL2='0.96', EG2='0.73', return_code2='102', photon_flux_error2='6.16e-08', ts2='1.58', photon_index='2.00' WHERE bin_id='1762' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:56:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 123340: <4FGL_J2317.7+2839_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:45:18 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:45:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:45:55 2023
Terminated at Wed Jan 25 01:56:45 2023
Results reported at Wed Jan 25 01:56:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1762 349.438 28.6589 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2317.7+2839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   611.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            687 sec.

The output (if any) is above this job summary.

