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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1630
RA = 328.461, Dec = -11.6306
tmin = 661824001, tmax = 662083201
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='498841', job_status='RUN', time_executed='2021-12-25 00:58:55.965296', time_epoch_executed='1640422735.97' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498841

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498841/ft1_4FGL_J2153.8-1137_daily_bin1630.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498841/ft1_4FGL_J2153.8-1137_daily_bin1630.fits outfile=/scratch/kocevski/498841/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1630.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=661824001.0 tmax=662083201.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.88
user 3.64
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498841/ft1_filtered_4FGL_J2153.8-1137_daily_bin1630.fits" evtable="EVENTS" scfile=/scratch/kocevski/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits sctable="SC_DATA" outfile=/scratch/kocevski/498841/ltcube_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.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/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits
.....................!
real 12.32
user 11.94
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498841/ft1_filtered_4FGL_J2153.8-1137_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits sctable="SC_DATA" expcube=/scratch/kocevski/498841/ltcube_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.fits outfile=/scratch/kocevski/498841/expmap_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.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/498841/ltcube_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.fits
.....................!
real 157.16
user 152.88
sys 3.87

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/498841/ft1_filtered_4FGL_J2153.8-1137_daily_bin1630.fits scfile=/scratch/kocevski/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits outfile=/scratch/kocevski/498841/cmap_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.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.50
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498841/ft1_filtered_4FGL_J2153.8-1137_daily_bin1630.fits scfile=/scratch/kocevski/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits outfile=/scratch/kocevski/498841/cmap_HighResolution_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.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.49
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/498841/ft1_filtered_4FGL_J2153.8-1137_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/498841/ft2_4FGL_J2153.8-1137_daily_bin1630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/498841/Model_4FGL_J2153.8-1137_daily_bin1630.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/498841/ft1_filtered_4FGL_J2153.8-1137_daily_bin1630.fits.....................!
real 54.50
user 53.21
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.831       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1337       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1804       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.097       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.288       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.943       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13662E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .70707       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.814       1.0000         .10000E-03   10000.    
    19 'norm      '    5.5131       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4097       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85128       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95203       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=   7143.919     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2541 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2469        .90712E-02** at limit **
   2  Prefactor     .10000E-03    4.8450        .90712E-02** at limit **
   3  Prefactor     27.831        40.605        .18985E-02    .24654E-04
   4  Prefactor     4.1337        4.2833        .49565E-02    .26942E-03
   5  Prefactor     3.1804        2.7423        .56808E-02    .35276E-03
   6  Prefactor     .10000E-03    3.1623        .90712E-02** at limit **
   7  Prefactor     .10000E-03    11.762        .90712E-02** at limit **
   8  Prefactor     .10000E-03    5.7530        .90712E-02** at limit **
   9  norm          .10000E-03    4.2236        .90712E-02** at limit **
  10  Prefactor     12.097        6.1799        .28794E-02    .26984E-02
  11  Prefactor     .10000E-03    3.8418        .90712E-02** at limit **
  12  Prefactor     14.421        12.631        .26368E-02    .46981E-03
  13  Prefactor     30.289        17.572        .18200E-02   -.11056E-04
  14  Prefactor     10.943        10.379        .30278E-02    .78275E-04
  15  Prefactor     .10000E-03    4.3004        .66605E-01** at limit **
  16  Prefactor     .10000E-03    26.194        .90712E-02** at limit **
  17  Prefactor     .70805        3.6074        .12089E-01    .16819E-02
  18  Prefactor     20.812        27.484        .21948E-02    .60109E-03
  19  norm          5.5129        3.1265        .42779E-02    .16031E-03
  20  Prefactor     .10000E-03    60.945        .90712E-02** at limit **
  21  norm          1.4098        .84926        .91234E-02    .51807E-03
  22  Normalizat    .85126        .18296        .68610E-01    .22829E-04
  23  Prefactor     .95204        .11278        .45665E-01    .20125E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.8315
  Prefactor  = 4.13373
  Prefactor  = 3.18035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.0967
  Prefactor  = 0.0001
  Prefactor  = 14.4208
  Prefactor  = 30.2886
  Prefactor  = 10.9431
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.708053
  Prefactor  = 20.8122
  norm       = 5.51292
  Prefactor  = 0.0001
  norm       = 1.40982
  Normalizat = 0.851265
  Prefactor  = 0.952043
 **********
 **   18 **HESSE 
 **********

 FCN=   7143.919     FROM HESSE     STATUS=OK           372 CALLS     2913 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2490        .14874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.8657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.831        40.539        .75940E-04   -1.4652    
   4  Prefactor     4.1337        4.2784        .17233E-03   -1.5301    
   5  Prefactor     3.1804        2.7327        .11906E-03   -1.5351    
   6  Prefactor     .10000E-03    3.2148        .14676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.7798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.2648        .16963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.097        6.1891        .57588E-03   -1.5012    
  11  Prefactor     .10000E-03    3.8482        .16179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.421        12.627        .52736E-03   -1.4948    
  13  Prefactor     30.289        17.566        .72802E-04   -1.4607    
  14  Prefactor     10.943        10.411        .12111E-03   -1.5046    
  15  Prefactor     .10000E-03    17.074        .33420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .70805        3.5613        .30062E-03   -1.5540    
  18  Prefactor     20.812        27.481        .87793E-04   -1.4795    
  19  norm          5.5129        3.1225        .10780E-03   -1.5238    
  20  Prefactor     .10000E-03    61.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4098        .83934        .57947E-04   -1.5470    
  22  Normalizat    .85126        .21549        .30355E-03   -.98194    
  23  Prefactor     .95204        .13330        .18393E-03   -.94346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31424e-09
Minuit parameter uncertainties:
  1  2.42687e-07
  2  5.01249e-07
  3  40.5792
  4  4.27875
  5  2.73282
  6  3.4791e-07
  7  1.36387e-07
  8  1.78012e-07
  9  4.68741e-07
  10  6.18945
  11  3.97833e-07
  12  12.6296
  13  17.5688
  14  10.4132
  15  6.53283e-06
  16  1.12907e-05
  17  3.17597
  18  27.498
  19  3.12257
  20  3.99825e-05
  21  0.839343
  22  0.215707
  23  0.133341
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.210e+01  6.189e+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.520e-01  1.333e-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:  8.513e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.48
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 8.90e-08 +/- 4.55e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.25e-05

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) = 7143.66757988
delta logL = 0.251003636802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7143.65556706
delta logL = 0.263016462875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5200       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9778       1.0000          .0000       10.000    
     3 'Normalizat'    .82304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96498       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=   7143.656     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      247 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5224        67.473        .34334E-02    .21183E-03
   2  Index         2.9778        3.3526        .14496        .11615E-03
   3  Normalizat    .82316        .82428E-01    .69629E-01    .93993E-05
   4  Prefactor     .96493        .47451E-01    .45828E-01   -.11228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.52236
  Index      = 2.97783
  Normalizat = 0.823158
  Prefactor  = 0.964931
 **********
 **   18 **HESSE 
 **********

 FCN=   7143.656     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5224        7.7435        .11163E-03   -1.5124    
   2  Index         2.9778        .70293        .55630E-02   -.41636    
   3  Normalizat    .82316        .21254        .30809E-03   -.99215    
   4  Prefactor     .96493        .13379        .18282E-03   -.93908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52133e-09
Minuit parameter uncertainties:
  1  7.74445
  2  0.705731
  3  0.212752
  4  0.133833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498841': 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) = 7143.65556655
delta logL = 0.263016970124

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  8.522e+00  7.744e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.978e+00  7.057e-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.649e-01  1.338e-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:  8.232e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.08
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.98 +/- 0.71
Photon Flux (Free Index): 1.09e-07 +/- 5.57e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.12e-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/498841/cmap_HighResolution_661824001_662083201_4FGL_J2153.8-1137_daily_bin1630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.90e-08', energy_flux2='2.19e-05', photon_flux_error='4.55e-08', dlogl='2.63e-01', energy_flux='2.45e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2021-12-25 01:07:30.067013', photon_index_error2='0.71', photon_index2='2.98', ts='6.48', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='0.85', time_epoch_completed='1640423250.07', return_code='0', job_id='498841', GAL2='0.96', EG2='0.82', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='5.57e-08', ts2='7.08', photon_index='2.55' WHERE bin_id='1630' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 25 01:07:30 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 498841: <4FGL_J2153.8-1137_daily_bin1630> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1630> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 25 00:55:40 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 25 00:56:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 25 00:56:57 2021
Terminated at Sat Dec 25 01:07:30 2021
Results reported at Sat Dec 25 01:07:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1630 328.461 -11.6306 661824001 662083201 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 :                                   515.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            710 sec.

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

