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


Performing analysis on: 4FGL_J1154.1-3243_daily_bin930
RA = 178.542, Dec = -32.7189
tmin = 480384001, tmax = 480643201
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='181986', job_status='RUN', time_executed='2021-09-04 16:46:47.422991', time_epoch_executed='1630799207.42' WHERE source_name='4FGL J1154.1-3243' and cadence='daily' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181986

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181986/ft1_4FGL_J1154.1-3243_daily_bin930.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181986/ft1_4FGL_J1154.1-3243_daily_bin930.fits outfile=/scratch/kocevski/181986/ft1_filteredMKT_4FGL_J1154.1-3243_daily_bin930.fits ra=178.542 dec=-32.7189 rad=12.0 tmin=480384001.0 tmax=480643201.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.76
user 3.24
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181986/ft1_filtered_4FGL_J1154.1-3243_daily_bin930.fits" evtable="EVENTS" scfile=/scratch/kocevski/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits sctable="SC_DATA" outfile=/scratch/kocevski/181986/ltcube_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.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/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits
.....................!
real 12.27
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181986/ft1_filtered_4FGL_J1154.1-3243_daily_bin930.fits evtable="EVENTS" scfile=/scratch/kocevski/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits sctable="SC_DATA" expcube=/scratch/kocevski/181986/ltcube_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.fits outfile=/scratch/kocevski/181986/expmap_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.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/181986/ltcube_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.fits
.....................!
real 189.71
user 185.15
sys 4.04

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/181986/ft1_filtered_4FGL_J1154.1-3243_daily_bin930.fits scfile=/scratch/kocevski/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits outfile=/scratch/kocevski/181986/cmap_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181986/ft1_filtered_4FGL_J1154.1-3243_daily_bin930.fits scfile=/scratch/kocevski/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits outfile=/scratch/kocevski/181986/cmap_HighResolution_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/181986/ft1_filtered_4FGL_J1154.1-3243_daily_bin930.fits evtable="EVENTS" scfile=/scratch/kocevski/181986/ft2_4FGL_J1154.1-3243_daily_bin930.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181986/Model_4FGL_J1154.1-3243_daily_bin930.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/181986/ft1_filtered_4FGL_J1154.1-3243_daily_bin930.fits.....................!
real 138.59
user 137.19
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1456       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15999E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12893E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23223E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .24084E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.9397       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.846       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12323E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .19721E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25769E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.4009       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12883E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.535       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .55322E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24362E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1384       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2691       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89619       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=   8010.555     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2370 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1373        6.9813       -.71388E-06   -.32440E-04
   2  Prefactor     .10000E-03    13.344       -.67250E-06** at limit **
   3  Prefactor     .10000E-03    5.2008        .29493E-07** at limit **
   4  Prefactor     .10000E-03    38.809       -.18433E-06** at limit **
   5  norm          .10000E-03    15.626       -.35733E-05** at limit **
   6  Prefactor     .10000E-03    8.5522        .42518E-05** at limit **
   7  norm          5.9370        5.2657       -.40634E-06   -.60657E-04
   8  Prefactor     .10000E-03    2.9193        .16383E-06** at limit **
   9  Prefactor     15.853        14.844        .37554E-05    .14174E-04
  10  Prefactor     .10000E-03    8.7969        .52276E-06** at limit **
  11  norm          .10000E-03    6.9904       -.26411E-07** at limit **
  12  Prefactor     .10004E-03    7.7413       -.53894E-06** at limit **
  13  norm          2.3927        1.3822        .10305E-06   -.13612E-02
  14  Prefactor     .10000E-03    7.7841       -.17900E-05** at limit **
  15  Prefactor     49.691        41.330        .13998E-05    .11653E-04
  16  Prefactor     .10000E-03    8.8909       -.40252E-05** at limit **
  17  Prefactor     .10000E-03    100.96        .21917E-05** at limit **
  18  Prefactor     .10000E-03    12.451        .16885E-05** at limit **
  19  Prefactor     .10000E-03    16.210        .45229E-05** at limit **
  20  Prefactor     4.1412        23.038       -.27455E-06   -.94754E-04
  21  Normalizat    1.2690        .21562        .19986E-06    .52825E-04
  22  Prefactor     .89621        .93115E-01   -.10306E-06    .14631E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.13728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.93699
  Prefactor  = 0.0001
  Prefactor  = 15.8528
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100042
  norm       = 2.39267
  Prefactor  = 0.0001
  Prefactor  = 49.6906
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.14121
  Normalizat = 1.26901
  Prefactor  = 0.896214
 **********
 **   18 **HESSE 
 **********

 FCN=   8010.555     FROM HESSE     STATUS=OK           336 CALLS     2706 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1373        6.9717        .22856E-03   -1.5354    
   2  Prefactor     .10000E-03    13.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.2167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    38.938        .20090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    15.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9370        5.2661        .16476E-03   -1.5221    
   8  Prefactor     .10000E-03    2.9696        .14927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.853        14.845        .10062E-03   -1.4911    
  10  Prefactor     .10000E-03    8.8000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.9942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    124.11        .47028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3927        4.0722        .11226E-02   -1.5399    
  14  Prefactor     .10000E-03    8.1048        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     49.691        41.311        .56978E-04   -1.4297    
  16  Prefactor     .10000E-03    8.9713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    102.61        .19060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.1412        24.056        .99072E-03   -1.5301    
  21  Normalizat    1.2690        .25818        .33182E-03   -.84496    
  22  Prefactor     .89621        .11197        .16783E-03   -.96274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89426e-09
Minuit parameter uncertainties:
  1  6.97355
  2  1.1739e-06
  3  1.38368e-07
  4  9.01591e-06
  5  4.03427e-06
  6  7.79697e-06
  7  5.26653
  8  2.8832e-07
  9  14.8485
  10  8.60278e-07
  11  2.95924e-07
  12  0.00455324
  13  4.07263
  14  1.24633e-05
  15  41.3349
  16  8.44888e-07
  17  7.89461e-05
  18  9.69544e-06
  19  1.35587e-06
  20  19.9741
  21  0.258445
  22  0.111994
Done.

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

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  1.000e-04  2.959e-07  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:  8.962e-01  1.120e-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.269e+00  2.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/181986/likelihoodResults_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.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): 0
logL (Free Index) = 8010.55571514
delta logL = -0.000680318100422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8010.55503481
delta logL = 3.13684722641e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9303       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89621       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=   8010.555     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      244 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1357.4        .18142E-02** at limit **
   2  alpha         1.8162        3.2774        .17036        .20020E-09
   3  Normalizat    1.2690        .12760        .33182E-03   -.22818E-04
   4  Prefactor     .89621        .55675E-01    .16783E-03    .94565E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.8162
  Normalizat = 1.26901
  Prefactor  = 0.896214
 **********
 **   18 **HESSE 
 **********

 FCN=   8010.555     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8162        3.1123        .68145E-02   -.27705    
   3  Normalizat    1.2690        .25565        .13273E-04   -.84496    
   4  Prefactor     .89621        .11161        .33566E-04   -.96274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8418e-11
Minuit parameter uncertainties:
  1  6.83734e-06
  2  346.316
  3  0.255902
  4  0.111636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181986': 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) = 8010.55503476
delta logL = 5.71581040276e-08

Extracting fit parameters...

4FGL J1154.1-3243
   Spectrum: LogParabola
300         norm:  1.000e-04  6.837e-06  1.000e-04  1.000e+04 ( 1.000e-13)
301        alpha:  1.816e+00  3.463e+02  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:  8.962e-01  1.116e-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.269e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/181986/cmap_HighResolution_480384001_480643201_4FGL_J1154.1-3243_daily_bin930.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.72e-05', job_status='DONE', photon_flux_upper_limit='3.72e-08', time_completed='2021-09-04 17:00:58.853423', job_id='181986', GAL2='0.90', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1630800058.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='5.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='930' AND source_name='4FGL J1154.1-3243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 17:00:58 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.1-3243_daily_bin930 178.542 -32.7189 480384001 480643201 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 :                                   850.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             393.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            865 sec.

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

