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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1018
RA = 208.718, Dec = -10.6932
tmin = 503193601, tmax = 503452801
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='55443', job_status='RUN', time_executed='2021-09-08 17:34:18.737608', time_epoch_executed='1631147658.74' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55443/ft1_4FGL_J1354.8-1041_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55443/ft1_4FGL_J1354.8-1041_daily_bin1018.fits outfile=/scratch/kocevski/55443/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1018.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=503193601.0 tmax=503452801.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 5.08
user 4.83
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.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/55443/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1018.fits evtable="EVENTS" outfile="/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/55443/ltcube_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.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/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits
.....................!
real 12.13
user 11.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/55443/ltcube_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.fits outfile=/scratch/kocevski/55443/expmap_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.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/55443/ltcube_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.fits
.....................!
real 190.90
user 185.18
sys 5.30

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1354.8-1041 @ 208.718 -10.6932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits scfile=/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits outfile=/scratch/kocevski/55443/cmap_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.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=208.718 yref=-10.6932 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits scfile=/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits outfile=/scratch/kocevski/55443/cmap_HighResolution_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.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=208.718 yref=-10.6932 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55443/Model_4FGL_J1354.8-1041_daily_bin1018.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/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits.....................!
real 61.97
user 60.58
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits', '/scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits', expMap='/scratch/kocevski/55443/expmap_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.fits', expCube='/scratch/kocevski/55443/ltcube_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55443/Model_4FGL_J1354.8-1041_daily_bin1018.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1354.8-1041'

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.768e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/55443/ft1_filtered_4FGL_J1354.8-1041_daily_bin1018.fits
Spacecraft file(s): /scratch/kocevski/55443/ft2_4FGL_J1354.8-1041_daily_bin1018.fits
Exposure map: /scratch/kocevski/55443/expmap_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.fits
Exposure cube: /scratch/kocevski/55443/ltcube_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55443/Model_4FGL_J1354.8-1041_daily_bin1018.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) = 7833.83107213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6971       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.993       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.134       1.0000         .10000E-03   10000.    
     5 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .58494E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    9.1612       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    23.717       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.979       1.0000         .10000E-03   10000.    
    11 'norm      '    .14737       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10801E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.098       1.0000         .10000E-03   10000.    
    15 'norm      '    5.7713       1.0000         .10000E-03   10000.    
    16 'norm      '    .66159       1.0000         .10000E-03   10000.    
    17 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .94968E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8781       1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.034       1.0000         .10000E-03   10000.    
    21 'norm      '    .10277E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0719       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7833.829     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     3256 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.5312       -.33723E-07** at limit **
   2  Prefactor     4.6944        9.7741        .43534E-06   -.12649E-03
   3  Prefactor     11.999        9.8524        .17036E-06   -.21880E-03
   4  Prefactor     18.131        23.080       -.15894E-05   -.71336E-03
   5  norm          .10000E-03    .81290       -.12178E-06** at limit **
   6  norm          .10010E-03    2.6419        .11641E-05** at limit **
   7  norm          9.1719        9.0224       -.43995E-07   -.81349E-03
   8  Prefactor     .10000E-03    5.5672        .39200E-08** at limit **
   9  norm          23.725        36.837        .48848E-06    .24510E-04
  10  Prefactor     15.970        10.895        .93588E-07   -.61809E-04
  11  norm          .14693        2.1670        .11483E-06   -.35308E-04
  12  Prefactor     .10000E-03    2.7102        .11370E-06** at limit **
  13  Prefactor     .10000E-03    7.3051       -.57720E-07** at limit **
  14  Prefactor     41.118        39.662        .17823E-06    .13921E-04
  15  norm          5.7696        5.9052        .10849E-06   -.12512E-03
  16  norm          .66146        2.3384        .14922E-05   -.35315E-05
  17  norm          .10000E-03    11.573        .16037E-06** at limit **
  18  norm          .80857E-01    3.7954        .10232E-05   -.73800E-03
  19  Prefactor     8.9118        21.220        .12214E-06   -.51100E-06
  20  Prefactor     18.046        15.563       -.89583E-09   -.63869E-05
  21  norm          .10000E-03    12.777       -.53766E-06** at limit **
  22  Normalizat    1.0718        .22625       -.61664E-06   -.37934E-03
  23  Prefactor     1.0313        .11587       -.34752E-06   -.57883E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.69441
  Prefactor  = 11.9987
  Prefactor  = 18.1307
  norm       = 0.0001
  norm       = 0.000100096
  norm       = 9.17192
  Prefactor  = 0.0001
  norm       = 23.7247
  Prefactor  = 15.97
  norm       = 0.146928
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.1183
  norm       = 5.76956
  norm       = 0.661461
  norm       = 0.0001
  norm       = 0.0808575
  Prefactor  = 8.91177
  Prefactor  = 18.0461
  norm       = 0.0001
  Normalizat = 1.07184
  Prefactor  = 1.03135
 **********
 **   18 **HESSE 
 **********

 FCN=   7833.829     FROM HESSE     STATUS=OK           386 CALLS     3642 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.5369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6944        9.7259        .18568E-03   -1.5275    
   3  Prefactor     11.999        9.8641        .11568E-03   -1.5015    
   4  Prefactor     18.131        22.218        .94053E-04   -1.4856    
   5  norm          .10000E-03    1.6583        .15250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10010E-03    24.472        .21621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.1719        8.9047        .13241E-03   -1.5102    
   8  Prefactor     .10000E-03    5.5838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.725        36.815        .82252E-04   -1.4733    
  10  Prefactor     15.970        10.863        .10019E-03   -1.4909    
  11  norm          .14693        22.651        .24734E-02   -1.5631    
  12  Prefactor     .10000E-03    2.7389        .14209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.3093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.118        39.624        .62529E-04   -1.4425    
  15  norm          5.7696        5.8902        .16719E-03   -1.5228    
  16  norm          .66146        2.2495        .22830E-03   -1.5545    
  17  norm          .10000E-03    11.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .80857E-01    3.3631        .54436E-01   -1.5651    
  19  Prefactor     8.9118        21.257        .13452E-03   -1.5111    
  20  Prefactor     18.046        15.569        .94314E-04   -1.4858    
  21  norm          .10000E-03    12.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0718        .26315        .34276E-03   -.90661    
  23  Prefactor     1.0313        .13700        .18707E-03   -.91692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28421e-08
Minuit parameter uncertainties:
  1  3.624e-07
  2  9.72916
  3  9.86548
  4  22.2277
  5  2.80468e-05
  6  0.00306485
  7  8.90595
  8  3.9092e-06
  9  36.8499
  10  10.8646
  11  3.64874
  12  2.39628e-06
  13  3.64404e-06
  14  39.6494
  15  5.89079
  16  2.24982
  17  6.19389e-05
  18  1.04235
  19  21.2749
  20  15.5721
  21  6.68204e-05
  22  0.263467
  23  0.137041
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  5.770e+00  5.891e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.031e+00  1.370e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.072e+00  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.00e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.15e-05

TS (Fixed Index): 1.50
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55443/likelihoodResults_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.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) = 7833.61256116
delta logL = 0.216466016696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7833.61226919
delta logL = 0.216757984792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4470       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0271       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0448       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7833.612     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      301 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4479        7.8312        .14800E-03    .49375E-03
   2  alpha         3.0268        1.4201        .18375E-01    .41925E-04
   3  Normalizat    1.0302        .25861        .17437E-02    .52139E-04
   4  Prefactor     1.0447        .13606        .18601E-03    .74078E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.4479
  alpha      = 3.02677
  Normalizat = 1.03019
  Prefactor  = 1.04466
 **********
 **   18 **HESSE 
 **********

 FCN=   7833.612     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4479        6.2392        .59202E-05   -1.5286    
   2  alpha         3.0268        1.1568        .73502E-03    .21230    
   3  Normalizat    1.0302        .25648        .69748E-04   -.92026    
   4  Prefactor     1.0447        .13526        .37203E-04   -.91255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00075e-09
Minuit parameter uncertainties:
  1  6.24013
  2  1.20501
  3  0.256787
  4  0.135307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55443': 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) = 7833.61226864
delta logL = 0.216758529433

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  4.448e+00  6.240e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.027e+00  1.205e+00  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.045e+00  1.353e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.030e+00  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 3.03 +/- 1.21
Photon Flux (Free Index): 6.04e-08 +/- 6.14e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/55443/cmap_HighResolution_503193601_503452801_4FGL_J1354.8-1041_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-05', comment='SUCCESS', photon_flux='3.00e-08', energy_flux2='1.33e-05', photon_flux_error='3.06e-08', dlogl='2.17e-01', energy_flux='1.12e-05', photon_flux2='6.04e-08', job_status='DONE', time_completed='2021-09-08 17:47:03.168732', photon_index_error2='1.21', photon_index2='3.03', ts='1.50', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1631148423.17', return_code='0', job_id='55443', GAL2='1.04', EG2='1.03', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='6.14e-08', ts2='1.97', photon_index='2.27' WHERE bin_id='1018' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:47:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 55443: <4FGL_J1354.8-1041_daily_bin1018> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1018> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:03 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:31:05 2021
Terminated at Wed Sep  8 17:47:03 2021
Results reported at Wed Sep  8 17:47:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1018 208.718 -10.6932 503193601 503452801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1354.8-1041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   759.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            960 sec.

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

