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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin427
RA = 208.718, Dec = -10.6932
tmin = 350006401, tmax = 350265601
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='53900', job_status='RUN', time_executed='2021-09-08 17:28:37.977241', time_epoch_executed='1631147317.98' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53900

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53900/ft1_4FGL_J1354.8-1041_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53900/ft1_4FGL_J1354.8-1041_daily_bin427.fits outfile=/scratch/kocevski/53900/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin427.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=350006401.0 tmax=350265601.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.99
user 3.77
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53900/ft1_filtered_4FGL_J1354.8-1041_daily_bin427.fits" evtable="EVENTS" scfile=/scratch/kocevski/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits sctable="SC_DATA" outfile=/scratch/kocevski/53900/ltcube_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.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/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits
.....................!
real 12.24
user 11.85
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53900/ft1_filtered_4FGL_J1354.8-1041_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/53900/ltcube_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.fits outfile=/scratch/kocevski/53900/expmap_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.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/53900/ltcube_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.fits
.....................!
real 192.56
user 186.45
sys 5.62

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/53900/ft1_filtered_4FGL_J1354.8-1041_daily_bin427.fits scfile=/scratch/kocevski/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits outfile=/scratch/kocevski/53900/cmap_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53900/ft1_filtered_4FGL_J1354.8-1041_daily_bin427.fits scfile=/scratch/kocevski/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits outfile=/scratch/kocevski/53900/cmap_HighResolution_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53900/ft1_filtered_4FGL_J1354.8-1041_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/53900/ft2_4FGL_J1354.8-1041_daily_bin427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53900/Model_4FGL_J1354.8-1041_daily_bin427.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/53900/ft1_filtered_4FGL_J1354.8-1041_daily_bin427.fits.....................!
real 56.83
user 55.38
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.351       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3487       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.621       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.919       1.0000         .10000E-03   10000.    
    11 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.593       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1593       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    22.861       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11266E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .61829       1.0000         .10000E-03   10000.    
    21 'norm      '    39.424       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3006       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0629       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=   7004.238     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2189 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.1044        .13241E-07** at limit **
   2  Prefactor     19.353        11.428       -.13383E-06    .41937E-05
   3  Prefactor     2.3484        1.5009        .16587E-06   -.44499E-03
   4  Prefactor     .10000E-03    28.461       -.53424E-05** at limit **
   5  norm          .10000E-03    .60541       -.46698E-07** at limit **
   6  norm          .10000E-03    1.2898        .56788E-07** at limit **
   7  norm          15.623        7.7334       -.13038E-05   -.42254E-03
   8  Prefactor     .10000E-03    25.857        .36713E-05** at limit **
   9  norm          .10000E-03    31.071       -.12155E-05** at limit **
  10  Prefactor     14.925        13.194       -.92874E-06   -.16856E-03
  11  norm          .10000E-03    5.3358        .68316E-08** at limit **
  12  Prefactor     .10000E-03    3.3351       -.34346E-07** at limit **
  13  Prefactor     .10000E-03    31.601        .22061E-05** at limit **
  14  Prefactor     .10000E-03    12.037       -.60717E-07** at limit **
  15  norm          10.590        8.5063        .63688E-06    .17107E-03
  16  norm          2.1588        3.7207       -.11585E-06   -.42214E-04
  17  norm          .10000E-03    4.2412       -.19515E-08** at limit **
  18  norm          22.859        12.246       -.28208E-06   -.17829E-04
  19  Prefactor     .10000E-03    89.076       -.17011E-05** at limit **
  20  Prefactor     .64778        17.069       -.33026E-05    .44171E-03
  21  norm          39.413        22.449       -.13183E-05   -.47613E-04
  22  Normalizat    1.3009        .24636        .41358E-06    .90625E-04
  23  Prefactor     1.0627        .13099        .38843E-06    .13670E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 19.3532
  Prefactor  = 2.34838
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.623
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 14.9251
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5901
  norm       = 2.15881
  norm       = 0.0001
  norm       = 22.8588
  Prefactor  = 0.0001
  Prefactor  = 0.647783
  norm       = 39.4126
  Normalizat = 1.30089
  Prefactor  = 1.06269
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.238     FROM HESSE     STATUS=OK           370 CALLS     2559 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.1257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.353        11.444        .91048E-04   -1.4828    
   3  Prefactor     2.3484        7.4511        .13374E-02   -1.5401    
   4  Prefactor     .10000E-03    28.548        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .97928        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.2977        .92788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.623        7.7069        .10134E-03   -1.4917    
   8  Prefactor     .10000E-03    26.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    31.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.925        13.262        .10369E-03   -1.4935    
  11  norm          .10000E-03    5.5478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.3771        .14892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.590        8.5046        .12310E-03   -1.5057    
  16  norm          2.1588        3.6965        .19164E-03   -1.5414    
  17  norm          .10000E-03    4.2473        .16833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          22.859        12.169        .83776E-04   -1.4751    
  19  Prefactor     .10000E-03    90.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .64778        73.590        .58613E-02   -1.5547    
  21  norm          39.413        22.462        .63837E-04   -1.4452    
  22  Normalizat    1.3009        .28143        .34341E-03   -.83540    
  23  Prefactor     1.0627        .15110        .20310E-03   -.90668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90592e-09
Minuit parameter uncertainties:
  1  1.27213e-06
  2  11.4452
  3  7.45399
  4  0.00026142
  5  3.73128e-06
  6  7.31507e-06
  7  7.7074
  8  0.000341716
  9  0.000115433
  10  13.2649
  11  2.28877e-06
  12  5.66586e-06
  13  0.00016737
  14  2.46319e-06
  15  8.50559
  16  3.69691
  17  7.42907e-07
  18  12.1701
  19  0.000225347
  20  13.8251
  21  22.4663
  22  0.281761
  23  0.151157
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.059e+01  8.506e+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.063e+00  1.512e-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.301e+00  2.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 4.42e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.66e-05

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

Saving results to:
/scratch/kocevski/53900/likelihoodResults_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.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) = 7004.05296586
delta logL = 0.184846043672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7004.04935614
delta logL = 0.188455759046

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2082       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6850       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2817       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0699       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=   7004.049     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2256        150.80        .34984E-02    .17022E-03
   2  alpha         2.6871        3.7100        .38985        .43278E-04
   3  Normalizat    1.2821        .98619E-01    .78055E-01    .12085E-04
   4  Prefactor     1.0694        .51458E-01    .38863E-01   -.95232E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.2256
  alpha      = 2.68712
  Normalizat = 1.28207
  Prefactor  = 1.06944
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.049     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2256        8.8189        .13994E-03   -1.5134    
   2  alpha         2.6871        .75260        .14783E-01    .74919E-01
   3  Normalizat    1.2821        .27623        .34548E-03   -.84103    
   4  Prefactor     1.0694        .14955        .20251E-03   -.90449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83648e-09
Minuit parameter uncertainties:
  1  8.82027
  2  0.764526
  3  0.276548
  4  0.149611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53900': 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) = 7004.04933122
delta logL = 0.188480676649

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  8.226e+00  8.820e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.687e+00  7.645e-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.069e+00  1.496e-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.282e+00  2.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 2.69 +/- 0.76
Photon Flux (Free Index): 7.05e-08 +/- 5.54e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.51e-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/53900/cmap_HighResolution_350006401_350265601_4FGL_J1354.8-1041_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-05', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='1.88e-05', photon_flux_error='4.42e-08', dlogl='1.88e-01', energy_flux='2.06e-05', photon_flux2='7.05e-08', job_status='DONE', time_completed='2021-09-08 17:39:33.995781', photon_index_error2='0.76', photon_index2='2.69', ts='2.28', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.50e-07', energy_flux_error2='1.51e-05', EG='1.30', time_epoch_completed='1631147974.0', return_code='0', job_id='53900', GAL2='1.07', EG2='1.28', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='5.54e-08', ts2='2.66', photon_index='2.27' WHERE bin_id='427' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:39:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 53900: <4FGL_J1354.8-1041_daily_bin427> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin427 208.718 -10.6932 350006401 350265601 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 :                                   631.38 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             285.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

