/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 8 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1261
RA = 322.891, Dec = -9.2684
tmin = 566179201, tmax = 566438401
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='551616', job_status='RUN', time_executed='2021-09-26 16:56:13.664818', time_epoch_executed='1632700573.66' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1261'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551616

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551616/ft1_4FGL_J2131.5-0916_daily_bin1261.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551616/ft1_4FGL_J2131.5-0916_daily_bin1261.fits outfile=/scratch/kocevski/551616/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1261.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=566179201.0 tmax=566438401.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.57
user 3.31
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits" evtable="EVENTS" scfile=/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits sctable="SC_DATA" outfile=/scratch/kocevski/551616/ltcube_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.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/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits
.....................!
real 17.21
user 16.83
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits sctable="SC_DATA" expcube=/scratch/kocevski/551616/ltcube_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.fits outfile=/scratch/kocevski/551616/expmap_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.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/551616/ltcube_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.fits
.....................!
real 196.99
user 191.59
sys 4.76

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/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits scfile=/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits outfile=/scratch/kocevski/551616/cmap_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits scfile=/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits outfile=/scratch/kocevski/551616/cmap_HighResolution_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.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/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551616/Model_4FGL_J2131.5-0916_daily_bin1261.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/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits...................!
real 16.57
user 15.27
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits', '/scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits', expMap='/scratch/kocevski/551616/expmap_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.fits', expCube='/scratch/kocevski/551616/ltcube_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551616/Model_4FGL_J2131.5-0916_daily_bin1261.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  1.000e-04  1.000e+04 ( 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/551616/ft1_filtered_4FGL_J2131.5-0916_daily_bin1261.fits
Spacecraft file(s): /scratch/kocevski/551616/ft2_4FGL_J2131.5-0916_daily_bin1261.fits
Exposure map: /scratch/kocevski/551616/expmap_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.fits
Exposure cube: /scratch/kocevski/551616/ltcube_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551616/Model_4FGL_J2131.5-0916_daily_bin1261.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 256.544236307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 256.200593232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.504       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.573       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .38013       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24579       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8852       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10995E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .60046E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.126       1.0000         .10000E-03   10000.    
     9 'Prefactor '    116.92       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39072E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1631       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8855       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2023       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11349E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7985       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1838       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .63591       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=   256.1996     FROM MIGRAD    STATUS=CONVERGED    128 CALLS      361 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.955        22.027        .21594E-02    .93618E-03
   2  Prefactor     14.483        182.53        .28242E-02    .20271E-03
   3  Prefactor     .12590E-03    494.92        .10771E-01** at limit **
   4  Prefactor     .28046E-03    1016.8        .10185E-01** at limit **
   5  Prefactor     1.8852        1.0404         .0000         .0000    
   6  Prefactor     .10001E-03    .20571        .17561E-04** at limit **
   7  Prefactor     .11053E-03    .22417       -.24403E-04** at limit **
   8  Prefactor     24.198        1.0017       -.85001E-05   -.15541E-02
   9  Prefactor     116.63        .99878       -.88704E-05    .62265E-02
  10  Prefactor     .56464E-03    .21236       -.31198E-04** at limit **
  11  Prefactor     4.1631        1.0074         .0000         .0000    
  12  norm          1.8855        1.0404         .0000         .0000    
  13  Prefactor     3.2023        1.0127         .0000         .0000    
  14  Prefactor     .10000E-03    .20571        .42167E-06** at limit **
  15  Prefactor     6.7985        1.0027         .0000         .0000    
  16  Prefactor     3.1838        1.0129         .0000         .0000    
  17  Normalizat    .10000E-01    .25505       -.85812E-04** at limit **
  18  Prefactor     .63332        .98293       -.65863E-04    .26200E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9553
  Prefactor  = 14.4828
  Prefactor  = 0.0001259
  Prefactor  = 0.000280458
  Prefactor  = 1.88517
  Prefactor  = 0.000100011
  Prefactor  = 0.000110527
  Prefactor  = 24.1976
  Prefactor  = 116.633
  Prefactor  = 0.00056464
  Prefactor  = 4.16305
  norm       = 1.88546
  Prefactor  = 3.20229
  Prefactor  = 0.0001
  Prefactor  = 6.79846
  Prefactor  = 3.18385
  Normalizat = 0.01
  Prefactor  = 0.63332
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   256.1996     FROM HESSE     STATUS=FAILED        17 CALLS      378 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.955        22.027        .21594E-02   -1.4770    
   2  Prefactor     14.483        182.53        .28242E-02   -1.4947    
   3  Prefactor     .12590E-03    494.92        .10771E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28046E-03    1016.8        .10185E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     570.90        568.87         .0000       -1.5433    
   6  Prefactor     .10001E-03    .20571        .17561E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11053E-03    .22417       -.24403E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.198        1.0017       -.85001E-05   -1.4724    
   9  Prefactor     116.63        .99878       -.88704E-05   -1.3544    
  10  Prefactor     .56464E-03    .21236       -.31198E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1631        1.0074         .0000       -1.5300    
  12  norm          1.8855        1.0404         .0000       -1.5433    
  13  Prefactor     3.2023        1.0127         .0000       -1.5350    
  14  Prefactor     .10000E-03    .20571        .42167E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7985        1.0027         .0000       -1.5186    
  16  Prefactor     3.1838        1.0129         .0000       -1.5351    
  17  Normalizat    .10000E-01    .25505       -.85812E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .63332        .98293       -.65863E-04   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.20498e-10
Minuit parameter uncertainties:
  1  22.035
  2  103.222
  3  0.228347
  4  0.871926
  5  1.04039
  6  9.41358e-05
  7  0.00307242
  8  1.00169
  9  0.99878
  10  0.0198669
  11  1.0074
  12  1.04038
  13  1.01274
  14  3.36302e-07
  15  1.00273
  16  1.01289
  17  4.68015e-07
  18  1.01178
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 256.199635787

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.105e-04  3.072e-03  1.000e-04  1.000e+04 ( 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:  6.333e-01  1.012e+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:  1.000e-02  4.680e-07  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.34e-06 ph cm-2 s-1
Energy Flux Upper Limit: 6.25e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551616/likelihoodResults_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.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) = 256.199654392
delta logL = -1.86055231666e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 256.1996417
delta logL = -5.91379114212e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15319E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2165       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63338       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=   256.1996     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    221.54        .90712E-02** at limit **
   2  Index         2.1771        5.3784        .50000        .16665E-05
   3  Normalizat    .10000E-01    .14916E-02    .19773    ** at limit **
   4  Prefactor     .63332        .11551E-01    .41507E-01    .72950E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17705
  Normalizat = 0.01
  Prefactor  = 0.63332
 **********
 **   18 **HESSE 
 **********

 FCN=   256.1996     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      273 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1066.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1771        5.3536        .50000       -.59994    
   3  Normalizat    .10000E-01    .88929E-02    .80229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63332        .25828E-01    .15569E-03   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.40482e-08
Minuit parameter uncertainties:
  1  0.0014502
  2  708.791
  3  3.81328e-07
  4  0.0258286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551616': 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) = 256.199635828
delta logL = -4.15641352447e-08

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.000e-04  1.450e-03  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.177e+00  7.088e+02  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:  6.333e-01  2.583e-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:  1.000e-02  3.813e-07  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/551616/cmap_HighResolution_566179201_566438401_4FGL_J2131.5-0916_daily_bin1261.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-01', job_status='DONE', photon_flux_upper_limit='8.34e-06', time_completed='2021-09-26 17:01:52.728117', job_id='551616', GAL2='0.63', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632700912.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.63', dlogl='-4.16e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1261' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 17:01:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 551616: <4FGL_J2131.5-0916_daily_bin1261> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1261> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 16:55:22 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 16:55:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 16:55:56 2021
Terminated at Sun Sep 26 17:01:53 2021
Results reported at Sun Sep 26 17:01:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1261 322.891 -9.2684 566179201 566438401 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 :                                   336.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   358 sec.
    Turnaround time :                            391 sec.

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

