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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1285
RA = 328.461, Dec = -11.6306
tmin = 572400001, tmax = 572659201
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='28471', job_status='RUN', time_executed='2021-09-27 20:37:44.315102', time_epoch_executed='1632800264.32' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28471

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28471/ft1_4FGL_J2153.8-1137_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28471/ft1_4FGL_J2153.8-1137_daily_bin1285.fits outfile=/scratch/kocevski/28471/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1285.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=572400001.0 tmax=572659201.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.64
user 3.41
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28471/ft1_filtered_4FGL_J2153.8-1137_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/28471/ltcube_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.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/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits
.....................!
real 11.73
user 11.42
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28471/ft1_filtered_4FGL_J2153.8-1137_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/28471/ltcube_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.fits outfile=/scratch/kocevski/28471/expmap_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.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/28471/ltcube_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.fits
.....................!
real 190.18
user 184.62
sys 5.23

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/28471/ft1_filtered_4FGL_J2153.8-1137_daily_bin1285.fits scfile=/scratch/kocevski/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits outfile=/scratch/kocevski/28471/cmap_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.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.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28471/ft1_filtered_4FGL_J2153.8-1137_daily_bin1285.fits scfile=/scratch/kocevski/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits outfile=/scratch/kocevski/28471/cmap_HighResolution_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.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/28471/ft1_filtered_4FGL_J2153.8-1137_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/28471/ft2_4FGL_J2153.8-1137_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28471/Model_4FGL_J2153.8-1137_daily_bin1285.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/28471/ft1_filtered_4FGL_J2153.8-1137_daily_bin1285.fits.....................!
real 68.85
user 67.52
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9111       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.458       1.0000         .10000E-03   10000.    
     9 'norm      '    4.0384       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.076       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.957       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    508.58       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13636       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    11.475       1.0000         .10000E-03   10000.    
    20 'Prefactor '    120.74       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0410       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4744       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94236       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=   7073.124     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2575 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.224        .38165E-05** at limit **
   2  Prefactor     .10000E-03    4.8842       -.24463E-06** at limit **
   3  Prefactor     .10000E-03    18.253       -.41973E-06** at limit **
   4  Prefactor     5.9114        6.2792        .23002E-05   -.12167E-03
   5  Prefactor     .10000E-03    1.4803        .36084E-06** at limit **
   6  Prefactor     .10000E-03    4.3336       -.74624E-07** at limit **
   7  Prefactor     37.785        48.184       -.39394E-04   -.56469E-05
   8  Prefactor     25.457        20.587       -.13981E-05    .20500E-04
   9  norm          4.0387        4.2327       -.11614E-05    .22178E-03
  10  Prefactor     .10000E-03    2.7310       -.20187E-07** at limit **
  11  Prefactor     .10006E-03    8.0506        .15585E-05** at limit **
  12  Prefactor     11.076        10.981       -.35541E-07    .24802E-04
  13  Prefactor     .10000E-03    18.851       -.40931E-05** at limit **
  14  Prefactor     16.956        19.185       -.16832E-05    .20733E-04
  15  Prefactor     .10000E-03    45.480       -.48249E-05** at limit **
  16  Prefactor     508.59        173.96        .15170E-05    .29862E-04
  17  Prefactor     .13386        3.4433       -.87439E-06    .11985E-03
  18  Prefactor     .10000E-03    18.633       -.24448E-05** at limit **
  19  norm          11.474        6.7953       -.33477E-05    .48564E-04
  20  Prefactor     120.74        104.22       -.25471E-05    .24199E-04
  21  norm          1.0408        .78509       -.28558E-07    .85865E-04
  22  Normalizat    1.4744        .24868        .39181E-05   -.72422E-05
  23  Prefactor     .94231        .14156        .15163E-05    .10352E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.91143
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.7849
  Prefactor  = 25.457
  norm       = 4.03868
  Prefactor  = 0.0001
  Prefactor  = 0.000100058
  Prefactor  = 11.0759
  Prefactor  = 0.0001
  Prefactor  = 16.9561
  Prefactor  = 0.0001
  Prefactor  = 508.587
  Prefactor  = 0.133863
  Prefactor  = 0.0001
  norm       = 11.4739
  Prefactor  = 120.741
  norm       = 1.04084
  Normalizat = 1.47442
  Prefactor  = 0.942315
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.124     FROM HESSE     STATUS=OK           372 CALLS     2947 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.8920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.9114        6.2685        .16517E-03   -1.5222    
   5  Prefactor     .10000E-03    1.5323        .19979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.3584        .17097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.785        48.293        .65175E-04   -1.4478    
   8  Prefactor     25.457        20.663        .79393E-04   -1.4698    
   9  norm          4.0387        4.2340        .17268E-03   -1.5306    
  10  Prefactor     .10000E-03    2.7399        .13570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10006E-03    32.196        .46082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.076        10.980        .12038E-03   -1.5042    
  13  Prefactor     .10000E-03    18.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.956        19.271        .97262E-04   -1.4884    
  15  Prefactor     .10000E-03    46.742        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     508.59        173.83        .91030E-04   -1.1158    
  17  Prefactor     .13386        20.606        .29779E-02   -1.5635    
  18  Prefactor     .10000E-03    18.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.474        6.7813        .11826E-03   -1.5030    
  20  Prefactor     120.74        104.16        .18312E-03   -1.3506    
  21  norm          1.0408        .77202        .62916E-04   -1.5504    
  22  Normalizat    1.4744        .29909        .31877E-03   -.78500    
  23  Prefactor     .94231        .17003        .22786E-03   -.94678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52136e-09
Minuit parameter uncertainties:
  1  0.000115395
  2  1.80034e-05
  3  8.52738e-05
  4  6.26922
  5  4.54612e-05
  6  1.86283e-05
  7  48.3432
  8  20.6683
  9  4.23435
  10  5.77953e-06
  11  0.00274529
  12  10.9818
  13  3.71835e-05
  14  19.2779
  15  1.41485e-05
  16  174.011
  17  3.32162
  18  9.66086e-06
  19  6.78179
  20  104.319
  21  0.772032
  22  0.299451
  23  0.170127
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.780e-06  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:  9.423e-01  1.701e-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.474e+00  2.995e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28471/likelihoodResults_572400001_572659201_4FGL_J2153.8-1137_daily_bin1285.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) = 7073.12602362
delta logL = -0.00173351107969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7073.1242901
delta logL = 4.20004653279e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5447       1.0000          .0000       10.000    
     3 'Normalizat'    1.4744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94233       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7073.124     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10080E-03    151.04        .13603E-02** at limit **
   2  Index         2.4679        7.9770        .50000        .18181E-04
   3  Normalizat    1.4744        .47937E-01    .31877E-03   -.26249E-04
   4  Prefactor     .94231        .28352E-01    .22786E-03   -.25794E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7073.124     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      379 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10080E-03    151.04        .28255E-03** at limit **
   2  Index         2.4679        7.9770        .76324E-04    .18181E-04
   3  Normalizat    1.4744        .47937E-01    .84647E-06   -.26249E-04
   4  Prefactor     .94231        .28352E-01    .23723E-06   -.25794E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7073.124     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      419 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    683.89        .27205E-03** at limit **
   2  Index         2.2683        8.6717        .50000       -.63278E-07
   3  Normalizat    1.4744        .23801        .12751E-04    .12126E-03
   4  Prefactor     .94231        .14076        .91146E-05    .18011E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26834
  Normalizat = 1.47442
  Prefactor  = 0.942314
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.124     FROM HESSE     STATUS=OK            29 CALLS      448 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0081        .54411E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2683        5.1006        .50000       -.57798    
   3  Normalizat    1.4744        .28383        .25501E-05   -.78500    
   4  Prefactor     .94231        .16795        .18229E-05   -.94678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81745e-11
Minuit parameter uncertainties:
  1  7.23828e-07
  2  113.363
  3  0.284139
  4  0.168041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28471': 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) = 7073.12428925
delta logL = 8.51699041959e-07

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  7.238e-07  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.268e+00  1.134e+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:  9.423e-01  1.680e-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.474e+00  2.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 328.461 -11.631

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-03', job_status='DONE', photon_flux_upper_limit='9.18e-08', time_completed='2021-09-27 20:49:30.002931', job_id='28471', GAL2='0.94', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1632800970.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1285' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:49:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 28471: <4FGL_J2153.8-1137_daily_bin1285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1285 328.461 -11.6306 572400001 572659201 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 :                                   681.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            853 sec.

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

