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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1730
RA = 322.891, Dec = -9.2684
tmin = 687744001, tmax = 688003201
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='469018', job_status='RUN', time_executed='2022-10-21 00:37:05.504169', time_epoch_executed='1666337825.5' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469018

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469018/ft1_4FGL_J2131.5-0916_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469018/ft1_4FGL_J2131.5-0916_daily_bin1730.fits outfile=/scratch/kocevski/469018/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1730.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=687744001.0 tmax=688003201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.91
user 4.65
sys 0.23

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

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

Number of photons that the gtmktime cut: 410

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469018/ltcube_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.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/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits
.....................!
real 11.85
user 11.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469018/ltcube_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.fits outfile=/scratch/kocevski/469018/expmap_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.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/469018/ltcube_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.fits
.....................!
real 190.98
user 185.32
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 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/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits scfile=/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits outfile=/scratch/kocevski/469018/cmap_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.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.54
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits scfile=/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits outfile=/scratch/kocevski/469018/cmap_HighResolution_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469018/Model_4FGL_J2131.5-0916_daily_bin1730.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/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits.....................!
real 48.15
user 46.78
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits', '/scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits', expMap='/scratch/kocevski/469018/expmap_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.fits', expCube='/scratch/kocevski/469018/ltcube_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469018/Model_4FGL_J2131.5-0916_daily_bin1730.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/469018/ft1_filtered_4FGL_J2131.5-0916_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469018/ft2_4FGL_J2131.5-0916_daily_bin1730.fits
Exposure map: /scratch/kocevski/469018/expmap_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469018/ltcube_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469018/Model_4FGL_J2131.5-0916_daily_bin1730.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) = 4596.10626158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14916E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    65.346       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19615E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.635       1.0000          .0000       .10000E+07
     5 'Prefactor '    .25953E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10983E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4269       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19580E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .30497E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .90586E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12636E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.8252       1.0000          .0000       .10000E+07
    13 'Prefactor '    .93189E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80090E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .82557       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .94735       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=   4596.101     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1126 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2831       -.25864E-07** at limit **
   2  Prefactor     64.821        21.133       -.48921E-07    .15977    
   3  Prefactor     .14444E-06    6.7241        .41676E-07** at limit **
   4  Prefactor     11.632        7.7734       -.13200E-07   -.66760E-01
   5  Prefactor     .11246E-05    69.660       -.23137E-06** at limit **
   6  Prefactor      .0000        3.2441       -.37679E-08** at limit **
   7  Prefactor     4.4279        2.4603        .33180E-07    .36238E-02
   8  Prefactor     .13473E-06    6.9626       -.10995E-07** at limit **
   9  Prefactor     .55511E-10    17.476        .71485E-07** at limit **
  10  norm           .0000        4.4701       -.35787E-07** at limit **
  11  Prefactor     .20484E-07    30.471       -.21193E-06** at limit **
  12  Prefactor     2.8185        8.1556       -.42476E-07   -.10565E-02
  13  Prefactor      .0000        5.5412       -.32483E-07** at limit **
  14  Prefactor     .29817E-04    163.00       -.61276E-06** at limit **
  15  Normalizat    .82590        .29588       -.44675E-05   -.27038E-03
  16  Prefactor     .94733        .16359        .86861E-06   -.39884E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 64.8209
  Prefactor  = 1.4444e-07
  Prefactor  = 11.6315
  Prefactor  = 1.1246e-06
  Prefactor  = 0
  Prefactor  = 4.4279
  Prefactor  = 1.34726e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 2.04836e-08
  Prefactor  = 2.81848
  Prefactor  = 0
  Prefactor  = 2.98174e-05
  Normalizat = 0.825896
  Prefactor  = 0.947332
 **********
 **   18 **HESSE 
 **********

 FCN=   4596.101     FROM HESSE     STATUS=OK           229 CALLS     1355 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.821        68.276        .12371E-03   -1.5547    
   3  Prefactor     .14444E-06    8.0941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.632        13.684        .29344E-03   -1.5640    
   5  Prefactor     .11246E-05    70.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.2568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4279        2.4591        .47838E-03   -1.5666    
   8  Prefactor     .13473E-06    8.1821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    17.245        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        4.4975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20484E-07    29.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8185        8.1744        .60482E-03   -1.5674    
  13  Prefactor      .0000        5.5516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29817E-04    170.45        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .82590        .24245        .72734E-01   -.99115    
  16  Prefactor     .94733        .13282        .45606E-01   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1886e-06
Minuit parameter uncertainties:
  1  7.5358e-06
  2  68.2768
  3  0.00216272
  4  13.6843
  5  0.0178074
  6  1.20826e-06
  7  2.45907
  8  0.00209996
  9  6.16556e-05
  10  5.60404e-06
  11  0.00155854
  12  8.17445
  13  5.32279e-06
  14  0.142585
  15  0.24277
  16  0.132865
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  1.208e-06  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:  9.473e-01  1.329e-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:  8.259e-01  2.428e-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: 6.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469018/likelihoodResults_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.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) = 4596.10235792
delta logL = -0.00112218040158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4596.10123586
delta logL = -1.13162968773e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99920E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .50708       1.0000          .0000       10.000    
     3 'Normalizat'    .82589       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94730       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=   4596.101     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      248 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2735        .42118E-03** at limit **
   2  Index         2.6755        1.7145        .20595E-03     .0000    
   3  Normalizat    .82589        1.1640       -.61123E-04    .33332E-03
   4  Prefactor     .94734        1.2897        .17047E-04    .11910E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.67546
  Normalizat = 0.825892
  Prefactor  = 0.947337
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4596.101     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .81021        2.0467        .20595E-03   -.48353    
   3  Normalizat    .82589        1.1640       -.61123E-04   -.99115    
   4  Prefactor     .94734        1.2897        .17047E-04   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.54523e-10
Minuit parameter uncertainties:
  1  1.90797e-06
  2  1.76059
  3  1.20235
  4  1.33553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469018': 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) = 4596.10123575
delta logL = -6.34827301838e-10

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  1.908e-06  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.675e+00  1.761e+00  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:  9.473e-01  1.336e+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:  8.259e-01  1.202e+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/469018/cmap_HighResolution_687744001_688003201_4FGL_J2131.5-0916_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-03', job_status='DONE', photon_flux_upper_limit='6.76e-08', time_completed='2022-10-21 00:44:45.592329', job_id='469018', GAL2='0.95', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1666338285.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-6.35e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1730' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:44:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 469018: <4FGL_J2131.5-0916_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:15 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:16 2022
Terminated at Fri Oct 21 00:44:46 2022
Results reported at Fri Oct 21 00:44:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1730 322.891 -9.2684 687744001 688003201 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 :                                   463.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             317.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            571 sec.

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

