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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1686
RA = 328.461, Dec = -11.6306
tmin = 676339201, tmax = 676598401
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='520578', job_status='RUN', time_executed='2022-06-11 00:43:58.028465', time_epoch_executed='1654933438.03' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520578

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520578/ft1_4FGL_J2153.8-1137_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520578/ft1_4FGL_J2153.8-1137_daily_bin1686.fits outfile=/scratch/kocevski/520578/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1686.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=676339201.0 tmax=676598401.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 2.82
user 2.61
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.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/520578/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1686.fits evtable="EVENTS" outfile="/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.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: 760

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/520578/ltcube_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.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/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits
.....................!
real 14.14
user 13.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/520578/ltcube_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.fits outfile=/scratch/kocevski/520578/expmap_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.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/520578/ltcube_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.fits
.....................!
real 192.40
user 186.40
sys 5.48

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2153.8-1137 @ 328.461 -11.6306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits scfile=/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits outfile=/scratch/kocevski/520578/cmap_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.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=328.461 yref=-11.6306 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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits scfile=/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits outfile=/scratch/kocevski/520578/cmap_HighResolution_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.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=328.461 yref=-11.6306 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520578/Model_4FGL_J2153.8-1137_daily_bin1686.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/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits....................!
real 73.67
user 72.26
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits', '/scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits', expMap='/scratch/kocevski/520578/expmap_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.fits', expCube='/scratch/kocevski/520578/ltcube_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/520578/Model_4FGL_J2153.8-1137_daily_bin1686.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2153.8-1137'

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.202e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/520578/ft1_filtered_4FGL_J2153.8-1137_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/520578/ft2_4FGL_J2153.8-1137_daily_bin1686.fits
Exposure map: /scratch/kocevski/520578/expmap_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.fits
Exposure cube: /scratch/kocevski/520578/ltcube_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/520578/Model_4FGL_J2153.8-1137_daily_bin1686.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) = 8208.70744076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30704       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.237       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .54448       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.800       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.649       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6155       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10714E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.521       1.0000         .10000E-03   10000.    
    15 'Prefactor '    53.233       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13184E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.8275       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .56149E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0207       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62976       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8208.701     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2581 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.184       -.41186E-06** at limit **
   2  Prefactor     .31902        5.6593        .38925E-06   -.48173E-03
   3  Prefactor     40.148        46.704       -.13440E-04   -.38347E-04
   4  Prefactor     1.8799        2.1461        .48389E-07    .18499E-03
   5  Prefactor     .54995        2.8769        .42032E-06   -.16753E-02
   6  Prefactor     .10000E-03    3.0547       -.14642E-08** at limit **
   7  Prefactor     14.789        39.083        .12553E-04   -.98720E-05
   8  Prefactor     10.662        12.791       -.24118E-05   -.64671E-04
   9  norm          2.6157        3.4009        .13521E-06    .15821E-03
  10  Prefactor     .10000E-03    5.0484        .58153E-07** at limit **
  11  Prefactor     .10000E-03    11.014       -.49791E-07** at limit **
  12  Prefactor     .10000E-03    4.0923        .29677E-07** at limit **
  13  Prefactor     .10000E-03    4.8605       -.18963E-07** at limit **
  14  Prefactor     32.526        11.053       -.55900E-06   -.22382E-04
  15  Prefactor     53.224        12.724        .13711E-05   -.46437E-04
  16  Prefactor     .10000E-03    73.410        .51605E-06** at limit **
  17  Prefactor     .10000E-03    1.1696       -.80104E-07** at limit **
  18  Prefactor     .10000E-03    18.065        .16398E-06** at limit **
  19  norm          5.8239        2.9545       -.15420E-06   -.40180E-03
  20  Prefactor     .10000E-03    295.75        .28064E-04** at limit **
  21  norm          2.0209        .83960       -.23748E-07   -.42438E-03
  22  Normalizat    .62970        .19297        .11762E-05   -.13612E-03
  23  Prefactor     1.1262        .11987       -.25655E-06   -.10419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.319017
  Prefactor  = 40.1476
  Prefactor  = 1.87988
  Prefactor  = 0.549946
  Prefactor  = 0.0001
  Prefactor  = 14.7886
  Prefactor  = 10.6622
  norm       = 2.61573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.5255
  Prefactor  = 53.2243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.82394
  Prefactor  = 0.000100002
  norm       = 2.02094
  Normalizat = 0.629697
  Prefactor  = 1.12618
 **********
 **   18 **HESSE 
 **********

 FCN=   8208.701     FROM HESSE     STATUS=OK           372 CALLS     2953 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .31902        52.924        .41233E-02   -1.5595    
   3  Prefactor     40.148        41.621        .63191E-04   -1.4440    
   4  Prefactor     1.8799        2.1472        .13828E-03   -1.5434    
   5  Prefactor     .54995        2.6827        .25433E-03   -1.5560    
   6  Prefactor     .10000E-03    3.0732        .15463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.789        39.185        .10411E-03   -1.4939    
   8  Prefactor     10.662        12.807        .12278E-03   -1.5055    
   9  norm          2.6157        3.3950        .92914E-03   -1.5384    
  10  Prefactor     .10000E-03    5.2168        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0970        .17899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.8668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.526        11.065        .70265E-04   -1.4567    
  15  Prefactor     53.224        12.663        .54973E-04   -1.4248    
  16  Prefactor     .10000E-03    73.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.1758        .95617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.8239        2.9536        .10607E-03   -1.5225    
  20  Prefactor     .10000E-03    300.57        .38076E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0209        .83573        .51376E-04   -1.5424    
  22  Normalizat    .62970        .21632        .36288E-03   -1.0674    
  23  Prefactor     1.1262        .13638        .18123E-03   -.88634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90905e-09
Minuit parameter uncertainties:
  1  9.39153e-06
  2  8.22405
  3  41.6511
  4  2.14729
  5  2.42924
  6  1.21306e-07
  7  39.2528
  8  12.8106
  9  3.39522
  10  1.29023e-05
  11  1.40973e-05
  12  5.52778e-06
  13  4.12149e-06
  14  11.0655
  15  12.6634
  16  2.07024e-06
  17  8.69686e-06
  18  1.36857e-06
  19  2.95371
  20  0.00170565
  21  0.835739
  22  0.216608
  23  0.136423
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.290e-05  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  1.126e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  6.297e-01  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 7.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520578/likelihoodResults_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.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) = 8208.70171885
delta logL = -0.000915038337553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8208.70080422
delta logL = -3.99737473344e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5571       1.0000          .0000       10.000    
     3 'Normalizat'    .62956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8208.701     FROM MIGRAD    STATUS=FAILED        87 CALLS      244 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    931.00        .36285E-03** at limit **
   2  Index         2.5885        5.3660        .50000       -.63350E-05
   3  Normalizat    .62970        .86975E-01    .36288E-03    .18728E-03
   4  Prefactor     1.1262        .56986E-01    .18123E-03    .39865E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8208.701     FROM SIMPLEX   STATUS=UNCHANGED    167 CALLS      411 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    931.00        .37356E-03** at limit **
   2  Index         2.5885        5.3660        .68359E-05   -.63350E-05
   3  Normalizat    .62970        .86975E-01    .61447E-06    .18728E-03
   4  Prefactor     1.1262        .56986E-01    .25076E-06    .39865E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8208.701     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      457 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0673        .72569E-04** at limit **
   2  Index         2.7134        5.2024        .50000       -.30832E-07
   3  Normalizat    .62970        .20638        .14515E-04    .18797E-05
   4  Prefactor     1.1262        .13567        .36245E-04    .50186E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.71337
  Normalizat = 0.629698
  Prefactor  = 1.12618
 **********
 **   18 **HESSE 
 **********

 FCN=   8208.701     FROM HESSE     STATUS=OK            29 CALLS      486 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3518        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7134        6.2985        .50000       -.47499    
   3  Normalizat    .62970        .20633        .29031E-05   -1.0674    
   4  Prefactor     1.1262        .13564        .72491E-05   -.88634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02358e-12
Minuit parameter uncertainties:
  1  5.03536e-07
  2  145.525
  3  0.206582
  4  0.135681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520578': 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) = 8208.70080367
delta logL = 1.47201717482e-07

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.035e-07  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.713e+00  1.455e+02  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  1.126e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  6.297e-01  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 328.461 -11.631

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/520578/cmap_HighResolution_676339201_676598401_4FGL_J2153.8-1137_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.02e-03', job_status='DONE', photon_flux_upper_limit='7.71e-08', time_completed='2022-06-11 00:56:23.852652', job_id='520578', GAL2='1.13', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1654934183.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1686' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:56:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 520578: <4FGL_J2153.8-1137_daily_bin1686> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:40:33 2022
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:43:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:43:31 2022
Terminated at Sat Jun 11 00:56:24 2022
Results reported at Sat Jun 11 00:56:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1686 328.461 -11.6306 676339201 676598401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2153.8-1137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   748.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            951 sec.

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

