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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1720
RA = 322.891, Dec = -9.2684
tmin = 685152001, tmax = 685411201
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='848665', job_status='RUN', time_executed='2022-09-21 00:57:18.856041', time_epoch_executed='1663747038.86' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848665

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848665/ft1_4FGL_J2131.5-0916_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848665/ft1_4FGL_J2131.5-0916_daily_bin1720.fits outfile=/scratch/kocevski/848665/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1720.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=685152001.0 tmax=685411201.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.78
user 3.52
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.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/848665/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1720.fits evtable="EVENTS" outfile="/scratch/kocevski/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.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.51
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 370

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/848665/ltcube_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.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/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits
.....................!
real 16.76
user 16.23
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/848665/ltcube_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.fits outfile=/scratch/kocevski/848665/expmap_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.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/848665/ltcube_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.fits
.....................!
real 195.77
user 188.93
sys 5.85

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/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.fits scfile=/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits outfile=/scratch/kocevski/848665/cmap_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.fits scfile=/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits outfile=/scratch/kocevski/848665/cmap_HighResolution_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848665/ft2_4FGL_J2131.5-0916_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/848665/Model_4FGL_J2131.5-0916_daily_bin1720.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/848665/ft1_filtered_4FGL_J2131.5-0916_daily_bin1720.fits.....................!
real 45.97
user 44.38
sys 1.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8512       1.0000          .0000       .10000E+07
     2 'Prefactor '    74.332       1.0000          .0000       .10000E+07
     3 'Prefactor '    48.859       1.0000          .0000       .10000E+07
     4 'Prefactor '    .73275E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .66891E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11353E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .41245E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82351E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37794       1.0000          .0000       .10000E+07
    10 'norm      '    .62283E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.986       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14638E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .35669E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    26.459       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .77173       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=   4047.263     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1154 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8766        6.0436       -.22220E-06    .83412E-03
   2  Prefactor     76.020        73.384        .73878E-06   -.52407E-03
   3  Prefactor     49.697        24.651        .10261E-06    .25199E-02
   4  Prefactor     .17208E-08    4.7096       -.11754E-07** at limit **
   5  Prefactor      .0000        13.338       -.66775E-07** at limit **
   6  Prefactor     .55511E-10    3.7332        .20836E-06** at limit **
   7  Prefactor      .0000        .62136       -.19392E-08** at limit **
   8  Prefactor     .99920E-09    8.3780        .15252E-06** at limit **
   9  Prefactor     .23610        400.24       -.60245E-05** at limit **
  10  norm           .0000        3.9334       -.35108E-07** at limit **
  11  Prefactor     13.990        9.8575        .41424E-07    .15058E-02
  12  Prefactor     .55511E-10    8.5051       -.10272E-06** at limit **
  13  Prefactor     .33307E-08    5.3347        .70682E-07** at limit **
  14  Prefactor     26.612        2.2764        .29542E-07   -.31575E-01
  15  Normalizat    1.1071        .32276       -.18884E-05    .56648E-04
  16  Prefactor     .77145        .16910        .32145E-06    .55904E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.8766
  Prefactor  = 76.0198
  Prefactor  = 49.6971
  Prefactor  = 1.72085e-09
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 9.99201e-10
  Prefactor  = 0.236105
  norm       = 0
  Prefactor  = 13.9902
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-09
  Prefactor  = 26.6119
  Normalizat = 1.10708
  Prefactor  = 0.771452
 **********
 **   18 **HESSE 
 **********

 FCN=   4047.263     FROM HESSE     STATUS=OK           233 CALLS     1387 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8766        6.0547        .76594E-03   -1.5681    
   2  Prefactor     76.020        72.690        .11599E-03   -1.5534    
   3  Prefactor     49.697        24.618        .14307E-03   -1.5567    
   4  Prefactor     .17208E-08    8.9389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        13.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    3.7118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .62127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .99920E-09    8.7242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23610        22.777        .92088E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.9439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.990        9.9623        .26757E-03   -1.5633    
  12  Prefactor     .55511E-10    9.0903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33307E-08    8.8440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.612        19.411        .19444E-03   -1.5605    
  15  Normalizat    1.1071        .26739        .65099E-01   -.89525    
  16  Prefactor     .77145        .13890        .43348E-01   -1.0079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57926e-08
Minuit parameter uncertainties:
  1  6.05475
  2  72.6909
  3  24.6179
  4  0.000248529
  5  2.5013e-06
  6  3.1483e-05
  7  3.80423e-07
  8  0.000187987
  9  4.638
  10  4.28651e-06
  11  9.96229
  12  4.32219e-05
  13  0.000342591
  14  19.4112
  15  0.26772
  16  0.138961
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  5.551e-11  3.148e-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:  7.715e-01  1.390e-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.107e+00  2.677e-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/848665/likelihoodResults_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.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) = 4047.26371474
delta logL = -0.000257409370988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4047.20644452
delta logL = 0.0570128163176

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46616E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.7131       1.0000          .0000       10.000    
     3 'Normalizat'    1.0833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77838       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=   4047.206     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47421E-01    4.1513        .91748E-03** at limit **
   2  Index         3.7100        6.8347        .20882E-01    .14907E-03
   3  Normalizat    1.0831        .47695E-01    .65714E-01    .35781E-04
   4  Prefactor     .77828        .25568E-01    .43435E-01   -.61300E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0474208
  Index      = 3.71001
  Normalizat = 1.08311
  Prefactor  = 0.778278
 **********
 **   18 **HESSE 
 **********

 FCN=   4047.206     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      290 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47421E-01    22.229        .36686E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7100        6.0537        .83527E-03   -.26095    
   3  Normalizat    1.0831        .23391        .29070E-03   -.90296    
   4  Prefactor     .77828        .12197        .18086E-03   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.13827e-09
Minuit parameter uncertainties:
  1  2.05342
  2  14.709
  3  0.234138
  4  0.12201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848665': 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) = 4047.20643765
delta logL = 0.0570196792346

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  4.742e-02  2.053e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  3.710e+00  1.471e+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:  7.783e-01  1.220e-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.083e+00  2.341e-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/848665/cmap_HighResolution_685152001_685411201_4FGL_J2131.5-0916_daily_bin1720.png

Cleaning up...

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

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='2022-09-21 01:04:59.759284', job_id='848665', GAL2='0.78', fit_tolerance='1e-08', EG2='1.08', EG='1.11', time_epoch_completed='1663747499.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='5.70e-02', ts2='0.12', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1720' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:04:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 848665: <4FGL_J2131.5-0916_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1720> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep 21 00:50:49 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:54:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:54:12 2022
Terminated at Wed Sep 21 01:05:00 2022
Results reported at Wed Sep 21 01:05:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1720 322.891 -9.2684 685152001 685411201 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 :                                   462.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            851 sec.

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

