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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1777
RA = 328.461, Dec = -11.6306
tmin = 699926401, tmax = 700185601
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='924437', job_status='RUN', time_executed='2023-03-11 01:20:56.788846', time_epoch_executed='1678526456.79' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924437

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924437/ft1_4FGL_J2153.8-1137_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924437/ft1_4FGL_J2153.8-1137_daily_bin1777.fits outfile=/scratch/kocevski/924437/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1777.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=699926401.0 tmax=700185601.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.62
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 583

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924437/ft1_filtered_4FGL_J2153.8-1137_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/924437/ltcube_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.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/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits
.....................!
real 12.10
user 11.72
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924437/ft1_filtered_4FGL_J2153.8-1137_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/924437/ltcube_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.fits outfile=/scratch/kocevski/924437/expmap_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.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/924437/ltcube_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.fits
.....................!
real 190.52
user 184.89
sys 5.32

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/924437/ft1_filtered_4FGL_J2153.8-1137_daily_bin1777.fits scfile=/scratch/kocevski/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits outfile=/scratch/kocevski/924437/cmap_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924437/ft1_filtered_4FGL_J2153.8-1137_daily_bin1777.fits scfile=/scratch/kocevski/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits outfile=/scratch/kocevski/924437/cmap_HighResolution_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/924437/ft1_filtered_4FGL_J2153.8-1137_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/924437/ft2_4FGL_J2153.8-1137_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924437/Model_4FGL_J2153.8-1137_daily_bin1777.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/924437/ft1_filtered_4FGL_J2153.8-1137_daily_bin1777.fits.....................!
real 60.36
user 59.06
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22788E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.0322       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23934E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.2306       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93069       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19773E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.925       1.0000          .0000       .10000E+07
     8 'norm      '    2.3882       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32209       1.0000          .0000       .10000E+07
    10 'Prefactor '    .66470E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .50427E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .56772E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    32.420       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15714E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.4421       1.0000          .0000       .10000E+07
    16 'Prefactor '    .21628       1.0000          .0000       .10000E+07
    17 'norm      '    1.8337       1.0000          .0000       .10000E+07
    18 'Prefactor '    .98624E-05   1.0000          .0000       .10000E+07
    19 'norm      '    1.9163       1.0000          .0000       .10000E+07
    20 'Normalizat'    .89571       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90187       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=   6561.095     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1643 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94158E-06    14.536       -.65689E-07** at limit **
   2  Prefactor     7.0347        12.520       -.81596E-07    .53038E-02
   3  Prefactor     .39246E-07    13.600        .50901E-07** at limit **
   4  Prefactor     4.2082        4.0591        .98413E-08    .86001E-04
   5  Prefactor     .94460        1.6294       -.26828E-07   -.86014E-03
   6  Prefactor      .0000        3.6593        .45855E-07** at limit **
   7  Prefactor     11.882        3.3894       -.13976E-07   -.59833E-01
   8  norm          2.4292        4.3981       -.34588E-07    .41426E-03
   9  Prefactor     .33119        22.394       -.44661E-06    .98824E-03
  10  Prefactor     .55511E-10    10.042       -.86781E-07** at limit **
  11  Prefactor     .15543E-08    87.314        .54157E-06** at limit **
  12  Prefactor     .55511E-10    5.2363        .43692E-07** at limit **
  13  Prefactor     32.458        2.0268        .13817E-08   -.18520E-01
  14  Prefactor     .63205E-06    29.016        .46774E-07** at limit **
  15  Prefactor     2.4576        3.9280       -.11934E-06   -.14504E-02
  16  Prefactor     .30531E-08    41.941       -.36905E-07** at limit **
  17  norm          1.8312        3.2228       -.63309E-07   -.91010E-03
  18  Prefactor     .16653E-05    11.254       -.53818E-07** at limit **
  19  norm          1.9166        1.1502       -.21422E-07   -.15701E-02
  20  Normalizat    .89574        .22707        .29256E-05    .48952E-04
  21  Prefactor     .90177        .13540       -.29334E-06    .49975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4158e-07
  Prefactor  = 7.03475
  Prefactor  = 3.92464e-08
  Prefactor  = 4.20824
  Prefactor  = 0.944596
  Prefactor  = 0
  Prefactor  = 11.882
  norm       = 2.42921
  Prefactor  = 0.331192
  Prefactor  = 5.55112e-11
  Prefactor  = 1.55431e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 32.4579
  Prefactor  = 6.3205e-07
  Prefactor  = 2.45759
  Prefactor  = 3.05311e-09
  norm       = 1.8312
  Prefactor  = 1.66528e-06
  norm       = 1.91663
  Normalizat = 0.895742
  Prefactor  = 0.901775
 **********
 **   18 **HESSE 
 **********

 FCN=   6561.095     FROM HESSE     STATUS=OK           365 CALLS     2008 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94158E-06    23.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.0347        12.660        .37806E-03   -1.5655    
   3  Prefactor     .39246E-07    13.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.2082        4.0630        .48967E-03   -1.5667    
   5  Prefactor     .94460        1.6364        .43661E-03   -1.5689    
   6  Prefactor      .0000        3.6532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.882        17.253        .28984E-03   -1.5639    
   8  norm          2.4292        4.4510        .66249E-03   -1.5677    
   9  Prefactor     .33119        3.2293        .77572E-02   -1.5696    
  10  Prefactor     .55511E-10    10.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .15543E-08    86.211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    5.2411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     32.458        16.029        .17565E-03   -1.5594    
  14  Prefactor     .63205E-06    31.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4576        3.9586        .65442E-03   -1.5677    
  16  Prefactor     .30531E-08    41.947        .11493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8312        3.2547        .77030E-03   -1.5681    
  18  Prefactor     .16653E-05    24.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9166        1.1578        .75049E-03   -1.5680    
  20  Normalizat    .89574        .20079        .67420E-01   -.96610    
  21  Prefactor     .90177        .11380        .45029E-01   -.96079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26425e-07
Minuit parameter uncertainties:
  1  0.00940777
  2  12.6605
  3  0.00147172
  4  4.06301
  5  1.63638
  6  7.15355e-07
  7  17.2526
  8  4.45103
  9  2.06836
  10  4.90169e-05
  11  0.000738608
  12  2.7805e-05
  13  16.0293
  14  0.00895904
  15  3.95859
  16  0.000718631
  17  3.25466
  18  0.0126928
  19  1.15781
  20  0.200954
  21  0.113828
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.312e-01  2.068e+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:  9.018e-01  1.138e-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.957e-01  2.010e-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.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924437/likelihoodResults_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.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) = 6561.06184216
delta logL = 0.0329974668866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6561.04938709
delta logL = 0.045452534504

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79608       1.0000          .0000       .10000E+07
     2 'Index     '    3.3144       1.0000          .0000       10.000    
     3 'Normalizat'    .88115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90606       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6561.049     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      288 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79936        5.9779        .10645E-03   -.33829E-02
   2  Index         3.3141        2.7535        .74497E-02   -.37091E-04
   3  Normalizat    .88094        .22591        .30050E-03   -.13173E-03
   4  Prefactor     .90615        .13529        .18078E-03   -.74909E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.799358
  Index      = 3.31414
  Normalizat = 0.880945
  Prefactor  = 0.906147
 **********
 **   18 **HESSE 
 **********

 FCN=   6561.049     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79936        3.7299        .42582E-05   -1.5690    
   2  Index         3.3141        2.2329        .29799E-03   -.34391    
   3  Normalizat    .88094        .22618        .12020E-04   -.97133    
   4  Prefactor     .90615        .13545        .36157E-04   -.95927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31421e-10
Minuit parameter uncertainties:
  1  3.45342
  2  2.32649
  3  0.226421
  4  0.135498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924437': 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) = 6561.04938625
delta logL = 0.045453376466

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  7.994e-01  3.453e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  3.314e+00  2.326e+00  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:  9.061e-01  1.355e-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.809e-01  2.264e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/924437/cmap_HighResolution_699926401_700185601_4FGL_J2153.8-1137_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.97e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2023-03-11 01:30:18.108929', job_id='924437', GAL2='0.91', fit_tolerance='1e-08', EG2='0.88', EG='0.90', time_epoch_completed='1678527018.11', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.55e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1777' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:30:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0183>
Subject: Job 924437: <4FGL_J2153.8-1137_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 01:20:26 2023
Job was executed on host(s) <bullet0183>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:20:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:20:28 2023
Terminated at Sat Mar 11 01:30:18 2023
Results reported at Sat Mar 11 01:30:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1777 328.461 -11.6306 699926401 700185601 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 :                                   563.54 sec.
    Max Memory :                                 631 MB
    Average Memory :                             315.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            592 sec.

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

