/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1154.1-3243_daily_bin285
RA = 178.542, Dec = -32.7189
tmin = 313200001, tmax = 313459201
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='177314', job_status='RUN', time_executed='2021-09-04 16:32:59.942627', time_epoch_executed='1630798379.94' WHERE source_name='4FGL J1154.1-3243' and cadence='daily' and bin_id='285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/177314

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/177314/ft1_4FGL_J1154.1-3243_daily_bin285.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/177314/ft1_4FGL_J1154.1-3243_daily_bin285.fits outfile=/scratch/kocevski/177314/ft1_filteredMKT_4FGL_J1154.1-3243_daily_bin285.fits ra=178.542 dec=-32.7189 rad=12.0 tmin=313200001.0 tmax=313459201.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.38
user 3.17
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/177314/ft1_filtered_4FGL_J1154.1-3243_daily_bin285.fits" evtable="EVENTS" scfile=/scratch/kocevski/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits sctable="SC_DATA" outfile=/scratch/kocevski/177314/ltcube_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.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/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits
.....................!
real 12.40
user 11.90
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/177314/ft1_filtered_4FGL_J1154.1-3243_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits sctable="SC_DATA" expcube=/scratch/kocevski/177314/ltcube_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.fits outfile=/scratch/kocevski/177314/expmap_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.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/177314/ltcube_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.fits
.....................!
real 191.25
user 185.29
sys 4.80

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/177314/ft1_filtered_4FGL_J1154.1-3243_daily_bin285.fits scfile=/scratch/kocevski/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits outfile=/scratch/kocevski/177314/cmap_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/177314/ft1_filtered_4FGL_J1154.1-3243_daily_bin285.fits scfile=/scratch/kocevski/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits outfile=/scratch/kocevski/177314/cmap_HighResolution_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/177314/ft1_filtered_4FGL_J1154.1-3243_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/177314/ft2_4FGL_J1154.1-3243_daily_bin285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/177314/Model_4FGL_J1154.1-3243_daily_bin285.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/177314/ft1_filtered_4FGL_J1154.1-3243_daily_bin285.fits.....................!
real 134.74
user 132.96
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9853       1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.906       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10425E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22113       1.0000         .10000E-03   10000.    
     5 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.222       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.787       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4916       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.098       1.0000         .10000E-03   10000.    
    13 'norm      '    .11277E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.825       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.655       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14491E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12050E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11550E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5769       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94047       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=   7358.329     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2427 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9870        10.827        .12707E-05   -.52947E-04
   2  Prefactor     34.910        28.071        .21989E-04   -.17226E-08
   3  Prefactor     .10000E-03    13.250       -.49689E-06** at limit **
   4  Prefactor     .14003E-03    55.857       -.12195E-05** at limit **
   5  norm          .10000E-03    17.893        .98929E-06** at limit **
   6  Prefactor     .10000E-03    16.377       -.11097E-05** at limit **
   7  norm          12.016        8.5747        .45773E-05   -.27117E-04
   8  Prefactor     .10000E-03    3.0524        .29400E-06** at limit **
   9  Prefactor     21.220        20.565        .81220E-06   -.16469E-04
  10  Prefactor     20.786        21.568       -.36525E-05   -.52759E-05
  11  norm          1.5142        66.142       -.25713E-05   -.82457E-04
  12  Prefactor     32.137        19.180        .16118E-05   -.71781E-05
  13  norm          .10000E-03    4.9589       -.16430E-06** at limit **
  14  Prefactor     .10000E-03    4.4678        .28799E-06** at limit **
  15  Prefactor     25.937        40.719       -.59500E-05   -.28201E-05
  16  Prefactor     12.667        19.279       -.42954E-05   -.38666E-04
  17  Prefactor     .10000E-03    8.5896       -.50523E-07** at limit **
  18  Prefactor     .10000E-03    9.0471       -.23805E-06** at limit **
  19  Prefactor     .10000E-03    19.737        .25043E-06** at limit **
  20  Prefactor     .10000E-03    33.506        .91552E-07** at limit **
  21  Normalizat    1.5769        .26130       -.21893E-05    .52023E-04
  22  Prefactor     .94053        .10809       -.31584E-06   -.32632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.98702
  Prefactor  = 34.9104
  Prefactor  = 0.000100001
  Prefactor  = 0.00014003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.0157
  Prefactor  = 0.0001
  Prefactor  = 21.2201
  Prefactor  = 20.7859
  norm       = 1.51422
  Prefactor  = 32.1372
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.9365
  Prefactor  = 12.6672
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.57692
  Prefactor  = 0.940535
 **********
 **   18 **HESSE 
 **********

 FCN=   7358.329     FROM HESSE     STATUS=OK           352 CALLS     2779 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9870        10.821        .14189E-03   -1.5143    
   2  Prefactor     34.910        28.055        .67829E-04   -1.4526    
   3  Prefactor     .10000E-03    13.778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14003E-03    50.036        .17389       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    17.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.016        8.5645        .11557E-03   -1.5015    
   8  Prefactor     .10000E-03    3.0713        .14630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.220        20.560        .86945E-04   -1.4786    
  10  Prefactor     20.786        21.571        .87851E-04   -1.4796    
  11  norm          1.5142        67.316        .35097E-03   -1.5462    
  12  Prefactor     32.137        19.151        .70725E-04   -1.4574    
  13  norm          .10000E-03    5.0168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5975        .35397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.937        40.714        .78829E-04   -1.4689    
  16  Prefactor     12.667        19.326        .11260E-03   -1.4996    
  17  Prefactor     .10000E-03    8.5939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.0538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    33.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5769        .30918        .35174E-03   -.75639    
  22  Prefactor     .94053        .12803        .18492E-03   -.94739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30358e-10
Minuit parameter uncertainties:
  1  10.8235
  2  28.0655
  3  0.000211588
  4  0.0895828
  5  2.73585e-06
  6  7.14371e-05
  7  8.56534
  8  5.77196e-06
  9  20.5672
  10  21.5794
  11  20.2158
  12  19.1548
  13  1.0698e-05
  14  1.8284e-05
  15  40.7575
  16  19.3356
  17  6.23535e-06
  18  1.97274e-05
  19  2.51286e-05
  20  7.91814e-05
  21  0.309553
  22  0.128073
Done.

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

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  1.514e+00  2.022e+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:  9.405e-01  1.281e-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.577e+00  3.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 178.542 -32.719
Photon Flux Upper Limit: 6.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/177314/likelihoodResults_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.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) = 7358.11378136
delta logL = 0.215073962489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7357.90626519
delta logL = 0.422590129338

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21524       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96962       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=   7357.906     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      303 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21536        8.2618        .93023E-02    .24024E-02
   2  alpha         5.0000        4.0642        .46349    ** at limit **
   3  Normalizat    1.4619        .11766        .82003E-01   -.67812E-05
   4  Prefactor     .96949        .43631E-01    .45886E-01   -.16816E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.215363
  alpha      = 5
  Normalizat = 1.46186
  Prefactor  = 0.969488
 **********
 **   18 **HESSE 
 **********

 FCN=   7357.906     FROM HESSE     STATUS=OK            35 CALLS      338 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21536        .26471        .41662E-04   -1.5615    
   2  alpha         5.0000        3.1337        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4619        .33342        .36299E-03   -.78856    
   4  Prefactor     .96949        .13260        .18245E-03   -.93754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56915e-12
Minuit parameter uncertainties:
  1  0.264708
  2  6.82138e-07
  3  0.333922
  4  0.13264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/177314': 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) = 7357.90626363
delta logL = 0.42259169497

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  2.154e-01  2.647e-01  1.000e-04  1.000e+04 ( 1.000e-13)
301        alpha:  5.000e+00  6.821e-07  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:  9.695e-01  1.326e-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.462e+00  3.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 178.542 -32.719

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/177314/cmap_HighResolution_313200001_313459201_4FGL_J1154.1-3243_daily_bin285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-05', job_status='DONE', photon_flux_upper_limit='6.75e-08', time_completed='2021-09-04 16:46:58.664689', job_id='177314', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.58', time_epoch_completed='1630799218.66', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.23e-01', ts2='0.97', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='285' AND source_name='4FGL J1154.1-3243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 16:46:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 177314: <4FGL_J1154.1-3243_daily_bin285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.1-3243_daily_bin285 178.542 -32.7189 313200001 313459201 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 :                                   836.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            919 sec.

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

