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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1780
RA = 322.891, Dec = -9.2684
tmin = 700704001, tmax = 700963201
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='77884', job_status='RUN', time_executed='2023-03-20 01:47:08.412701', time_epoch_executed='1679302028.41' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77884

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77884/ft1_4FGL_J2131.5-0916_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77884/ft2_4FGL_J2131.5-0916_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77884/ft1_4FGL_J2131.5-0916_daily_bin1780.fits outfile=/scratch/kocevski/77884/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1780.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=700704001.0 tmax=700963201.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.11
user 3.88
sys 0.22

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

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

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77884/ft1_filtered_4FGL_J2131.5-0916_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/77884/ft2_4FGL_J2131.5-0916_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/77884/ltcube_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.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/77884/ft2_4FGL_J2131.5-0916_daily_bin1780.fits
.....................!
real 12.77
user 12.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77884/ft1_filtered_4FGL_J2131.5-0916_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77884/ft2_4FGL_J2131.5-0916_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/77884/ltcube_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.fits outfile=/scratch/kocevski/77884/expmap_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.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/77884/ltcube_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.fits
.....................!
real 191.24
user 185.84
sys 4.98

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/77884/ft1_filtered_4FGL_J2131.5-0916_daily_bin1780.fits scfile=/scratch/kocevski/77884/ft2_4FGL_J2131.5-0916_daily_bin1780.fits outfile=/scratch/kocevski/77884/cmap_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.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.58
user 0.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77884/ft1_filtered_4FGL_J2131.5-0916_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77884/ft2_4FGL_J2131.5-0916_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77884/Model_4FGL_J2131.5-0916_daily_bin1780.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/77884/ft1_filtered_4FGL_J2131.5-0916_daily_bin1780.fits.....................!
real 62.17
user 60.80
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4027       1.0000          .0000       .10000E+07
     2 'Prefactor '    .47289       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24079E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .42145       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.084       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8306       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0625       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10516E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .43570E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .31616E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .39263E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12967E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.986       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18443E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2837       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91077       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=   6193.409     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     1339 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4371        5.2394        .47973E-03    .25039E-02
   2  Prefactor      .0000        51.532        .81485E-03** at limit **
   3  Prefactor     .55511E-10    28.834        .42118E-03** at limit **
   4  Prefactor     .29421E-08    13.627        .87043E-02** at limit **
   5  Prefactor     18.058        39.438        .24204E-03    .30831E-03
   6  Prefactor     1.8314        2.7583        .77106E-03    .21540E-02
   7  Prefactor     1.0397        2.6810        .11862E-02    .11024E-01
   8  Prefactor     .55511E-10    31.873        .42118E-03** at limit **
   9  Prefactor      .0000        9.3207        .42118E-03** at limit **
  10  norm           .0000        3.9067        .42118E-03** at limit **
  11  Prefactor      .0000        2.1307        .42118E-03** at limit **
  12  Prefactor      .0000        7.5700        .42118E-03** at limit **
  13  Prefactor     20.045        15.964        .22376E-03    .12197E-02
  14  Prefactor      .0000        7.2313        .42118E-03** at limit **
  15  Normalizat    1.2847        .23305        .68216E-01    .21486E-03
  16  Prefactor     .91066        .12327        .45142E-01    .28933E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43705
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.94209e-09
  Prefactor  = 18.0577
  Prefactor  = 1.83138
  Prefactor  = 1.03972
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 20.0451
  Prefactor  = 0
  Normalizat = 1.28466
  Prefactor  = 0.91066
 **********
 **   18 **HESSE 
 **********

 FCN=   6193.409     FROM HESSE     STATUS=OK           203 CALLS     1542 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4371        5.2344        .18887E-04   -1.5666    
   2  Prefactor      .0000        51.616        .16297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    28.903        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .29421E-08    17.109        .75796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.058        38.537        .96817E-05   -1.5623    
   6  Prefactor     1.8314        2.7361        .15631E-04   -1.5681    
   7  Prefactor     1.0397        2.5944        .18193E-04   -1.5688    
   8  Prefactor     .55511E-10    31.890        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        9.3284        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.9112        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.1323        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        7.5818        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.045        15.977        .89503E-05   -1.5618    
  14  Prefactor      .0000        7.2379        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2847        .28507        .30180E-03   -.84025    
  16  Prefactor     .91066        .15095        .18810E-03   -.95770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.1807e-11
Minuit parameter uncertainties:
  1  5.23444
  2  7.41875e-05
  3  7.70872e-05
  4  0.000446609
  5  38.5371
  6  2.73611
  7  2.59443
  8  9.75717e-05
  9  7.26482e-06
  10  4.2186e-06
  11  2.87547e-08
  12  3.42183e-06
  13  15.977
  14  1.52118e-05
  15  0.285421
  16  0.151017
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.831e+00  2.736e+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

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.107e-01  1.510e-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:  1.285e+00  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/77884/likelihoodResults_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.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) = 6193.08487595
delta logL = 0.32379496788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6193.08384227
delta logL = 0.324828647768

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6193.084     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      276 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1010        3.9399        .17190E-04   -.23709E-02
   2  Index         1.3804        .68670        .11641E-01   -.40815E-04
   3  Normalizat    1.2892        .27952        .30132E-03    .73574E-05
   4  Prefactor     .90901        .15061        .18820E-03    .27727E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.101
  Index      = 1.38038
  Normalizat = 1.28918
  Prefactor  = 0.909013
 **********
 **   18 **HESSE 
 **********

 FCN=   6193.084     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1010        3.9485        .68761E-06   -1.5673    
   2  Index         1.3804        .68841        .46565E-03   -.80947    
   3  Normalizat    1.2892        .27985        .12053E-04   -.83890    
   4  Prefactor     .90901        .15078        .75281E-05   -.95827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06063e-10
Minuit parameter uncertainties:
  1  3.94854
  2  0.693068
  3  0.280181
  4  0.150853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77884': 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): 0
logL (Free Index) = 6193.08384143
delta logL = 0.324829495054

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  3.101e+00  3.949e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.380e+00  6.931e-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:  9.090e-01  1.509e-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:  1.289e+00  2.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 322.891 -9.268
Photon Index (Free Index): 1.38 +/- 0.69
Photon Flux (Free Index): 5.88e-09 +/- 8.94e-09
Energy Flux (Free Index): 2.77e-05 +/- 5.34e-05

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/77884/cmap_HighResolution_700704001_700963201_4FGL_J2131.5-0916_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', comment='SUCCESS', energy_flux2='2.77e-05', dlogl='3.25e-01', photon_flux2='5.88e-09', job_status='DONE', time_completed='2023-03-20 01:55:41.646810', photon_index_error2='0.69', photon_index2='1.38', ts='0.84', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='6.12e-08', energy_flux_error2='5.34e-05', EG='1.28', time_epoch_completed='1679302541.65', return_code='0', job_id='77884', GAL2='0.91', EG2='1.29', return_code2='0', photon_flux_error2='8.94e-09', ts2='1.49', photon_index='1.99' WHERE bin_id='1780' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:55:41 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 77884: <4FGL_J2131.5-0916_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:45:14 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:45:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:45:14 2023
Terminated at Mon Mar 20 01:55:42 2023
Results reported at Mon Mar 20 01:55:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1780 322.891 -9.2684 700704001 700963201 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 :                                   515.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            628 sec.

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

