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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1768
RA = 328.461, Dec = -11.6306
tmin = 697593601, tmax = 697852801
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='283211', job_status='RUN', time_executed='2023-02-12 01:41:28.598348', time_epoch_executed='1676194888.6' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283211

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283211/ft1_4FGL_J2153.8-1137_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283211/ft1_4FGL_J2153.8-1137_daily_bin1768.fits outfile=/scratch/kocevski/283211/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1768.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=697593601.0 tmax=697852801.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.63
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.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/283211/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/283211/ltcube_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.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/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits
.....................!
real 14.44
user 14.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/283211/ltcube_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.fits outfile=/scratch/kocevski/283211/expmap_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.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/283211/ltcube_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.fits
.....................!
real 191.97
user 186.20
sys 5.08

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/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits scfile=/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits outfile=/scratch/kocevski/283211/cmap_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits scfile=/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits outfile=/scratch/kocevski/283211/cmap_HighResolution_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/283211/Model_4FGL_J2153.8-1137_daily_bin1768.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/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits.....................!
real 66.26
user 64.79
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits', '/scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits', expMap='/scratch/kocevski/283211/expmap_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.fits', expCube='/scratch/kocevski/283211/ltcube_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/283211/Model_4FGL_J2153.8-1137_daily_bin1768.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  0.000e+00  1.000e+06 ( 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/283211/ft1_filtered_4FGL_J2153.8-1137_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/283211/ft2_4FGL_J2153.8-1137_daily_bin1768.fits
Exposure map: /scratch/kocevski/283211/expmap_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.fits
Exposure cube: /scratch/kocevski/283211/ltcube_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/283211/Model_4FGL_J2153.8-1137_daily_bin1768.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) = 7074.85318167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.016       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3438       1.0000          .0000       .10000E+07
     3 'Prefactor '    .41993       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13878E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .64557       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.923       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.213       1.0000          .0000       .10000E+07
     8 'norm      '    .10187E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25629E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14910E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .62376E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .69064E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.7457       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.5686       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1473       1.0000          .0000       .10000E+07
    16 'Prefactor '    .43423E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.0962       1.0000          .0000       .10000E+07
    18 'Prefactor '    .24286E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .18664       1.0000          .0000       .10000E+07
    20 'Normalizat'    .99472       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2835       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7074.760     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1699 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.089        4.2657        .46185E-08    .41093E-01
   2  Prefactor     2.2372        18.992        .20733E-06    .28951E-01
   3  Prefactor     .34206        1.3488        .27665E-07   -.18344E-02
   4  Prefactor      .0000        2.0609       -.20769E-06** at limit **
   5  Prefactor     .64624        1.3717       -.23577E-06    .35613E-02
   6  Prefactor     17.907        9.3709       -.52855E-07   -.29812E-02
   7  Prefactor     44.569        25.742       -.24406E-06    .69832E-01
   8  norm          .40357E-07    11.803       -.31971E-06** at limit **
   9  Prefactor     .26090E-08    7.5200        .43409E-06** at limit **
  10  Prefactor      .0000        4.2559        .12147E-06** at limit **
  11  Prefactor     .24086E-06    112.32       -.10820E-05** at limit **
  12  Prefactor     .88818E-09    7.3732        .37270E-06** at limit **
  13  Prefactor     6.6459        8.7767       -.10354E-06   -.43071E-01
  14  Prefactor     3.6003        7.6117       -.31941E-06   -.49441E-01
  15  Prefactor     7.1405        5.2408       -.18408E-06    .14430E-01
  16  Prefactor     .16837E-06    25.169        .35481E-06** at limit **
  17  norm          1.1064        3.6147       -.23090E-06    .30850E-03
  18  Prefactor     .95424E-07    22.801       -.57047E-06** at limit **
  19  norm          .18686        .69090        .13746E-06** at limit **
  20  Normalizat    .99421        .29619        .71645E-05   -.12514E-03
  21  Prefactor     1.2837        .17214        .31053E-05   -.24273E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0888
  Prefactor  = 2.23724
  Prefactor  = 0.34206
  Prefactor  = 0
  Prefactor  = 0.646242
  Prefactor  = 17.9073
  Prefactor  = 44.5694
  norm       = 4.03566e-08
  Prefactor  = 2.60902e-09
  Prefactor  = 0
  Prefactor  = 2.40863e-07
  Prefactor  = 8.88178e-10
  Prefactor  = 6.64595
  Prefactor  = 3.60034
  Prefactor  = 7.14051
  Prefactor  = 1.68365e-07
  norm       = 1.10643
  Prefactor  = 9.54237e-08
  norm       = 0.186857
  Normalizat = 0.994207
  Prefactor  = 1.28367
 **********
 **   18 **HESSE 
 **********

 FCN=   7074.760     FROM HESSE     STATUS=OK           369 CALLS     2068 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.089        30.055        .25821E-03   -1.5630    
   2  Prefactor     2.2372        38.947        .66938E-03   -1.5678    
   3  Prefactor     .34206        23.842        .13965E-01   -1.5696    
   4  Prefactor      .0000        2.0563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .64624        1.4089        .65241E-03   -1.5692    
   6  Prefactor     17.907        9.3982        .23630E-03   -1.5623    
   7  Prefactor     44.569        28.706        .15040E-03   -1.5574    
   8  norm          .40357E-07    36.320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26090E-08    7.5281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.2663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .24086E-06    111.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .88818E-09    7.3966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.6459        14.449        .38609E-03   -1.5656    
  14  Prefactor     3.6003        13.855        .53474E-03   -1.5670    
  15  Prefactor     7.1405        5.7210        .37497E-03   -1.5655    
  16  Prefactor     .16837E-06    26.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1064        3.6424        .11377E-02   -1.5687    
  18  Prefactor     .95424E-07    32.827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .18686        .54518        .28586E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .99421        .25851        .81587E-01   -.93225    
  21  Prefactor     1.2837        .14838        .32903E-01   -.83794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09688e-07
Minuit parameter uncertainties:
  1  30.0552
  2  18.6693
  3  5.71158
  4  1.35205e-05
  5  1.40894
  6  9.39819
  7  28.7059
  8  0.00242153
  9  0.000278872
  10  2.21871e-06
  11  0.0103575
  12  0.000160345
  13  14.4494
  14  13.855
  15  5.721
  16  0.00419604
  17  3.64237
  18  0.00353997
  19  0.545183
  20  0.258833
  21  0.148432
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.609e-09  2.789e-04  0.000e+00  1.000e+06 ( 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.284e+00  1.484e-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:  9.942e-01  2.588e-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: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/283211/likelihoodResults_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.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) = 7074.76991907
delta logL = -0.00990476989136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7074.76001744
delta logL = -3.14580938721e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65192E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.2707       1.0000          .0000       10.000    
     3 'Normalizat'    .99406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2837       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7074.760     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      253 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0687        .42118E-03** at limit **
   2  Index         1.1421        .68020       -.30054E-03     .0000    
   3  Normalizat    .99420        1.3242        .37743E-04    .16267E-03
   4  Prefactor     1.2837        1.0807       -.11168E-04    .61069E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.14213
  Normalizat = 0.994204
  Prefactor  = 1.28368
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7074.760     FROM HESSE     STATUS=FAILED         9 CALLS      262 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80320E-01    1.1511       -.30054E-03   -.88131    
   3  Normalizat    .99420        1.3242        .37743E-04   -.93225    
   4  Prefactor     1.2837        1.0807       -.11168E-04   -.83794    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84572e-10
Minuit parameter uncertainties:
  1  4.58165e-06
  2  0.685494
  3  1.37225
  4  1.10047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283211': 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): 101
logL (Free Index) = 7074.7600143
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  4.582e-06  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  1.142e+00  6.855e-01  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.284e+00  1.100e+00  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:  9.942e-01  1.372e+00  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/283211/cmap_HighResolution_697593601_697852801_4FGL_J2153.8-1137_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.75e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2023-02-12 01:51:03.511009', job_id='283211', GAL2='1.28', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1676195463.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1768' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:51:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 283211: <4FGL_J2153.8-1137_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:40:14 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:40:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:40:32 2023
Terminated at Sun Feb 12 01:51:04 2023
Results reported at Sun Feb 12 01:51:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1768 328.461 -11.6306 697593601 697852801 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 :                                   576.49 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            650 sec.

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

