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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1661
RA = 328.461, Dec = -11.6306
tmin = 669859201, tmax = 670118401
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='85197', job_status='RUN', time_executed='2022-03-28 00:41:01.185904', time_epoch_executed='1648453261.19' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1661'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/85197

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/85197/ft1_4FGL_J2153.8-1137_daily_bin1661.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/85197/ft2_4FGL_J2153.8-1137_daily_bin1661.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/85197/ft1_4FGL_J2153.8-1137_daily_bin1661.fits outfile=/scratch/kocevski/85197/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1661.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=669859201.0 tmax=670118401.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.78
user 3.40
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/85197/ft1_filtered_4FGL_J2153.8-1137_daily_bin1661.fits" evtable="EVENTS" scfile=/scratch/kocevski/85197/ft2_4FGL_J2153.8-1137_daily_bin1661.fits sctable="SC_DATA" outfile=/scratch/kocevski/85197/ltcube_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.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/85197/ft2_4FGL_J2153.8-1137_daily_bin1661.fits
.....................!
real 12.63
user 12.09
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/85197/ft1_filtered_4FGL_J2153.8-1137_daily_bin1661.fits evtable="EVENTS" scfile=/scratch/kocevski/85197/ft2_4FGL_J2153.8-1137_daily_bin1661.fits sctable="SC_DATA" expcube=/scratch/kocevski/85197/ltcube_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.fits outfile=/scratch/kocevski/85197/expmap_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.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/85197/ltcube_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.fits
.....................!
real 191.98
user 185.16
sys 5.47

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/85197/ft1_filtered_4FGL_J2153.8-1137_daily_bin1661.fits scfile=/scratch/kocevski/85197/ft2_4FGL_J2153.8-1137_daily_bin1661.fits outfile=/scratch/kocevski/85197/cmap_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.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 1.75
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/85197/ft1_filtered_4FGL_J2153.8-1137_daily_bin1661.fits scfile=/scratch/kocevski/85197/ft2_4FGL_J2153.8-1137_daily_bin1661.fits outfile=/scratch/kocevski/85197/cmap_HighResolution_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.532       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9047       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6796       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8416       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.587       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9622       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.187       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.589       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23152E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.616       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1829       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .64497       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2424       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .73502       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=   5852.810     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2522 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.535        20.768        .13768E-06    .54637E-05
   2  Prefactor     .10000E-03    8.2224        .61137E-07** at limit **
   3  Prefactor     .10000E-03    24.614       -.24910E-05** at limit **
   4  Prefactor     2.9046        5.6814       -.21861E-07    .25633E-04
   5  Prefactor     2.6799        2.1008        .65213E-07    .57852E-04
   6  Prefactor     2.8415        7.0836        .37926E-06    .33741E-04
   7  Prefactor     .10000E-03    28.569        .29490E-05** at limit **
   8  Prefactor     32.591        22.424       -.24027E-06    .74129E-04
   9  norm          .10000E-03    2.3517        .18234E-07** at limit **
  10  Prefactor     3.9640        7.0323        .31054E-05    .74603E-03
  11  Prefactor     10.188        12.081        .16387E-06    .61182E-05
  12  Prefactor     18.591        21.575       -.48751E-06    .98571E-04
  13  Prefactor     .10000E-03    8.6324       -.75179E-07** at limit **
  14  Prefactor     .10021E-03    11.155       -.41375E-05** at limit **
  15  Prefactor     35.614        15.601        .19140E-07    .21396E-04
  16  Prefactor     .10000E-03    58.877       -.85822E-05** at limit **
  17  Prefactor     2.1838        5.4946        .30569E-06    .45295E-04
  18  Prefactor     .10000E-03    13.102        .11512E-06** at limit **
  19  norm          .10000E-03    2.8883       -.16303E-08** at limit **
  20  Prefactor     .10000E-03    101.59        .89293E-05** at limit **
  21  norm          .64495        .65285        .15875E-07    .21506E-03
  22  Normalizat    1.2421        .22516       -.10685E-05    .22321E-03
  23  Prefactor     .73518        .12750       -.21169E-07    .12879E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.5352
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.90461
  Prefactor  = 2.67992
  Prefactor  = 2.84154
  Prefactor  = 0.0001
  Prefactor  = 32.591
  norm       = 0.0001
  Prefactor  = 3.964
  Prefactor  = 10.1883
  Prefactor  = 18.5909
  Prefactor  = 0.0001
  Prefactor  = 0.000100208
  Prefactor  = 35.6144
  Prefactor  = 0.000100001
  Prefactor  = 2.18378
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.644949
  Normalizat = 1.24206
  Prefactor  = 0.73518
 **********
 **   18 **HESSE 
 **********

 FCN=   5852.810     FROM HESSE     STATUS=OK           372 CALLS     2894 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.535        20.757        .68194E-04   -1.4532    
   2  Prefactor     .10000E-03    8.2466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9046        5.6612        .23841E-03   -1.5367    
   5  Prefactor     2.6799        2.0992        .94961E-04   -1.5381    
   6  Prefactor     2.8415        7.0720        .24121E-03   -1.5371    
   7  Prefactor     .10000E-03    28.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     32.591        22.500        .70193E-04   -1.4566    
   9  norm          .10000E-03    2.3525        .11458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9640        7.2619        .10132E-02   -1.5310    
  11  Prefactor     10.188        12.075        .12554E-03   -1.5069    
  12  Prefactor     18.591        21.464        .92896E-04   -1.4845    
  13  Prefactor     .10000E-03    8.6405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10021E-03    37.144        .38528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.614        15.497        .67151E-04   -1.4514    
  16  Prefactor     .10000E-03    59.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1838        5.4326        .25626E-03   -1.5412    
  18  Prefactor     .10000E-03    13.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.9451        .12680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    102.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .64495        .64309        .60343E-04   -1.5547    
  22  Normalizat    1.2421        .26312        .27680E-03   -.85313    
  23  Prefactor     .73518        .15104        .20733E-03   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18001e-09
Minuit parameter uncertainties:
  1  20.7617
  2  3.20984e-06
  3  8.75236e-05
  4  5.66224
  5  2.09923
  6  7.07405
  7  0.000116284
  8  22.5057
  9  3.71021e-07
  10  7.26348
  11  12.0783
  12  21.4725
  13  1.48346e-06
  14  0.00556652
  15  15.4991
  16  0.00045352
  17  5.43381
  18  4.99697e-06
  19  5.06756e-06
  20  0.000665626
  21  0.643096
  22  0.263404
  23  0.151122
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.964e+00  7.263e+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

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  7.352e-01  1.511e-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:  1.242e+00  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.36
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/85197/likelihoodResults_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.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) = 5852.70248398
delta logL = 0.107734735392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5852.69636555
delta logL = 0.11385317084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5595       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9331       1.0000          .0000       10.000    
     3 'Normalizat'    1.2621       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72587       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=   5852.696     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      246 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5608        7.4096        .18852E-03   -.46983E-03
   2  Index         1.9338        .95745        .12516E-01   -.23369E-03
   3  Normalizat    1.2621        .25230        .27489E-03   -.50409E-03
   4  Prefactor     .72587        .14966        .20847E-03   -.58172E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.56076
  Index      = 1.93385
  Normalizat = 1.26207
  Prefactor  = 0.72587
 **********
 **   18 **HESSE 
 **********

 FCN=   5852.696     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5608        7.5496        .75409E-05   -1.5281    
   2  Index         1.9338        .97569        .25033E-02   -.66014    
   3  Normalizat    1.2621        .25253        .54978E-04   -.84706    
   4  Prefactor     .72587        .14977        .41694E-04   -1.0252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05689e-10
Minuit parameter uncertainties:
  1  7.55116
  2  0.985899
  3  0.25278
  4  0.149852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/85197': 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) = 5852.69636524
delta logL = 0.113853481607

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.561e+00  7.551e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.934e+00  9.859e-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:  7.259e-01  1.499e-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:  1.262e+00  2.528e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/85197/cmap_HighResolution_669859201_670118401_4FGL_J2153.8-1137_daily_bin1661.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2022-03-28 00:51:08.594020', job_id='85197', GAL2='0.73', fit_tolerance='1e-08', EG2='1.26', EG='1.24', time_epoch_completed='1648453868.59', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.14e-01', ts2='0.58', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1661' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 28 00:51:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 85197: <4FGL_J2153.8-1137_daily_bin1661> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1661> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 28 00:40:28 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 28 00:40:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 28 00:40:29 2022
Terminated at Mon Mar 28 00:51:09 2022
Results reported at Mon Mar 28 00:51:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1661 328.461 -11.6306 669859201 670118401 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 :                                   604.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            641 sec.

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

