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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin323
RA = 208.718, Dec = -10.6932
tmin = 323049601, tmax = 323308801
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='53724', job_status='RUN', time_executed='2021-09-08 17:29:28.199745', time_epoch_executed='1631147368.2' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53724

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53724/ft1_4FGL_J1354.8-1041_daily_bin323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53724/ft1_4FGL_J1354.8-1041_daily_bin323.fits outfile=/scratch/kocevski/53724/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin323.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=323049601.0 tmax=323308801.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.35
user 3.12
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.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/53724/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin323.fits evtable="EVENTS" outfile="/scratch/kocevski/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.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/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.fits" evtable="EVENTS" scfile=/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits sctable="SC_DATA" outfile=/scratch/kocevski/53724/ltcube_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.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/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits
.....................!
real 17.27
user 16.70
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits sctable="SC_DATA" expcube=/scratch/kocevski/53724/ltcube_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.fits outfile=/scratch/kocevski/53724/expmap_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.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/53724/ltcube_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.fits
.....................!
real 190.40
user 185.73
sys 4.32

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/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.fits scfile=/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits outfile=/scratch/kocevski/53724/cmap_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.fits scfile=/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits outfile=/scratch/kocevski/53724/cmap_HighResolution_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/53724/ft2_4FGL_J1354.8-1041_daily_bin323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53724/Model_4FGL_J1354.8-1041_daily_bin323.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/53724/ft1_filtered_4FGL_J1354.8-1041_daily_bin323.fits.....................!
real 49.95
user 47.96
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.4163       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.736       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.770       1.0000         .10000E-03   10000.    
     5 'norm      '    2.9174       1.0000         .10000E-03   10000.    
     6 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .14677E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    19.640       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38972E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5685       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.388       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.4827       1.0000         .10000E-03   10000.    
    16 'norm      '    .10271E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    18.328       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4796       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.8239       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0617       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=   5979.848     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2607 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4211       -.10636E-07** at limit **
   2  Prefactor     4.4073        13.891        .17027E-06   -.10571E-03
   3  Prefactor     20.735        13.397       -.25751E-07   -.15257E-03
   4  Prefactor     22.777        24.195       -.16988E-05   -.25207E-03
   5  norm          2.9173        2.1408        .12374E-06   -.17848E-03
   6  norm          .10000E-03    4.0162        .15143E-05** at limit **
   7  norm          .10003E-03    7.2661        .48979E-06** at limit **
   8  Prefactor     .10000E-03    13.627        .15528E-07** at limit **
   9  norm          19.639        24.186       -.82211E-07   -.71026E-05
  10  Prefactor     .10000E-03    8.5593        .37568E-06** at limit **
  11  norm          1.5686        2.6461        .88359E-07   -.87667E-04
  12  Prefactor     .10000E-03    2.3928        .42531E-07** at limit **
  13  Prefactor     13.404        33.649        .35423E-05    .57711E-04
  14  Prefactor     .10000E-03    19.617       -.10018E-07** at limit **
  15  norm          4.4830        6.2282        .49567E-06    .10185E-04
  16  norm          .10000E-03    1.1963       -.18721E-07** at limit **
  17  norm          18.327        15.124        .75941E-07   -.10439E-05
  18  norm          .10000E-03    2.1765       -.13442E-07** at limit **
  19  Prefactor     2.4775        34.871        .10314E-05   -.14212E-04
  20  Prefactor     .10000E-03    34.098       -.22182E-06** at limit **
  21  norm          5.8221        16.116        .25423E-06   -.78468E-05
  22  Normalizat    1.0947        .28122       -.21653E-05   -.10860E-03
  23  Prefactor     1.0618        .13606        .39109E-06   -.40458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.40729
  Prefactor  = 20.7352
  Prefactor  = 22.7768
  norm       = 2.91732
  norm       = 0.000100002
  norm       = 0.000100034
  Prefactor  = 0.0001
  norm       = 19.6393
  Prefactor  = 0.000100001
  norm       = 1.5686
  Prefactor  = 0.0001
  Prefactor  = 13.4037
  Prefactor  = 0.0001
  norm       = 4.48295
  norm       = 0.0001
  norm       = 18.3268
  norm       = 0.0001
  Prefactor  = 2.47754
  Prefactor  = 0.0001
  norm       = 5.82212
  Normalizat = 1.09474
  Prefactor  = 1.0618
 **********
 **   18 **HESSE 
 **********

 FCN=   5979.848     FROM HESSE     STATUS=OK           376 CALLS     2983 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4215        .13969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4073        13.831        .19163E-03   -1.5288    
   3  Prefactor     20.735        13.425        .87959E-04   -1.4797    
   4  Prefactor     22.777        25.198        .83942E-04   -1.4753    
   5  norm          2.9173        2.1324        .90035E-04   -1.5366    
   6  norm          .10000E-03    6.5035        .26343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10003E-03    48.425        .36409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.639        24.185        .90377E-04   -1.4821    
  10  Prefactor     .10000E-03    63.149        .43305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5686        2.6092        .15892E-03   -1.5457    
  12  Prefactor     .10000E-03    2.4064        .11675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.404        33.820        .10947E-03   -1.4976    
  14  Prefactor     .10000E-03    19.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4830        6.1991        .19017E-03   -1.5284    
  16  norm          .10000E-03    2.0712        .16391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.327        15.126        .93553E-04   -1.4852    
  18  norm          .10000E-03    2.1786        .11140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4775        34.735        .25963E-03   -1.5393    
  20  Prefactor     .10000E-03    34.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.8221        16.124        .16642E-03   -1.5225    
  22  Normalizat    1.0947        .31716        .35119E-03   -.89921    
  23  Prefactor     1.0618        .15726        .18957E-03   -.90697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29337e-09
Minuit parameter uncertainties:
  1  7.80294e-07
  2  13.8415
  3  13.427
  4  25.2093
  5  2.13249
  6  0.00024215
  7  0.00255093
  8  6.9208e-06
  9  24.1967
  10  0.000507188
  11  2.60936
  12  1.89581e-07
  13  33.8682
  14  3.81843e-06
  15  6.20004
  16  2.1339e-05
  17  15.1294
  18  1.8905e-06
  19  18.566
  20  2.08063e-06
  21  16.1361
  22  0.317717
  23  0.15733
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  4.483e+00  6.200e+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.062e+00  1.573e-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.095e+00  3.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53724/likelihoodResults_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.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) = 5979.53694583
delta logL = 0.3114303847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5979.52940728
delta logL = 0.318968936122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8222       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3405       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       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.

 FCN=   5979.529     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8193        4.7292        .51612E-02    .10462E-02
   2  alpha         1.3391        .75134        .48947       -.32023E-04
   3  Normalizat    1.1108        .24528        .78816E-01   -.25460E-04
   4  Prefactor     1.0574        .13129        .39497E-01   -.93714E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.81933
  alpha      = 1.3391
  Normalizat = 1.11078
  Prefactor  = 1.05736
 **********
 **   18 **HESSE 
 **********

 FCN=   5979.529     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8193        5.8929        .91207E-03   -1.5317    
   2  alpha         1.3391        1.0178        .26106E-01   -.48291    
   3  Normalizat    1.1108        .28316        .34888E-03   -.89406    
   4  Prefactor     1.0574        .15196        .18985E-03   -.90841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38528e-11
Minuit parameter uncertainties:
  1  5.89383
  2  1.05753
  3  0.28355
  4  0.152021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53724': 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) = 5979.5294064
delta logL = 0.318969817778

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.819e+00  5.894e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.339e+00  1.058e+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.057e+00  1.520e-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.111e+00  2.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.34 +/- 1.06
Photon Flux (Free Index): 1.02e-08 +/- 1.71e-08
Energy Flux (Free Index): 1.50e-05 +/- 2.30e-05

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/53724/cmap_HighResolution_323049601_323308801_4FGL_J1354.8-1041_daily_bin323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-05', comment='SUCCESS', energy_flux2='1.50e-05', dlogl='3.19e-01', photon_flux2='1.02e-08', job_status='DONE', time_completed='2021-09-08 17:39:41.935554', photon_index_error2='1.06', photon_index2='1.34', ts='0.81', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='2.30e-05', EG='1.09', time_epoch_completed='1631147981.94', return_code='0', job_id='53724', GAL2='1.06', EG2='1.11', return_code2='0', photon_flux_error2='1.71e-08', ts2='1.45', photon_index='2.27' WHERE bin_id='323' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:39:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 53724: <4FGL_J1354.8-1041_daily_bin323> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin323 208.718 -10.6932 323049601 323308801 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 :                                   605.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             231.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

