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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1761
RA = 349.438, Dec = 28.6589
tmin = 695779201, tmax = 696038401
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='936492', job_status='RUN', time_executed='2023-01-22 01:47:50.221445', time_epoch_executed='1674380870.22' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936492/ft1_4FGL_J2317.7+2839_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936492/ft1_4FGL_J2317.7+2839_daily_bin1761.fits outfile=/scratch/kocevski/936492/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1761.fits ra=349.438 dec=28.6589 rad=12.0 tmin=695779201.0 tmax=696038401.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.19
user 4.89
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.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/936492/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.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.52
user 0.37
sys 0.14

Number of photons that the gtmktime cut: 870

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/936492/ltcube_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.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/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits
.....................!
real 14.59
user 14.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/936492/ltcube_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.fits outfile=/scratch/kocevski/936492/expmap_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.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/936492/ltcube_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.fits
.....................!
real 190.96
user 185.76
sys 4.19

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/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.fits scfile=/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits outfile=/scratch/kocevski/936492/cmap_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.fits scfile=/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits outfile=/scratch/kocevski/936492/cmap_HighResolution_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.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.60
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936492/ft2_4FGL_J2317.7+2839_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/936492/Model_4FGL_J2317.7+2839_daily_bin1761.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/936492/ft1_filtered_4FGL_J2317.7+2839_daily_bin1761.fits.....................!
real 99.76
user 98.18
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8195       1.0000          .0000       .10000E+07
     2 'norm      '    2.0289       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89602       1.0000          .0000       .10000E+07
     4 'Prefactor '    20.980       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.012       1.0000          .0000       .10000E+07
     6 'norm      '    .95035E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .94944E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10265E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    50.522       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13944E-02   1.0000          .0000       .10000E+07
    11 'norm      '    13.644       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12218       1.0000          .0000       .10000E+07
    13 'norm      '    1.0156       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14888E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.0655       1.0000          .0000       .10000E+07
    16 'Normalizat'    .93867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96593       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=   9152.364     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1003 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8179        1.1271       -.21622E-06   -.52816E-02
   2  norm          2.0309        1.7102        .25256E-06   -.32202E-02
   3  Prefactor     .81605        2.1646       -.13120E-05   -.77174E-02
   4  Prefactor     20.798        4.1091        .19256E-06   -.19343E-01
   5  Prefactor     14.239        13.631        .17724E-05    .68395E-03
   6  norm          .83267E-09    1.2587        .12940E-06** at limit **
   7  Prefactor     .33862E-08    20.328        .71373E-05** at limit **
   8  Prefactor      .0000        2.3729        .69187E-06** at limit **
   9  Prefactor     49.494        29.282       -.45139E-05    .11829E-03
  10  Prefactor     .72164E-09    22.568       -.79146E-05** at limit **
  11  norm          13.680        5.8131        .16623E-06   -.51847E-02
  12  Prefactor     .13434E-07    109.98        .12632E-04** at limit **
  13  norm          1.0145        1.9447        .11968E-05   -.55190E-02
  14  Prefactor     .55511E-09    5.7293       -.29075E-06** at limit **
  15  Prefactor     7.9350        9.6493       -.38598E-05    .24759E-02
  16  Normalizat    .94019        .21949        .76434E-05   -.12886E-03
  17  Prefactor     .96575        .11494        .77144E-05    .59616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8179
  norm       = 2.03092
  Prefactor  = 0.816051
  Prefactor  = 20.7979
  Prefactor  = 14.2393
  norm       = 8.32667e-10
  Prefactor  = 3.38618e-09
  Prefactor  = 0
  Prefactor  = 49.4936
  Prefactor  = 7.21645e-10
  norm       = 13.6805
  Prefactor  = 1.34337e-08
  norm       = 1.01447
  Prefactor  = 5.55112e-10
  Prefactor  = 7.93502
  Normalizat = 0.940187
  Prefactor  = 0.965749
 **********
 **   18 **HESSE 
 **********

 FCN=   9152.364     FROM HESSE     STATUS=OK           273 CALLS     1276 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8179        1.1295        .60547E-03   -1.5674    
   2  norm          2.0309        1.7806        .72603E-03   -1.5679    
   3  Prefactor     .81605        36.313        .46035E-03   -1.5690    
   4  Prefactor     20.798        16.564        .21839E-03   -1.5617    
   5  Prefactor     14.239        13.682        .26732E-03   -1.5632    
   6  norm          .83267E-09    1.2280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33862E-08    20.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.3873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.494        31.313        .14070E-03   -1.5567    
  10  Prefactor     .72164E-09    3.1547        .58156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.680        6.2380        .27091E-03   -1.5634    
  12  Prefactor     .13434E-07    8.2592        .13368E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0145        1.9829        .12949E-02   -1.5688    
  14  Prefactor     .55511E-09    5.7256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.9350        29.507        .35280E-03   -1.5652    
  16  Normalizat    .94019        .19159        .76822E-01   -.95062    
  17  Prefactor     .96575        .97555E-01    .45840E-01   -.93880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39853e-08
Minuit parameter uncertainties:
  1  1.1295
  2  1.78057
  3  10.8873
  4  16.5644
  5  13.6825
  6  6.4847e-05
  7  0.000528136
  8  1.54888e-05
  9  31.3129
  10  9.62862e-05
  11  6.23798
  12  0.000665655
  13  1.98294
  14  0.000110355
  15  29.5075
  16  0.191729
  17  0.0975728
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  4.949e+01  3.131e+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:  9.657e-01  9.757e-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:  9.402e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.12
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 6.33e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 4.35e-05 +/- 2.75e-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) = 9150.48479217
delta logL = 1.87884267376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9150.40527505
delta logL = 1.958359796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7695       1.0000          .0000       .10000E+07
     2 'Index     '    3.2097       1.0000          .0000       10.000    
     3 'Normalizat'    .80522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0079       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=   9150.405     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      277 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7668        18.435        .51974E-03    .49538E-02
   2  Index         3.2099        1.2937        .55028E-01    .39760E-03
   3  Normalizat    .80524        .74794E-01    .82222E-01    .41225E-04
   4  Prefactor     1.0079        .37535E-01    .43653E-01    .65793E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.76679
  Index      = 3.20991
  Normalizat = 0.80524
  Prefactor  = 1.0079
 **********
 **   18 **HESSE 
 **********

 FCN=   9150.405     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      310 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7668        26.869        .68903E-05   -1.5669    
   2  Index         3.2099        1.7031        .22468E-02   -.36614    
   3  Normalizat    .80524        .20998        .36404E-03   -.99875    
   4  Prefactor     1.0079        .10932        .17349E-03   -.92467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.58169e-07
Minuit parameter uncertainties:
  1  20.1209
  2  1.74328
  3  0.210193
  4  0.109348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936492': 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) = 9150.40527497
delta logL = 1.95835987122

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  3.767e+00  2.012e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  3.210e+00  1.743e+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.008e+00  1.093e-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.052e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.56
Ra Dec: 349.438 28.659
Photon Index (Free Index): 3.21 +/- 1.74
Photon Flux (Free Index): 1.64e-07 +/- 6.74e-08
Energy Flux (Free Index): 2.99e-05 +/- 1.99e-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/936492/cmap_HighResolution_695779201_696038401_4FGL_J2317.7+2839_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.33e-08', energy_flux2='2.99e-05', photon_flux_error='4.01e-08', dlogl='1.96e+00', energy_flux='4.35e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2023-01-22 01:57:33.499360', photon_index_error2='1.74', photon_index2='3.21', ts='5.12', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='0.94', time_epoch_completed='1674381453.5', return_code='0', job_id='936492', GAL2='1.01', EG2='0.81', return_code2='102', energy_flux_error='2.75e-05', photon_flux_error2='6.74e-08', ts2='9.56', photon_index='2.00' WHERE bin_id='1761' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:57:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 936492: <4FGL_J2317.7+2839_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:45:16 2023
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:46:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:46:13 2023
Terminated at Sun Jan 22 01:57:34 2023
Results reported at Sun Jan 22 01:57:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1761 349.438 28.6589 695779201 696038401 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 :                                   584.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            738 sec.

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

