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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1253
RA = 328.461, Dec = -11.6306
tmin = 564105601, tmax = 564364801
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='28420', job_status='RUN', time_executed='2021-09-27 20:35:54.540539', time_epoch_executed='1632800154.54' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28420

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28420/ft1_4FGL_J2153.8-1137_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28420/ft1_4FGL_J2153.8-1137_daily_bin1253.fits outfile=/scratch/kocevski/28420/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1253.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=564105601.0 tmax=564364801.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.26
user 3.06
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28420/ft1_filtered_4FGL_J2153.8-1137_daily_bin1253.fits" evtable="EVENTS" scfile=/scratch/kocevski/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits sctable="SC_DATA" outfile=/scratch/kocevski/28420/ltcube_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.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/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits
.....................!
real 15.51
user 15.15
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28420/ft1_filtered_4FGL_J2153.8-1137_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/28420/ltcube_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.fits outfile=/scratch/kocevski/28420/expmap_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.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/28420/ltcube_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.fits
.....................!
real 191.24
user 185.78
sys 5.14

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/28420/ft1_filtered_4FGL_J2153.8-1137_daily_bin1253.fits scfile=/scratch/kocevski/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits outfile=/scratch/kocevski/28420/cmap_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28420/ft1_filtered_4FGL_J2153.8-1137_daily_bin1253.fits scfile=/scratch/kocevski/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits outfile=/scratch/kocevski/28420/cmap_HighResolution_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28420/ft1_filtered_4FGL_J2153.8-1137_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/28420/ft2_4FGL_J2153.8-1137_daily_bin1253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28420/Model_4FGL_J2153.8-1137_daily_bin1253.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/28420/ft1_filtered_4FGL_J2153.8-1137_daily_bin1253.fits....................!
real 70.40
user 69.11
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.561       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .73189E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9670       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.362       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9562       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40424E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0014       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3113       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.475       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9499       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.3890       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93192       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0555       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=   7547.884     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2191 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.570        13.926        .35390E-06   -.10254E-04
   2  Prefactor     .10000E-03    5.7150        .29184E-06** at limit **
   3  Prefactor     .10000E-03    11.170        .18015E-06** at limit **
   4  Prefactor     .10000E-03    3.7116        .51928E-06** at limit **
   5  Prefactor     .75023E-01    .72645       -.16210E-06    .72359E-03
   6  Prefactor     2.9673        7.9165        .92838E-06    .15276E-04
   7  Prefactor     .10000E-03    25.452        .58907E-06** at limit **
   8  Prefactor     16.350        13.843       -.10665E-06   -.22951E-04
   9  norm          4.9563        4.8297       -.23868E-07   -.11741E-04
  10  Prefactor     .10000E-03    1.4754        .62126E-07** at limit **
  11  Prefactor     .10019E-03    6.4476       -.93187E-06** at limit **
  12  Prefactor     .10000E-03    3.6710       -.39675E-08** at limit **
  13  Prefactor     .10000E-03    3.5556        .63124E-07** at limit **
  14  Prefactor     7.0079        11.127        .41108E-05    .11299E-03
  15  Prefactor     9.3088        9.8377        .14756E-06    .17231E-04
  16  Prefactor     13.338        82.162       -.29585E-05   -.40206E-04
  17  Prefactor     .10000E-03    1.3201       -.82472E-08** at limit **
  18  Prefactor     .10000E-03    17.286       -.42147E-07** at limit **
  19  norm          1.9517        2.2361       -.34264E-06   -.10225E-03
  20  Prefactor     .10000E-03    17.506       -.45266E-07** at limit **
  21  norm          1.3892        .83448       -.75489E-07   -.19006E-03
  22  Normalizat    .93182        .19935        .75059E-06   -.14260E-04
  23  Prefactor     1.0555        .11824       -.14469E-05    .10432E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0750233
  Prefactor  = 2.96728
  Prefactor  = 0.0001
  Prefactor  = 16.3496
  norm       = 4.9563
  Prefactor  = 0.0001
  Prefactor  = 0.000100186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.00793
  Prefactor  = 9.30879
  Prefactor  = 13.3381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.95169
  Prefactor  = 0.0001
  norm       = 1.38923
  Normalizat = 0.931816
  Prefactor  = 1.05553
 **********
 **   18 **HESSE 
 **********

 FCN=   7547.884     FROM HESSE     STATUS=OK           374 CALLS     2565 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.570        13.920        .12329E-03   -1.5058    
   2  Prefactor     .10000E-03    5.7319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.7849        .16355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .75023E-01    6.5921        .14204E-02   -1.5653    
   6  Prefactor     2.9673        7.9115        .23573E-03   -1.5363    
   7  Prefactor     .10000E-03    25.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.350        13.859        .99016E-04   -1.4899    
   9  norm          4.9563        4.8341        .18065E-03   -1.5263    
  10  Prefactor     .10000E-03    1.4795        .10302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10019E-03    48.411        .41862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.6731        .16257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.5578        .15999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.0079        11.419        .75807E-03   -1.5178    
  15  Prefactor     9.3088        9.8603        .13134E-03   -1.5098    
  16  Prefactor     13.338        83.452        .10912E-03   -1.4977    
  17  Prefactor     .10000E-03    1.3271        .97317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9517        2.2192        .13335E-03   -1.5429    
  20  Prefactor     .10000E-03    17.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.3892        .83077        .59639E-04   -1.5472    
  22  Normalizat    .93182        .23397        .31244E-03   -.95351    
  23  Prefactor     1.0555        .13803        .18316E-03   -.90901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59194e-09
Minuit parameter uncertainties:
  1  13.9244
  2  7.73411e-06
  3  1.58246e-05
  4  1.29863e-05
  5  1.40572
  6  7.91432
  7  6.46691e-05
  8  13.8622
  9  4.83443
  10  1.52011e-06
  11  0.0060061
  12  5.2951e-06
  13  3.30066e-06
  14  11.4226
  15  9.86201
  16  66.8639
  17  1.54185e-06
  18  7.72622e-06
  19  2.21931
  20  3.05229e-06
  21  0.830775
  22  0.234222
  23  0.138074
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.520e-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.056e+00  1.381e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  9.318e-01  2.342e-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: 5.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28420/likelihoodResults_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.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) = 7547.88697547
delta logL = -0.00319923182997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7547.88377621
delta logL = 3.26062945533e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5472       1.0000          .0000       10.000    
     3 'Normalizat'    .93181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7547.884     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      248 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    209.12        .10314E-02** at limit **
   2  Index         2.2756        8.3349        .50000       -.57480E-07
   3  Normalizat    .93182        .69464E-01    .31243E-03    .56764E-04
   4  Prefactor     1.0555        .43342E-01    .18316E-03    .12608E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27563
  Normalizat = 0.931817
  Prefactor  = 1.05553
 **********
 **   18 **HESSE 
 **********

 FCN=   7547.884     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .97E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0927        .20627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2756        8.4189        .50000       -.57624    
   3  Normalizat    .93182        .21749        .12497E-04   -.95351    
   4  Prefactor     1.0555        .13579        .36632E-04   -.90901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.74093e-12
Minuit parameter uncertainties:
  1  2.45865e-06
  2  120.177
  3  0.217694
  4  0.135835
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28420': 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) = 7547.88377521
delta logL = 1.03207366919e-06

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  2.459e-06  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.276e+00  1.202e+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.056e+00  1.358e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  9.318e-01  2.177e-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/28420/cmap_HighResolution_564105601_564364801_4FGL_J2153.8-1137_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2021-09-27 20:47:09.536469', job_id='28420', GAL2='1.06', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632800829.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1253' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:47:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 28420: <4FGL_J2153.8-1137_daily_bin1253> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1253 328.461 -11.6306 564105601 564364801 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 :                                   669.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            717 sec.

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

