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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1769
RA = 328.461, Dec = -11.6306
tmin = 697852801, tmax = 698112001
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='445247', job_status='RUN', time_executed='2023-02-15 01:32:26.605249', time_epoch_executed='1676453546.61' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445247

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445247/ft1_4FGL_J2153.8-1137_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445247/ft1_4FGL_J2153.8-1137_daily_bin1769.fits outfile=/scratch/kocevski/445247/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1769.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.50
user 4.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.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/445247/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.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.49
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 609

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/445247/ltcube_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.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/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits
.....................!
real 11.64
user 11.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/445247/ltcube_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.fits outfile=/scratch/kocevski/445247/expmap_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.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/445247/ltcube_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.fits
.....................!
real 189.63
user 185.35
sys 3.93

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/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits scfile=/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits outfile=/scratch/kocevski/445247/cmap_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits scfile=/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits outfile=/scratch/kocevski/445247/cmap_HighResolution_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445247/Model_4FGL_J2153.8-1137_daily_bin1769.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/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits.....................!
real 66.36
user 65.10
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits', '/scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits', expMap='/scratch/kocevski/445247/expmap_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.fits', expCube='/scratch/kocevski/445247/ltcube_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/445247/Model_4FGL_J2153.8-1137_daily_bin1769.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/445247/ft1_filtered_4FGL_J2153.8-1137_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/445247/ft2_4FGL_J2153.8-1137_daily_bin1769.fits
Exposure map: /scratch/kocevski/445247/expmap_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.fits
Exposure cube: /scratch/kocevski/445247/ltcube_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/445247/Model_4FGL_J2153.8-1137_daily_bin1769.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) = 6818.88371273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94591E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .47110E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.910       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15077E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19263E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.817       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.921       1.0000          .0000       .10000E+07
     8 'norm      '    16.328       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.810       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.994       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16098E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    33.323       1.0000          .0000       .10000E+07
    13 'Prefactor '    20.523       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.203       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12723E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .68940E-03   1.0000          .0000       .10000E+07
    17 'norm      '    3.0721       1.0000          .0000       .10000E+07
    18 'Prefactor '    .24816E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .47039       1.0000          .0000       .10000E+07
    20 'Normalizat'    .80511       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2943       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=   6818.844     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1615 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79881E-07    7.6596        .19536E-05** at limit **
   2  Prefactor     .77161E-08    20.045       -.28520E-05** at limit **
   3  Prefactor     15.082        6.5570        .18282E-05   -.13674    
   4  Prefactor     .21094E-08    2.9516        .62868E-06** at limit **
   5  Prefactor     .11647E-05    3.0517       -.23180E-05** at limit **
   6  Prefactor     10.730        8.8449        .61865E-07   -.29694E-02
   7  Prefactor     15.267        2.4669        .10095E-05   -.61859E-02
   8  norm          16.230        6.0352        .35854E-05    .11731    
   9  Prefactor     16.734        9.4629       -.16684E-05   -.16508E-01
  10  Prefactor     17.997        7.1816       -.41728E-05   -.63362E-01
  11  Prefactor     .44409E-07    8.7322        .35455E-05** at limit **
  12  Prefactor     33.152        1.7194       -.30653E-07   -.53564E-01
  13  Prefactor     20.426        7.3617        .38881E-05   -.10391    
  14  Prefactor     16.125        4.6607       -.27417E-05   -.35532E-01
  15  Prefactor     .27756E-09    1.5057       -.67966E-06** at limit **
  16  Prefactor     .13051E-06    33.000        .57123E-05** at limit **
  17  norm          3.0728        4.0671        .92264E-06   -.33873E-02
  18  Prefactor     .19477E-05    66.823        .34664E-06** at limit **
  19  norm          .47041        .57916       -.23523E-06   -.16722E-02
  20  Normalizat    .80521        .27814        .34222E-04   -.10678E-03
  21  Prefactor     1.2945        .17054       -.14879E-04   -.23902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.98805e-08
  Prefactor  = 7.71605e-09
  Prefactor  = 15.0819
  Prefactor  = 2.10942e-09
  Prefactor  = 1.16468e-06
  Prefactor  = 10.7298
  Prefactor  = 15.2666
  norm       = 16.2304
  Prefactor  = 16.7341
  Prefactor  = 17.9975
  Prefactor  = 4.44089e-08
  Prefactor  = 33.1522
  Prefactor  = 20.4256
  Prefactor  = 16.1246
  Prefactor  = 2.77556e-10
  Prefactor  = 1.30507e-07
  norm       = 3.07279
  Prefactor  = 1.94772e-06
  norm       = 0.470409
  Normalizat = 0.805212
  Prefactor  = 1.29452
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.844     FROM HESSE     STATUS=OK           365 CALLS     1980 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79881E-07    8.1124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .77161E-08    20.383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.082        55.705        .25912E-03   -1.5630    
   4  Prefactor     .21094E-08    2.9883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11647E-05    2.7684        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.730        8.8726        .30438E-03   -1.5642    
   7  Prefactor     15.267        22.306        .25903E-03   -1.5630    
   8  norm          16.230        12.114        .24759E-03   -1.5627    
   9  Prefactor     16.734        9.6218        .24401E-03   -1.5626    
  10  Prefactor     17.997        13.103        .23583E-03   -1.5623    
  11  Prefactor     .44409E-07    9.7648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.152        31.717        .17326E-03   -1.5593    
  13  Prefactor     20.426        15.165        .22081E-03   -1.5618    
  14  Prefactor     16.125        13.429        .24855E-03   -1.5628    
  15  Prefactor     .27756E-09    1.5092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13051E-06    33.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0728        4.0905        .57847E-03   -1.5673    
  18  Prefactor     .19477E-05    67.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .47041        .66952        .15801E-02   -1.5694    
  20  Normalizat    .80521        .25917        .87472E-01   -.99876    
  21  Prefactor     1.2945        .15260        .32709E-01   -.83470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63536e-06
Minuit parameter uncertainties:
  1  0.0016101
  2  0.000793171
  3  55.7071
  4  0.00015823
  5  0.00359133
  6  8.87262
  7  22.3062
  8  12.1141
  9  9.62181
  10  13.1033
  11  0.00131727
  12  31.717
  13  15.1648
  14  13.4293
  15  3.94958e-05
  16  0.00415951
  17  4.09055
  18  0.0229632
  19  0.669518
  20  0.259572
  21  0.152652
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.673e+01  9.622e+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

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  1.295e+00  1.527e-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:  8.052e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.37
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 7.08e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.94e-05

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) = 6818.35561731
delta logL = 0.488114224845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6818.34112666
delta logL = 0.502604870044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.075       1.0000          .0000       .10000E+07
     2 'Index     '    3.1883       1.0000          .0000       10.000    
     3 'Normalizat'    .72267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3290       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.

 FCN=   6818.341     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      273 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.074        11.348        .12032E-04   -.12661E-02
   2  Index         3.1886        .80908        .51802E-02    .50714E-03
   3  Normalizat    .72284        .28690        .40656E-03   -.98571E-04
   4  Prefactor     1.3289        .17493        .19425E-03   -.23314E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0739
  Index      = 3.18863
  Normalizat = 0.722845
  Prefactor  = 1.32887
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.341     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.074        9.9576        .48128E-06   -1.5641    
   2  Index         3.1886        .70980        .10360E-02   -.37071    
   3  Normalizat    .72284        .28594        .16262E-04   -1.0300    
   4  Prefactor     1.3289        .17437        .38850E-04   -.82453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55855e-11
Minuit parameter uncertainties:
  1  9.95761
  2  0.712572
  3  0.286528
  4  0.174447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445247': 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) = 6818.34112575
delta logL = 0.502605787103

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.107e+01  9.958e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  3.189e+00  7.126e-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.329e+00  1.744e-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:  7.228e-01  2.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.67
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 3.19 +/- 0.71
Photon Flux (Free Index): 1.89e-07 +/- 1.01e-07
Energy Flux (Free Index): 3.47e-05 +/- 1.67e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/445247/cmap_HighResolution_697852801_698112001_4FGL_J2153.8-1137_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='3.47e-05', photon_flux_error='7.08e-08', dlogl='5.03e-01', energy_flux='3.38e-05', photon_flux2='1.89e-07', job_status='DONE', time_completed='2023-02-15 01:41:07.631979', photon_index_error2='0.71', photon_index2='3.19', ts='5.37', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='0.81', time_epoch_completed='1676454067.63', return_code='0', job_id='445247', GAL2='1.33', EG2='0.72', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='1.01e-07', ts2='6.67', photon_index='2.55' WHERE bin_id='1769' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:41:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 445247: <4FGL_J2153.8-1137_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 01:30:21 2023
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:30:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:30:22 2023
Terminated at Wed Feb 15 01:41:08 2023
Results reported at Wed Feb 15 01:41:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1769 328.461 -11.6306 697852801 698112001 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 :                                   523.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            647 sec.

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

