/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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1154.1-3243_daily_bin200
RA = 178.542, Dec = -32.7189
tmin = 291168001, tmax = 291427201
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='177172', job_status='RUN', time_executed='2021-09-04 16:32:29.219720', time_epoch_executed='1630798349.22' WHERE source_name='4FGL J1154.1-3243' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/177172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/177172/ft1_4FGL_J1154.1-3243_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/177172/ft1_4FGL_J1154.1-3243_daily_bin200.fits outfile=/scratch/kocevski/177172/ft1_filteredMKT_4FGL_J1154.1-3243_daily_bin200.fits ra=178.542 dec=-32.7189 rad=12.0 tmin=291168001.0 tmax=291427201.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.77
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.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/177172/ft1_filteredMKT_4FGL_J1154.1-3243_daily_bin200.fits evtable="EVENTS" outfile="/scratch/kocevski/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.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.61
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/177172/ltcube_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.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/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits
.....................!
real 11.90
user 11.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/177172/ltcube_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.fits outfile=/scratch/kocevski/177172/expmap_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.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/177172/ltcube_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.fits
.....................!
real 192.19
user 186.88
sys 4.84

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/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits scfile=/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits outfile=/scratch/kocevski/177172/cmap_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits scfile=/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits outfile=/scratch/kocevski/177172/cmap_HighResolution_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/177172/Model_4FGL_J1154.1-3243_daily_bin200.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/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits.....................!
real 105.29
user 103.81
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits', '/scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits', expMap='/scratch/kocevski/177172/expmap_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.fits', expCube='/scratch/kocevski/177172/ltcube_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/177172/Model_4FGL_J1154.1-3243_daily_bin200.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/177172/ft1_filtered_4FGL_J1154.1-3243_daily_bin200.fits
Spacecraft file(s): /scratch/kocevski/177172/ft2_4FGL_J1154.1-3243_daily_bin200.fits
Exposure map: /scratch/kocevski/177172/expmap_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.fits
Exposure cube: /scratch/kocevski/177172/ltcube_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/177172/Model_4FGL_J1154.1-3243_daily_bin200.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) = 5838.35751874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.223       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.7534       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10930E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .81750E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    53.467       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.4382       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.774       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.613       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19811       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5325       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69521       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5838.264     FROM MIGRAD    STATUS=CONVERGED    816 CALLS     2364 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.223        11.265        .96507E-04   -.53718E-04
   2  Prefactor     .10000E-03    13.904        .18142E-02** at limit **
   3  Prefactor     .10000E-03    6.3835        .18142E-02** at limit **
   4  Prefactor     .10000E-03    25.361        .18142E-02** at limit **
   5  norm          9.7415        37.954        .12831E-03   -.34555E-04
   6  Prefactor     .10000E-03    45.824        .36285E-03** at limit **
   7  norm          .10000E-03    2.5898        .11977E-02** at limit **
   8  Prefactor     .10001E-03    20.565        .36940E-02** at limit **
   9  Prefactor     .10000E-03    19.193        .18142E-02** at limit **
  10  Prefactor     .10000E-03    68.184        .18142E-02** at limit **
  11  norm          53.467        31.585        .54853E-04   -.64706E-04
  12  Prefactor     .10000E-03    10.255        .18142E-02** at limit **
  13  norm          7.4376        5.4850        .14705E-03    .24066E-03
  14  Prefactor     11.771        9.3349        .11675E-03   -.23770E-03
  15  Prefactor     .10000E-03    46.962        .18142E-02** at limit **
  16  Prefactor     20.613        14.146        .88219E-04   -.10034E-03
  17  Prefactor     .25973        47.448        .12533        .51381E-04
  18  Prefactor     .10000E-03    10.109        .18142E-02** at limit **
  19  Prefactor     .10000E-03    30.655        .18142E-02** at limit **
  20  Prefactor     .10000E-03    29.476        .18142E-02** at limit **
  21  Normalizat    1.5327        .31755        .31396E-03   -.54428E-03
  22  Prefactor     .69514        .12758        .18131E-03   -.28210E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2225
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.74154
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 53.4673
  Prefactor  = 0.0001
  norm       = 7.43764
  Prefactor  = 11.7712
  Prefactor  = 0.0001
  Prefactor  = 20.6131
  Prefactor  = 0.259731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.53273
  Prefactor  = 0.695139
 **********
 **   18 **HESSE 
 **********

 FCN=   5838.264     FROM HESSE     STATUS=OK           330 CALLS     2694 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.223        11.265        .38603E-05   -1.4878    
   2  Prefactor     .10000E-03    13.904        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.3840        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.362        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.7415        37.949        .51325E-05   -1.5084    
   6  Prefactor     .10000E-03    45.826        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.5900        .23955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    20.749        .73881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    68.205        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          53.467        31.585        .10971E-04   -1.4244    
  12  Prefactor     .10000E-03    10.256        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.4376        5.4847        .58822E-05   -1.5162    
  14  Prefactor     11.771        9.3264        .46700E-05   -1.5022    
  15  Prefactor     .10000E-03    46.965        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.613        14.146        .17644E-04   -1.4800    
  17  Prefactor     .25973        46.207        .12748       -1.5606    
  18  Prefactor     .10000E-03    10.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    30.656        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.481        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5327        .31775        .62791E-04   -.76863    
  22  Prefactor     .69514        .12768        .36262E-04   -1.0372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28736e-09
Minuit parameter uncertainties:
  1  11.2663
  2  9.26298e-06
  3  3.03865e-06
  4  4.97462e-05
  5  38.0432
  6  0.000652949
  7  2.72278e-06
  8  0.00107057
  9  2.82486e-05
  10  0.000475619
  11  31.595
  12  4.21883e-05
  13  5.48507
  14  9.32754
  15  5.08045e-05
  16  14.1484
  17  6.93273
  18  1.14366e-05
  19  3.63684e-06
  20  3.36388e-05
  21  0.318169
  22  0.127736
Done.

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

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  5.347e+01  3.159e+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:  6.951e-01  1.277e-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.533e+00  3.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.98
Ra Dec: 178.542 -32.719
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 5.41e-08 +/- 3.19e-08
Energy Flux (Fixed Index): 3.95e-05 +/- 2.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) = 5838.25629294
delta logL = 0.00768137015893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5838.25557216
delta logL = 0.00840214838718

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.385       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9986       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69562       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5838.256     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      264 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.392        32.429        .55414E-04    .10299E-04
   2  alpha         1.9985        .50237        .12338E-01    .10216E-03
   3  Normalizat    1.5295        .30681        .31422E-03   -.57889E-06
   4  Prefactor     .69561        .12530        .18124E-03    .49555E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 52.3917
  alpha      = 1.99851
  Normalizat = 1.52949
  Prefactor  = 0.695614
 **********
 **   18 **HESSE 
 **********

 FCN=   5838.256     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.392        32.176        .11083E-04   -1.4259    
   2  alpha         1.9985        .49839        .24676E-02   -.20197    
   3  Normalizat    1.5295        .30706        .12569E-04   -.76953    
   4  Prefactor     .69561        .12542        .72496E-05   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1608e-13
Minuit parameter uncertainties:
  1  32.1869
  2  0.501892
  3  0.307438
  4  0.125469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/177172': 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) = 5838.25557212
delta logL = 0.008402188535

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  5.239e+01  3.219e+01  1.000e-04  1.000e+04 ( 1.000e-13)
301        alpha:  1.999e+00  5.019e-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:  6.956e-01  1.255e-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.529e+00  3.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.99
Ra Dec: 178.542 -32.719
Photon Index (Free Index): 2.00 +/- 0.50
Photon Flux (Free Index): 5.78e-08 +/- 4.46e-08
Energy Flux (Free Index): 3.77e-05 +/- 2.59e-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/177172/cmap_HighResolution_291168001_291427201_4FGL_J1154.1-3243_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.41e-08', energy_flux2='3.77e-05', photon_flux_error='3.19e-08', dlogl='8.40e-03', energy_flux='3.95e-05', photon_flux2='5.78e-08', job_status='DONE', time_completed='2021-09-04 16:43:14.610409', photon_index_error2='0.50', photon_index2='2.00', ts='8.98', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.53', time_epoch_completed='1630798994.61', return_code='0', job_id='177172', GAL2='0.70', EG2='1.53', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='4.46e-08', ts2='8.99', photon_index='1.93' WHERE bin_id='200' AND source_name='4FGL J1154.1-3243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 16:43:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 177172: <4FGL_J1154.1-3243_daily_bin200> in cluster <slac> Done

Job <4FGL_J1154.1-3243_daily_bin200> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep  4 16:31:31 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 16:31:33 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:31:33 2021
Terminated at Sat Sep  4 16:43:15 2021
Results reported at Sat Sep  4 16:43:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.1-3243_daily_bin200 178.542 -32.7189 291168001 291427201 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 :                                   643.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            704 sec.

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

