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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1320
RA = 328.461, Dec = -11.6306
tmin = 581472001, tmax = 581731201
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='28521', job_status='RUN', time_executed='2021-09-27 20:38:11.348120', time_epoch_executed='1632800291.35' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28521

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28521/ft1_4FGL_J2153.8-1137_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28521/ft1_4FGL_J2153.8-1137_daily_bin1320.fits outfile=/scratch/kocevski/28521/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1320.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=581472001.0 tmax=581731201.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.84
user 2.60
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28521/ft1_filtered_4FGL_J2153.8-1137_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/28521/ltcube_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.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/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits
.....................!
real 16.81
user 16.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28521/ft1_filtered_4FGL_J2153.8-1137_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/28521/ltcube_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.fits outfile=/scratch/kocevski/28521/expmap_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.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/28521/ltcube_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.fits
.....................!
real 191.87
user 186.08
sys 5.21

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/28521/ft1_filtered_4FGL_J2153.8-1137_daily_bin1320.fits scfile=/scratch/kocevski/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits outfile=/scratch/kocevski/28521/cmap_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.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/28521/ft1_filtered_4FGL_J2153.8-1137_daily_bin1320.fits scfile=/scratch/kocevski/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits outfile=/scratch/kocevski/28521/cmap_HighResolution_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28521/ft1_filtered_4FGL_J2153.8-1137_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/28521/ft2_4FGL_J2153.8-1137_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28521/Model_4FGL_J2153.8-1137_daily_bin1320.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/28521/ft1_filtered_4FGL_J2153.8-1137_daily_bin1320.fits.....................!
real 64.09
user 62.63
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.854       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .37356       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4251       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2544       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21466E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5240       1.0000         .10000E-03   10000.    
    16 'Prefactor '    133.98       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .63031E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11039E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.3173       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2971       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75446       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=   6481.005     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2917 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.861        19.217        .45826E-07   -.58376E-05
   2  Prefactor     .10000E-03    10.158        .40320E-06** at limit **
   3  Prefactor     .10000E-03    31.204        .86274E-06** at limit **
   4  Prefactor     .10000E-03    1.9173        .17500E-06** at limit **
   5  Prefactor     .10000E-03    .80070        .21242E-06** at limit **
   6  Prefactor     .37553        6.1646        .21585E-06    .99048E-04
   7  Prefactor     .10000E-03    9.7170        .13954E-06** at limit **
   8  Prefactor     5.4247        14.139       -.37907E-06   -.16581E-05
   9  norm          .10000E-03    2.1435        .44941E-07** at limit **
  10  Prefactor     .10000E-03    2.2004        .24800E-06** at limit **
  11  Prefactor     4.2559        8.9349        .16030E-06   -.12030E-04
  12  Prefactor     .10000E-03    19.004        .61285E-06** at limit **
  13  Prefactor     .10000E-03    4.3006        .81005E-07** at limit **
  14  Prefactor     .10000E-03    47.985       -.26554E-05** at limit **
  15  Prefactor     6.5242        6.8392        .67600E-08   -.16109E-04
  16  Prefactor     133.96        76.887       -.12101E-05    .15824E-05
  17  Prefactor     .10000E-03    1.0836        .14404E-06** at limit **
  18  Prefactor     .10000E-03    876.55        .18073E-04** at limit **
  19  norm          .10000E-03    1.1644        .30577E-06** at limit **
  20  Prefactor     .10000E-03    135.70        .21132E-05** at limit **
  21  norm          3.3174        1.1387        .16319E-06    .13230E-03
  22  Normalizat    1.2969        .20415       -.36079E-06   -.42384E-04
  23  Prefactor     .75448        .12107       -.66776E-06    .47790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.375526
  Prefactor  = 0.0001
  Prefactor  = 5.42473
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.25586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.52423
  Prefactor  = 133.963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.31736
  Normalizat = 1.29686
  Prefactor  = 0.754484
 **********
 **   18 **HESSE 
 **********

 FCN=   6481.005     FROM HESSE     STATUS=OK           370 CALLS     3287 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.861        19.215        .85681E-04   -1.4773    
   2  Prefactor     .10000E-03    10.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9340        .10891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .81534        .70416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .37553        25.325        .37591E-02   -1.5585    
   7  Prefactor     .10000E-03    9.7205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4247        14.169        .17252E-03   -1.5242    
   9  norm          .10000E-03    2.1451        .11512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.2187        .11671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2559        8.9407        .19535E-03   -1.5295    
  12  Prefactor     .10000E-03    19.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3044        .16306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.140        .40363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5242        6.8359        .15712E-03   -1.5197    
  16  Prefactor     133.96        76.787        .17396E-03   -1.3388    
  17  Prefactor     .10000E-03    1.0913        .81862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    871.25        .37730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.1946        .84926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    137.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.3174        1.1446        .48652E-04   -1.5344    
  22  Normalizat    1.2969        .24343        .26475E-03   -.83660    
  23  Prefactor     .75448        .14429        .20272E-03   -1.0143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77024e-10
Minuit parameter uncertainties:
  1  19.2201
  2  4.98855e-06
  3  1.3755e-05
  4  3.10462e-07
  5  3.26013e-07
  6  6.16968
  7  3.87454e-07
  8  14.1781
  9  4.28191e-07
  10  1.15146e-07
  11  8.94349
  12  7.82419e-06
  13  2.33542e-07
  14  0.00018095
  15  6.83672
  16  76.844
  17  1.26857e-07
  18  0.00122651
  19  1.53863e-07
  20  0.000140854
  21  1.14464
  22  0.243643
  23  0.14436
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.151e-07  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.545e-01  1.444e-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.436e-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: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28521/likelihoodResults_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.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) = 6481.00683139
delta logL = -0.00214136932391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6481.00469004
delta logL = -2.2625499696e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5463       1.0000          .0000       10.000    
     3 'Normalizat'    1.2969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75451       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=   6481.005     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10045E-03    107.09        .11689E-02** at limit **
   2  Index         2.4916        5.2496        .50000        .17480E-04
   3  Normalizat    1.2969        .36729E-01    .26475E-03   -.26323E-04
   4  Prefactor     .75448        .22200E-01    .10136E-02   -.20919E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6481.005     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      379 TOTAL
                     EDM=   .60E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10045E-03    107.09        .19596E-03** at limit **
   2  Index         2.4916        5.2496        .39230E-03    .17480E-04
   3  Normalizat    1.2969        .36729E-01    .49167E-05   -.26323E-04
   4  Prefactor     .75448        .22200E-01    .29240E-05   -.20919E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6481.005     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      419 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    467.84        .23377E-03** at limit **
   2  Index         2.3459        8.5824        .50000       -.69576E-08
   3  Normalizat    1.2969        .12213        .10590E-04    .12002E-03
   4  Prefactor     .75448        .73782E-01    .40543E-04    .16858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3459
  Normalizat = 1.29686
  Prefactor  = 0.754484
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4717        .46755E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3459        5.2442        .50000       -.55957    
   3  Normalizat    1.2969        .23571        .21180E-05   -.83660    
   4  Prefactor     .75448        .14250        .81086E-05   -1.0143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90549e-11
Minuit parameter uncertainties:
  1  1.45259e-07
  2  107.007
  3  0.2359
  4  0.142573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28521': 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) = 6481.00468943
delta logL = 5.87659997109e-07

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.453e-07  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.346e+00  1.070e+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:  7.545e-01  1.426e-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.359e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/28521/cmap_HighResolution_581472001_581731201_4FGL_J2153.8-1137_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-09-27 20:51:04.789513', job_id='28521', GAL2='0.75', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1632801064.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='5.88e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1320' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:51:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 28521: <4FGL_J2153.8-1137_daily_bin1320> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1320 328.461 -11.6306 581472001 581731201 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 :                                   684.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            944 sec.

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

