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


Performing analysis on: 4FGL_J0117.8-2109_daily_bin1689
RA = 19.4543, Dec = -21.1578
tmin = 677116801, tmax = 677376001
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='975067', job_status='RUN', time_executed='2022-06-20 00:10:26.126229', time_epoch_executed='1655709026.13' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/975067

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/975067/ft1_4FGL_J0117.8-2109_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/975067/ft1_4FGL_J0117.8-2109_daily_bin1689.fits outfile=/scratch/kocevski/975067/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1689.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=677116801.0 tmax=677376001.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.31
user 2.08
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.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/975067/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1689.fits evtable="EVENTS" outfile="/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.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.44
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 664

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/975067/ltcube_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.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/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits
.....................!
real 12.59
user 12.16
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/975067/ltcube_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.fits outfile=/scratch/kocevski/975067/expmap_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.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/975067/ltcube_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.fits
.....................!
real 157.59
user 152.41
sys 4.52

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

Setting source of interest to:
4FGL J0117.8-2109 @ 19.4543 -21.1578

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits scfile=/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits outfile=/scratch/kocevski/975067/cmap_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.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=19.4543 yref=-21.1578 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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits scfile=/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits outfile=/scratch/kocevski/975067/cmap_HighResolution_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.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=19.4543 yref=-21.1578 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.48
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/975067/Model_4FGL_J0117.8-2109_daily_bin1689.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/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits.....................!
real 50.74
user 49.37
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits', '/scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits', expMap='/scratch/kocevski/975067/expmap_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.fits', expCube='/scratch/kocevski/975067/ltcube_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/975067/Model_4FGL_J0117.8-2109_daily_bin1689.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0117.8-2109'

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  4.691e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/975067/ft1_filtered_4FGL_J0117.8-2109_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/975067/ft2_4FGL_J0117.8-2109_daily_bin1689.fits
Exposure map: /scratch/kocevski/975067/expmap_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.fits
Exposure cube: /scratch/kocevski/975067/ltcube_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/975067/Model_4FGL_J0117.8-2109_daily_bin1689.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) = 7038.90292629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.008       1.0000         .10000E-03   10000.    
     2 'norm      '    176.25       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.522       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0236       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2715       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2496       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2858       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.132       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2984       1.0000         .10000E-03   10000.    
    14 'norm      '    20.159       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0036       1.0000         .10000E-03   10000.    
    16 'norm      '    .10255E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14984       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    18.256       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0090       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82009       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7038.844     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2103 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.008        10.425       -.54444E-08   -.71171E-05
   2  norm          176.26        16.533        .46917E-06    .53176E-03
   3  Prefactor     .10000E-03    26.382       -.19039E-06** at limit **
   4  Prefactor     12.523        15.129        .99496E-06    .91428E-04
   5  norm          3.0237        2.5529        .30815E-06   -.94556E-03
   6  Prefactor     .10000E-03    2.2444       -.54838E-08** at limit **
   7  Prefactor     4.2717        9.8261       -.28870E-06   -.31466E-04
   8  Prefactor     6.2499        3.7914        .60646E-06    .46982E-03
   9  Prefactor     .10000E-03    7.5019       -.99763E-06** at limit **
  10  norm          .10000E-03    1.2969        .15112E-08** at limit **
  11  norm          2.2859        2.1467       -.60166E-07    .19820E-05
  12  Prefactor     25.135        16.676        .12368E-05    .24306E-03
  13  Prefactor     3.2976        4.3994       -.58277E-07   -.68829E-04
  14  norm          20.160        24.485        .17342E-05    .11232E-03
  15  norm          1.0037        1.2078        .12752E-07   -.13308E-03
  16  norm          .10000E-03    1.2892        .13415E-06** at limit **
  17  norm          .16919        1.7502       -.86258E-06    .10397E-02
  18  Prefactor     .10000E-03    13.091        .37624E-06** at limit **
  19  norm          18.256        4.7734       -.21672E-06   -.33994E-03
  20  Prefactor     .10000E-03    5.2119       -.36601E-07** at limit **
  21  Normalizat    1.0090        .17180       -.14508E-06    .16429E-03
  22  Prefactor     .82000        .18775       -.52804E-06    .98112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0083
  norm       = 176.255
  Prefactor  = 0.0001
  Prefactor  = 12.5234
  norm       = 3.02368
  Prefactor  = 0.0001
  Prefactor  = 4.27169
  Prefactor  = 6.24993
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.2859
  Prefactor  = 25.1345
  Prefactor  = 3.29763
  norm       = 20.1602
  norm       = 1.00366
  norm       = 0.0001
  norm       = 0.16919
  Prefactor  = 0.0001
  norm       = 18.2562
  Prefactor  = 0.0001
  Normalizat = 1.00898
  Prefactor  = 0.819995
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.844     FROM HESSE     STATUS=OK           350 CALLS     2453 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.008        10.426        .12075E-03   -1.5044    
   2  norm          176.26        16.644        .30399E-04   -1.3045    
   3  Prefactor     .10000E-03    26.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.523        15.155        .11320E-03   -1.5000    
   5  norm          3.0237        5.6429        .11669E-02   -1.5360    
   6  Prefactor     .10000E-03    2.2618        .12268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2717        9.8029        .19494E-03   -1.5295    
   8  Prefactor     6.2499        3.8093        .12196E-03   -1.5208    
   9  Prefactor     .10000E-03    7.5961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3382        .18556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2859        2.1350        .11237E-03   -1.5406    
  12  Prefactor     25.135        16.645        .79906E-04   -1.4705    
  13  Prefactor     3.2976        4.3636        .18822E-03   -1.5345    
  14  norm          20.160        24.563        .89207E-04   -1.4810    
  15  norm          1.0037        1.1000        .95216E-03   -1.5508    
  16  norm          .10000E-03    3.0035        .17952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16919        7.4658        .18148E-02   -1.5626    
  18  Prefactor     .10000E-03    13.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          18.256        4.7899        .89924E-04   -1.4853    
  20  Prefactor     .10000E-03    5.2183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0090        .20439        .24984E-03   -.92730    
  22  Prefactor     .82000        .22332        .31335E-03   -.98995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02354e-09
Minuit parameter uncertainties:
  1  10.4279
  2  16.644
  3  1.83291e-05
  4  15.16
  5  5.64392
  6  1.06557e-07
  7  9.80657
  8  3.8094
  9  4.28476e-05
  10  1.9602e-06
  11  2.13503
  12  16.6476
  13  4.36401
  14  24.5755
  15  1.09999
  16  5.73436e-07
  17  2.24742
  18  2.86573e-05
  19  4.78998
  20  9.57612e-07
  21  0.20455
  22  0.223569
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  4.285e-05  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.200e-01  2.236e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.009e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.454 -21.158
Photon Flux Upper Limit: 6.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/975067/likelihoodResults_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.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) = 7038.84427236
delta logL = -0.000627511917628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7038.84364491
delta logL = -6.0087586462e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3590       1.0000          .0000       10.000    
     3 'Normalizat'    1.0089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82009       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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=   7038.844     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      242 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10066E-03    56.216        .18142E-02** at limit **
   2  Index         2.3213        5.1696        .50000        .16008E-04
   3  Normalizat    1.0090        .10996E-01    .24984E-03    .14875E-03
   4  Prefactor     .82000        .12610E-01    .31335E-03    .27026E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100656
  Index      = 2.32131
  Normalizat = 1.00898
  Prefactor  = 0.819998
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.844     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10066E-03    264.17        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3213        6.5989        .50000       -.56538    
   3  Normalizat    1.0090        .24639E-01    .99936E-05   -.92730    
   4  Prefactor     .82000        .28251E-01    .12534E-04   -.98995    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18037e-08
Minuit parameter uncertainties:
  1  0.0264378
  2  462.277
  3  0.0246392
  4  0.0282517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/975067': 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) = 7038.84364466
delta logL = 1.86010765901e-07

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.007e-04  2.644e-02  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.321e+00  4.623e+02  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.200e-01  2.825e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.009e+00  2.464e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.454 -21.158

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/975067/cmap_HighResolution_677116801_677376001_4FGL_J0117.8-2109_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.50e-08', time_completed='2022-06-20 00:19:37.343767', job_id='975067', GAL2='0.82', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1655709577.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1689' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 00:19:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 975067: <4FGL_J0117.8-2109_daily_bin1689> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:04:41 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:07:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:07:28 2022
Terminated at Mon Jun 20 00:19:37 2022
Results reported at Mon Jun 20 00:19:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin1689 19.4543 -21.1578 677116801 677376001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0117.8-2109 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   550.87 sec.
    Max Memory :                                 846 MB
    Average Memory :                             263.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            896 sec.

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

