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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1692
RA = 322.891, Dec = -9.2684
tmin = 677894401, tmax = 678153601
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='484172', job_status='RUN', time_executed='2022-06-29 04:57:10.599137', time_epoch_executed='1656503830.6' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484172

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484172/ft1_4FGL_J2131.5-0916_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484172/ft1_4FGL_J2131.5-0916_daily_bin1692.fits outfile=/scratch/kocevski/484172/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1692.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=677894401.0 tmax=678153601.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.70
user 3.48
sys 0.20

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

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

Number of photons that the gtmktime cut: 498

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484172/ft1_filtered_4FGL_J2131.5-0916_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/484172/ltcube_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.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/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits
.....................!
real 12.78
user 12.27
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484172/ft1_filtered_4FGL_J2131.5-0916_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/484172/ltcube_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.fits outfile=/scratch/kocevski/484172/expmap_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.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/484172/ltcube_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.fits
.....................!
real 155.49
user 150.83
sys 4.33

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/484172/ft1_filtered_4FGL_J2131.5-0916_daily_bin1692.fits scfile=/scratch/kocevski/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits outfile=/scratch/kocevski/484172/cmap_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.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.48
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484172/ft1_filtered_4FGL_J2131.5-0916_daily_bin1692.fits scfile=/scratch/kocevski/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits outfile=/scratch/kocevski/484172/cmap_HighResolution_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484172/ft1_filtered_4FGL_J2131.5-0916_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484172/ft2_4FGL_J2131.5-0916_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484172/Model_4FGL_J2131.5-0916_daily_bin1692.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/484172/ft1_filtered_4FGL_J2131.5-0916_daily_bin1692.fits.....................!
real 46.94
user 45.75
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13620E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2649       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.070       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.785       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5925       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .65002       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.006       1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4953       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0206       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.407       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2214       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .76273       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.

 FCN=   5629.500     FROM MIGRAD    STATUS=CONVERGED    336 CALLS     1712 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    4.7915        .18124E-05** at limit **
   2  Prefactor     .10000E-03    18.200        .83108E-06** at limit **
   3  Prefactor     3.2085        121.09       -.26248E-05   -.41720E-04
   4  Prefactor     12.065        17.520       -.24019E-06   -.41846E-04
   5  Prefactor     .10000E-03    14.518       -.28593E-07** at limit **
   6  Prefactor     22.786        46.321       -.46799E-06   -.23409E-04
   7  Prefactor     1.5935        8.1593        .22601E-05   -.23467E-04
   8  Prefactor     .65079        1.6541        .51706E-07    .12703E-03
   9  Prefactor     .10000E-03    12.029       -.99371E-07** at limit **
  10  Prefactor     .10000E-03    12.351        .45284E-07** at limit **
  11  Prefactor     32.988        23.941       -.51715E-06   -.10296E-03
  12  norm          .10000E-03    3.1803       -.17955E-06** at limit **
  13  Prefactor     8.4955        8.7301        .27260E-05   -.66137E-04
  14  Prefactor     3.0172        10.334        .11379E-05   -.46003E-05
  15  Prefactor     10.005        12.036       -.16569E-06   -.31795E-05
  16  Prefactor     22.409        13.943       -.12455E-06   -.90346E-05
  17  Normalizat    1.2214        .24261       -.96015E-06   -.21520E-03
  18  Prefactor     .76277        .12154       -.72721E-06   -.31886E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 3.20849
  Prefactor  = 12.0649
  Prefactor  = 0.0001
  Prefactor  = 22.786
  Prefactor  = 1.59355
  Prefactor  = 0.650794
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.9876
  norm       = 0.0001
  Prefactor  = 8.49546
  Prefactor  = 3.01723
  Prefactor  = 10.0046
  Prefactor  = 22.4093
  Normalizat = 1.22138
  Prefactor  = 0.76277
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.500     FROM HESSE     STATUS=OK           250 CALLS     1962 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    11.746        .30003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2085        124.76        .22412E-03   -1.5350    
   4  Prefactor     12.065        17.500        .11530E-03   -1.5013    
   5  Prefactor     .10000E-03    14.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.786        44.403        .83914E-04   -1.4753    
   7  Prefactor     1.5935        8.1939        .33619E-03   -1.5455    
   8  Prefactor     .65079        1.3390        .13742E-02   -1.5547    
   9  Prefactor     .10000E-03    12.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.988        24.083        .69748E-04   -1.4559    
  12  norm          .10000E-03    3.1901        .13066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.4955        8.8320        .68767E-03   -1.5125    
  14  Prefactor     3.0172        10.340        .23350E-03   -1.5361    
  15  Prefactor     10.005        12.031        .12670E-03   -1.5075    
  16  Prefactor     22.409        13.961        .84618E-04   -1.4761    
  17  Normalizat    1.2214        .29956        .29013E-03   -.85945    
  18  Prefactor     .76277        .14964        .18851E-03   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48733e-09
Minuit parameter uncertainties:
  1  0.000858872
  2  4.66908e-05
  3  40.1033
  4  17.5075
  5  5.56456e-06
  6  44.4673
  7  7.22834
  8  1.33906
  9  1.00743e-05
  10  9.90158e-06
  11  24.09
  12  7.72892e-07
  13  8.83337
  14  10.3462
  15  12.0337
  16  13.9635
  17  0.299985
  18  0.149721
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.628e-01  1.497e-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.221e+00  3.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 322.891 -9.268
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484172/likelihoodResults_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.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) = 5629.29047905
delta logL = 0.209417188461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5629.28067753
delta logL = 0.219218709681

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5154       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6505       1.0000          .0000       10.000    
     3 'Normalizat'    1.1969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76581       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=   5629.281     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      230 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5118        65.628        .86820E-02    .86143E-03
   2  Index         2.6528        3.2579        .12309        .13886E-03
   3  Normalizat    1.1962        .57422E-01    .66154E-01    .17083E-04
   4  Prefactor     .76625        .29967E-01    .43271E-01   -.12479E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.51183
  Index      = 2.6528
  Normalizat = 1.19618
  Prefactor  = 0.766252
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.281     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5118        5.5666        .13439E-03   -1.5462    
   2  Index         2.6528        1.3770        .68737E-02   -.48866    
   3  Normalizat    1.1962        .28152        .29266E-03   -.86721    
   4  Prefactor     .76625        .14765        .18804E-03   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21947e-11
Minuit parameter uncertainties:
  1  5.56854
  2  1.40036
  3  0.281881
  4  0.147731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484172': 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) = 5629.28066941
delta logL = 0.219226820475

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.512e+00  5.569e+00  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.653e+00  1.400e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.663e-01  1.477e-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.196e+00  2.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/484172/cmap_HighResolution_677894401_678153601_4FGL_J2131.5-0916_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.78e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-06-29 05:04:41.517692', job_id='484172', GAL2='0.77', fit_tolerance='1e-08', EG2='1.20', EG='1.22', time_epoch_completed='1656504281.52', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.19e-01', ts2='0.51', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1692' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:04:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 484172: <4FGL_J2131.5-0916_daily_bin1692> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1692> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jun 29 04:50:17 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:54:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:54:05 2022
Terminated at Wed Jun 29 05:04:42 2022
Results reported at Wed Jun 29 05:04:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1692 322.891 -9.2684 677894401 678153601 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 :                                   445.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            865 sec.

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

