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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1777
RA = 349.557, Dec = 19.256
tmin = 699926401, tmax = 700185601
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='926583', job_status='RUN', time_executed='2023-03-11 01:30:39.205895', time_epoch_executed='1678527039.21' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926583

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926583/ft1_4FGL_J2318.2+1915_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926583/ft1_4FGL_J2318.2+1915_daily_bin1777.fits outfile=/scratch/kocevski/926583/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1777.fits ra=349.557 dec=19.256 rad=12.0 tmin=699926401.0 tmax=700185601.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.65
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.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/926583/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/926583/ltcube_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.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/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits
.....................!
real 12.06
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/926583/ltcube_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.fits outfile=/scratch/kocevski/926583/expmap_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.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/926583/ltcube_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.fits
.....................!
real 192.59
user 187.20
sys 5.09

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

Setting source of interest to:
4FGL J2318.2+1915 @ 349.557 19.256

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits scfile=/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits outfile=/scratch/kocevski/926583/cmap_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.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.557 yref=19.256 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits scfile=/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits outfile=/scratch/kocevski/926583/cmap_HighResolution_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.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.557 yref=19.256 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/926583/Model_4FGL_J2318.2+1915_daily_bin1777.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/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits.....................!
real 90.72
user 89.39
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits', '/scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits', expMap='/scratch/kocevski/926583/expmap_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.fits', expCube='/scratch/kocevski/926583/ltcube_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/926583/Model_4FGL_J2318.2+1915_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2318.2+1915'

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  2.396e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/926583/ft1_filtered_4FGL_J2318.2+1915_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/926583/ft2_4FGL_J2318.2+1915_daily_bin1777.fits
Exposure map: /scratch/kocevski/926583/expmap_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.fits
Exposure cube: /scratch/kocevski/926583/ltcube_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/926583/Model_4FGL_J2318.2+1915_daily_bin1777.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) = 8184.98264968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17849       1.0000          .0000       .10000E+07
     2 'norm      '    .88762E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    21.385       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2401       1.0000          .0000       .10000E+07
     5 'Prefactor '    .77728E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9787       1.0000          .0000       .10000E+07
     7 'Prefactor '    56.785       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.6042       1.0000          .0000       .10000E+07
     9 'Prefactor '    .97541       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0756       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6217       1.0000          .0000       .10000E+07
    12 'norm      '    .26118E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    14.550       1.0000          .0000       .10000E+07
    14 'norm      '    .38768       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.2352       1.0000          .0000       .10000E+07
    16 'Normalizat'    .96930       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.982     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     1518 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16712        9.8651       -.33142E-05** at limit **
   2  norm          .27756E-09    1.2284        .81148E-06** at limit **
   3  Prefactor     21.377        1.2050       -.82470E-07   -.38019E-02
   4  Prefactor     6.2453        13.147       -.56791E-05    .63560E-02
   5  Prefactor     .77692E-01    .10099       -.49240E-06   -.52605E-03
   6  Prefactor     9.9769        1.5894       -.28174E-06   -.16133E-01
   7  Prefactor     56.781        2.5709       -.16052E-06    .51583E-01
   8  Prefactor     5.5826        3.3914       -.43660E-06    .15888E-03
   9  Prefactor     .99507        2.5106        .14380E-05    .14331E-01
  10  Prefactor     2.0769        8.9613       -.30520E-05    .16230E-02
  11  Prefactor     1.5492        10.576       -.25276E-05    .13051E-01
  12  norm          .10547E-08    4.5271        .27739E-05** at limit **
  13  Prefactor     14.559        9.1238        .12284E-05   -.15954E-03
  14  norm          .27479        103.97       -.78142E-05   -.46243E-02
  15  Prefactor     5.2359        6.6568        .93334E-06   -.26911E-03
  16  Normalizat    .96931        .24935        .10523E-04   -.40634E-03
  17  Prefactor     1.1589        .14571       -.19250E-05   -.74615E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.16712
  norm       = 2.77556e-10
  Prefactor  = 21.3773
  Prefactor  = 6.24533
  Prefactor  = 0.0776915
  Prefactor  = 9.97694
  Prefactor  = 56.7811
  Prefactor  = 5.58256
  Prefactor  = 0.995074
  Prefactor  = 2.07686
  Prefactor  = 1.54924
  norm       = 1.05471e-09
  Prefactor  = 14.5594
  norm       = 0.274792
  Prefactor  = 5.23587
  Normalizat = 0.969312
  Prefactor  = 1.15888
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.982     FROM HESSE     STATUS=OK           277 CALLS     1795 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16712        1.1620        .62239E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .27756E-09    1.2248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.377        19.114        .21631E-03   -1.5615    
   4  Prefactor     6.2453        13.411        .40162E-03   -1.5658    
   5  Prefactor     .77692E-01    .11618        .71160E-02   -1.5652    
   6  Prefactor     9.9769        7.7089        .31697E-03   -1.5645    
   7  Prefactor     56.781        30.716        .13271E-03   -1.5557    
   8  Prefactor     5.5826        25.087        .42413E-03   -1.5661    
   9  Prefactor     .99507        19.768        .42893E-03   -1.5688    
  10  Prefactor     2.0769        9.1621        .71663E-03   -1.5679    
  11  Prefactor     1.5492        126.67        .83067E-03   -1.5683    
  12  norm          .10547E-08    4.5312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.559        9.2212        .26232E-03   -1.5632    
  14  norm          .27479        7.6421        .13511E-01   -1.5697    
  15  Prefactor     5.2359        6.7181        .43908E-03   -1.5662    
  16  Normalizat    .96931        .22839        .79998E-01   -.94066    
  17  Prefactor     1.1589        .12716        .35687E-01   -.87606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68382e-07
Minuit parameter uncertainties:
  1  0.88135
  2  3.54187e-05
  3  19.1142
  4  13.4111
  5  0.116179
  6  7.70892
  7  30.7156
  8  23.6686
  9  8.8703
  10  8.72431
  11  28.0183
  12  0.000139599
  13  9.22121
  14  2.89827
  15  6.71816
  16  0.228617
  17  0.127196
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  9.951e-01  8.870e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.159e+00  1.272e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  9.693e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926583/likelihoodResults_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.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) = 8184.95503624
delta logL = 0.0268682654842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.94977464
delta logL = 0.0321298668387

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8184.950     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      292 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2612        8.1183        .27313E-04    .11026E-02
   2  Index         2.0933        1.4787        .12597E-01    .37051E-04
   3  Normalizat    .97302        .23944        .35348E-03    .39627E-03
   4  Prefactor     1.1554        .14429        .19600E-03    .48594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.2612
  Index      = 2.09327
  Normalizat = 0.973022
  Prefactor  = 1.15537
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.950     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2612        8.1545        .10925E-05   -1.5678    
   2  Index         2.0933        1.4859        .50386E-03   -.62038    
   3  Normalizat    .97302        .23962        .14139E-04   -.93940    
   4  Prefactor     1.1554        .14436        .39201E-04   -.87716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10133e-09
Minuit parameter uncertainties:
  1  8.15454
  2  1.5211
  3  0.239882
  4  0.144409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926583': 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) = 8184.94976833
delta logL = 0.0321361782371

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  2.261e+00  8.155e+00  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  2.093e+00  1.521e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.155e+00  1.444e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  9.730e-01  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 349.557 19.256

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/926583/cmap_HighResolution_699926401_700185601_4FGL_J2318.2+1915_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2023-03-11 01:40:49.782843', job_id='926583', GAL2='1.16', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1678527649.78', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.21e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1777' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:40:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 926583: <4FGL_J2318.2+1915_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 01:30:20 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:30:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:30:21 2023
Terminated at Sat Mar 11 01:40:50 2023
Results reported at Sat Mar 11 01:40:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1777 349.557 19.256 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2318.2+1915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   613.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            630 sec.

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

