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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1765
RA = 322.891, Dec = -9.2684
tmin = 696816001, tmax = 697075201
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='647030', job_status='RUN', time_executed='2023-02-03 01:42:02.321232', time_epoch_executed='1675417322.32' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647030/ft1_4FGL_J2131.5-0916_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647030/ft1_4FGL_J2131.5-0916_daily_bin1765.fits outfile=/scratch/kocevski/647030/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1765.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.41
sys 0.23

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

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

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647030/ft1_filtered_4FGL_J2131.5-0916_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/647030/ltcube_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.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/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits
.....................!
real 14.90
user 14.45
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647030/ft1_filtered_4FGL_J2131.5-0916_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/647030/ltcube_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.fits outfile=/scratch/kocevski/647030/expmap_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.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/647030/ltcube_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.fits
.....................!
real 192.39
user 185.91
sys 6.06

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/647030/ft1_filtered_4FGL_J2131.5-0916_daily_bin1765.fits scfile=/scratch/kocevski/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits outfile=/scratch/kocevski/647030/cmap_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647030/ft1_filtered_4FGL_J2131.5-0916_daily_bin1765.fits scfile=/scratch/kocevski/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits outfile=/scratch/kocevski/647030/cmap_HighResolution_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647030/ft1_filtered_4FGL_J2131.5-0916_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647030/ft2_4FGL_J2131.5-0916_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647030/Model_4FGL_J2131.5-0916_daily_bin1765.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/647030/ft1_filtered_4FGL_J2131.5-0916_daily_bin1765.fits.....................!
real 59.18
user 57.82
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28027E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.902       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6253       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38165E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18900E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1674       1.0000          .0000       .10000E+07
     8 'Prefactor '    .53883E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .66149E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .69054E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.5034       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73377E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .95267E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.0138       1.0000          .0000       .10000E+07
    15 'Normalizat'    .72479       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3039       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=   6022.645     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      866 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3513       -.38540E-06** at limit **
   2  Prefactor     .55511E-10    26.971        .25483E-05** at limit **
   3  Prefactor     19.834        3.1890        .54633E-06   -.55071E-01
   4  Prefactor     3.4868        2.0771       -.70933E-06    .18047E-01
   5  Prefactor     .10577E-05    7.6231        .24216E-05** at limit **
   6  Prefactor      .0000        2.4174       -.13159E-05** at limit **
   7  Prefactor     1.1686        2.1720       -.95065E-07    .10218E-03
   8  Prefactor     .11513E-06    6.9448        .13019E-05** at limit **
   9  Prefactor     .11136E-06    4.6538       -.20021E-05** at limit **
  10  norm          .19595E-07    4.6286       -.82769E-06** at limit **
  11  Prefactor     9.6245        8.0239       -.64692E-06   -.77196E-02
  12  Prefactor     .39857E-07    4.6605        .27324E-05** at limit **
  13  Prefactor     .92865E-06    8.5798       -.61252E-06** at limit **
  14  Prefactor     7.1219        1.0615       -.57601E-07   -.13517E-03
  15  Normalizat    .72419        .29831       -.66193E-05   -.71565E-04
  16  Prefactor     1.3041        .16747        .14278E-05   -.19680E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 19.8337
  Prefactor  = 3.4868
  Prefactor  = 1.05765e-06
  Prefactor  = 0
  Prefactor  = 1.16859
  Prefactor  = 1.1513e-07
  Prefactor  = 1.11355e-07
  norm       = 1.95954e-08
  Prefactor  = 9.62453
  Prefactor  = 3.9857e-08
  Prefactor  = 9.28646e-07
  Prefactor  = 7.1219
  Normalizat = 0.724195
  Prefactor  = 1.30414
 **********
 **   18 **HESSE 
 **********

 FCN=   6022.645     FROM HESSE     STATUS=OK           229 CALLS     1095 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    26.906        .16557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.834        19.521        .22423E-03   -1.5619    
   4  Prefactor     3.4868        26.296        .53038E-03   -1.5671    
   5  Prefactor     .10577E-05    13.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.4695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1686        2.2097        .10631E-02   -1.5686    
   8  Prefactor     .11513E-06    7.7403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11136E-06    6.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .19595E-07    4.7170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.6245        8.0608        .32484E-03   -1.5646    
  12  Prefactor     .39857E-07    4.7997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .92865E-06    14.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1219        15.937        .37856E-03   -1.5655    
  15  Normalizat    .72419        .27444        .91219E-01   -1.0295    
  16  Prefactor     1.3041        .14801        .32541E-01   -.83184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17034e-07
Minuit parameter uncertainties:
  1  2.01828e-06
  2  6.67922e-05
  3  19.5207
  4  19.1512
  5  0.0076883
  6  2.65317e-05
  7  2.20971
  8  0.00188806
  9  0.00173787
  10  0.00060815
  11  8.06076
  12  0.000875043
  13  0.0073803
  14  15.9373
  15  0.274965
  16  0.148061
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  2.653e-05  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.304e+00  1.481e-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.242e-01  2.750e-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.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647030/likelihoodResults_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.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) = 6022.71706628
delta logL = -0.072087869622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6022.63501297
delta logL = 0.00996543705151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11381       1.0000          .0000       .10000E+07
     2 'Index     '    3.0884       1.0000          .0000       10.000    
     3 'Normalizat'    .71609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3057       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.

 FCN=   6022.635     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      235 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11416        4.1514        .20772E-02** at limit **
   2  Index         3.0865        2.0577        .21912        .94098E-05
   3  Normalizat    .71574        .16569E-01    .91713E-01    .38254E-04
   4  Prefactor     1.3058        .93881E-02    .32512E-01    .63472E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.114156
  Index      = 3.08654
  Normalizat = 0.715735
  Prefactor  = 1.30581
 **********
 **   18 **HESSE 
 **********

 FCN=   6022.635     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11416        245.66        .11516E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0865        6.1300        .13047E-01   -.39271    
   3  Normalizat    .71574        .14502        .40630E-03   -1.0328    
   4  Prefactor     1.3058        .85047E-01    .17491E-03   -.83134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37754e-09
Minuit parameter uncertainties:
  1  10.5917
  2  31.7725
  3  0.145099
  4  0.0850565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647030': 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) = 6022.63501198
delta logL = 0.00996642726113

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.142e-01  1.059e+01  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  3.087e+00  3.177e+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.306e+00  8.506e-02  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.157e-01  1.451e-01  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/647030/cmap_HighResolution_696816001_697075201_4FGL_J2131.5-0916_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2023-02-03 01:50:10.765032', job_id='647030', GAL2='1.31', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1675417810.77', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='9.97e-03', ts2='0.02', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1765' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:50:10 PST 2023


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

Job <4FGL_J2131.5-0916_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:40:14 2023
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:41:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:41:11 2023
Terminated at Fri Feb  3 01:50:11 2023
Results reported at Fri Feb  3 01:50:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1765 322.891 -9.2684 696816001 697075201 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 :                                   490.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            597 sec.

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

