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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1659
RA = 328.461, Dec = -11.6306
tmin = 669340801, tmax = 669600001
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='908343', job_status='RUN', time_executed='2022-03-22 01:24:34.416066', time_epoch_executed='1647937474.42' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1659'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/908343

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/908343/ft1_4FGL_J2153.8-1137_daily_bin1659.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/908343/ft1_4FGL_J2153.8-1137_daily_bin1659.fits outfile=/scratch/kocevski/908343/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1659.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=669340801.0 tmax=669600001.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 5.57
user 5.26
sys 0.23

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

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

Number of photons that the gtmktime cut: 467

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/908343/ft1_filtered_4FGL_J2153.8-1137_daily_bin1659.fits" evtable="EVENTS" scfile=/scratch/kocevski/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits sctable="SC_DATA" outfile=/scratch/kocevski/908343/ltcube_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.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/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits
.....................!
real 18.47
user 18.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/908343/ft1_filtered_4FGL_J2153.8-1137_daily_bin1659.fits evtable="EVENTS" scfile=/scratch/kocevski/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits sctable="SC_DATA" expcube=/scratch/kocevski/908343/ltcube_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.fits outfile=/scratch/kocevski/908343/expmap_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.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/908343/ltcube_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.fits
.....................!
real 193.24
user 186.80
sys 4.60

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/908343/ft1_filtered_4FGL_J2153.8-1137_daily_bin1659.fits scfile=/scratch/kocevski/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits outfile=/scratch/kocevski/908343/cmap_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/908343/ft1_filtered_4FGL_J2153.8-1137_daily_bin1659.fits scfile=/scratch/kocevski/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits outfile=/scratch/kocevski/908343/cmap_HighResolution_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/908343/ft1_filtered_4FGL_J2153.8-1137_daily_bin1659.fits evtable="EVENTS" scfile=/scratch/kocevski/908343/ft2_4FGL_J2153.8-1137_daily_bin1659.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/908343/Model_4FGL_J2153.8-1137_daily_bin1659.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/908343/ft1_filtered_4FGL_J2153.8-1137_daily_bin1659.fits.....................!
real 54.47
user 53.10
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.001       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0207       1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.217       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22976E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24116       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.399       1.0000         .10000E-03   10000.    
     9 'norm      '    6.8871       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65136       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.784       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.259       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.224       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1173       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.987       1.0000         .10000E-03   10000.    
    19 'norm      '    11.984       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3074       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83705       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=   5223.884     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2543 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.006        19.433        .56073E-07   -.11624E-04
   2  Prefactor     9.0236        20.696       -.12737E-06    .71511E-07
   3  Prefactor     45.176        48.301        .58136E-05    .34464E-03
   4  Prefactor     .10005E-03    7.9426        .33715E-05** at limit **
   5  Prefactor     .23855        2.7570        .15041E-06   -.33167E-03
   6  Prefactor     .10000E-03    4.0687       -.32569E-07** at limit **
   7  Prefactor     .10000E-03    43.818       -.13356E-05** at limit **
   8  Prefactor     39.396        26.660       -.33752E-06   -.14494E-04
   9  norm          6.8881        7.2721       -.57617E-07   -.98949E-05
  10  Prefactor     .66697        5.2469        .17307E-06   -.16659E-03
  11  Prefactor     16.782        14.158        .28604E-07    .92206E-04
  12  Prefactor     .10000E-03    11.756       -.11288E-06** at limit **
  13  Prefactor     .10000E-03    15.342       -.25967E-06** at limit **
  14  Prefactor     12.261        19.669       -.19521E-06    .35841E-04
  15  Prefactor     14.226        12.910       -.16955E-06    .26917E-04
  16  Prefactor     8.1248        360.20       -.12380E-05    .53751E-05
  17  Prefactor     .10000E-03    2.1078        .54649E-07** at limit **
  18  Prefactor     14.023        96.264       -.49694E-06    .25056E-04
  19  norm          11.986        6.7206       -.72326E-08    .17061E-03
  20  Prefactor     .10000E-03    36.020        .19178E-06** at limit **
  21  norm          .10000E-03    .26711        .22588E-06** at limit **
  22  Normalizat    1.3070        .26763        .93254E-06    .26172E-03
  23  Prefactor     .83731        .14515        .63950E-06    .37861E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.006
  Prefactor  = 9.02361
  Prefactor  = 45.1757
  Prefactor  = 0.000100048
  Prefactor  = 0.238554
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 39.3964
  norm       = 6.88814
  Prefactor  = 0.66697
  Prefactor  = 16.7824
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2607
  Prefactor  = 14.2264
  Prefactor  = 8.12483
  Prefactor  = 0.0001
  Prefactor  = 14.0232
  norm       = 11.9859
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.30696
  Prefactor  = 0.83731
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.884     FROM HESSE     STATUS=OK           376 CALLS     2919 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.006        19.352        .10013E-03   -1.4908    
   2  Prefactor     9.0236        20.647        .13345E-03   -1.5107    
   3  Prefactor     45.176        50.509        .59624E-04   -1.4363    
   4  Prefactor     .10005E-03    14.095        .29674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .23855        5.6956        .20781E-02   -1.5610    
   6  Prefactor     .10000E-03    4.1063        .14238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    44.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     39.396        26.715        .63857E-04   -1.4452    
   9  norm          6.8881        7.2738        .15288E-03   -1.5183    
  10  Prefactor     .66697        28.389        .29758E-02   -1.5545    
  11  Prefactor     16.782        14.160        .97762E-04   -1.4888    
  12  Prefactor     .10000E-03    11.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.261        19.751        .11441E-03   -1.5008    
  15  Prefactor     14.226        12.922        .10620E-03   -1.4953    
  16  Prefactor     8.1248        356.80        .14072E-03   -1.5138    
  17  Prefactor     .10000E-03    2.1157        .10240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.023        95.387        .10710E-03   -1.4959    
  19  norm          11.986        6.7180        .11572E-03   -1.5015    
  20  Prefactor     .10000E-03    36.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .26829        .36473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3070        .32384        .29726E-03   -.83359    
  23  Prefactor     .83731        .17356        .21209E-03   -.98367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69009e-09
Minuit parameter uncertainties:
  1  19.3597
  2  20.6633
  3  50.5564
  4  0.00165185
  5  2.33104
  6  5.2123e-06
  7  0.000467834
  8  26.7235
  9  7.2747
  10  8.70653
  11  14.163
  12  2.55134e-05
  13  8.7402e-05
  14  19.7612
  15  12.925
  16  108.379
  17  1.21526e-06
  18  73.3159
  19  6.71839
  20  8.87041e-05
  21  3.75608e-06
  22  0.32434
  23  0.173671
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  6.670e-01  8.707e+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:  8.373e-01  1.737e-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.307e+00  3.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/908343/likelihoodResults_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.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) = 5223.14409262
delta logL = 0.740074964702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5223.06936531
delta logL = 0.814802269695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75413E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.3394       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88025       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=   5223.069     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      306 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73807E-02    .11941        .92886E-03   -.15765E-02
   2  Index         7.3537        3.3728        .18300        .40617E-04
   3  Normalizat    1.1995        .62713E-01    .69608E-01    .47236E-04
   4  Prefactor     .88035        .36932E-01    .44753E-01    .95258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00738068
  Index      = 7.35373
  Normalizat = 1.1995
  Prefactor  = 0.880345
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.069     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      339 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73807E-02    .30501        .54467E-05   -1.5691    
   2  Index         7.3537        8.5033        .68589E-02    .49014    
   3  Normalizat    1.1995        .24679        .30799E-03   -.86618    
   4  Prefactor     .88035        .14314        .20739E-03   -.96831    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7618e-09
Minuit parameter uncertainties:
  1  0.0942486
  2  7.4379
  3  0.247027
  4  0.143196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/908343': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5223.06935549
delta logL = 0.814812093109

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  7.381e-03  9.425e-02  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  7.354e+00  7.438e+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:  8.803e-01  1.432e-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.200e+00  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 7.35 +/- 7.44
Photon Flux (Free Index): 1.00e-07 +/- 8.63e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.08e-05

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/908343/cmap_HighResolution_669340801_669600001_4FGL_J2153.8-1137_daily_bin1659.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='8.15e-01', photon_flux2='1.00e-07', job_status='DONE', time_completed='2022-03-22 01:34:38.562884', photon_index_error2='7.44', photon_index2='7.35', ts='0.01', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.08e-05', EG='1.31', time_epoch_completed='1647938078.56', return_code='0', job_id='908343', GAL2='0.88', EG2='1.20', return_code2='102', photon_flux_error2='8.63e-08', ts2='1.75', photon_index='2.55' WHERE bin_id='1659' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 22 01:34:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 908343: <4FGL_J2153.8-1137_daily_bin1659> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1659> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 22 01:20:50 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 22 01:23:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 22 01:23:02 2022
Terminated at Tue Mar 22 01:34:39 2022
Results reported at Tue Mar 22 01:34:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1659 328.461 -11.6306 669340801 669600001 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 :                                   604.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            829 sec.

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

