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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin495
RA = 208.718, Dec = -10.6932
tmin = 367632001, tmax = 367891201
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='54005', job_status='RUN', time_executed='2021-09-08 17:28:59.955020', time_epoch_executed='1631147339.96' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54005

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54005/ft1_4FGL_J1354.8-1041_daily_bin495.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54005/ft1_4FGL_J1354.8-1041_daily_bin495.fits outfile=/scratch/kocevski/54005/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin495.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=367632001.0 tmax=367891201.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.09
user 4.85
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54005/ft1_filtered_4FGL_J1354.8-1041_daily_bin495.fits" evtable="EVENTS" scfile=/scratch/kocevski/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits sctable="SC_DATA" outfile=/scratch/kocevski/54005/ltcube_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.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/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits
.....................!
real 14.56
user 14.10
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54005/ft1_filtered_4FGL_J1354.8-1041_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits sctable="SC_DATA" expcube=/scratch/kocevski/54005/ltcube_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.fits outfile=/scratch/kocevski/54005/expmap_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.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/54005/ltcube_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.fits
.....................!
real 190.30
user 185.78
sys 4.14

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/54005/ft1_filtered_4FGL_J1354.8-1041_daily_bin495.fits scfile=/scratch/kocevski/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits outfile=/scratch/kocevski/54005/cmap_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54005/ft1_filtered_4FGL_J1354.8-1041_daily_bin495.fits scfile=/scratch/kocevski/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits outfile=/scratch/kocevski/54005/cmap_HighResolution_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.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.56
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54005/ft1_filtered_4FGL_J1354.8-1041_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/54005/ft2_4FGL_J1354.8-1041_daily_bin495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54005/Model_4FGL_J1354.8-1041_daily_bin495.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/54005/ft1_filtered_4FGL_J1354.8-1041_daily_bin495.fits.....................!
real 58.58
user 57.23
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12508E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11108E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.055       1.0000         .10000E-03   10000.    
     5 'norm      '    .80713       1.0000         .10000E-03   10000.    
     6 'norm      '    .12832E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    21.529       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.594       1.0000         .10000E-03   10000.    
    11 'norm      '    7.0970       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3527       1.0000         .10000E-03   10000.    
    15 'norm      '    12.224       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.6581       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.5001       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    19.476       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1738       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97039       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=   7253.403     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2534 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.7192        .20345E-08** at limit **
   2  Prefactor     .10000E-03    18.803        .17192E-05** at limit **
   3  Prefactor     .10000E-03    8.4222       -.28158E-06** at limit **
   4  Prefactor     39.087        20.987        .26562E-05    .21711E-03
   5  norm          .80704        1.3076        .36483E-06    .10302E-03
   6  norm          .10003E-03    3.3420        .22595E-05** at limit **
   7  norm          21.535        8.3182       -.11593E-05   -.12208E-02
   8  Prefactor     .10000E-03    39.758        .23739E-05** at limit **
   9  norm          .10000E-03    18.746       -.14210E-05** at limit **
  10  Prefactor     17.594        11.185        .16093E-06   -.16661E-03
  11  norm          7.0973        4.6012       -.22464E-06   -.42416E-03
  12  Prefactor     .10000E-03    5.6600        .97649E-07** at limit **
  13  Prefactor     .10000E-03    8.9799        .21564E-06** at limit **
  14  Prefactor     4.3519        42.729       -.43917E-06   -.29374E-04
  15  norm          12.224        8.4985        .17396E-06   -.92120E-04
  16  norm          .10000E-03    .88614       -.53458E-07** at limit **
  17  norm          .10000E-03    5.3174       -.34632E-06** at limit **
  18  norm          5.6579        5.7590        .24852E-05    .77153E-04
  19  Prefactor     6.4967        14.013        .10014E-06    .47820E-05
  20  Prefactor     .10000E-03    10.481        .45369E-06** at limit **
  21  norm          19.465        15.049       -.40895E-07   -.48295E-04
  22  Normalizat    1.1738        .22956       -.33066E-05   -.32093E-03
  23  Prefactor     .97041        .11927        .49403E-06   -.65210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.0871
  norm       = 0.807038
  norm       = 0.000100025
  norm       = 21.5349
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 17.5936
  norm       = 7.09726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.35192
  norm       = 12.2238
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.65794
  Prefactor  = 6.49673
  Prefactor  = 0.0001
  norm       = 19.4652
  Normalizat = 1.17382
  Prefactor  = 0.970406
 **********
 **   18 **HESSE 
 **********

 FCN=   7253.403     FROM HESSE     STATUS=OK           362 CALLS     2896 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7276        .18069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.7770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.087        21.557        .64137E-04   -1.4457    
   5  norm          .80704        1.2768        .11805E-03   -1.5528    
   6  norm          .10003E-03    5.4036        .25251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          21.535        8.4117        .86325E-04   -1.4780    
   8  Prefactor     .10000E-03    41.020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    18.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.594        11.117        .95486E-04   -1.4869    
  11  norm          7.0973        4.6049        .14204E-03   -1.5175    
  12  Prefactor     .10000E-03    5.7823        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.9927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3519        42.809        .19306E-03   -1.5291    
  15  norm          12.224        8.4787        .11458E-03   -1.5009    
  16  norm          .10000E-03    .90119        .78243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.3263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.6579        6.0375        .84438E-03   -1.5232    
  19  Prefactor     6.4967        14.008        .15741E-03   -1.5198    
  20  Prefactor     .10000E-03    10.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          19.465        15.060        .90757E-04   -1.4825    
  22  Normalizat    1.1738        .26389        .34004E-03   -.87416    
  23  Prefactor     .97041        .13888        .19685E-03   -.93723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67671e-09
Minuit parameter uncertainties:
  1  2.08909e-06
  2  7.07597e-05
  3  3.63686e-05
  4  21.5618
  5  1.27684
  6  0.000739958
  7  8.41214
  8  0.000491229
  9  0.000191847
  10  11.1188
  11  4.60517
  12  1.45545e-05
  13  2.77059e-05
  14  27.3236
  15  8.47956
  16  1.86525e-08
  17  2.31349e-05
  18  6.03816
  19  14.0148
  20  5.40469e-05
  21  15.0633
  22  0.264188
  23  0.138933
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.222e+01  8.480e+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:  9.704e-01  1.389e-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.174e+00  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.64
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.35e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.65e-05

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

Saving results to:
/scratch/kocevski/54005/likelihoodResults_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.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) = 7252.80733568
delta logL = 0.595991328412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7252.78388116
delta logL = 0.619445851217

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.960       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6535       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95868       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=   7252.784     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      240 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.958        9.5005        .10720E-03   -.11666E-04
   2  alpha         1.6536        .51492        .15791E-01    .18313E-04
   3  Normalizat    1.2046        .25507        .33625E-03    .38169E-03
   4  Prefactor     .95868        .13681        .19782E-03    .56803E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.9578
  alpha      = 1.65356
  Normalizat = 1.20456
  Prefactor  = 0.958677
 **********
 **   18 **HESSE 
 **********

 FCN=   7252.784     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.958        9.5792        .42880E-05   -1.4961    
   2  alpha         1.6536        .51913        .63162E-03   -.34540    
   3  Normalizat    1.2046        .25523        .67250E-04   -.86462    
   4  Prefactor     .95868        .13690        .39564E-04   -.94120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5143e-10
Minuit parameter uncertainties:
  1  9.58028
  2  0.523441
  3  0.255493
  4  0.136945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54005': 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) = 7252.7838811
delta logL = 0.619445907096

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.396e+01  9.580e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.654e+00  5.234e-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.587e-01  1.369e-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.205e+00  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.90
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.65 +/- 0.52
Photon Flux (Free Index): 4.23e-08 +/- 3.53e-08
Energy Flux (Free Index): 3.55e-05 +/- 2.64e-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/54005/cmap_HighResolution_367632001_367891201_4FGL_J1354.8-1041_daily_bin495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-05', comment='SUCCESS', photon_flux='6.35e-08', energy_flux2='3.55e-05', photon_flux_error='4.41e-08', dlogl='6.19e-01', energy_flux='2.38e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2021-09-08 17:40:17.853319', photon_index_error2='0.52', photon_index2='1.65', ts='3.64', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='2.64e-05', EG='1.17', time_epoch_completed='1631148017.85', return_code='0', job_id='54005', GAL2='0.96', EG2='1.20', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='3.53e-08', ts2='4.90', photon_index='2.27' WHERE bin_id='495' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:40:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 54005: <4FGL_J1354.8-1041_daily_bin495> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin495> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:57 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:58 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:58 2021
Terminated at Wed Sep  8 17:40:18 2021
Results reported at Wed Sep  8 17:40:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin495 208.718 -10.6932 367632001 367891201 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 :                                   669.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            861 sec.

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

