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


Performing analysis on: 4FGL_J1154.1-3243_daily_bin1292
RA = 178.542, Dec = -32.7189
tmin = 574214401, tmax = 574473601
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='183666', job_status='RUN', time_executed='2021-09-04 16:51:52.739526', time_epoch_executed='1630799512.74' WHERE source_name='4FGL J1154.1-3243' and cadence='daily' and bin_id='1292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/183666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/183666/ft1_4FGL_J1154.1-3243_daily_bin1292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/183666/ft1_4FGL_J1154.1-3243_daily_bin1292.fits outfile=/scratch/kocevski/183666/ft1_filteredMKT_4FGL_J1154.1-3243_daily_bin1292.fits ra=178.542 dec=-32.7189 rad=12.0 tmin=574214401.0 tmax=574473601.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.57
user 3.34
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.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/183666/ft1_filteredMKT_4FGL_J1154.1-3243_daily_bin1292.fits evtable="EVENTS" outfile="/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.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.55
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits" evtable="EVENTS" scfile=/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits sctable="SC_DATA" outfile=/scratch/kocevski/183666/ltcube_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.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/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits
.....................!
real 12.14
user 11.79
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits evtable="EVENTS" scfile=/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits sctable="SC_DATA" expcube=/scratch/kocevski/183666/ltcube_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.fits outfile=/scratch/kocevski/183666/expmap_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.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/183666/ltcube_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.fits
.....................!
real 192.58
user 187.59
sys 4.68

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 194 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1154.1-3243 @ 178.542 -32.7189

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits scfile=/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits outfile=/scratch/kocevski/183666/cmap_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.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=178.542 yref=-32.7189 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits scfile=/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits outfile=/scratch/kocevski/183666/cmap_HighResolution_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.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=178.542 yref=-32.7189 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits evtable="EVENTS" scfile=/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/183666/Model_4FGL_J1154.1-3243_daily_bin1292.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits.....................!
real 149.10
user 147.61
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits', '/scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits', expMap='/scratch/kocevski/183666/expmap_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.fits', expCube='/scratch/kocevski/183666/ltcube_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/183666/Model_4FGL_J1154.1-3243_daily_bin1292.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1154.1-3243'

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  8.428e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        alpha:  1.934e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
302         beta:  1.201e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
303           Eb:  1.266e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/183666/ft1_filtered_4FGL_J1154.1-3243_daily_bin1292.fits
Spacecraft file(s): /scratch/kocevski/183666/ft2_4FGL_J1154.1-3243_daily_bin1292.fits
Exposure map: /scratch/kocevski/183666/expmap_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.fits
Exposure cube: /scratch/kocevski/183666/ltcube_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/183666/Model_4FGL_J1154.1-3243_daily_bin1292.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) = 8409.32392638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6385       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.783       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2200       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12206E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.7642       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10810E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0080       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2407       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.610       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.106       1.0000         .10000E-03   10000.    
    13 'norm      '    6.4106       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13369E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17008E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.329       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.084       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7934       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8409.312     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2407 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6330        9.1700       -.25199E-06   -.16322E-04
   2  Prefactor     18.777        22.373        .19780E-05   -.77526E-06
   3  Prefactor     8.2152        7.4176        .98162E-06   -.16321E-05
   4  Prefactor     .10000E-03    30.830        .16595E-04** at limit **
   5  norm          7.7634        24.265        .64542E-06   -.54611E-06
   6  Prefactor     .10000E-03    16.649        .17071E-06** at limit **
   7  norm          1.3390        2.7673        .60731E-07   -.72322E-03
   8  Prefactor     2.0117        4.0088       -.51247E-07   -.61474E-03
   9  Prefactor     2.2422        13.740       -.13299E-06    .43175E-05
  10  Prefactor     .10000E-03    8.1778       -.90180E-08** at limit **
  11  norm          18.633        18.137       -.48673E-06    .33046E-05
  12  Prefactor     13.002        36.683       -.62168E-05   -.39916E-04
  13  norm          6.4334        12.693        .50122E-05    .76999E-04
  14  Prefactor     .10000E-03    5.2794       -.21163E-06** at limit **
  15  Prefactor     .10000E-03    66.110        .54247E-05** at limit **
  16  Prefactor     .10007E-03    5.3699       -.12228E-05** at limit **
  17  Prefactor     55.320        33.266        .23719E-05    .21786E-04
  18  Prefactor     12.070        15.990       -.26281E-05    .24471E-04
  19  Prefactor     .10000E-03    33.648       -.17391E-04** at limit **
  20  Prefactor     .10000E-03    9.9713       -.17025E-06** at limit **
  21  Normalizat    1.7933        .23697        .60586E-07    .89013E-04
  22  Prefactor     .78248        .98511E-01   -.95462E-07    .15350E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.633
  Prefactor  = 18.7771
  Prefactor  = 8.21517
  Prefactor  = 0.0001
  norm       = 7.76344
  Prefactor  = 0.0001
  norm       = 1.33897
  Prefactor  = 2.0117
  Prefactor  = 2.24217
  Prefactor  = 0.0001
  norm       = 18.6329
  Prefactor  = 13.0017
  norm       = 6.43338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010007
  Prefactor  = 55.3198
  Prefactor  = 12.07
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.79327
  Prefactor  = 0.782483
 **********
 **   18 **HESSE 
 **********

 FCN=   8409.312     FROM HESSE     STATUS=OK           344 CALLS     2751 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6330        9.1715        .18687E-03   -1.5277    
   2  Prefactor     18.777        22.373        .92415E-04   -1.4841    
   3  Prefactor     8.2152        7.4206        .13983E-03   -1.5135    
   4  Prefactor     .10000E-03    30.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.7634        24.292        .14391E-03   -1.5151    
   6  Prefactor     .10000E-03    17.227        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3390        5.9665        .18953E-02   -1.5477    
   8  Prefactor     2.0117        4.5760        .14226E-02   -1.5424    
   9  Prefactor     2.2422        13.736        .27457E-03   -1.5408    
  10  Prefactor     .10000E-03    8.1789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.633        18.140        .92843E-04   -1.4844    
  12  Prefactor     13.002        35.544        .11064E-03   -1.4987    
  13  norm          6.4334        12.319        .15852E-03   -1.5201    
  14  Prefactor     .10000E-03    5.3891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    66.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10007E-03    27.269        .40876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     55.320        33.283        .53927E-04   -1.4219    
  18  Prefactor     12.070        15.965        .11524E-03   -1.5013    
  19  Prefactor     .10000E-03    33.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.9858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.7933        .28682        .31665E-03   -.69840    
  22  Prefactor     .78248        .11863        .19046E-03   -1.0038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11636e-09
Minuit parameter uncertainties:
  1  9.17426
  2  22.3826
  3  7.42142
  4  2.47307e-05
  5  24.323
  6  3.3668e-06
  7  5.65367
  8  4.57678
  9  11.1027
  10  1.23037e-06
  11  18.1458
  12  35.6016
  13  12.3239
  14  3.70484e-05
  15  0.000107425
  16  0.00276828
  17  33.2937
  18  15.9702
  19  1.56325e-05
  20  7.22571e-06
  21  0.287093
  22  0.118672
Done.

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

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  1.863e+01  1.815e+01  1.000e-04  1.000e+04 ( 1.000e-13)
301        alpha:  1.934e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
302         beta:  1.201e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
303           Eb:  1.266e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.825e-01  1.187e-01  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.793e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.26
Ra Dec: 178.542 -32.719
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 1.88e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.34e-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) = 8408.34826603
delta logL = 0.963676630385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8408.0229295
delta logL = 1.28901315964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3596       1.0000         .10000E-03   10000.    
     2 'alpha     '    .59313       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7998       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78433       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8408.023     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3291        5.9121        .43398E-02   -.44714E-03
   2  alpha         .59073        .52720        .50000       -.41206E-05
   3  Normalizat    1.8004        .22992        .71457E-01    .44135E-05
   4  Prefactor     .78416        .97132E-01    .43513E-01   -.93070E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.32907
  alpha      = 0.590732
  Normalizat = 1.8004
  Prefactor  = 0.784161
 **********
 **   18 **HESSE 
 **********

 FCN=   8408.023     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3291        9.0872        .17359E-03   -1.5246    
   2  alpha         .59073        .70756        .26998E-01   -.86904    
   3  Normalizat    1.8004        .27522        .31611E-03   -.69653    
   4  Prefactor     .78416        .11634        .19026E-03   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5838e-11
Minuit parameter uncertainties:
  1  9.08958
  2  0.732448
  3  0.275453
  4  0.116376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/183666': 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) = 8408.02292171
delta logL = 1.28902095441

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  5.329e+00  9.090e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        alpha:  5.907e-01  7.324e-01  0.000e+00  5.000e+00 ( 1.000e+00)
302         beta:  1.201e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
303           Eb:  1.266e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.842e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.800e+00  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.84
Ra Dec: 178.542 -32.719
Photon Index (Free Index): 0.59 +/- 0.73
Photon Flux (Free Index): 4.33e-09 +/- 4.60e-09
Energy Flux (Free Index): 6.31e-05 +/- 8.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/183666/cmap_HighResolution_574214401_574473601_4FGL_J1154.1-3243_daily_bin1292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.88e-08', energy_flux2='6.31e-05', photon_flux_error='1.83e-08', dlogl='1.29e+00', energy_flux='1.38e-05', photon_flux2='4.33e-09', job_status='DONE', time_completed='2021-09-04 17:05:26.683984', photon_index_error2='0.73', photon_index2='0.59', ts='5.26', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='8.75e-05', EG='1.79', time_epoch_completed='1630800326.68', return_code='0', job_id='183666', GAL2='0.78', EG2='1.80', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='4.60e-09', ts2='7.84', photon_index='1.93' WHERE bin_id='1292' AND source_name='4FGL J1154.1-3243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 17:05:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 183666: <4FGL_J1154.1-3243_daily_bin1292> in cluster <slac> Done

Job <4FGL_J1154.1-3243_daily_bin1292> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 16:51:42 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 16:51:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 16:51:43 2021
Terminated at Sat Sep  4 17:05:27 2021
Results reported at Sat Sep  4 17:05:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.1-3243_daily_bin1292 178.542 -32.7189 574214401 574473601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1154.1-3243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   811.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             377.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

