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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1611
RA = 328.461, Dec = -11.6306
tmin = 656899201, tmax = 657158401
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='478875', job_status='RUN', time_executed='2021-12-08 08:12:02.345505', time_epoch_executed='1638979922.35' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478875

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478875/ft1_4FGL_J2153.8-1137_daily_bin1611.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478875/ft1_4FGL_J2153.8-1137_daily_bin1611.fits outfile=/scratch/kocevski/478875/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1611.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=656899201.0 tmax=657158401.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.55
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.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/478875/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1611.fits evtable="EVENTS" outfile="/scratch/kocevski/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.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.50
user 0.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.fits" evtable="EVENTS" scfile=/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits sctable="SC_DATA" outfile=/scratch/kocevski/478875/ltcube_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.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/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits
.....................!
real 14.78
user 14.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits sctable="SC_DATA" expcube=/scratch/kocevski/478875/ltcube_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.fits outfile=/scratch/kocevski/478875/expmap_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.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/478875/ltcube_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.fits
.....................!
real 191.77
user 185.92
sys 5.15

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/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.fits scfile=/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits outfile=/scratch/kocevski/478875/cmap_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.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/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.fits scfile=/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits outfile=/scratch/kocevski/478875/cmap_HighResolution_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/478875/ft2_4FGL_J2153.8-1137_daily_bin1611.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/478875/Model_4FGL_J2153.8-1137_daily_bin1611.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/478875/ft1_filtered_4FGL_J2153.8-1137_daily_bin1611.fits....................!
real 60.47
user 59.03
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.095       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16547E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .49928E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.263       1.0000         .10000E-03   10000.    
     9 'norm      '    4.8302       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.402       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6861       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .52133       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.947       1.0000         .10000E-03   10000.    
    19 'norm      '    3.9876       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .55570       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96556       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93089       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=   6235.531     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2543 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.2423       -.44975E-06** at limit **
   2  Prefactor     .10000E-03    5.0930       -.25893E-06** at limit **
   3  Prefactor     33.055        47.855       -.45596E-05   -.73884E-04
   4  Prefactor     .10000E-03    2.2747       -.14233E-06** at limit **
   5  Prefactor     .10000E-03    2.1633        .29386E-05** at limit **
   6  Prefactor     .42279E-01    65.291       -.34071E-04    .16181E-03
   7  Prefactor     .10000E-03    16.462        .10322E-06** at limit **
   8  Prefactor     14.260        17.745       -.46526E-06    .86340E-04
   9  norm          4.8299        5.7741       -.67645E-07    .31820E-04
  10  Prefactor     13.401        6.2998       -.95306E-07    .12450E-03
  11  Prefactor     .10000E-03    6.3207       -.25673E-06** at limit **
  12  Prefactor     .10000E-03    35.515       -.11525E-05** at limit **
  13  Prefactor     .10000E-03    8.5671       -.10618E-07** at limit **
  14  Prefactor     1.6869        5.7048       -.53068E-06    .65609E-04
  15  Prefactor     .10000E-03    6.1477       -.28202E-06** at limit **
  16  Prefactor     .10000E-03    20.327        .75561E-07** at limit **
  17  Prefactor     .51941        3.2043       -.36985E-05   -.68192E-03
  18  Prefactor     22.902        69.567       -.46511E-05    .16563E-03
  19  norm          3.9869        3.7239       -.47942E-06    .99685E-03
  20  Prefactor     .10000E-03    36.456       -.35527E-06** at limit **
  21  norm          .55591        .50291        .77408E-07    .46696E-03
  22  Normalizat    .96552        .20458        .11252E-05    .18330E-03
  23  Prefactor     .93093        .12210        .12103E-05   -.17752E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.0546
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0422791
  Prefactor  = 0.000100001
  Prefactor  = 14.2598
  norm       = 4.8299
  Prefactor  = 13.4009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.68686
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.519406
  Prefactor  = 22.9021
  norm       = 3.98695
  Prefactor  = 0.0001
  norm       = 0.55591
  Normalizat = 0.965516
  Prefactor  = 0.93093
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1152        .17407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.055        48.700        .69654E-04   -1.4557    
   4  Prefactor     .10000E-03    2.2901        .11631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2959        .22857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .42279E-01    3.6512        .52874E-01   -1.5667    
   7  Prefactor     .10000E-03    16.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.260        17.829        .10606E-03   -1.4953    
   9  norm          4.8299        5.7730        .18304E-03   -1.5268    
  10  Prefactor     13.401        6.3016        .10942E-03   -1.4976    
  11  Prefactor     .10000E-03    6.3743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    36.709        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.5894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6869        5.6707        .32428E-03   -1.5448    
  15  Prefactor     .10000E-03    6.1771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .51941        11.949        .23569E-02   -1.5564    
  18  Prefactor     22.902        69.656        .83618E-04   -1.4750    
  19  norm          3.9869        3.8446        .70940E-03   -1.5309    
  20  Prefactor     .10000E-03    36.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55591        .52970        .51206E-03   -1.5559    
  22  Normalizat    .96552        .24568        .29208E-03   -.94195    
  23  Prefactor     .93093        .14491        .18428E-03   -.95069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17226e-09
Minuit parameter uncertainties:
  1  3.67039e-05
  2  3.24723e-05
  3  48.7585
  4  1.67599e-05
  5  0.000159993
  6  0.784922
  7  0.000250779
  8  17.8355
  9  5.77366
  10  6.30196
  11  3.18607e-05
  12  0.000430891
  13  0.000126217
  14  5.67249
  15  0.000103537
  16  0.000238785
  17  4.9831
  18  69.9049
  19  3.8448
  20  0.000155988
  21  0.529707
  22  0.245969
  23  0.14497
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
503   Normalization:  9.655e-01  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.05
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 9.86e-08 +/- 4.63e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.27e-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) = 6233.73459278
delta logL = 1.79645170871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6233.56532136
delta logL = 1.96572312488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.223       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8575       1.0000          .0000       10.000    
     3 'Normalizat'    1.0098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90965       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=   6233.565     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.225        8.7102        .23456E-02    .32766E-03
   2  Index         1.8574        .29149        .13414       -.38949E-04
   3  Normalizat    1.0099        .19523        .46290E-01    .28677E-04
   4  Prefactor     .90958        .12154        .45128E-01    .17785E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2251
  Index      = 1.85742
  Normalizat = 1.0099
  Prefactor  = 0.90958
 **********
 **   18 **HESSE 
 **********

 FCN=   6233.565     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.225        8.5830        .46912E-03   -1.4854    
   2  Index         1.8574        .30637        .55614E-02   -.67964    
   3  Normalizat    1.0099        .23034        .28610E-03   -.92700    
   4  Prefactor     .90958        .14337        .18604E-03   -.95807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25627e-12
Minuit parameter uncertainties:
  1  8.58355
  2  0.306692
  3  0.230569
  4  0.143427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478875': 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) = 6233.56532119
delta logL = 1.9657232915

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.823e+01  8.584e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.857e+00  3.067e-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.096e-01  1.434e-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.010e+00  2.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.99
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 1.86 +/- 0.31
Photon Flux (Free Index): 6.66e-08 +/- 3.70e-08
Energy Flux (Free Index): 6.74e-05 +/- 4.95e-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/478875/cmap_HighResolution_656899201_657158401_4FGL_J2153.8-1137_daily_bin1611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.86e-08', energy_flux2='6.74e-05', photon_flux_error='4.63e-08', dlogl='1.97e+00', energy_flux='2.71e-05', photon_flux2='6.66e-08', job_status='DONE', time_completed='2021-12-08 08:21:35.043612', photon_index_error2='0.31', photon_index2='1.86', ts='12.05', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='4.95e-05', EG='0.97', time_epoch_completed='1638980495.04', return_code='0', job_id='478875', GAL2='0.91', EG2='1.01', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.70e-08', ts2='15.99', photon_index='2.55' WHERE bin_id='1611' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 08:21:35 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 478875: <4FGL_J2153.8-1137_daily_bin1611> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1611> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec  8 08:10:15 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 08:11:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 08:11:03 2021
Terminated at Wed Dec  8 08:21:35 2021
Results reported at Wed Dec  8 08:21:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1611 328.461 -11.6306 656899201 657158401 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 :                                   571.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            680 sec.

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

