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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1636
RA = 328.461, Dec = -11.6306
tmin = 663379201, tmax = 663638401
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='952941', job_status='RUN', time_executed='2022-01-12 01:24:06.503912', time_epoch_executed='1641979446.5' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952941

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952941/ft1_4FGL_J2153.8-1137_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952941/ft1_4FGL_J2153.8-1137_daily_bin1636.fits outfile=/scratch/kocevski/952941/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1636.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=663379201.0 tmax=663638401.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 2.39
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952941/ft1_filtered_4FGL_J2153.8-1137_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/952941/ltcube_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.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/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits
.....................!
real 14.71
user 14.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952941/ft1_filtered_4FGL_J2153.8-1137_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/952941/ltcube_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.fits outfile=/scratch/kocevski/952941/expmap_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.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/952941/ltcube_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.fits
.....................!
real 192.21
user 185.60
sys 6.02

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/952941/ft1_filtered_4FGL_J2153.8-1137_daily_bin1636.fits scfile=/scratch/kocevski/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits outfile=/scratch/kocevski/952941/cmap_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952941/ft1_filtered_4FGL_J2153.8-1137_daily_bin1636.fits scfile=/scratch/kocevski/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits outfile=/scratch/kocevski/952941/cmap_HighResolution_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/952941/ft1_filtered_4FGL_J2153.8-1137_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952941/ft2_4FGL_J2153.8-1137_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952941/Model_4FGL_J2153.8-1137_daily_bin1636.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/952941/ft1_filtered_4FGL_J2153.8-1137_daily_bin1636.fits....................!
real 56.82
user 55.40
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.607       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.949       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.408       1.0000         .10000E-03   10000.    
     9 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6221       1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.751       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.048       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.618       1.0000         .10000E-03   10000.    
    16 'Prefactor '    130.78       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.2897       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .56155       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5868.156     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     2098 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.548       -.10917E-04** at limit **
   2  Prefactor     .10012E-03    5.6466       -.65905E-05** at limit **
   3  Prefactor     48.600        3.2844       -.32337E-05    .64423E-02
   4  Prefactor     11.947        1.0352       -.50176E-06   -.26587E-03
   5  Prefactor     2.2536        2.0085        .22953E-06    .16500E-03
   6  Prefactor     .10010E-03    5.4503        .95384E-05** at limit **
   7  Prefactor     .10002E-03    22.759        .45125E-04** at limit **
   8  Prefactor     14.396        2.9228       -.51161E-05    .15665E-02
   9  norm          .10000E-03    4.2840       -.68244E-07** at limit **
  10  Prefactor     .10000E-03    5.2566        .10018E-05** at limit **
  11  Prefactor     5.6204        1.0289       -.69099E-06   -.33382E-03
  12  Prefactor     37.745        1.5252       -.13164E-05    .84716E-03
  13  Prefactor     .10000E-03    7.9549       -.27045E-05** at limit **
  14  Prefactor     38.043        1.3151       -.96198E-06    .58035E-03
  15  Prefactor     12.616        1.0402       -.53174E-06    .55078E-04
  16  Prefactor     130.78        1.1892        .41022E-06   -.22070E-02
  17  Prefactor     .10000E-03    2.2775        .26878E-06** at limit **
  18  Prefactor     .10001E-03    18.048        .29384E-04** at limit **
  19  norm          3.2871        4.3216        .24178E-05    .37532E-04
  20  Prefactor     .10000E-03    49.483       -.79142E-04** at limit **
  21  norm          .10000E-03    .58258       -.21970E-06** at limit **
  22  Normalizat    .56159        .27660       -.41289E-07   -.18081E-04
  23  Prefactor     1.2577        .16906        .29053E-06    .23115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100115
  Prefactor  = 48.5999
  Prefactor  = 11.9474
  Prefactor  = 2.25361
  Prefactor  = 0.0001001
  Prefactor  = 0.000100015
  Prefactor  = 14.3964
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.62038
  Prefactor  = 37.7454
  Prefactor  = 0.0001
  Prefactor  = 38.0432
  Prefactor  = 12.6163
  Prefactor  = 130.783
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 3.28708
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.561592
  Prefactor  = 1.25767
 **********
 **   18 **HESSE 
 **********

 FCN=   5868.156     FROM HESSE     STATUS=OK           418 CALLS     2516 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.602        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10012E-03    10.360        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     48.600        55.691        .14379E-02   -1.4313    
   4  Prefactor     11.947        8.8250        .28972E-02   -1.5017    
   5  Prefactor     2.2536        2.1346        .68427E-02   -1.5408    
   6  Prefactor     .10010E-03    10.013        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    40.312        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.396        22.520        .26380E-02   -1.4949    
   9  norm          .10000E-03    4.2692        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1226        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6204        7.8718        .42356E-02   -1.5234    
  12  Prefactor     37.745        25.142        .16308E-02   -1.4478    
  13  Prefactor     .10000E-03    7.9487        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.043        19.466        .16244E-02   -1.4474    
  15  Prefactor     12.616        10.984        .28192E-02   -1.4997    
  16  Prefactor     130.78        105.50        .88021E-03   -1.3416    
  17  Prefactor     .10000E-03    2.2484        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    41.981        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.2871        4.5505        .55809E-02   -1.5345    
  20  Prefactor     .10000E-03    52.967        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .35439        .24267E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .56159        .28727        .96703E-01   -1.0964    
  23  Prefactor     1.2577        .15892        .33392E-01   -.84575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40299e-07
Minuit parameter uncertainties:
  1  0.000253291
  2  0.00218631
  3  55.7506
  4  8.82591
  5  2.13468
  6  0.00200582
  7  0.00157724
  8  22.5329
  9  6.73409e-05
  10  5.85803e-06
  11  7.87328
  12  25.1491
  13  0.000113993
  14  19.4697
  15  10.9858
  16  105.655
  17  2.31322e-05
  18  0.0010705
  19  4.55093
  20  0.000293198
  21  8.39947e-06
  22  0.288034
  23  0.158978
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.858e-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.258e+00  1.590e-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.616e-01  2.880e-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: 9.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952941/likelihoodResults_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.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) = 5868.15737653
delta logL = -0.00090700733108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5868.15646971
delta logL = -1.81974428415e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5535       1.0000          .0000       10.000    
     3 'Normalizat'    .56153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2577       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=   5868.156     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.834        .90712E-02** at limit **
   2  Index         2.5545        8.3830        .50000       -.17604E-05
   3  Normalizat    .56159        .10633E-01    .96703E-01    .66778E-04
   4  Prefactor     1.2577        .66329E-02    .33391E-01    .62051E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.55453
  Normalizat = 0.561593
  Prefactor  = 1.25766
 **********
 **   18 **HESSE 
 **********

 FCN=   5868.156     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    474.17        .33841E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5545        5.1630        .50000       -.51105    
   3  Normalizat    .56159        .62861E-01    .42853E-03   -1.0964    
   4  Prefactor     1.2577        .39336E-01    .18394E-03   -.84575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11099e-07
Minuit parameter uncertainties:
  1  0.000177516
  2  1096.41
  3  0.0628694
  4  0.0393373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952941': 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) = 5868.15646953
delta logL = 9.70430846792e-10

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.775e-04  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.555e+00  1.096e+03  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.258e+00  3.934e-02  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.616e-01  6.287e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/952941/cmap_HighResolution_663379201_663638401_4FGL_J2153.8-1137_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.66e-08', time_completed='2022-01-12 01:33:46.306101', job_id='952941', GAL2='1.26', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1641980026.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='9.70e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1636' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:33:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 952941: <4FGL_J2153.8-1137_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:20:33 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:23:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:23:15 2022
Terminated at Wed Jan 12 01:33:46 2022
Results reported at Wed Jan 12 01:33:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1636 328.461 -11.6306 663379201 663638401 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 :                                   581.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            793 sec.

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

