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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1771
RA = 169.271, Dec = 20.2294
tmin = 698371201, tmax = 698630401
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='544602', job_status='RUN', time_executed='2023-02-21 00:40:44.263982', time_epoch_executed='1676968844.26' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/544602

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/544602/ft1_4FGL_J1117.0+2013_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/544602/ft1_4FGL_J1117.0+2013_daily_bin1771.fits outfile=/scratch/kocevski/544602/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1771.fits ra=169.271 dec=20.2294 rad=12.0 tmin=698371201.0 tmax=698630401.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.08
user 2.85
sys 0.19

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

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

Number of photons that the gtmktime cut: 6

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/544602/ft1_filtered_4FGL_J1117.0+2013_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/544602/ltcube_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.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/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits
.....................!
real 12.91
user 12.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/544602/ft1_filtered_4FGL_J1117.0+2013_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/544602/ltcube_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.fits outfile=/scratch/kocevski/544602/expmap_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.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/544602/ltcube_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.fits
.....................!
real 193.30
user 185.56
sys 5.15

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/544602/ft1_filtered_4FGL_J1117.0+2013_daily_bin1771.fits scfile=/scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits outfile=/scratch/kocevski/544602/cmap_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.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.67
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/544602/ft1_filtered_4FGL_J1117.0+2013_daily_bin1771.fits scfile=/scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits outfile=/scratch/kocevski/544602/cmap_HighResolution_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.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.59
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/544602/ft1_filtered_4FGL_J1117.0+2013_daily_bin1771.fits', '/scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits', expMap='/scratch/kocevski/544602/expmap_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.fits', expCube='/scratch/kocevski/544602/ltcube_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/544602/Model_4FGL_J1117.0+2013_daily_bin1771.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/544602/ft1_filtered_4FGL_J1117.0+2013_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/544602/ft2_4FGL_J1117.0+2013_daily_bin1771.fits
Exposure map: /scratch/kocevski/544602/expmap_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.fits
Exposure cube: /scratch/kocevski/544602/ltcube_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/544602/Model_4FGL_J1117.0+2013_daily_bin1771.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 85.5477733328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 83.8558169937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4595       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0793       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0911       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5940       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9314       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.8474       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.4351       1.0000          .0000       .10000E+07
     8 'norm      '    .90977E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5579       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15663       1.0000          .0000       .10000E+07
    11 'norm      '    1.9694       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2856       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36022       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43765E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    245.65       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36326E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.6559       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26688E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .58149       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=   83.83839     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      244 TOTAL
                     EDM=   .81E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4595        1.0223         .0000         .0000    
   2  Prefactor     1.0793        1.2055         .0000         .0000    
   3  Prefactor     4.0911        1.0077         .0000         .0000    
   4  Prefactor     1.5940        1.0604         .0000         .0000    
   5  Prefactor     5.9314        1.0036         .0000         .0000    
   6  Prefactor     2.8474        1.0163         .0000         .0000    
   7  Prefactor     2.4351        1.0228         .0000         .0000    
   8  norm           .0000        93.394        .67816E-08** at limit **
   9  Prefactor     1.5579        1.0640         .0000         .0000    
  10  Prefactor      .0000        252.06       -.37019E-06** at limit **
  11  norm           .0000        91.469       -.38192E-07** at limit **
  12  Prefactor      .0000        143.70        .11478E-06** at limit **
  13  Prefactor      .0000        451.41       -.50334E-06** at limit **
  14  Prefactor      .0000        268.12       -.23138E-06** at limit **
  15  Prefactor     256.95        264.77        .43146E-06    .23189E-04
  16  Prefactor      .0000        38.241       -.73857E-07** at limit **
  17  Prefactor     9.4153        18.667       -.61327E-06    .22883E-03
  18  Prefactor      .0000        8.0215        .80583E-08** at limit **
  19  Normalizat    .10000E-01    .29559        .16528E-06** at limit **
  20  Prefactor     .58176        .50656        .54659E-05    .87642E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45949
  Prefactor  = 1.07935
  Prefactor  = 4.09108
  Prefactor  = 1.59403
  Prefactor  = 5.93142
  Prefactor  = 2.84744
  Prefactor  = 2.43507
  norm       = 0
  Prefactor  = 1.5579
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 256.947
  Prefactor  = 0
  Prefactor  = 9.41529
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.581761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   83.83839     FROM HESSE     STATUS=FAILED        11 CALLS      255 TOTAL
                     EDM=   .81E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62864.        62862.         .0000       -1.5677    
   2  Prefactor     1.0793        1.2055         .0000       -1.5687    
   3  Prefactor     4.0911        1.0077         .0000       -1.5668    
   4  Prefactor     1.5940        1.0604         .0000       -1.5683    
   5  Prefactor     5.9314        1.0036         .0000       -1.5659    
   6  Prefactor     2.8474        1.0163         .0000       -1.5674    
   7  Prefactor     2.4351        1.0228         .0000       -1.5677    
   8  norm           .0000        .50255        .67816E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5579        1.0640         .0000       -1.5683    
  10  Prefactor      .0000        .39721       -.37019E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .13639       -.38192E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .23883        .11478E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .22207       -.50334E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .44347E-01   -.23138E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     256.95        1.0227        .43146E-06   -1.5387    
  16  Prefactor      .0000        .44347E-01   -.73857E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.4153        .98879       -.61327E-06   -1.5647    
  18  Prefactor      .0000        .44347E-01    .80583E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .25734        .16528E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .58176        .92877        .54659E-05   -1.0836    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.12498e-13
Minuit parameter uncertainties:
  1  1.02232
  2  1.20546
  3  1.00767
  4  1.06037
  5  1.0036
  6  1.01631
  7  1.02281
  8  1.32449e-08
  9  1.06395
  10  4.79728e-07
  11  4.23211e-08
  12  8.90349e-09
  13  1.23812e-06
  14  2.79032e-08
  15  1.02273
  16  1.44111e-07
  17  0.988791
  18  4.88353e-08
  19  1.82159e-08
  20  0.955052
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 83.8383923555

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  4.797e-07  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:  5.818e-01  9.551e-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.000e-02  1.822e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 169.271 20.229
Photon Flux Upper Limit: 5.07e-06 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/544602/likelihoodResults_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.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) = 83.8402762724
delta logL = -0.00188391687814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 83.8383923696
delta logL = -1.40762210776e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.7886       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58169       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   83.83839     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      246 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        302.44        .42118E-03** at limit **
   2  Index         .84192        .74514       -.48187E-03     .0000    
   3  Normalizat    .10000E-01    .25505        .57823E-05** at limit **
   4  Prefactor     .58176        .92883       -.55668E-06   -.20858E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.841919
  Normalizat = 0.01
  Prefactor  = 0.581759
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   83.83839     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        302.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .15510E-01    .97892       -.48187E-03   -.98201    
   3  Normalizat    .10000E-01    .25505        .57823E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .58176        .92883       -.55668E-06   -1.0836    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.35308e-10
Minuit parameter uncertainties:
  1  8.38539e-05
  2  0.754383
  3  7.80975e-06
  4  0.955118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/544602': 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): 101
logL (Free Index) = 83.8383923555
delta logL = -8.24229573482e-12

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  8.385e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  8.419e-01  7.544e-01  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:  5.818e-01  9.551e-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.000e-02  7.810e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 169.271 20.229

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/544602/cmap_HighResolution_698371201_698630401_4FGL_J1117.0+2013_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-01', job_status='DONE', photon_flux_upper_limit='5.07e-06', time_completed='2023-02-21 00:46:05.982774', job_id='544602', GAL2='0.58', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1676969165.98', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.58', dlogl='-8.24e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1771' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:46:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 544602: <4FGL_J1117.0+2013_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1771> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 21 00:40:22 2023
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:40:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:40:23 2023
Terminated at Tue Feb 21 00:46:06 2023
Results reported at Tue Feb 21 00:46:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1771 169.271 20.2294 698371201 698630401 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 :                                   321.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             547.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   343 sec.
    Turnaround time :                            344 sec.

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

