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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1376
RA = 328.461, Dec = -11.6306
tmin = 595987201, tmax = 596246401
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='28605', job_status='RUN', time_executed='2021-09-27 20:37:14.362794', time_epoch_executed='1632800234.36' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28605

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28605/ft1_4FGL_J2153.8-1137_daily_bin1376.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28605/ft2_4FGL_J2153.8-1137_daily_bin1376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28605/ft1_4FGL_J2153.8-1137_daily_bin1376.fits outfile=/scratch/kocevski/28605/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1376.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=595987201.0 tmax=596246401.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.14
user 2.92
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28605/ft1_filtered_4FGL_J2153.8-1137_daily_bin1376.fits" evtable="EVENTS" scfile=/scratch/kocevski/28605/ft2_4FGL_J2153.8-1137_daily_bin1376.fits sctable="SC_DATA" outfile=/scratch/kocevski/28605/ltcube_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.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/28605/ft2_4FGL_J2153.8-1137_daily_bin1376.fits
.....................!
real 12.04
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28605/ft1_filtered_4FGL_J2153.8-1137_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/28605/ft2_4FGL_J2153.8-1137_daily_bin1376.fits sctable="SC_DATA" expcube=/scratch/kocevski/28605/ltcube_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.fits outfile=/scratch/kocevski/28605/expmap_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.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/28605/ltcube_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.fits
.....................!
real 190.57
user 185.87
sys 4.29

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/28605/ft1_filtered_4FGL_J2153.8-1137_daily_bin1376.fits scfile=/scratch/kocevski/28605/ft2_4FGL_J2153.8-1137_daily_bin1376.fits outfile=/scratch/kocevski/28605/cmap_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.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.53
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.716       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.803       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .80123E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.0953       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1442       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.922       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0140       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.386       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    69.922       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7051       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .59301       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1094       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=   6095.999     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2514 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.721        19.002        .19420E-06    .28246E-05
   2  Prefactor     33.811        18.839        .23683E-06    .28095E-04
   3  Prefactor     .10002E-03    119.72       -.75787E-05** at limit **
   4  Prefactor     .10000E-03    6.0395        .69744E-07** at limit **
   5  Prefactor     .10000E-03    .56416       -.74393E-07** at limit **
   6  Prefactor     .10000E-03    1.9251        .99112E-08** at limit **
   7  Prefactor     .10000E-03    18.885       -.40430E-06** at limit **
   8  Prefactor     .10000E-03    9.9709        .17177E-06** at limit **
   9  norm          4.0955        4.0693       -.21297E-05    .27598E-03
  10  Prefactor     4.1480        6.6475        .74079E-06   -.13754E-04
  11  Prefactor     22.923        13.280        .70843E-07    .15478E-04
  12  Prefactor     5.0150        7.5185        .13517E-05   -.56897E-04
  13  Prefactor     .10000E-03    7.5806       -.55792E-07** at limit **
  14  Prefactor     .10000E-03    2.9709        .20655E-07** at limit **
  15  Prefactor     34.390        14.134        .91278E-07    .51453E-05
  16  Prefactor     .10000E-03    33.270        .96030E-06** at limit **
  17  Prefactor     .10000E-03    3.0740       -.32025E-07** at limit **
  18  Prefactor     69.940        59.652        .73666E-06    .73619E-04
  19  norm          3.7055        3.1020        .80501E-06   -.14053E-03
  20  Prefactor     .10000E-03    42.052       -.61184E-06** at limit **
  21  norm          .10000E-03    .31703        .11537E-06** at limit **
  22  Normalizat    .59281        .21860       -.19154E-05    .21004E-04
  23  Prefactor     1.1093        .13305       -.10486E-06    .97993E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7209
  Prefactor  = 33.8105
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.09548
  Prefactor  = 4.14799
  Prefactor  = 22.9228
  Prefactor  = 5.01497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.3898
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 69.9399
  norm       = 3.70553
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 0.592808
  Prefactor  = 1.10934
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.999     FROM HESSE     STATUS=OK           366 CALLS     2880 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.721        18.958        .10815E-03   -1.4967    
   2  Prefactor     33.811        18.803        .68923E-04   -1.4544    
   3  Prefactor     .10002E-03    124.54        .41802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.2086        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .56678        .57240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9272        .10579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0955        4.0818        .76732E-03   -1.5303    
  10  Prefactor     4.1480        6.6322        .19800E-03   -1.5301    
  11  Prefactor     22.923        13.277        .83664E-04   -1.4750    
  12  Prefactor     5.0150        7.5124        .89793E-03   -1.5260    
  13  Prefactor     .10000E-03    7.6029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.9748        .13142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     34.390        14.107        .68338E-04   -1.4534    
  16  Prefactor     .10000E-03    33.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.1157        .13340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     69.940        59.676        .48005E-04   -1.4033    
  19  norm          3.7055        3.1025        .60375E-03   -1.5323    
  20  Prefactor     .10000E-03    42.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .33168        .85757E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .59281        .24652        .36176E-03   -1.0829    
  23  Prefactor     1.1093        .15228        .17245E-03   -.89168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54376e-10
Minuit parameter uncertainties:
  1  18.9668
  2  18.8065
  3  0.00334764
  4  2.10456e-05
  5  1.48892e-06
  6  1.36265e-06
  7  0.000117021
  8  4.55048e-05
  9  4.08212
  10  6.63342
  11  13.2787
  12  7.51384
  13  1.36115e-05
  14  5.15662e-07
  15  14.1083
  16  0.000548321
  17  1.81712e-06
  18  59.7274
  19  3.10268
  20  0.00037088
  21  4.65051e-08
  22  0.246977
  23  0.152339
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.148e+00  6.633e+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:  1.109e+00  1.523e-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:  5.928e-01  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/28605/likelihoodResults_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.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) = 6095.97070733
delta logL = 0.0281250099843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6095.96227416
delta logL = 0.0365581771694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3074       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8660       1.0000          .0000       10.000    
     3 'Normalizat'    .58288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1140       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=   6095.962     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3030        145.39        .55652E-02    .56564E-03
   2  Index         2.8664        6.4010        .22432        .57591E-04
   3  Normalizat    .58286        .53224E-01    .82347E-01    .31284E-04
   4  Prefactor     1.1140        .34396E-01    .37079E-01   -.93203E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.30297
  Index      = 2.86645
  Normalizat = 0.582864
  Prefactor  = 1.11397
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.962     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3030        7.8720        .19547E-03   -1.5344    
   2  Index         2.8664        1.4638        .10435E-01   -.44085    
   3  Normalizat    .58286        .24343        .36470E-03   -1.0872    
   4  Prefactor     1.1140        .15328        .17214E-03   -.89021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02356e-09
Minuit parameter uncertainties:
  1  7.87449
  2  1.49064
  3  0.243882
  4  0.153338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28605': 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) = 6095.96227393
delta logL = 0.0365584147439

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.303e+00  7.874e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.866e+00  1.491e+00  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.114e+00  1.533e-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:  5.829e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
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/28605/cmap_HighResolution_595987201_596246401_4FGL_J2153.8-1137_daily_bin1376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-09-27 20:47:33.083010', job_id='28605', GAL2='1.11', fit_tolerance='1e-08', EG2='0.58', EG='0.59', time_epoch_completed='1632800853.08', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.66e-02', ts2='0.55', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1376' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:47:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 28605: <4FGL_J2153.8-1137_daily_bin1376> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1376> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 20:35:26 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:36:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 20:36:48 2021
Terminated at Mon Sep 27 20:47:33 2021
Results reported at Mon Sep 27 20:47:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1376 328.461 -11.6306 595987201 596246401 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 :                                   614.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            727 sec.

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

