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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1732
RA = 349.438, Dec = 28.6589
tmin = 688262401, tmax = 688521601
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='647714', job_status='RUN', time_executed='2022-10-27 00:37:19.613820', time_epoch_executed='1666856239.61' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647714

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647714/ft1_4FGL_J2317.7+2839_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647714/ft1_4FGL_J2317.7+2839_daily_bin1732.fits outfile=/scratch/kocevski/647714/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1732.fits ra=349.438 dec=28.6589 rad=12.0 tmin=688262401.0 tmax=688521601.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.52
user 3.28
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.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/647714/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 872

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647714/ltcube_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.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/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits
.....................!
real 12.12
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647714/ltcube_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.fits outfile=/scratch/kocevski/647714/expmap_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.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/647714/ltcube_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.fits
.....................!
real 191.83
user 185.68
sys 5.74

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/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.fits scfile=/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits outfile=/scratch/kocevski/647714/cmap_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.fits scfile=/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits outfile=/scratch/kocevski/647714/cmap_HighResolution_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647714/ft2_4FGL_J2317.7+2839_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647714/Model_4FGL_J2317.7+2839_daily_bin1732.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/647714/ft1_filtered_4FGL_J2317.7+2839_daily_bin1732.fits.....................!
real 103.01
user 101.54
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30531E-08   1.0000          .0000       .10000E+07
     2 'norm      '    1.6682       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36910E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .60112E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9298       1.0000          .0000       .10000E+07
     6 'norm      '    3.1875       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31329E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    42.176       1.0000          .0000       .10000E+07
    10 'Prefactor '    .70329E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.5703       1.0000          .0000       .10000E+07
    12 'Prefactor '    .34369E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .66351       1.0000          .0000       .10000E+07
    14 'Prefactor '    .89199E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .81748E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1684       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0155       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=   9226.683     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1186 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .17860        .17458E-08** at limit **
   2  norm          1.6682        1.1944       -.26607E-07   -.32967E-02
   3  Prefactor     .10325E-07    1.8118        .21320E-07** at limit **
   4  Prefactor     .66058E-08    47.983       -.56875E-07** at limit **
   5  Prefactor     1.9063        1.2112        .78284E-08   -.13254E-01
   6  norm          3.1868        1.4109       -.19211E-07   -.35099E-02
   7  Prefactor     18.357        1.8088        .61837E-08   -.99178E-01
   8  Prefactor      .0000        3.8896        .76394E-08** at limit **
   9  Prefactor     42.219        1.0170        .95413E-10    .96620E-02
  10  Prefactor     .55511E-10    4.5626        .14798E-06** at limit **
  11  norm          6.5714        4.4564        .52239E-07    .12580E-02
  12  Prefactor     .10492E-07    4.2107        .44005E-07** at limit **
  13  norm          .66236        1.6099       -.93082E-07   -.26241E-02
  14  Prefactor      .0000        30.875       -.39751E-08** at limit **
  15  Prefactor      .0000        8.9579       -.15209E-06** at limit **
  16  Normalizat    1.1686        .23581       -.23214E-05   -.69548E-04
  17  Prefactor     1.0154        .12343        .99544E-06   -.67672E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.66819
  Prefactor  = 1.03251e-08
  Prefactor  = 6.60583e-09
  Prefactor  = 1.90631
  norm       = 3.18676
  Prefactor  = 18.3567
  Prefactor  = 0
  Prefactor  = 42.2194
  Prefactor  = 5.55112e-11
  norm       = 6.57142
  Prefactor  = 1.04916e-08
  norm       = 0.662361
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.1686
  Prefactor  = 1.0154
 **********
 **   18 **HESSE 
 **********

 FCN=   9226.683     FROM HESSE     STATUS=OK           257 CALLS     1443 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .17899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6682        1.1834        .81604E-03   -1.5682    
   3  Prefactor     .10325E-07    4.9918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66058E-08    47.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9063        57.345        .74741E-03   -1.5680    
   6  norm          3.1868        1.4137        .56732E-03   -1.5672    
   7  Prefactor     18.357        20.744        .23334E-03   -1.5622    
   8  Prefactor      .0000        5.1367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.219        35.226        .15399E-03   -1.5578    
  10  Prefactor     .55511E-10    4.5678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.5714        4.4764        .39127E-03   -1.5657    
  12  Prefactor     .10492E-07    4.7787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .66236        1.6172        .63721E-03   -1.5692    
  14  Prefactor      .0000        30.150        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        9.0199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1686        .20141        .76389E-01   -.87579    
  17  Prefactor     1.0154        .10464        .42622E-01   -.92218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85014e-07
Minuit parameter uncertainties:
  1  8.71086e-08
  2  1.1834
  3  0.000454257
  4  0.00111635
  5  20.9112
  6  1.41365
  7  20.7442
  8  1.88179e-05
  9  35.2259
  10  2.32098e-05
  11  4.47642
  12  0.000447541
  13  1.61724
  14  1.20816e-06
  15  2.02272e-05
  16  0.201547
  17  0.104664
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  4.222e+01  3.523e+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.015e+00  1.047e-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:  1.169e+00  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.96
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.40e-08 +/- 4.51e-08
Energy Flux (Fixed Index): 3.71e-05 +/- 3.09e-05

TS (Fixed Index): 1.96
Ra Dec: 349.438 28.659
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647714/likelihoodResults_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.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) = 9225.21217022
delta logL = 1.47107376595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9225.17529219
delta logL = 1.50795178889

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.021       1.0000          .0000       .10000E+07
     2 'Index     '    2.7783       1.0000          .0000       10.000    
     3 'Normalizat'    1.1007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0333       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=   9225.175     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      263 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.012        80.856        .31629E-03    .33904E-02
   2  Index         2.7787        1.5638        .79098E-01    .35404E-03
   3  Normalizat    1.1007        .76003E-01    .78278E-01    .25406E-04
   4  Prefactor     1.0333        .37210E-01    .41003E-01    .62090E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0118
  Index      = 2.7787
  Normalizat = 1.10066
  Prefactor  = 1.03334
 **********
 **   18 **HESSE 
 **********

 FCN=   9225.175     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.012        34.048        .12652E-04   -1.5645    
   2  Index         2.7787        1.1288        .29759E-02   -.46035    
   3  Normalizat    1.1007        .24356        .34649E-03   -.89731    
   4  Prefactor     1.0333        .12572        .18471E-03   -.91626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36359e-10
Minuit parameter uncertainties:
  1  34.0486
  2  1.14112
  3  0.24381
  4  0.125755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647714': 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): 0
logL (Free Index) = 9225.17529194
delta logL = 1.50795204494

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  1.001e+01  3.405e+01  0.000e+00  1.000e+06 ( 1.000e-14)
413        Index:  2.779e+00  1.141e+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.033e+00  1.258e-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:  1.101e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.05
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.78 +/- 1.14
Photon Flux (Free Index): 1.16e-07 +/- 6.17e-08
Energy Flux (Free Index): 2.63e-05 +/- 2.33e-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/647714/cmap_HighResolution_688262401_688521601_4FGL_J2317.7+2839_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='5.40e-08', energy_flux2='2.63e-05', photon_flux_error='4.51e-08', dlogl='1.51e+00', energy_flux='3.71e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2022-10-27 00:48:07.497803', photon_index_error2='1.14', photon_index2='2.78', ts='1.96', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='2.33e-05', EG='1.17', time_epoch_completed='1666856887.5', return_code='0', job_id='647714', GAL2='1.03', EG2='1.10', return_code2='0', energy_flux_error='3.09e-05', photon_flux_error2='6.17e-08', ts2='5.05', photon_index='2.00' WHERE bin_id='1732' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:48:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 647714: <4FGL_J2317.7+2839_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:49 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:50 2022
Terminated at Thu Oct 27 00:48:08 2022
Results reported at Thu Oct 27 00:48:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1732 349.438 28.6589 688262401 688521601 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 :                                   650.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

