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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1760
RA = 169.271, Dec = 20.2294
tmin = 695520001, tmax = 695779201
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='734859', job_status='RUN', time_executed='2023-01-19 00:48:52.243115', time_epoch_executed='1674118132.24' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734859

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734859/ft1_4FGL_J1117.0+2013_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734859/ft1_4FGL_J1117.0+2013_daily_bin1760.fits outfile=/scratch/kocevski/734859/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1760.fits ra=169.271 dec=20.2294 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.46
user 2.22
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.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/734859/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.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.36
sys 0.16

Number of photons that the gtmktime cut: 488

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/734859/ltcube_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.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/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits
.....................!
real 16.34
user 15.94
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/734859/ltcube_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.fits outfile=/scratch/kocevski/734859/expmap_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.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/734859/ltcube_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.fits
.....................!
real 192.25
user 186.15
sys 5.35

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

Setting source of interest to:
4FGL J1117.0+2013 @ 169.271 20.2294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits scfile=/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits outfile=/scratch/kocevski/734859/cmap_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.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=169.271 yref=20.2294 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/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits scfile=/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits outfile=/scratch/kocevski/734859/cmap_HighResolution_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.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=169.271 yref=20.2294 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/734859/Model_4FGL_J1117.0+2013_daily_bin1760.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/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits.....................!
real 57.04
user 55.36
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits', '/scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits', expMap='/scratch/kocevski/734859/expmap_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.fits', expCube='/scratch/kocevski/734859/ltcube_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/734859/Model_4FGL_J1117.0+2013_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1117.0+2013'

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/734859/ft1_filtered_4FGL_J1117.0+2013_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/734859/ft2_4FGL_J1117.0+2013_daily_bin1760.fits
Exposure map: /scratch/kocevski/734859/expmap_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.fits
Exposure cube: /scratch/kocevski/734859/ltcube_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/734859/Model_4FGL_J1117.0+2013_daily_bin1760.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) = 5561.81973303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17788E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31277E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.7516       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.553       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16337E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .28302E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .93568E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .17319E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0475       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25766E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.2378       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48861E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72726E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.787       1.0000          .0000       .10000E+07
    15 'Prefactor '    94.943       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11910E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.8279       1.0000          .0000       .10000E+07
    18 'Prefactor '    .40275       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3278       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89967       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5561.604     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1582 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42177E-06    3.0287        .43575E-05** at limit **
   2  Prefactor      .0000        2.2307       -.26885E-06** at limit **
   3  Prefactor     9.9392        9.1627        .12030E-05    .10551E-01
   4  Prefactor     21.594        12.175        .17921E-05    .92834E-01
   5  Prefactor     .19451E-06    4.4947        .43355E-06** at limit **
   6  Prefactor     .11102E-09    15.338        .26163E-05** at limit **
   7  Prefactor     .10048E-07    7.6569        .22211E-05** at limit **
   8  norm           .0000        .42534       -.17906E-06** at limit **
   9  Prefactor     1.0920        3.1599        .10745E-05    .22939E-02
  10  Prefactor     .27756E-09    5.9287       -.50498E-05** at limit **
  11  norm          1.2016        3.2908        .20722E-05    .13334E-01
  12  Prefactor     .15127E-06    4.2801       -.30064E-06** at limit **
  13  Prefactor     .46907E-07    37.524       -.13340E-05** at limit **
  14  Prefactor     18.524        11.004       -.34578E-05    .13386    
  15  Prefactor     98.577        44.951        .13773E-05   -.55371E-02
  16  Prefactor     .22204E-08    4.3939        .12673E-05** at limit **
  17  Prefactor     1.7832        2.1457       -.52047E-06   -.37112E-02
  18  Prefactor     .41006        9.2705       -.23369E-05    .35316E-02
  19  Normalizat    1.3225        .26209       -.11928E-04    .16373E-03
  20  Prefactor     .90188        .24849        .75161E-05    .18223E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.21774e-07
  Prefactor  = 0
  Prefactor  = 9.9392
  Prefactor  = 21.5945
  Prefactor  = 1.94511e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 1.00475e-08
  norm       = 0
  Prefactor  = 1.09202
  Prefactor  = 2.77556e-10
  norm       = 1.20157
  Prefactor  = 1.51268e-07
  Prefactor  = 4.69069e-08
  Prefactor  = 18.5236
  Prefactor  = 98.5773
  Prefactor  = 2.22045e-09
  Prefactor  = 1.78319
  Prefactor  = 0.410063
  Normalizat = 1.32245
  Prefactor  = 0.901884
 **********
 **   18 **HESSE 
 **********

 FCN=   5561.604     FROM HESSE     STATUS=OK           337 CALLS     1919 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42177E-06    5.3753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.9392        9.2843        .32065E-03   -1.5645    
   4  Prefactor     21.594        14.934        .21546E-03   -1.5615    
   5  Prefactor     .19451E-06    5.9206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    15.197        .16541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10048E-07    8.1808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .42418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0920        3.2348        .12130E-02   -1.5687    
  10  Prefactor     .27756E-09    7.2035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2016        27.803        .10083E-02   -1.5686    
  12  Prefactor     .15127E-06    5.0165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46907E-07    37.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.524        18.131        .23080E-03   -1.5622    
  15  Prefactor     98.577        44.870        .10263E-03   -1.5509    
  16  Prefactor     .22204E-08    4.4495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.7832        2.1877        .77176E-03   -1.5681    
  18  Prefactor     .41006        2.4308        .62326E-02   -1.5695    
  19  Normalizat    1.3225        .21955        .57313E-01   -.82899    
  20  Prefactor     .90188        .20566        .66885E-01   -.96075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.44741e-07
Minuit parameter uncertainties:
  1  0.00301137
  2  5.7391e-06
  3  9.28432
  4  14.9336
  5  0.00214628
  6  8.07921e-05
  7  0.000574149
  8  2.71009e-06
  9  3.23478
  10  9.00744e-05
  11  11.5598
  12  0.00174216
  13  0.0026588
  14  18.1312
  15  44.8699
  16  0.000198227
  17  2.18766
  18  1.99677
  19  0.21971
  20  0.205836
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  2.776e-10  9.007e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.019e-01  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.322e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.271 20.229
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/734859/likelihoodResults_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5561.61166868
delta logL = -0.00785199514667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5559.98137559
delta logL = 1.62244110306

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5559.981     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      274 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43962E-01    .47016        .15738E-03** at limit **
   2  Index         4.7116        2.0776        .78063E-01    .30079E-03
   3  Normalizat    1.1507        .63804E-01    .60771E-01    .12586E-04
   4  Prefactor     1.0166        .62339E-01    .63479E-01    .41903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0439617
  Index      = 4.71157
  Normalizat = 1.1507
  Prefactor  = 1.0166
 **********
 **   18 **HESSE 
 **********

 FCN=   5559.981     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43962E-01    .90692        .97460E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.7116        3.1720        .30483E-02   -.57719E-01
   3  Normalizat    1.1507        .23150        .26878E-03   -.88140    
   4  Prefactor     1.0166        .22379        .28075E-03   -.92178    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.84493e-11
Minuit parameter uncertainties:
  1  0.399348
  2  3.43726
  3  0.231708
  4  0.223991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734859': 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) = 5559.98135037
delta logL = 1.62246632293

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  4.396e-02  3.993e-01  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  4.712e+00  3.437e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.017e+00  2.240e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.151e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.77
Ra Dec: 169.271 20.229
Photon Index (Free Index): 4.71 +/- 3.44
Photon Flux (Free Index): 1.30e-07 +/- 8.72e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/734859/cmap_HighResolution_695520001_695779201_4FGL_J1117.0+2013_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', comment='SUCCESS', energy_flux2='1.77e-05', dlogl='1.62e+00', photon_flux2='1.30e-07', job_status='DONE', time_completed='2023-01-19 00:58:11.916828', photon_index_error2='3.44', photon_index2='4.71', ts='-0.00', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='1.21e-05', EG='1.32', time_epoch_completed='1674118691.92', return_code='0', job_id='734859', GAL2='1.02', EG2='1.15', return_code2='102', photon_flux_error2='8.72e-08', ts2='3.77', photon_index='1.96' WHERE bin_id='1760' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:58:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 734859: <4FGL_J1117.0+2013_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:45:13 2023
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:45:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:45:35 2023
Terminated at Thu Jan 19 00:58:12 2023
Results reported at Thu Jan 19 00:58:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1760 169.271 20.2294 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1117.0+2013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   561.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            779 sec.

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

