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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1254
RA = 328.461, Dec = -11.6306
tmin = 564364801, tmax = 564624001
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='28422', job_status='RUN', time_executed='2021-09-27 20:36:57.654170', time_epoch_executed='1632800217.65' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1254'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28422

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28422/ft1_4FGL_J2153.8-1137_daily_bin1254.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28422/ft1_4FGL_J2153.8-1137_daily_bin1254.fits outfile=/scratch/kocevski/28422/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1254.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=564364801.0 tmax=564624001.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.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28422/ft1_filtered_4FGL_J2153.8-1137_daily_bin1254.fits" evtable="EVENTS" scfile=/scratch/kocevski/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits sctable="SC_DATA" outfile=/scratch/kocevski/28422/ltcube_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.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/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits
.....................!
real 12.75
user 12.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28422/ft1_filtered_4FGL_J2153.8-1137_daily_bin1254.fits evtable="EVENTS" scfile=/scratch/kocevski/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits sctable="SC_DATA" expcube=/scratch/kocevski/28422/ltcube_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.fits outfile=/scratch/kocevski/28422/expmap_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.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/28422/ltcube_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.fits
.....................!
real 191.87
user 186.58
sys 4.94

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/28422/ft1_filtered_4FGL_J2153.8-1137_daily_bin1254.fits scfile=/scratch/kocevski/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits outfile=/scratch/kocevski/28422/cmap_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28422/ft1_filtered_4FGL_J2153.8-1137_daily_bin1254.fits scfile=/scratch/kocevski/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits outfile=/scratch/kocevski/28422/cmap_HighResolution_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28422/ft1_filtered_4FGL_J2153.8-1137_daily_bin1254.fits evtable="EVENTS" scfile=/scratch/kocevski/28422/ft2_4FGL_J2153.8-1137_daily_bin1254.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28422/Model_4FGL_J2153.8-1137_daily_bin1254.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/28422/ft1_filtered_4FGL_J2153.8-1137_daily_bin1254.fits.....................!
real 75.00
user 73.69
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.515       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1528       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10787E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1179       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.7950       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70414E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24116       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10466E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3932       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9535       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3971       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8966       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4834       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0793       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0055       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=   8078.897     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2627 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.514        17.997       -.14350E-05   -.66467E-04
   2  Prefactor     .10000E-03    15.093       -.16879E-05** at limit **
   3  Prefactor     .10000E-03    18.423       -.75108E-07** at limit **
   4  Prefactor     3.1525        3.7609        .51157E-08   -.59249E-04
   5  Prefactor     .10000E-03    .75130       -.15555E-07** at limit **
   6  Prefactor     1.1197        .98488        .60453E-07   -.50895E-03
   7  Prefactor     .10000E-03    7.7038       -.43716E-07** at limit **
   8  Prefactor     .10000E-03    43.977        .42131E-05** at limit **
   9  norm          8.7944        6.5070       -.10265E-07   -.89493E-04
  10  Prefactor     .10020E-03    2.9407        .16498E-05** at limit **
  11  Prefactor     .10000E-03    3.3683        .26677E-07** at limit **
  12  Prefactor     .82643E-01    9.0797       -.72573E-06    .23437E-04
  13  Prefactor     .10000E-03    32.012       -.18323E-04** at limit **
  14  Prefactor     .10000E-03    10.805       -.10187E-05** at limit **
  15  Prefactor     2.3964        8.6570       -.48827E-06    .17217E-04
  16  Prefactor     .10000E-03    29.119        .14164E-04** at limit **
  17  Prefactor     1.9521        3.1705        .35816E-07    .10389E-04
  18  Prefactor     4.3991        107.10       -.15861E-04   -.21870E-04
  19  norm          3.8966        3.1239       -.40763E-07   -.86586E-04
  20  Prefactor     .10000E-03    44.202        .14378E-05** at limit **
  21  norm          1.4834        .91235        .47768E-07    .35636E-04
  22  Normalizat    1.0793        .19459       -.81371E-07   -.15029E-03
  23  Prefactor     1.0055        .11452        .38878E-06   -.13460E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.5139
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.15252
  Prefactor  = 0.0001
  Prefactor  = 1.11967
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.79437
  Prefactor  = 0.000100199
  Prefactor  = 0.0001
  Prefactor  = 0.0826426
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.39636
  Prefactor  = 0.000100002
  Prefactor  = 1.9521
  Prefactor  = 4.39912
  norm       = 3.8966
  Prefactor  = 0.0001
  norm       = 1.48336
  Normalizat = 1.07928
  Prefactor  = 1.00546
 **********
 **   18 **HESSE 
 **********

 FCN=   8078.897     FROM HESSE     STATUS=OK           380 CALLS     3007 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.514        17.983        .80904E-04   -1.4717    
   2  Prefactor     .10000E-03    15.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1525        3.7522        .18399E-03   -1.5353    
   5  Prefactor     .10000E-03    8.8378        .14911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1197        9.8809        .22242E-02   -1.5496    
   7  Prefactor     .10000E-03    7.7080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.7944        6.5064        .13516E-03   -1.5115    
  10  Prefactor     .10020E-03    17.081        .27737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3796        .16109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .82643E-01    19.577        .85388E-01   -1.5651    
  13  Prefactor     .10000E-03    32.421        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3964        8.5319        .26473E-03   -1.5398    
  16  Prefactor     .10000E-03    29.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9521        3.1087        .18684E-03   -1.5429    
  18  Prefactor     4.3991        107.44        .19206E-03   -1.5288    
  19  norm          3.8966        3.1172        .13540E-03   -1.5313    
  20  Prefactor     .10000E-03    44.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4834        .91102        .64831E-04   -1.5464    
  22  Normalizat    1.0793        .22994        .30181E-03   -.90420    
  23  Prefactor     1.0055        .13770        .19001E-03   -.92548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2747e-08
Minuit parameter uncertainties:
  1  17.9871
  2  1.40052e-05
  3  5.70645e-06
  4  3.75244
  5  7.52669e-05
  6  6.6535
  7  1.66199e-06
  8  3.731e-06
  9  6.50691
  10  0.003688
  11  2.38177e-06
  12  2.54321
  13  0.000322374
  14  3.14029e-05
  15  8.53622
  16  0.000430474
  17  3.10895
  18  43.5681
  19  3.11734
  20  5.08282e-05
  21  0.91103
  22  0.230157
  23  0.13775
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.002e-04  3.688e-03  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:  1.005e+00  1.378e-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.079e+00  2.302e-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: 9.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28422/likelihoodResults_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.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) = 8078.89688511
delta logL = -0.000277713719697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8078.89656185
delta logL = 4.55491608591e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22147E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6932       1.0000          .0000       10.000    
     3 'Normalizat'    1.0794       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0054       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=   8077.933     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      273 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28698        3.3151        .82354E-02    .23276E-02
   2  Index         4.9891        3.0624        .13846        .17758E-03
   3  Normalizat    .97164        .43999E-01    .71464E-01    .31371E-04
   4  Prefactor     1.0472        .26968E-01    .44115E-01    .45840E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.286985
  Index      = 4.98911
  Normalizat = 0.971642
  Prefactor  = 1.04723
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.933     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      308 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28698        8.8045        .37794E-03   -1.5601    
   2  Index         4.9891        7.4228        .68421E-02   -.21784E-02
   3  Normalizat    .97164        .17397        .31625E-03   -.93987    
   4  Prefactor     1.0472        .10359        .18660E-03   -.91171    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98471e-10
Minuit parameter uncertainties:
  1  3.17911
  2  6.64251
  3  0.174067
  4  0.103607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28422': 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): 102
logL (Free Index) = 8077.93287887
delta logL = 0.963728533191

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.870e-01  3.179e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  4.989e+00  6.643e+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:  1.047e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  9.716e-01  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 4.99 +/- 6.64
Photon Flux (Free Index): 7.61e-08 +/- 6.50e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/28422/cmap_HighResolution_564364801_564624001_4FGL_J2153.8-1137_daily_bin1254.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.29e-03', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='9.64e-01', photon_flux2='7.61e-08', job_status='DONE', time_completed='2021-09-27 20:49:10.524142', photon_index_error2='6.64', photon_index2='4.99', ts='-0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.35e-08', energy_flux_error2='1.23e-05', EG='1.08', time_epoch_completed='1632800950.52', return_code='0', job_id='28422', GAL2='1.05', EG2='0.97', return_code2='102', photon_flux_error2='6.50e-08', ts2='2.12', photon_index='2.55' WHERE bin_id='1254' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:49:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 28422: <4FGL_J2153.8-1137_daily_bin1254> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1254> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 20:35:13 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:35:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 20:35:38 2021
Terminated at Mon Sep 27 20:49:11 2021
Results reported at Mon Sep 27 20:49:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1254 328.461 -11.6306 564364801 564624001 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 :                                   729.05 sec.
    Max Memory :                                 1192 MB
    Average Memory :                             316.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            838 sec.

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

