/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 120 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 = 7477
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin394
RA = 208.718, Dec = -10.6932
tmin = 341452801, tmax = 341712001
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='53837', job_status='RUN', time_executed='2021-09-08 17:27:53.087842', time_epoch_executed='1631147273.09' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='394'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53837/ft1_4FGL_J1354.8-1041_daily_bin394.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53837/ft1_4FGL_J1354.8-1041_daily_bin394.fits outfile=/scratch/kocevski/53837/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin394.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=341452801.0 tmax=341712001.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.44
user 3.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53837/ft1_filtered_4FGL_J1354.8-1041_daily_bin394.fits" evtable="EVENTS" scfile=/scratch/kocevski/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits sctable="SC_DATA" outfile=/scratch/kocevski/53837/ltcube_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.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/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits
.....................!
real 12.19
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53837/ft1_filtered_4FGL_J1354.8-1041_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits sctable="SC_DATA" expcube=/scratch/kocevski/53837/ltcube_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.fits outfile=/scratch/kocevski/53837/expmap_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.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/53837/ltcube_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.fits
.....................!
real 191.65
user 185.31
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/53837/ft1_filtered_4FGL_J1354.8-1041_daily_bin394.fits scfile=/scratch/kocevski/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits outfile=/scratch/kocevski/53837/cmap_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53837/ft1_filtered_4FGL_J1354.8-1041_daily_bin394.fits scfile=/scratch/kocevski/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits outfile=/scratch/kocevski/53837/cmap_HighResolution_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53837/ft1_filtered_4FGL_J1354.8-1041_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/53837/ft2_4FGL_J1354.8-1041_daily_bin394.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53837/Model_4FGL_J1354.8-1041_daily_bin394.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/53837/ft1_filtered_4FGL_J1354.8-1041_daily_bin394.fits.....................!
real 56.73
user 55.35
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.558       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.427       1.0000         .10000E-03   10000.    
     5 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10235E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10947E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.435       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0306       1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.132       1.0000         .10000E-03   10000.    
    13 'Prefactor '    51.790       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.928       1.0000         .10000E-03   10000.    
    16 'norm      '    6.1567       1.0000         .10000E-03   10000.    
    17 'norm      '    12.017       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1824       1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.167       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5755       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .26772       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.5702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6923.941     FROM MIGRAD    STATUS=CONVERGED     70 CALLS     2479 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.6285       -.69290E-06** at limit **
   2  Prefactor     .10000E-03    4.5709       -.46016E-05** at limit **
   3  Prefactor     26.557        1.0331        .29717E-06    .40909E-04
   4  Prefactor     31.430        2.0506        .19146E-05   -.18410E-02
   5  norm          .10000E-03    1.7993       -.27560E-06** at limit **
   6  norm          .10000E-03    4.2931        .36854E-05** at limit **
   7  norm          .10003E-03    3.4995        .46809E-05** at limit **
   8  Prefactor     .10002E-03    34.076        .43643E-04** at limit **
   9  norm          .10000E-03    10.337       -.24100E-05** at limit **
  10  Prefactor     17.460        7.5224        .10645E-04   -.35406E-02
  11  norm          2.0325        2.2003       -.80489E-05   -.10155E-02
  12  Prefactor     34.134        1.0304       -.21754E-06   -.10526E-02
  13  Prefactor     51.785        2.0044       -.14472E-05    .22134E-02
  14  Prefactor     .10010E-03    36.207       -.49694E-04** at limit **
  15  norm          11.926        1.0240       -.31715E-06   -.49139E-03
  16  norm          6.1573        3.6423       -.37999E-06   -.15108E-03
  17  norm          12.018        1.0137        .27794E-06    .41840E-04
  18  norm          5.1835        1.0928        .80158E-06    .16439E-03
  19  Prefactor     36.170        1.4968        .11102E-05   -.16425E-02
  20  Prefactor     7.5771        1.0910        .93278E-06   -.92287E-04
  21  norm          .10003E-03    3.5619       -.25443E-05** at limit **
  22  Normalizat    .26779        .29287       -.71733E-05   -.52994E-04
  23  Prefactor     1.5701        .16517        .15667E-05    .50421E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.5571
  Prefactor  = 31.4304
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.00010003
  Prefactor  = 0.000100019
  norm       = 0.0001
  Prefactor  = 17.4597
  norm       = 2.03252
  Prefactor  = 34.1343
  Prefactor  = 51.7854
  Prefactor  = 0.000100101
  norm       = 11.9263
  norm       = 6.1573
  norm       = 12.0177
  norm       = 5.18354
  Prefactor  = 36.1695
  Prefactor  = 7.57707
  norm       = 0.000100033
  Normalizat = 0.267791
  Prefactor  = 1.57014
 **********
 **   18 **HESSE 
 **********

 FCN=   6923.941     FROM HESSE     STATUS=OK           428 CALLS     2907 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.6275        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5726        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.557        11.769        .19434E-02   -1.4677    
   4  Prefactor     31.430        23.614        .17868E-02   -1.4586    
   5  norm          .10000E-03    1.0784        .28016E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.2223        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10003E-03    6.4578        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    37.109        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    10.342        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.460        19.119        .23980E-02   -1.4872    
  11  norm          2.0325        8.8788        .72578E-02   -1.5423    
  12  Prefactor     34.134        11.393        .17148E-02   -1.4539    
  13  Prefactor     51.785        27.381        .13932E-02   -1.4267    
  14  Prefactor     .10010E-03    42.439        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.926        13.152        .28998E-02   -1.5017    
  16  norm          6.1573        3.9319        .40449E-02   -1.5212    
  17  norm          12.018        11.145        .28889E-02   -1.5014    
  18  norm          5.1835        10.751        .44147E-02   -1.5253    
  19  Prefactor     36.170        33.688        .16660E-02   -1.4504    
  20  Prefactor     7.5771        17.196        .36426E-02   -1.5157    
  21  norm          .10003E-03    6.6482        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .26779        .54051        .17047       -1.2481    
  23  Prefactor     1.5701        .26798        .42173E-01   -.75594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75126e-08
Minuit parameter uncertainties:
  1  1.81066e-05
  2  7.59655e-05
  3  11.7702
  4  23.6209
  5  1.21151e-05
  6  3.81841e-05
  7  0.000881808
  8  0.00167188
  9  5.86149e-05
  10  19.126
  11  8.49811
  12  11.3936
  13  27.3874
  14  0.0041521
  15  13.1552
  16  3.93205
  17  11.1468
  18  10.7554
  19  33.7056
  20  17.2073
  21  0.000930233
  22  0.551594
  23  0.268219
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.193e+01  1.316e+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:  1.570e+00  2.682e-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:  2.678e-01  5.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.27
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.20e-08 +/- 6.84e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 2.56e-05

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

Saving results to:
/scratch/kocevski/53837/likelihoodResults_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.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) = 6923.76766863
delta logL = 0.17292151945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6923.75526597
delta logL = 0.185324175759

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.571       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7432       1.0000          .0000       5.0000    
     3 'Normalizat'    .23741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5784       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=   6923.755     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.567        11.597        .12323E-03    .23418E-02
   2  alpha         2.7437        .81203        .15606E-01    .31443E-03
   3  Normalizat    .23761        .29553        .79030E-03   -.42507E-03
   4  Prefactor     1.5783        .16632        .18587E-03   -.21364E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5671
  alpha      = 2.74366
  Normalizat = 0.237614
  Prefactor  = 1.57829
 **********
 **   18 **HESSE 
 **********

 FCN=   6923.755     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.567        10.993        .24646E-04   -1.5058    
   2  alpha         2.7437        .77012        .62425E-03    .97618E-01
   3  Normalizat    .23761        .29467        .31612E-04   -1.2677    
   4  Prefactor     1.5783        .16582        .37174E-04   -.75370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11372e-08
Minuit parameter uncertainties:
  1  10.9952
  2  0.782979
  3  0.296619
  4  0.16588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53837': 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) = 6923.75526546
delta logL = 0.185324684871

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.057e+01  1.100e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.744e+00  7.830e-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:  1.578e+00  1.659e-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:  2.376e-01  2.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 2.74 +/- 0.78
Photon Flux (Free Index): 9.75e-08 +/- 9.33e-08
Energy Flux (Free Index): 2.51e-05 +/- 2.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/53837/cmap_HighResolution_341452801_341712001_4FGL_J1354.8-1041_daily_bin394.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-05', comment='SUCCESS', photon_flux='6.20e-08', energy_flux2='2.51e-05', photon_flux_error='6.84e-08', dlogl='1.85e-01', energy_flux='2.32e-05', photon_flux2='9.75e-08', job_status='DONE', time_completed='2021-09-08 17:39:22.433847', photon_index_error2='0.78', photon_index2='2.74', ts='1.27', fit_tolerance='1e-08', GAL='1.57', photon_index_error='0.00', photon_flux_upper_limit='1.90e-07', energy_flux_error2='2.15e-05', EG='0.27', time_epoch_completed='1631147962.43', return_code='0', job_id='53837', GAL2='1.58', EG2='0.24', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='9.33e-08', ts2='1.70', photon_index='2.27' WHERE bin_id='394' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:39:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 53837: <4FGL_J1354.8-1041_daily_bin394> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin394> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:42 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:43 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:25:43 2021
Terminated at Wed Sep  8 17:39:23 2021
Results reported at Wed Sep  8 17:39:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin394 208.718 -10.6932 341452801 341712001 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 :                                   640.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

