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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1610
RA = 208.718, Dec = -10.6932
tmin = 656640001, tmax = 656899201
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='359561', job_status='RUN', time_executed='2021-12-08 00:48:43.609721', time_epoch_executed='1638953323.61' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1610'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359561

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359561/ft1_4FGL_J1354.8-1041_daily_bin1610.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359561/ft1_4FGL_J1354.8-1041_daily_bin1610.fits outfile=/scratch/kocevski/359561/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1610.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=656640001.0 tmax=656899201.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.60
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.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/359561/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1610.fits evtable="EVENTS" outfile="/scratch/kocevski/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits" evtable="EVENTS" scfile=/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits sctable="SC_DATA" outfile=/scratch/kocevski/359561/ltcube_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.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/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits
.....................!
real 13.90
user 13.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits evtable="EVENTS" scfile=/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits sctable="SC_DATA" expcube=/scratch/kocevski/359561/ltcube_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.fits outfile=/scratch/kocevski/359561/expmap_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.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/359561/ltcube_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.fits
.....................!
real 191.80
user 185.87
sys 5.40

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/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits scfile=/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits outfile=/scratch/kocevski/359561/cmap_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits scfile=/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits outfile=/scratch/kocevski/359561/cmap_HighResolution_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits evtable="EVENTS" scfile=/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/359561/Model_4FGL_J1354.8-1041_daily_bin1610.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/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits....................!
real 62.76
user 61.17
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits', '/scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits', expMap='/scratch/kocevski/359561/expmap_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.fits', expCube='/scratch/kocevski/359561/ltcube_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/359561/Model_4FGL_J1354.8-1041_daily_bin1610.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/359561/ft1_filtered_4FGL_J1354.8-1041_daily_bin1610.fits
Spacecraft file(s): /scratch/kocevski/359561/ft2_4FGL_J1354.8-1041_daily_bin1610.fits
Exposure map: /scratch/kocevski/359561/expmap_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.fits
Exposure cube: /scratch/kocevski/359561/ltcube_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/359561/Model_4FGL_J1354.8-1041_daily_bin1610.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) = 7571.1621072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    12.389       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6328       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7615       1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12844E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.117       1.0000         .10000E-03   10000.    
    11 'norm      '    13.201       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.647       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.984       1.0000         .10000E-03   10000.    
    14 'Prefactor '    95.448       1.0000         .10000E-03   10000.    
    15 'norm      '    21.099       1.0000         .10000E-03   10000.    
    16 'norm      '    2.5354       1.0000         .10000E-03   10000.    
    17 'norm      '    31.124       1.0000         .10000E-03   10000.    
    18 'norm      '    19.102       1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.326       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.8460       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95024       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=   7571.152     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2492 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.8385       -.27017E-07** at limit **
   2  Prefactor     12.389        11.705       -.37038E-06   -.49991E-04
   3  Prefactor     6.6380        11.746        .14050E-05   -.10286E-03
   4  Prefactor     .10000E-03    10.762        .12562E-05** at limit **
   5  norm          1.7618        1.4663       -.25258E-07   -.41883E-03
   6  norm          .10000E-03    3.5936        .15377E-07** at limit **
   7  norm          15.124        9.0428       -.25242E-06   -.67314E-04
   8  Prefactor     .10000E-03    12.082       -.14973E-05** at limit **
   9  norm          .10000E-03    12.601       -.83576E-06** at limit **
  10  Prefactor     25.117        18.248        .51523E-06    .80893E-05
  11  norm          13.202        8.1735       -.14615E-06   -.66720E-04
  12  Prefactor     26.649        13.345        .19633E-05   -.60389E-04
  13  Prefactor     31.987        34.539        .37385E-05   -.91549E-05
  14  Prefactor     95.451        64.613        .20329E-05   -.21238E-05
  15  norm          21.096        17.346       -.33668E-05   -.31455E-04
  16  norm          2.5359        3.3342       -.14269E-06   -.63095E-03
  17  norm          31.125        19.503        .52392E-06   -.52794E-05
  18  norm          19.103        11.385        .10497E-06   -.24303E-04
  19  Prefactor     28.328        29.868        .23114E-05   -.96366E-05
  20  Prefactor     .10000E-03    19.147       -.31862E-05** at limit **
  21  norm          .10000E-03    17.517        .43814E-05** at limit **
  22  Normalizat    1.8456        .30201       -.16147E-05    .24334E-04
  23  Prefactor     .95045        .14805        .73677E-07   -.81153E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.3889
  Prefactor  = 6.638
  Prefactor  = 0.0001
  norm       = 1.76176
  norm       = 0.0001
  norm       = 15.1242
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.1167
  norm       = 13.2017
  Prefactor  = 26.6493
  Prefactor  = 31.9865
  Prefactor  = 95.4506
  norm       = 21.096
  norm       = 2.53586
  norm       = 31.1247
  norm       = 19.1032
  Prefactor  = 28.3281
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.84562
  Prefactor  = 0.95045
 **********
 **   18 **HESSE 
 **********

 FCN=   7571.152     FROM HESSE     STATUS=OK           376 CALLS     2868 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.389        11.706        .11381E-03   -1.5004    
   3  Prefactor     6.6380        11.709        .15581E-03   -1.5193    
   4  Prefactor     .10000E-03    10.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7618        1.4612        .92305E-04   -1.5443    
   6  norm          .10000E-03    3.6564        .32035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.124        8.9999        .10298E-03   -1.4930    
   8  Prefactor     .10000E-03    12.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.117        18.236        .79930E-04   -1.4705    
  11  norm          13.202        8.1793        .11024E-03   -1.4981    
  12  Prefactor     26.649        13.311        .77606E-04   -1.4675    
  13  Prefactor     31.987        34.525        .70851E-04   -1.4576    
  14  Prefactor     95.451        64.606        .41140E-04   -1.3751    
  15  norm          21.096        17.303        .87199E-04   -1.4789    
  16  norm          2.5359        3.3454        .17186E-03   -1.5389    
  17  norm          31.125        19.502        .71820E-04   -1.4592    
  18  norm          19.103        11.368        .91640E-04   -1.4834    
  19  Prefactor     28.328        29.834        .75275E-04   -1.4643    
  20  Prefactor     .10000E-03    19.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    17.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.8456        .35360        .36427E-03   -.68479    
  23  Prefactor     .95045        .17311        .24862E-03   -.94400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03851e-10
Minuit parameter uncertainties:
  1  1.0609e-06
  2  11.7078
  3  11.7134
  4  5.11075e-08
  5  1.46125
  6  2.84955e-06
  7  9.00075
  8  8.98857e-06
  9  1.55586e-06
  10  18.2402
  11  8.18
  12  13.3128
  13  34.5463
  14  64.6535
  15  17.3074
  16  3.34566
  17  19.506
  18  11.3696
  19  29.8496
  20  6.38179e-06
  21  7.77542e-07
  22  0.354091
  23  0.17321
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.110e+01  1.731e+01  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:  9.505e-01  1.732e-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.846e+00  3.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.19
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 8.99e-08
Energy Flux (Fixed Index): 4.11e-05 +/- 3.37e-05

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

Saving results to:
/scratch/kocevski/359561/likelihoodResults_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.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) = 7570.06782713
delta logL = 1.08383581038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7570.06392861
delta logL = 1.08773432431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.866       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2384       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98946       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=   7570.064     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      297 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.866        14.754        .11629E-03    .87982E-06
   2  alpha         3.2383        .90637        .11436E-01    .27130E-03
   3  Normalizat    1.7314        .34348        .37257E-03    .54498E-04
   4  Prefactor     .98941        .17414        .24411E-03    .12216E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.866
  alpha      = 3.23827
  Normalizat = 1.73137
  Prefactor  = 0.989411
 **********
 **   18 **HESSE 
 **********

 FCN=   7570.064     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.866        12.386        .46518E-05   -1.5019    
   2  alpha         3.2383        .76571        .22872E-02    .29978    
   3  Normalizat    1.7314        .34179        .14903E-04   -.71469    
   4  Prefactor     .98941        .17321        .97646E-05   -.93083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74856e-11
Minuit parameter uncertainties:
  1  12.3883
  2  0.779468
  3  0.342262
  4  0.173311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359561': 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) = 7570.06392854
delta logL = 1.08773439539

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.187e+01  1.239e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.238e+00  7.795e-01  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:  9.894e-01  1.733e-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.731e+00  3.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 3.24 +/- 0.78
Photon Flux (Free Index): 2.19e-07 +/- 1.22e-07
Energy Flux (Free Index): 4.41e-05 +/- 2.26e-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/359561/cmap_HighResolution_656640001_656899201_4FGL_J1354.8-1041_daily_bin1610.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-05', comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='4.41e-05', photon_flux_error='8.99e-08', dlogl='1.09e+00', energy_flux='4.11e-05', photon_flux2='2.19e-07', job_status='DONE', time_completed='2021-12-08 01:00:13.538732', photon_index_error2='0.78', photon_index2='3.24', ts='3.19', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='2.50e-07', energy_flux_error2='2.26e-05', EG='1.85', time_epoch_completed='1638954013.54', return_code='0', job_id='359561', GAL2='0.99', EG2='1.73', return_code2='0', energy_flux_error='3.37e-05', photon_flux_error2='1.22e-07', ts2='5.58', photon_index='2.27' WHERE bin_id='1610' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:00:13 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 359561: <4FGL_J1354.8-1041_daily_bin1610> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1610> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec  8 00:45:31 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 00:47:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 00:47:18 2021
Terminated at Wed Dec  8 01:00:14 2021
Results reported at Wed Dec  8 01:00:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1610 208.718 -10.6932 656640001 656899201 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 :                                   688.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            883 sec.

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

