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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1409
RA = 328.461, Dec = -11.6306
tmin = 604540801, tmax = 604800001
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='28651', job_status='RUN', time_executed='2021-09-27 20:38:52.880132', time_epoch_executed='1632800332.88' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1409'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28651/ft1_4FGL_J2153.8-1137_daily_bin1409.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28651/ft1_4FGL_J2153.8-1137_daily_bin1409.fits outfile=/scratch/kocevski/28651/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1409.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=604540801.0 tmax=604800001.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.66
user 3.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.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/28651/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1409.fits evtable="EVENTS" outfile="/scratch/kocevski/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.fits" evtable="EVENTS" scfile=/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits sctable="SC_DATA" outfile=/scratch/kocevski/28651/ltcube_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.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/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits
.....................!
real 15.80
user 15.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits sctable="SC_DATA" expcube=/scratch/kocevski/28651/ltcube_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.fits outfile=/scratch/kocevski/28651/expmap_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.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/28651/ltcube_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.fits
.....................!
real 191.59
user 185.91
sys 5.27

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/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.fits scfile=/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits outfile=/scratch/kocevski/28651/cmap_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.fits scfile=/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits outfile=/scratch/kocevski/28651/cmap_HighResolution_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.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.56
user 0.42
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/28651/ft2_4FGL_J2153.8-1137_daily_bin1409.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28651/Model_4FGL_J2153.8-1137_daily_bin1409.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/28651/ft1_filtered_4FGL_J2153.8-1137_daily_bin1409.fits.....................!
real 61.37
user 59.99
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8980       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.891       1.0000         .10000E-03   10000.    
     3 'Prefactor '    69.606       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7358       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11490E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16660E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.492       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5522       1.0000         .10000E-03   10000.    
     9 'norm      '    5.1046       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.567       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.5494       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.990       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.327       1.0000         .10000E-03   10000.    
    16 'Prefactor '    349.17       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12188E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .30524E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    15.820       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    .57960       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91355       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1316       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=   6192.230     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     2192 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8661        16.274        .31507E-04   -.43073E-02
   2  Prefactor     17.926        12.300       -.90449E-05    .53677E-03
   3  Prefactor     69.638        6.1483        .36093E-05   -.11502E-02
   4  Prefactor     6.7373        6.2300       -.91836E-05   -.80783E-03
   5  Prefactor     .10000E-03    5.5264        .15274E-05** at limit **
   6  Prefactor     .10000E-03    32.107        .12197E-04** at limit **
   7  Prefactor     33.383        19.191        .11830E-05   -.12202E-01
   8  Prefactor     5.5459        4.2278        .28301E-05    .13154E-02
   9  norm          5.1062        5.5529        .86712E-07    .16273E-04
  10  Prefactor     .10000E-03    3.9112        .52508E-06** at limit **
  11  Prefactor     .10000E-03    3.3310       -.16314E-06** at limit **
  12  Prefactor     22.578        15.749       -.11422E-04   -.12024E-01
  13  Prefactor     8.5463        10.505       -.32651E-04   -.53063E-02
  14  Prefactor     11.009        9.3401        .69740E-05    .38942E-02
  15  Prefactor     21.301        10.135       -.47683E-05   -.58710E-02
  16  Prefactor     349.18        1.8052        .41329E-06   -.12686E-02
  17  Prefactor     .10000E-03    9.6161        .58229E-06** at limit **
  18  Prefactor     .23695E-03    770.21       -.21932E-03** at limit **
  19  norm          15.834        7.0112       -.18378E-06   -.22284E-03
  20  Prefactor     .86667E-03    159.71       -.11222E-03** at limit **
  21  norm          .57841        .99962       -.41690E-06   -.45875E-03
  22  Normalizat    .91350        .30155       -.13985E-04   -.11892E-03
  23  Prefactor     1.1316        .18065        .47588E-05   -.27944E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.86608
  Prefactor  = 17.9255
  Prefactor  = 69.6377
  Prefactor  = 6.7373
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 33.3827
  Prefactor  = 5.54585
  norm       = 5.10624
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.578
  Prefactor  = 8.54631
  Prefactor  = 11.0094
  Prefactor  = 21.3009
  Prefactor  = 349.178
  Prefactor  = 0.0001
  Prefactor  = 0.000236952
  norm       = 15.8342
  Prefactor  = 0.000866673
  norm       = 0.578412
  Normalizat = 0.913496
  Prefactor  = 1.13155
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.230     FROM HESSE     STATUS=OK           448 CALLS     2640 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8661        26.256        .33592E-02   -1.5112    
   2  Prefactor     17.926        20.626        .23673E-02   -1.4861    
   3  Prefactor     69.638        60.319        .12028E-02   -1.4037    
   4  Prefactor     6.7373        6.2658        .38651E-02   -1.5189    
   5  Prefactor     .10000E-03    1.9913        .54479E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9148        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.383        43.742        .17310E-02   -1.4552    
   8  Prefactor     5.5459        15.771        .42626E-02   -1.5237    
   9  norm          5.1062        5.5580        .44489E-02   -1.5256    
  10  Prefactor     .10000E-03    3.8692        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3289        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.578        21.162        .21079E-02   -1.4757    
  13  Prefactor     8.5463        10.693        .34274E-02   -1.5123    
  14  Prefactor     11.009        15.668        .30213E-02   -1.5044    
  15  Prefactor     21.301        16.796        .21683E-02   -1.4785    
  16  Prefactor     349.18        159.89        .54475E-03   -1.1949    
  17  Prefactor     .10000E-03    4.2272        .51455E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .23695E-03    70.673        .17596       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.834        7.4111        .25174E-02   -1.4912    
  20  Prefactor     .86667E-03    1410.1        .90731E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .57841        1.1726        .23680E-01   -1.5556    
  22  Normalizat    .91350        .27811        .83653E-01   -.95988    
  23  Prefactor     1.1316        .15600        .36493E-01   -.88464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00702e-06
Minuit parameter uncertainties:
  1  26.2899
  2  20.6339
  3  60.3719
  4  6.26638
  5  1.16056e-05
  6  0.000194712
  7  43.7836
  8  15.7829
  9  5.55853
  10  3.03504e-05
  11  3.49955e-05
  12  21.1688
  13  10.6959
  14  15.6733
  15  16.8001
  16  160.093
  17  3.94535e-05
  18  0.196995
  19  7.41151
  20  2.13174
  21  1.17262
  22  0.278548
  23  0.15606
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.035e-05  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.132e+00  1.561e-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.135e-01  2.785e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28651/likelihoodResults_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.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) = 6192.23095792
delta logL = -0.00121751158167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6192.22974036
delta logL = 5.16929503647e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5423       1.0000          .0000       10.000    
     3 'Normalizat'    .91349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1315       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=   6192.230     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      244 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10059E-03    79.756        .15171E-02** at limit **
   2  Index         2.4953        6.0577        .50000        .16963E-04
   3  Normalizat    .91350        .28136E-01    .37037E-03   -.12585E-05
   4  Prefactor     1.1316        .17070E-01    .20278E-03   -.48214E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100591
  Index      = 2.49534
  Normalizat = 0.913495
  Prefactor  = 1.13155
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.230     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10059E-03    321.90        .30342E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4953        6.1739        .50000       -.52467    
   3  Normalizat    .91350        .61640E-01    .14815E-04   -.95988    
   4  Prefactor     1.1316        .37398E-01    .81114E-05   -.88464    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.08306e-08
Minuit parameter uncertainties:
  1  0.0277421
  2  873.556
  3  0.0616448
  4  0.0373987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28651': 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) = 6192.22974022
delta logL = 1.86465513252e-07

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.006e-04  2.774e-02  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.495e+00  8.736e+02  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.132e+00  3.740e-02  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.135e-01  6.164e-02  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/28651/cmap_HighResolution_604540801_604800001_4FGL_J2153.8-1137_daily_bin1409.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.50e-08', time_completed='2021-09-27 20:51:55.999505', job_id='28651', GAL2='1.13', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632801116.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1409' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:51:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 28651: <4FGL_J2153.8-1137_daily_bin1409> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1409> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 20:35:30 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:37:09 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:37:09 2021
Terminated at Mon Sep 27 20:51:56 2021
Results reported at Mon Sep 27 20:51:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1409 328.461 -11.6306 604540801 604800001 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 :                                   616.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            986 sec.

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

