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 76 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin1700
RA = 349.557, Dec = 19.256
tmin = 679968001, tmax = 680227201
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='83471', job_status='RUN', time_executed='2022-07-23 00:37:20.502410', time_epoch_executed='1658561840.5' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83471

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83471/ft1_4FGL_J2318.2+1915_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83471/ft1_4FGL_J2318.2+1915_daily_bin1700.fits outfile=/scratch/kocevski/83471/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1700.fits ra=349.557 dec=19.256 rad=12.0 tmin=679968001.0 tmax=680227201.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 4.56
user 4.34
sys 0.20

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

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

Number of photons that the gtmktime cut: 814

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83471/ft1_filtered_4FGL_J2318.2+1915_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83471/ltcube_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.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/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits
.....................!
real 14.90
user 14.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83471/ft1_filtered_4FGL_J2318.2+1915_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83471/ltcube_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.fits outfile=/scratch/kocevski/83471/expmap_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.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/83471/ltcube_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.fits
.....................!
real 190.52
user 186.06
sys 3.95

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/83471/ft1_filtered_4FGL_J2318.2+1915_daily_bin1700.fits scfile=/scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits outfile=/scratch/kocevski/83471/cmap_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.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 1.09
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83471/ft1_filtered_4FGL_J2318.2+1915_daily_bin1700.fits scfile=/scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits outfile=/scratch/kocevski/83471/cmap_HighResolution_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.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.62
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83471/ft1_filtered_4FGL_J2318.2+1915_daily_bin1700.fits', '/scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits', expMap='/scratch/kocevski/83471/expmap_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.fits', expCube='/scratch/kocevski/83471/ltcube_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83471/Model_4FGL_J2318.2+1915_daily_bin1700.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  1.000e-04  1.000e+04 ( 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/83471/ft1_filtered_4FGL_J2318.2+1915_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83471/ft2_4FGL_J2318.2+1915_daily_bin1700.fits
Exposure map: /scratch/kocevski/83471/expmap_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83471/ltcube_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83471/Model_4FGL_J2318.2+1915_daily_bin1700.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) = 8973.50983432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0959       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10918E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.935       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6723       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5316       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.316       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .58510E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.442       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .51919       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3000       1.0000         .10000E-03   10000.    
    15 'norm      '    6.2790       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1688       1.0000         .10000E-03   10000.    
    17 'norm      '    .10413E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3788       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .45941       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3500       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.

 FCN=   8973.458     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2140 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0938        3.3951       -.14398E-05    .23752E-03
   2  norm          .10000E-03    .58896        .99355E-07** at limit **
   3  Prefactor     .10000E-03    57.938        .13216E-05** at limit **
   4  Prefactor     14.935        12.637       -.19188E-06    .21519E-05
   5  Prefactor     7.6711        10.174        .59339E-06    .24684E-04
   6  Prefactor     1.5317        .23591       -.33278E-07   -.58427E-04
   7  Prefactor     11.316        9.1999       -.18158E-07   -.22952E-05
   8  Prefactor     .10000E-03    1.8946        .13984E-06** at limit **
   9  Prefactor     .10000E-03    13.022        .10928E-06** at limit **
  10  Prefactor     .10321E-03    44.913       -.10985E-04** at limit **
  11  Prefactor     33.437        28.486       -.12661E-05   -.52813E-04
  12  Prefactor     .53656        22.081        .10735E-04    .29813E-03
  13  Prefactor     .10000E-03    4.9083       -.39147E-07** at limit **
  14  Prefactor     7.3333        21.836       -.28276E-05    .99928E-04
  15  norm          6.2788        8.4371       -.10512E-05   -.84404E-05
  16  Prefactor     7.1639        8.2222        .73425E-06    .12717E-03
  17  norm          .10000E-03    13.314        .50923E-06** at limit **
  18  Prefactor     8.3784        6.5498       -.95482E-06   -.29846E-04
  19  Normalizat    .45988        .25513       -.41051E-05   -.18793E-04
  20  Prefactor     1.3498        .13999        .93867E-07   -.22582E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09379
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9346
  Prefactor  = 7.67113
  Prefactor  = 1.53167
  Prefactor  = 11.3161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000103213
  Prefactor  = 33.4366
  Prefactor  = 0.536559
  Prefactor  = 0.0001
  Prefactor  = 7.33331
  norm       = 6.2788
  Prefactor  = 7.16387
  norm       = 0.0001
  Prefactor  = 8.37843
  Normalizat = 0.459877
  Prefactor  = 1.34979
 **********
 **   18 **HESSE 
 **********

 FCN=   8973.458     FROM HESSE     STATUS=OK           307 CALLS     2447 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0938        3.3135        .20354E-03   -1.5419    
   2  norm          .10000E-03    .59324        .70897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    58.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.935        12.578        .10364E-03   -1.4935    
   5  Prefactor     7.6711        10.178        .14478E-03   -1.5154    
   6  Prefactor     1.5317        .23482        .16898E-04   -1.5460    
   7  Prefactor     11.316        9.1943        .11910E-03   -1.5035    
   8  Prefactor     .10000E-03    1.9003        .12735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10321E-03    21.331        .10999       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.437        28.558        .69293E-04   -1.4551    
  12  Prefactor     .53656        25.554        .30972E-02   -1.5561    
  13  Prefactor     .10000E-03    4.9184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.3333        22.547        .14845E-03   -1.5166    
  15  norm          6.2788        8.3610        .16019E-03   -1.5207    
  16  Prefactor     7.1639        8.1586        .14982E-03   -1.5173    
  17  norm          .10000E-03    13.706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.3784        6.5130        .13849E-03   -1.5129    
  19  Normalizat    .45988        .24597        .50882E-03   -1.1431    
  20  Prefactor     1.3498        .14048        .18738E-03   -.81838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01925e-09
Minuit parameter uncertainties:
  1  3.31381
  2  2.62373e-06
  3  0.000225578
  4  12.5801
  5  10.1804
  6  0.234817
  7  9.19545
  8  5.12807e-06
  9  7.56969e-05
  10  0.0165641
  11  28.5696
  12  7.4084
  13  2.37964e-05
  14  22.5735
  15  8.36254
  16  8.15986
  17  3.0488e-05
  18  6.51355
  19  0.246548
  20  0.140524
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  5.366e-01  7.408e+00  1.000e-04  1.000e+04 ( 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.350e+00  1.405e-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:  4.599e-01  2.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/83471/likelihoodResults_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.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) = 8973.38079228
delta logL = 0.0772213973614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8973.37269295
delta logL = 0.0853207230684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51038       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0054       1.0000          .0000       10.000    
     3 'Normalizat'    .43730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3571       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=   8973.373     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      275 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50976        33.443        .15446E-03   -.17017E-03
   2  Index         4.0067        6.4193        .86687E-02   -.62872E-05
   3  Normalizat    .43746        .23513        .52127E-03    .12868E-04
   4  Prefactor     1.3571        .14095        .18694E-03    .14255E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.509761
  Index      = 4.0067
  Normalizat = 0.437457
  Prefactor  = 1.35714
 **********
 **   18 **HESSE 
 **********

 FCN=   8973.373     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50976        3.3686        .61782E-05   -1.5565    
   2  Index         4.0067        2.9864        .34675E-03   -.19999    
   3  Normalizat    .43746        .23536        .20851E-04   -1.1541    
   4  Prefactor     1.3571        .14024        .74777E-05   -.81623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95636e-11
Minuit parameter uncertainties:
  1  2.62076
  2  3.21142
  3  0.235892
  4  0.140281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83471': 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) = 8973.37269019
delta logL = 0.0853234897313

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  5.098e-01  2.621e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  4.007e+00  3.211e+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.357e+00  1.403e-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:  4.375e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/83471/cmap_HighResolution_679968001_680227201_4FGL_J2318.2+1915_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2022-07-23 00:50:02.109070', job_id='83471', GAL2='1.36', fit_tolerance='1e-08', EG2='0.44', EG='0.46', time_epoch_completed='1658562602.11', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='8.53e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1700' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:50:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 83471: <4FGL_J2318.2+1915_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:50 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:50 2022
Terminated at Sat Jul 23 00:50:02 2022
Results reported at Sat Jul 23 00:50:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1700 349.557 19.256 679968001 680227201 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 :                                   725.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            852 sec.

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

