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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1635
RA = 328.461, Dec = -11.6306
tmin = 663120001, tmax = 663379201
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='887264', job_status='RUN', time_executed='2022-01-09 03:16:57.170181', time_epoch_executed='1641727017.17' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887264/ft1_4FGL_J2153.8-1137_daily_bin1635.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887264/ft2_4FGL_J2153.8-1137_daily_bin1635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887264/ft1_4FGL_J2153.8-1137_daily_bin1635.fits outfile=/scratch/kocevski/887264/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1635.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=663120001.0 tmax=663379201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.82
user 2.61
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887264/ft1_filtered_4FGL_J2153.8-1137_daily_bin1635.fits" evtable="EVENTS" scfile=/scratch/kocevski/887264/ft2_4FGL_J2153.8-1137_daily_bin1635.fits sctable="SC_DATA" outfile=/scratch/kocevski/887264/ltcube_663120001_663379201_4FGL_J2153.8-1137_daily_bin1635.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/887264/ft2_4FGL_J2153.8-1137_daily_bin1635.fits
.....................!
real 14.49
user 14.15
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887264/ft1_filtered_4FGL_J2153.8-1137_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/887264/ft2_4FGL_J2153.8-1137_daily_bin1635.fits sctable="SC_DATA" expcube=/scratch/kocevski/887264/ltcube_663120001_663379201_4FGL_J2153.8-1137_daily_bin1635.fits outfile=/scratch/kocevski/887264/expmap_663120001_663379201_4FGL_J2153.8-1137_daily_bin1635.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/887264/ltcube_663120001_663379201_4FGL_J2153.8-1137_daily_bin1635.fits
.....................!
real 190.05
user 186.00
sys 3.64

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/887264/ft1_filtered_4FGL_J2153.8-1137_daily_bin1635.fits scfile=/scratch/kocevski/887264/ft2_4FGL_J2153.8-1137_daily_bin1635.fits outfile=/scratch/kocevski/887264/cmap_663120001_663379201_4FGL_J2153.8-1137_daily_bin1635.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.40
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887264/ft1_filtered_4FGL_J2153.8-1137_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/887264/ft2_4FGL_J2153.8-1137_daily_bin1635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887264/Model_4FGL_J2153.8-1137_daily_bin1635.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/887264/ft1_filtered_4FGL_J2153.8-1137_daily_bin1635.fits.....................!
real 55.72
user 54.47
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.184       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.093       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8845       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8881       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.225       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.750       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0296       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38535       1.0000         .10000E-03   10000.    
    18 'Prefactor '    135.09       1.0000         .10000E-03   10000.    
    19 'norm      '    2.5618       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.3972       1.0000         .10000E-03   10000.    
    21 'norm      '    .10483       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2977       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79447       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=   5799.704     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2984 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.195        28.863       -.12816E-05   -.12097E-04
   2  Prefactor     27.081        24.974        .99344E-06    .14563E-04
   3  Prefactor     .10000E-03    26.886        .41135E-06** at limit **
   4  Prefactor     .10000E-03    3.6087        .13653E-08** at limit **
   5  Prefactor     5.8846        3.0508        .33821E-07   -.11266E-04
   6  Prefactor     5.8878        10.974        .17394E-06    .69146E-06
   7  Prefactor     .10000E-03    13.106        .68256E-07** at limit **
   8  Prefactor     .10000E-03    13.890       -.58532E-06** at limit **
   9  norm          .10000E-03    4.2087       -.22071E-08** at limit **
  10  Prefactor     24.225        9.4927        .87698E-07   -.36021E-05
  11  Prefactor     .10000E-03    9.1431        .17148E-07** at limit **
  12  Prefactor     .10000E-03    12.713        .34943E-06** at limit **
  13  Prefactor     .10000E-03    4.4738        .38426E-07** at limit **
  14  Prefactor     15.750        11.746        .13889E-06   -.64764E-05
  15  Prefactor     3.0302        7.6520        .24259E-05   -.21186E-04
  16  Prefactor     .10000E-03    57.574       -.96137E-06** at limit **
  17  Prefactor     .38366        2.2266        .19649E-06   -.38574E-03
  18  Prefactor     135.11        72.269       -.73342E-06   -.15696E-04
  19  norm          2.5623        2.8570       -.15529E-06   -.14854E-03
  20  Prefactor     2.3376        194.50        .21048E-04    .22023E-06
  21  norm          .10499        .59988        .21093E-06    .71480E-04
  22  Normalizat    1.2974        .23570       -.74315E-06   -.53995E-04
  23  Prefactor     .79461        .13696       -.58665E-07   -.68071E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1952
  Prefactor  = 27.0814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.88458
  Prefactor  = 5.88785
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.2251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7502
  Prefactor  = 3.03016
  Prefactor  = 0.0001
  Prefactor  = 0.383656
  Prefactor  = 135.108
  norm       = 2.56229
  Prefactor  = 2.33762
  norm       = 0.104986
  Normalizat = 1.29743
  Prefactor  = 0.794609
 **********
 **   18 **HESSE 
 **********

 FCN=   5799.704     FROM HESSE     STATUS=OK           376 CALLS     3360 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.195        28.851        .99559E-04   -1.4903    
   2  Prefactor     27.081        24.964        .76966E-04   -1.4667    
   3  Prefactor     .10000E-03    26.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.6228        .14126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8846        3.0506        .92324E-04   -1.5223    
   6  Prefactor     5.8878        10.968        .16550E-03   -1.5223    
   7  Prefactor     .10000E-03    13.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.2229        .15258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.225        9.5073        .81387E-04   -1.4723    
  11  Prefactor     .10000E-03    9.2490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4773        .15732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.750        11.788        .10092E-03   -1.4914    
  15  Prefactor     3.0302        7.7537        .11657E-02   -1.5360    
  16  Prefactor     .10000E-03    57.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38366        6.9017        .20787E-02   -1.5584    
  18  Prefactor     135.11        72.379        .17325E-03   -1.3378    
  19  norm          2.5623        2.8466        .12948E-03   -1.5388    
  20  Prefactor     2.3376        195.30        .26449E-03   -1.5402    
  21  norm          .10499        .59404        .11355E-03   -1.5643    
  22  Normalizat    1.2974        .27925        .28912E-03   -.83643    
  23  Prefactor     .79461        .16310        .21493E-03   -.99927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55827e-10
Minuit parameter uncertainties:
  1  28.8762
  2  24.9735
  3  1.3303e-05
  4  2.23608e-06
  5  3.05065
  6  10.9717
  7  2.2347e-06
  8  8.00885e-06
  9  3.85591e-07
  10  9.50791
  11  3.3996e-06
  12  7.69415e-06
  13  6.4981e-07
  14  11.7896
  15  7.75627
  16  2.92523e-05
  17  3.25447
  18  72.4262
  19  2.84672
  20  42.8779
  21  0.49923
  22  0.279578
  23  0.163195
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.423e+01  9.508e+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.946e-01  1.632e-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.297e+00  2.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.39
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 1.78e-07 +/- 6.99e-08
Energy Flux (Fixed Index): 4.90e-05 +/- 1.92e-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) = 5798.99110108
delta logL = 0.71278067132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5798.99102727
delta logL = 0.71285447688

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.881       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1149       1.0000          .0000       10.000    
     3 'Normalizat'    1.3565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76497       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.

 FCN=   5798.991     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      228 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.881        17.081        .18025E-02    .18934E-02
   2  Index         2.1150        .42851        .12868       -.15273E-05
   3  Normalizat    1.3565        .22959        .64142E-01    .54351E-05
   4  Prefactor     .76498        .13682        .43260E-01    .11725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.8813
  Index      = 2.11498
  Normalizat = 1.35651
  Prefactor  = 0.76498
 **********
 **   18 **HESSE 
 **********

 FCN=   5798.991     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.881        12.030        .72101E-04   -1.4596    
   2  Index         2.1150        .32348        .52967E-02   -.61505    
   3  Normalizat    1.3565        .27042        .28372E-03   -.81895    
   4  Prefactor     .76498        .16056        .21832E-03   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66814e-09
Minuit parameter uncertainties:
  1  12.031
  2  0.323822
  3  0.270701
  4  0.160655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887264': 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) = 5798.99102725
delta logL = 0.712854496175

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.088e+01  1.203e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.115e+00  3.238e-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.650e-01  1.607e-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.357e+00  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.73
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.11 +/- 0.32
Photon Flux (Free Index): 1.40e-07 +/- 6.42e-08
Energy Flux (Free Index): 7.46e-05 +/- 4.33e-05

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/887264/cmap_HighResolution_663120001_663379201_4FGL_J2153.8-1137_daily_bin1635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.78e-07', energy_flux2='7.46e-05', photon_flux_error='6.99e-08', dlogl='7.13e-01', energy_flux='4.90e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2022-01-09 03:26:29.182453', photon_index_error2='0.32', photon_index2='2.11', ts='11.39', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='4.33e-05', EG='1.30', time_epoch_completed='1641727589.18', return_code='0', job_id='887264', GAL2='0.76', EG2='1.36', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='6.42e-08', ts2='12.73', photon_index='2.55' WHERE bin_id='1635' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  9 03:26:29 PST 2022


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

Job <4FGL_J2153.8-1137_daily_bin1635> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan  9 03:15:14 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  9 03:15:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  9 03:15:37 2022
Terminated at Sun Jan  9 03:26:29 2022
Results reported at Sun Jan  9 03:26:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1635 328.461 -11.6306 663120001 663379201 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 :                                   574.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            675 sec.

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

