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


Performing analysis on: 4FGL_J1154.0+6018_daily_bin73
RA = 178.519, Dec = 60.3107
tmin = 258249601, tmax = 258508801
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='166886', job_status='RUN', time_executed='2021-09-04 16:00:15.141091', time_epoch_executed='1630796415.14' WHERE source_name='4FGL J1154.0+6018' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166886

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166886/ft1_4FGL_J1154.0+6018_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166886/ft1_4FGL_J1154.0+6018_daily_bin73.fits outfile=/scratch/kocevski/166886/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin73.fits ra=178.519 dec=60.3107 rad=12.0 tmin=258249601.0 tmax=258508801.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 1.17
user 1.00
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.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/166886/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.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.49
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/166886/ltcube_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.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/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits
.....................!
real 12.44
user 12.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/166886/ltcube_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.fits outfile=/scratch/kocevski/166886/expmap_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.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/166886/ltcube_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.fits
.....................!
real 191.87
user 186.57
sys 4.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 234 point sources and 0 extended sources

Setting source of interest to:
4FGL J1154.0+6018 @ 178.519 60.3107

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits scfile=/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits outfile=/scratch/kocevski/166886/cmap_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.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.519 yref=60.3107 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.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits scfile=/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits outfile=/scratch/kocevski/166886/cmap_HighResolution_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.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.519 yref=60.3107 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166886/Model_4FGL_J1154.0+6018_daily_bin73.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits......................!
real 36.75
user 35.45
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits', '/scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits', expMap='/scratch/kocevski/166886/expmap_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.fits', expCube='/scratch/kocevski/166886/ltcube_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/166886/Model_4FGL_J1154.0+6018_daily_bin73.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1154.0+6018'

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.841e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/166886/ft1_filtered_4FGL_J1154.0+6018_daily_bin73.fits
Spacecraft file(s): /scratch/kocevski/166886/ft2_4FGL_J1154.0+6018_daily_bin73.fits
Exposure map: /scratch/kocevski/166886/expmap_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.fits
Exposure cube: /scratch/kocevski/166886/ltcube_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/166886/Model_4FGL_J1154.0+6018_daily_bin73.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) = 3127.98486889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.351       1.0000         .10000E-03   10000.    
     3 'norm      '    .10214E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1910       1.0000         .10000E-03   10000.    
     5 'Prefactor '    185.71       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0627       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0830       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.125       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .41150E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10585E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8331       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.764       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6391       1.0000         .10000E-03   10000.    
    17 'norm      '    25.170       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2918       1.0000         .10000E-03   10000.    
    19 'norm      '    .11819E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.334       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .27280E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    69.151       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    38.762       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    7.3936       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .78951E-02   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .83268       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .76141       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3127.963     FROM MIGRAD    STATUS=CONVERGED   1006 CALLS     5125 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.076        .25773E-07** at limit **
   2  Prefactor     12.359        14.224       -.29065E-06   -.16723E-03
   3  norm          .10000E-03    1.9717        .31360E-06** at limit **
   4  norm          3.1914        2.0621        .28390E-07   -.26428E-04
   5  Prefactor     186.02        222.63       -.11374E-07    .15747E-04
   6  norm          1.0639        4.1373        .37240E-05    .53664E-03
   7  Prefactor     .10000E-03    123.21       -.21312E-06** at limit **
   8  norm          2.0833        1.9834       -.69727E-08   -.36184E-05
   9  Prefactor     12.121        11.765       -.23047E-05   -.16731E-03
  10  Prefactor     .10000E-03    232.83       -.35431E-06** at limit **
  11  Prefactor     .10000E-03    10.023        .29739E-07** at limit **
  12  norm          .10000E-03    24.471       -.84236E-08** at limit **
  13  Prefactor     1.8359        12.250        .25116E-05    .16689E-03
  14  Prefactor     .10000E-03    12.169        .46464E-07** at limit **
  15  Prefactor     49.768        37.768        .78892E-07   -.11591E-04
  16  Prefactor     7.6419        5.9703        .21236E-07   -.43630E-04
  17  norm          25.169        21.895        .48923E-07    .31902E-03
  18  Prefactor     5.2926        4.3791        .18715E-06    .68227E-04
  19  norm          .10539E-03    10.678       -.32161E-05** at limit **
  20  Prefactor     .10000E-03    55.431       -.91804E-07** at limit **
  21  Prefactor     21.326        17.669        .59531E-06    .10380E-02
  22  Prefactor     .10000E-03    210.27        .23313E-06** at limit **
  23  norm          .10000E-03    .83848       -.26340E-07** at limit **
  24  Prefactor     69.139        48.966        .33895E-06    .15705E-03
  25  Prefactor     .10000E-03    198.75        .62555E-06** at limit **
  26  norm          .10000E-03    2.4446       -.42542E-07** at limit **
  27  norm          38.764        14.961        .83652E-07    .26427E-04
  28  Prefactor     .10000E-03    29.186       -.57558E-06** at limit **
  29  norm          7.3935        4.4649        .39441E-07    .10546E-03
  30  norm          .10000E-03    2.8084       -.12867E-06** at limit **
  31  Prefactor     .10001E-03    546.14       -.84280E-05** at limit **
  32  Prefactor     .10000E-03    41.675       -.79090E-06** at limit **
  33  Prefactor     .10000E-03    56.889       -.52690E-07** at limit **
  34  Normalizat    .83266        .22450       -.18824E-05    .21819E-03
  35  Prefactor     .76114        .25414        .78426E-06    .79748E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.3585
  norm       = 0.000100001
  norm       = 3.19138
  Prefactor  = 186.022
  norm       = 1.06389
  Prefactor  = 0.0001
  norm       = 2.08327
  Prefactor  = 12.1214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.83594
  Prefactor  = 0.0001
  Prefactor  = 49.7683
  Prefactor  = 7.64192
  norm       = 25.169
  Prefactor  = 5.29263
  norm       = 0.000105391
  Prefactor  = 0.0001
  Prefactor  = 21.3258
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 69.1393
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 38.764
  Prefactor  = 0.0001
  norm       = 7.39353
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.832658
  Prefactor  = 0.761145
 **********
 **   18 **HESSE 
 **********

 FCN=   3127.963     FROM HESSE     STATUS=OK           762 CALLS     5887 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.359        12.818        .11398E-03   -1.5005    
   3  norm          .10000E-03    10.711        .13607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1914        2.0622        .62616E-04   -1.5351    
   5  Prefactor     186.02        222.76        .14815E-03   -1.2972    
   6  norm          1.0639        4.1404        .15310E-03   -1.5502    
   7  Prefactor     .10000E-03    123.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0833        1.9945        .74627E-04   -1.5419    
   9  Prefactor     12.121        11.748        .11504E-03   -1.5012    
  10  Prefactor     .10000E-03    234.78        .21251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.032        .17293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    24.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8359        12.251        .30821E-03   -1.5437    
  14  Prefactor     .10000E-03    12.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     49.768        37.763        .56847E-04   -1.4296    
  16  Prefactor     7.6419        5.9736        .11605E-03   -1.5155    
  17  norm          25.169        21.575        .79846E-04   -1.4704    
  18  Prefactor     5.2926        4.3690        .10264E-03   -1.5248    
  19  norm          .10539E-03    114.19        .25951E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    55.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.326        15.429        .86718E-04   -1.4784    
  22  Prefactor     .10000E-03    215.66        .42859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .84136        .50001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     69.139        49.234        .48270E-04   -1.4043    
  25  Prefactor     .10000E-03    199.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    2.4499        .85396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          38.764        14.961        .64378E-04   -1.4462    
  28  Prefactor     .10000E-03    29.830        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          7.3935        4.4530        .88114E-04   -1.5164    
  30  norm          .10000E-03    2.8571        .91452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10001E-03    550.91        .18500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    42.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    56.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .83266        .26117        .22906E-03   -.98869    
  35  Prefactor     .76114        .29760        .29241E-03   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60977e-08
Minuit parameter uncertainties:
  1  1.2883e-06
  2  12.8204
  3  0.000201385
  4  2.06228
  5  223.782
  6  4.14147
  7  0.000120568
  8  1.99456
  9  11.7502
  10  0.000176101
  11  1.08458e-06
  12  1.61687e-06
  13  9.48782
  14  5.25604e-06
  15  37.7809
  16  5.97409
  17  21.5817
  18  4.3693
  19  0.0497164
  20  3.69743e-06
  21  15.4317
  22  0.00107233
  23  5.42929e-07
  24  49.2626
  25  0.00123691
  26  2.80779e-07
  27  14.9629
  28  7.60773e-05
  29  4.45323
  30  2.56749e-06
  31  0.00414793
  32  1.68721e-05
  33  2.87716e-05
  34  0.261564
  35  0.298233
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.054e-04  4.972e-02  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  7.611e-01  2.982e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  8.327e-01  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.519 60.311
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/166886/likelihoodResults_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.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) = 3127.96286868
delta logL = -4.1850623802e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3127.73607333
delta logL = 0.226753495323

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34795       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .77024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80715       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+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=   3127.736     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      371 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34826        .56374        .47780E-04   -.11707E-03
   2  alpha         5.0000        4.1385        .80788E-01** at limit **
   3  Normalizat    .77043        .25293        .23688E-03    .16174E-04
   4  Prefactor     .80691        .29852        .28455E-03    .53617E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.34826
  alpha      = 5
  Normalizat = 0.770435
  Prefactor  = 0.806913
 **********
 **   18 **HESSE 
 **********

 FCN=   3127.736     FROM HESSE     STATUS=OK            23 CALLS      394 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34826        .55777        .19112E-05   -1.5590    
   2  alpha         5.0000        4.1402        .32315E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .77043        .25311        .94751E-05   -1.0117    
   4  Prefactor     .80691        .29879        .11382E-04   -.99474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04465e-10
Minuit parameter uncertainties:
  1  0.557781
  2  0.000215325
  3  0.253496
  4  0.299388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166886': 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) = 3127.73607258
delta logL = 0.226754241259

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  3.483e-01  5.578e-01  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  5.000e+00  2.153e-04  0.000e+00  5.000e+00 ( 1.000e+00)
410         beta:  2.407e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  8.069e-01  2.994e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  7.704e-01  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.519 60.311

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/166886/cmap_HighResolution_258249601_258508801_4FGL_J1154.0+6018_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-05', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-09-04 16:12:59.468174', job_id='166886', GAL2='0.81', fit_tolerance='1e-08', EG2='0.77', EG='0.83', time_epoch_completed='1630797179.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.27e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='73' AND source_name='4FGL J1154.0+6018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 16:12:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 166886: <4FGL_J1154.0+6018_daily_bin73> in cluster <slac> Done

Job <4FGL_J1154.0+6018_daily_bin73> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 15:56:46 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:56:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 15:56:47 2021
Terminated at Sat Sep  4 16:13:00 2021
Results reported at Sat Sep  4 16:13:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_daily_bin73 178.519 60.3107 258249601 258508801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1154.0+6018 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.43 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             275.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            974 sec.

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

