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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1464
RA = 328.461, Dec = -11.6306
tmin = 618796801, tmax = 619056001
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='28729', job_status='RUN', time_executed='2021-09-27 20:38:53.070284', time_epoch_executed='1632800333.07' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28729/ft1_4FGL_J2153.8-1137_daily_bin1464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28729/ft1_4FGL_J2153.8-1137_daily_bin1464.fits outfile=/scratch/kocevski/28729/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1464.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=618796801.0 tmax=619056001.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.67
user 3.42
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28729/ft1_filtered_4FGL_J2153.8-1137_daily_bin1464.fits" evtable="EVENTS" scfile=/scratch/kocevski/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits sctable="SC_DATA" outfile=/scratch/kocevski/28729/ltcube_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.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/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits
.....................!
real 11.68
user 11.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28729/ft1_filtered_4FGL_J2153.8-1137_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits sctable="SC_DATA" expcube=/scratch/kocevski/28729/ltcube_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.fits outfile=/scratch/kocevski/28729/expmap_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.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/28729/ltcube_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.fits
.....................!
real 191.74
user 185.78
sys 5.61

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/28729/ft1_filtered_4FGL_J2153.8-1137_daily_bin1464.fits scfile=/scratch/kocevski/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits outfile=/scratch/kocevski/28729/cmap_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28729/ft1_filtered_4FGL_J2153.8-1137_daily_bin1464.fits scfile=/scratch/kocevski/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits outfile=/scratch/kocevski/28729/cmap_HighResolution_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28729/ft1_filtered_4FGL_J2153.8-1137_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/28729/ft2_4FGL_J2153.8-1137_daily_bin1464.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28729/Model_4FGL_J2153.8-1137_daily_bin1464.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/28729/ft1_filtered_4FGL_J2153.8-1137_daily_bin1464.fits.....................!
real 51.11
user 49.87
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.733       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1907       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9321       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16778E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.911       1.0000         .10000E-03   10000.    
     9 'norm      '    6.0698       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .83559       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18210E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.914       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.838       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0199       1.0000         .10000E-03   10000.    
    18 'Prefactor '    62.519       1.0000         .10000E-03   10000.    
    19 'norm      '    2.6235       1.0000         .10000E-03   10000.    
    20 'Prefactor '    94.584       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9003       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .68787       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1166       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=   5154.750     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2555 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9756        .90712E-02** at limit **
   2  Prefactor     23.733        17.246        .20556E-02   -.35385E-04
   3  Prefactor     .10000E-03    19.766        .90712E-02** at limit **
   4  Prefactor     9.1901        9.4910        .33050E-02    .22789E-02
   5  Prefactor     1.9326        2.4986        .74698E-02    .52126E-03
   6  Prefactor     .10000E-03    7.1264        .10190    ** at limit **
   7  Prefactor     .10000E-03    15.850        .90712E-02** at limit **
   8  Prefactor     25.907        20.072        .19675E-02   -.56431E-03
   9  norm          6.0694        6.7567        .40741E-02   -.29333E-03
  10  Prefactor     .10000E-03    7.2549        .90712E-02** at limit **
  11  Prefactor     12.266        14.516        .28590E-02   -.39794E-03
  12  Prefactor     .83214        13.589        .12572        .14155E-03
  13  Prefactor     .10000E-03    14.057        .14687    ** at limit **
  14  Prefactor     20.907        18.360        .21896E-02   -.11474E-02
  15  Prefactor     .10000E-03    3.7114        .90712E-02** at limit **
  16  Prefactor     57.837        86.996        .13188E-02    .76318E-03
  17  Prefactor     5.0200        4.1927        .44870E-02    .11753E-03
  18  Prefactor     62.519        63.070        .12687E-02    .67321E-04
  19  norm          2.6227        3.9470        .62948E-02    .41651E-03
  20  Prefactor     94.585        97.651        .10331E-02   -.37271E-03
  21  norm          1.9002        1.1212        .75427E-02    .57208E-04
  22  Normalizat    .68786        .25894        .84385E-01   -.42015E-04
  23  Prefactor     1.1166        .15178        .36988E-01   -.13844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.733
  Prefactor  = 0.0001
  Prefactor  = 9.19012
  Prefactor  = 1.9326
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 25.9067
  norm       = 6.06938
  Prefactor  = 0.0001
  Prefactor  = 12.2656
  Prefactor  = 0.832138
  Prefactor  = 0.000100002
  Prefactor  = 20.907
  Prefactor  = 0.0001
  Prefactor  = 57.8368
  Prefactor  = 5.02
  Prefactor  = 62.5186
  norm       = 2.62267
  Prefactor  = 94.585
  norm       = 1.90019
  Normalizat = 0.687861
  Prefactor  = 1.1166
 **********
 **   18 **HESSE 
 **********

 FCN=   5154.750     FROM HESSE     STATUS=OK           372 CALLS     2927 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.733        17.238        .82223E-04   -1.4733    
   3  Prefactor     .10000E-03    19.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1901        9.4689        .66100E-03   -1.5102    
   5  Prefactor     1.9326        2.4802        .12383E-03   -1.5430    
   6  Prefactor     .10000E-03    41.634        .36424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.907        20.001        .78698E-04   -1.4690    
   9  norm          6.0694        6.7559        .16297E-03   -1.5215    
  10  Prefactor     .10000E-03    7.4078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.266        14.313        .11436E-03   -1.5007    
  12  Prefactor     .83214        81.479        .49338E-02   -1.5526    
  13  Prefactor     .10000E-03    153.41        .51011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.907        18.253        .87584E-04   -1.4793    
  15  Prefactor     .10000E-03    3.7174        .13506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     57.837        86.831        .52751E-04   -1.4185    
  17  Prefactor     5.0200        4.1846        .12877E-03   -1.5260    
  18  Prefactor     62.519        63.047        .50749E-04   -1.4125    
  19  norm          2.6227        3.9164        .16324E-03   -1.5384    
  20  Prefactor     94.585        97.509        .41326E-04   -1.3760    
  21  norm          1.9002        1.1195        .56224E-04   -1.5432    
  22  Normalizat    .68786        .28481        .37373E-03   -1.0437    
  23  Prefactor     1.1166        .17245        .18598E-03   -.88938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37256e-08
Minuit parameter uncertainties:
  1  2.14689e-05
  2  17.2416
  3  4.50135e-05
  4  9.47049
  5  2.4803
  6  0.00030118
  7  2.48331e-05
  8  20.0062
  9  6.7568
  10  9.02417e-06
  11  14.3171
  12  16.4905
  13  0.00116939
  14  18.258
  15  6.26936e-06
  16  87.0215
  17  4.18481
  18  63.1145
  19  3.91679
  20  97.6745
  21  1.11955
  22  0.285422
  23  0.172533
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  9.024e-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:  1.117e+00  1.725e-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:  6.879e-01  2.854e-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: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28729/likelihoodResults_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.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) = 5154.75104644
delta logL = -0.000643385903459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5154.75040337
delta logL = -3.24275788444e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5694       1.0000          .0000       10.000    
     3 'Normalizat'    .68765       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1167       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=   5154.750     FROM MIGRAD    STATUS=FAILED        88 CALLS      242 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10101E-03    422.35        .36285E-03** at limit **
   2  Index         2.6222        6.6116        .50000       -.15561E-04
   3  Normalizat    .68786        .47321E-01    .37373E-03    .84930E-04
   4  Prefactor     1.1166        .29596E-01    .18598E-03    .13530E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5154.750     FROM SIMPLEX   STATUS=UNCHANGED    143 CALLS      385 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10101E-03    422.35        .41227E-03** at limit **
   2  Index         2.6222        6.6116        .52595E-04   -.15561E-04
   3  Normalizat    .68786        .47321E-01    .22737E-05    .84930E-04
   4  Prefactor     1.1166        .29596E-01    .68488E-06    .13530E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5154.750     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      433 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    159.26        .72569E-03** at limit **
   2  Index         2.8030        6.3900        .50000        .40839E-06
   3  Normalizat    .68786        .26977E-01    .14949E-04   -.24898E-03
   4  Prefactor     1.1166        .16872E-01    .37195E-04   -.50811E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.80298
  Normalizat = 0.68786
  Prefactor  = 1.1166
 **********
 **   18 **HESSE 
 **********

 FCN=   5154.750     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      462 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    673.10        .14514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8030        5.0599        .50000       -.45493    
   3  Normalizat    .68786        .61066E-01    .29899E-05   -1.0437    
   4  Prefactor     1.1166        .38184E-01    .74391E-05   -.88938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05809e-09
Minuit parameter uncertainties:
  1  0.00165944
  2  772.099
  3  0.061072
  4  0.0381847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28729': 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) = 5154.75040243
delta logL = 6.1864102463e-07

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.659e-03  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.803e+00  7.721e+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.117e+00  3.818e-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:  6.879e-01  6.107e-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/28729/cmap_HighResolution_618796801_619056001_4FGL_J2153.8-1137_daily_bin1464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.07e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-27 20:51:15.717432', job_id='28729', GAL2='1.12', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632801075.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1464' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:51:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 28729: <4FGL_J2153.8-1137_daily_bin1464> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1464 328.461 -11.6306 618796801 619056001 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 :                                   576.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             309.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            942 sec.

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

