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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1107
RA = 328.461, Dec = -11.6306
tmin = 526262401, tmax = 526521601
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='24329', job_status='RUN', time_executed='2021-09-27 20:26:39.222285', time_epoch_executed='1632799599.22' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24329

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24329/ft1_4FGL_J2153.8-1137_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24329/ft1_4FGL_J2153.8-1137_daily_bin1107.fits outfile=/scratch/kocevski/24329/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1107.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=526262401.0 tmax=526521601.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 4.08
user 3.82
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24329/ft1_filtered_4FGL_J2153.8-1137_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/24329/ltcube_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.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/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits
.....................!
real 18.47
user 18.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24329/ft1_filtered_4FGL_J2153.8-1137_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/24329/ltcube_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.fits outfile=/scratch/kocevski/24329/expmap_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.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/24329/ltcube_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.fits
.....................!
real 194.22
user 189.19
sys 4.50

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/24329/ft1_filtered_4FGL_J2153.8-1137_daily_bin1107.fits scfile=/scratch/kocevski/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits outfile=/scratch/kocevski/24329/cmap_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24329/ft1_filtered_4FGL_J2153.8-1137_daily_bin1107.fits scfile=/scratch/kocevski/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits outfile=/scratch/kocevski/24329/cmap_HighResolution_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=328.461 yref=-11.6306 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.42
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/24329/ft1_filtered_4FGL_J2153.8-1137_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/24329/ft2_4FGL_J2153.8-1137_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/24329/Model_4FGL_J2153.8-1137_daily_bin1107.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/24329/ft1_filtered_4FGL_J2153.8-1137_daily_bin1107.fits.....................!
real 69.97
user 68.37
sys 1.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6218       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20698E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.814       1.0000         .10000E-03   10000.    
     9 'norm      '    3.9597       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.519       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11376E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.831       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.322       1.0000         .10000E-03   10000.    
    16 'Prefactor '    163.01       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.3219       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .95207       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0986       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90105       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=   7070.041     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2589 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.463        19.164        .12358E-07    .85802E-04
   2  Prefactor     .10000E-03    5.8328       -.22139E-06** at limit **
   3  Prefactor     .10000E-03    26.104       -.65849E-07** at limit **
   4  Prefactor     .10000E-03    1.6549       -.11277E-06** at limit **
   5  Prefactor     1.6215        2.0385        .33235E-07   -.22402E-04
   6  Prefactor     .10000E-03    2.9877       -.18666E-06** at limit **
   7  Prefactor     .10019E-03    121.50        .33432E-04** at limit **
   8  Prefactor     11.809        14.483       -.33703E-06    .93708E-04
   9  norm          3.9599        3.8589        .71618E-07    .40068E-04
  10  Prefactor     12.516        8.0919       -.13871E-06    .18499E-03
  11  Prefactor     .10000E-03    7.0631       -.27176E-06** at limit **
  12  Prefactor     .10000E-03    38.779       -.13705E-05** at limit **
  13  Prefactor     .10000E-03    6.9309       -.10379E-06** at limit **
  14  Prefactor     22.825        17.414       -.71988E-06    .69595E-04
  15  Prefactor     17.324        12.858        .35023E-07    .70937E-04
  16  Prefactor     162.52        126.12        .30184E-05    .16582E-03
  17  Prefactor     .10000E-03    3.7071        .32090E-06** at limit **
  18  Prefactor     .10000E-03    19.773       -.76745E-07** at limit **
  19  norm          6.3217        4.7400       -.11857E-05   -.40075E-03
  20  Prefactor     .10000E-03    57.236        .78247E-06** at limit **
  21  norm          .95123        .68550        .16549E-06    .82251E-03
  22  Normalizat    1.0993        .21673        .54012E-05    .61164E-03
  23  Prefactor     .90069        .12377       -.28521E-05   -.31002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.4631
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.62146
  Prefactor  = 0.0001
  Prefactor  = 0.000100185
  Prefactor  = 11.8091
  norm       = 3.95986
  Prefactor  = 12.5157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.825
  Prefactor  = 17.3241
  Prefactor  = 162.519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.32172
  Prefactor  = 0.000100001
  norm       = 0.95123
  Normalizat = 1.0993
  Prefactor  = 0.900691
 **********
 **   18 **HESSE 
 **********

 FCN=   7070.041     FROM HESSE     STATUS=OK           364 CALLS     2953 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.463        19.168        .57598E-04   -1.4315    
   2  Prefactor     .10000E-03    5.8799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    26.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.6587        .10564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6215        2.0147        .12955E-03   -1.5453    
   6  Prefactor     .10000E-03    3.0072        .14193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10019E-03    129.66        .66459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.809        14.505        .11655E-03   -1.5021    
   9  norm          3.9599        3.8662        .15907E-03   -1.5310    
  10  Prefactor     12.516        8.0996        .11321E-03   -1.5000    
  11  Prefactor     .10000E-03    7.1009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.825        17.583        .83829E-04   -1.4752    
  15  Prefactor     17.324        12.835        .96232E-04   -1.4875    
  16  Prefactor     162.52        126.83        .15794E-03   -1.3151    
  17  Prefactor     .10000E-03    3.7571        .15775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.3217        4.8150        .73128E-03   -1.5205    
  20  Prefactor     .10000E-03    57.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .95123        .68420        .57508E-04   -1.5513    
  22  Normalizat    1.0993        .25789        .30413E-03   -.89774    
  23  Prefactor     .90069        .14621        .20231E-03   -.96117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75528e-09
Minuit parameter uncertainties:
  1  19.1701
  2  1.26569e-05
  3  3.10527e-05
  4  3.73081e-06
  5  2.01477
  6  1.87591e-06
  7  0.0098281
  8  14.5095
  9  3.86643
  10  8.10029
  11  1.71222e-05
  12  5.18501e-05
  13  5.97441e-06
  14  17.5873
  15  12.8372
  16  127.044
  17  5.8561e-05
  18  3.63397e-05
  19  4.81528
  20  0.000496003
  21  0.684208
  22  0.25819
  23  0.14627
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.252e+01  8.100e+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

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  9.007e-01  1.463e-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.099e+00  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 9.21e-08 +/- 5.96e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.64e-05

TS (Fixed Index): 3.58
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 2.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.60e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/24329/likelihoodResults_526262401_526521601_4FGL_J2153.8-1137_daily_bin1107.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): 0
logL (Free Index) = 7069.69871899
delta logL = 0.342018439233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7069.68381834
delta logL = 0.356919089598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0138       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1687       1.0000          .0000       10.000    
     3 'Normalizat'    1.0437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92463       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7069.684     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      292 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0092        11.880        .60790E-03   -.13691E-03
   2  Index         3.1690        1.1399        .56735E-02    .47096E-03
   3  Normalizat    1.0436        .25054        .31087E-03   -.47323E-04
   4  Prefactor     .92460        .14871        .19997E-03   -.82378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.00925
  Index      = 3.16905
  Normalizat = 1.04365
  Prefactor  = 0.924601
 **********
 **   18 **HESSE 
 **********

 FCN=   7069.684     FROM HESSE     STATUS=OK            27 CALLS      319 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0092        8.9598        .24316E-04   -1.5142    
   2  Index         3.1690        .86229        .11347E-02   -.37491    
   3  Normalizat    1.0436        .24859        .12435E-04   -.91582    
   4  Prefactor     .92460        .14737        .79989E-05   -.95287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09264e-11
Minuit parameter uncertainties:
  1  8.96129
  2  0.867302
  3  0.248869
  4  0.147431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24329': 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) = 7069.68381809
delta logL = 0.356919336666

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  8.009e+00  8.961e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.169e+00  8.673e-01  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.246e-01  1.474e-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.044e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.45
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 3.17 +/- 0.87
Photon Flux (Free Index): 1.33e-07 +/- 8.02e-08
Energy Flux (Free Index): 2.46e-05 +/- 1.39e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-02', comment='SUCCESS', photon_flux='9.21e-08', energy_flux2='2.46e-05', photon_flux_error='5.96e-08', dlogl='3.57e-01', energy_flux='2.53e-05', photon_flux2='1.33e-07', job_status='DONE', time_completed='2021-09-27 20:38:40.500177', photon_index_error2='0.87', photon_index2='3.17', ts='3.58', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='2.05e-07', energy_flux_error2='1.39e-05', EG='1.10', time_epoch_completed='1632800320.5', return_code='0', job_id='24329', GAL2='0.92', EG2='1.04', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='8.02e-08', ts2='4.45', photon_index='2.55' WHERE bin_id='1107' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:38:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 24329: <4FGL_J2153.8-1137_daily_bin1107> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1107> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 20:20:12 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:26:26 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:26:26 2021
Terminated at Mon Sep 27 20:38:41 2021
Results reported at Mon Sep 27 20:38:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1107 328.461 -11.6306 526262401 526521601 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 :                                   713.59 sec.
    Max Memory :                                 617 MB
    Average Memory :                             305.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            1109 sec.

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

