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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1709
RA = 322.891, Dec = -9.2684
tmin = 682300801, tmax = 682560001
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='233191', job_status='RUN', time_executed='2022-09-16 23:18:37.545620', time_epoch_executed='1663395517.55' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233191

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233191/ft1_4FGL_J2131.5-0916_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233191/ft1_4FGL_J2131.5-0916_daily_bin1709.fits outfile=/scratch/kocevski/233191/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1709.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=682300801.0 tmax=682560001.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.75
user 3.54
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.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/233191/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.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.38
sys 0.15

Number of photons that the gtmktime cut: 499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/233191/ltcube_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.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/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits
.....................!
real 14.11
user 13.71
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/233191/ltcube_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.fits outfile=/scratch/kocevski/233191/expmap_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.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/233191/ltcube_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.fits
.....................!
real 193.74
user 187.07
sys 5.64

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

Setting source of interest to:
4FGL J2131.5-0916 @ 322.891 -9.2684

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits scfile=/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits outfile=/scratch/kocevski/233191/cmap_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.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=322.891 yref=-9.2684 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits scfile=/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits outfile=/scratch/kocevski/233191/cmap_HighResolution_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.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=322.891 yref=-9.2684 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233191/Model_4FGL_J2131.5-0916_daily_bin1709.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/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits.....................!
real 58.83
user 57.49
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits', '/scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits', expMap='/scratch/kocevski/233191/expmap_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.fits', expCube='/scratch/kocevski/233191/ltcube_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/233191/Model_4FGL_J2131.5-0916_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2131.5-0916'

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.196e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.989e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/233191/ft1_filtered_4FGL_J2131.5-0916_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/233191/ft2_4FGL_J2131.5-0916_daily_bin1709.fits
Exposure map: /scratch/kocevski/233191/expmap_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.fits
Exposure cube: /scratch/kocevski/233191/ltcube_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/233191/Model_4FGL_J2131.5-0916_daily_bin1709.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) = 5681.56088834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9180       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62267E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5124       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.696       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18291E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1741       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.0166       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10525E-06   1.0000          .0000       .10000E+07
    10 'norm      '    3.1564       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29532E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9120       1.0000          .0000       .10000E+07
    13 'Prefactor '    13.737       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.636       1.0000          .0000       .10000E+07
    15 'Normalizat'    .71950       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0589       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5681.416     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1305 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9178        5.1392       -.59492E-07   -.10907E-02
   2  Prefactor     .40523E-08    20.279        .13134E-07** at limit **
   3  Prefactor     7.4956        4.7331        .59101E-07   -.20842E-01
   4  Prefactor     21.692        4.7800       -.32572E-07    .39752E-01
   5  Prefactor     11.610        4.8217        .46969E-07   -.36414E-01
   6  Prefactor     .26645E-07    6.8930       -.20022E-06** at limit **
   7  Prefactor     3.1737        3.0437       -.10903E-06   -.36690E-02
   8  Prefactor     7.0043        9.1781       -.12053E-06    .53315E-01
   9  Prefactor     .17986E-07    6.7290       -.89915E-07** at limit **
  10  norm          3.1563        5.7665       -.18656E-06   -.11136E-02
  11  Prefactor     .33307E-09    4.7885       -.19098E-06** at limit **
  12  Prefactor     2.9104        1.7417       -.13846E-07   -.79618E-02
  13  Prefactor     13.731        13.022       -.12764E-06   -.70255E-01
  14  Prefactor     19.633        4.9677       -.39954E-07   -.43602E-01
  15  Normalizat    .71939        .28850        .61755E-05   -.44541E-04
  16  Prefactor     1.0590        .15656       -.32348E-05   -.17408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91779
  Prefactor  = 4.05231e-09
  Prefactor  = 7.49559
  Prefactor  = 21.6918
  Prefactor  = 11.61
  Prefactor  = 2.66454e-08
  Prefactor  = 3.17368
  Prefactor  = 7.00433
  Prefactor  = 1.79856e-08
  norm       = 3.15626
  Prefactor  = 3.33067e-10
  Prefactor  = 2.91035
  Prefactor  = 13.7306
  Prefactor  = 19.6326
  Normalizat = 0.719388
  Prefactor  = 1.059
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.416     FROM HESSE     STATUS=OK           239 CALLS     1544 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9178        5.1454        .50944E-03   -1.5668    
   2  Prefactor     .40523E-08    20.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4956        28.218        .36566E-03   -1.5653    
   4  Prefactor     21.692        22.362        .21475E-03   -1.5615    
   5  Prefactor     11.610        54.684        .29415E-03   -1.5640    
   6  Prefactor     .26645E-07    6.9074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1737        3.7641        .56858E-03   -1.5672    
   8  Prefactor     7.0043        55.432        .37849E-03   -1.5655    
   9  Prefactor     .17986E-07    6.7921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1563        5.7845        .57025E-03   -1.5672    
  11  Prefactor     .33307E-09    4.7846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9104        11.497        .59512E-03   -1.5674    
  13  Prefactor     13.731        15.090        .26999E-03   -1.5634    
  14  Prefactor     19.633        15.325        .22575E-03   -1.5619    
  15  Normalizat    .71939        .25726        .83669E-01   -1.0313    
  16  Prefactor     1.0590        .13312        .39413E-01   -.90788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24946e-06
Minuit parameter uncertainties:
  1  5.14544
  2  0.000572777
  3  28.2188
  4  22.3622
  5  50.3944
  6  0.000857904
  7  3.76406
  8  39.4094
  9  0.000698505
  10  5.78449
  11  8.18277e-05
  12  11.4968
  13  15.0896
  14  15.3255
  15  0.257697
  16  0.133164
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  2.665e-08  8.579e-04  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.989e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.059e+00  1.332e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  7.194e-01  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.891 -9.268
Photon Flux Upper Limit: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233191/likelihoodResults_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.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) = 5681.49187216
delta logL = -0.0753948881684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5681.41647748
delta logL = -2.13148268813e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5681.416     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      235 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0824        .42118E-03** at limit **
   2  Index         .66958        .55348       -.64576E-05     .0000    
   3  Normalizat    .71939        1.0591        .12294E-05   -.11697E-04
   4  Prefactor     1.0590        1.1815       -.13031E-05   -.32771E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.66958
  Normalizat = 0.719387
  Prefactor  = 1.059
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5681.416     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .45437E-03    .77663       -.64576E-05   -1.0473    
   3  Normalizat    .71939        1.0591        .12294E-05   -1.0313    
   4  Prefactor     1.0590        1.1815       -.13031E-05   -.90788    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.13514e-13
Minuit parameter uncertainties:
  1  6.41787e-07
  2  0.558107
  3  1.0917
  4  1.21261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233191': 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) = 5681.41647727
delta logL = 1.93176674657e-09

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  6.418e-07  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  6.696e-01  5.581e-01  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.059e+00  1.213e+00  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  7.194e-01  1.092e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 322.891 -9.268

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/233191/cmap_HighResolution_682300801_682560001_4FGL_J2131.5-0916_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2022-09-16 23:27:06.205440', job_id='233191', GAL2='1.06', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1663396026.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.93e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1709' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:27:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 233191: <4FGL_J2131.5-0916_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1709> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:15:21 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:16:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:16:45 2022
Terminated at Fri Sep 16 23:27:06 2022
Results reported at Fri Sep 16 23:27:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1709 322.891 -9.2684 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2131.5-0916 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   510.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            705 sec.

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

