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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1499
RA = 208.718, Dec = -10.6932
tmin = 627868801, tmax = 628128001
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='59584', job_status='RUN', time_executed='2021-09-08 17:44:06.578533', time_epoch_executed='1631148246.58' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59584

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59584/ft1_4FGL_J1354.8-1041_daily_bin1499.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59584/ft1_4FGL_J1354.8-1041_daily_bin1499.fits outfile=/scratch/kocevski/59584/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1499.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=627868801.0 tmax=628128001.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 2.47
user 2.27
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59584/ft1_filtered_4FGL_J1354.8-1041_daily_bin1499.fits" evtable="EVENTS" scfile=/scratch/kocevski/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits sctable="SC_DATA" outfile=/scratch/kocevski/59584/ltcube_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.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/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits
.....................!
real 12.14
user 11.74
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59584/ft1_filtered_4FGL_J1354.8-1041_daily_bin1499.fits evtable="EVENTS" scfile=/scratch/kocevski/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits sctable="SC_DATA" expcube=/scratch/kocevski/59584/ltcube_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.fits outfile=/scratch/kocevski/59584/expmap_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.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/59584/ltcube_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.fits
.....................!
real 191.18
user 185.81
sys 4.84

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/59584/ft1_filtered_4FGL_J1354.8-1041_daily_bin1499.fits scfile=/scratch/kocevski/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits outfile=/scratch/kocevski/59584/cmap_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59584/ft1_filtered_4FGL_J1354.8-1041_daily_bin1499.fits scfile=/scratch/kocevski/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits outfile=/scratch/kocevski/59584/cmap_HighResolution_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59584/ft1_filtered_4FGL_J1354.8-1041_daily_bin1499.fits evtable="EVENTS" scfile=/scratch/kocevski/59584/ft2_4FGL_J1354.8-1041_daily_bin1499.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59584/Model_4FGL_J1354.8-1041_daily_bin1499.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/59584/ft1_filtered_4FGL_J1354.8-1041_daily_bin1499.fits.....................!
real 47.15
user 45.59
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.667       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4089       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.198       1.0000         .10000E-03   10000.    
     5 'norm      '    .53259       1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.3402       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12294E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    46.873       1.0000         .10000E-03   10000.    
    15 'norm      '    10.663       1.0000         .10000E-03   10000.    
    16 'norm      '    24.153       1.0000         .10000E-03   10000.    
    17 'norm      '    12.517       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3355       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2349       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0647       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99099       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=   5464.019     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2952 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6200        .41731E-08** at limit **
   2  Prefactor     22.666        13.177        .67575E-07   -.21353E-05
   3  Prefactor     4.4118        8.7136        .29160E-06    .47815E-05
   4  Prefactor     26.205        20.807        .11935E-06   -.16269E-04
   5  norm          .53265        .82758        .67708E-06   -.21443E-03
   6  norm          .10000E-03    2.0574       -.10258E-07** at limit **
   7  norm          9.3375        9.9356        .17231E-06   -.14519E-04
   8  Prefactor     .10000E-03    86.606        .36303E-05** at limit **
   9  norm          .10000E-03    11.554       -.26620E-07** at limit **
  10  Prefactor     .10000E-03    17.769        .42786E-06** at limit **
  11  norm          .10000E-03    2.2483        .10815E-06** at limit **
  12  Prefactor     .10000E-03    6.5395       -.76688E-07** at limit **
  13  Prefactor     .10000E-03    125.12       -.50410E-05** at limit **
  14  Prefactor     46.891        70.992        .85489E-06    .17398E-04
  15  norm          10.664        10.419        .11897E-06   -.20005E-04
  16  norm          24.152        5.9802       -.48979E-07   -.47803E-04
  17  norm          12.508        16.194        .11699E-06    .14758E-05
  18  norm          2.3369        13.952        .11269E-05   -.85394E-05
  19  Prefactor     3.2339        65.827        .53074E-06   -.40216E-05
  20  Prefactor     .10000E-03    32.831        .12564E-06** at limit **
  21  norm          .10000E-03    41.811       -.29492E-06** at limit **
  22  Normalizat    1.0644        .27598       -.60286E-06   -.45365E-05
  23  Prefactor     .99109        .14863       -.17653E-06   -.21910E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 22.6665
  Prefactor  = 4.41178
  Prefactor  = 26.205
  norm       = 0.532651
  norm       = 0.0001
  norm       = 9.33754
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 46.8908
  norm       = 10.6636
  norm       = 24.1523
  norm       = 12.5079
  norm       = 2.33694
  Prefactor  = 3.23387
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.06441
  Prefactor  = 0.991091
 **********
 **   18 **HESSE 
 **********

 FCN=   5464.019     FROM HESSE     STATUS=OK           372 CALLS     3324 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6204        .11685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.666        13.164        .84132E-04   -1.4755    
   3  Prefactor     4.4118        8.7045        .19180E-03   -1.5288    
   4  Prefactor     26.205        20.779        .78266E-04   -1.4684    
   5  norm          .53265        .83379        .22806E-03   -1.5562    
   6  norm          .10000E-03    2.0618        .10322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.3375        9.9103        .13113E-03   -1.5097    
   8  Prefactor     .10000E-03    90.977        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.2512        .10822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.6645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    129.70        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     46.891        71.306        .58566E-04   -1.4337    
  15  norm          10.664        10.385        .12270E-03   -1.5055    
  16  norm          24.152        5.9612        .81507E-04   -1.4725    
  17  norm          12.508        16.209        .11322E-03   -1.5000    
  18  norm          2.3369        13.742        .26831E-03   -1.5402    
  19  Prefactor     3.2339        65.607        .22521E-03   -1.5348    
  20  Prefactor     .10000E-03    32.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    42.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0644        .32088        .36279E-03   -.90903    
  23  Prefactor     .99109        .17423        .20627E-03   -.93027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19138e-11
Minuit parameter uncertainties:
  1  1.47547e-07
  2  13.1653
  3  8.70703
  4  20.7846
  5  0.833807
  6  1.98549e-06
  7  9.91203
  8  0.000771342
  9  1.63725e-06
  10  9.83066e-06
  11  8.15621e-07
  12  2.42763e-06
  13  0.000654814
  14  71.4359
  15  10.3872
  16  5.96138
  17  16.2144
  18  11.3376
  19  29.1679
  20  7.81764e-05
  21  0.000169853
  22  0.321468
  23  0.174333
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.066e+01  1.039e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.911e-01  1.743e-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.064e+00  3.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.54e-08 +/- 5.40e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 2.02e-05

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

Saving results to:
/scratch/kocevski/59584/likelihoodResults_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.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) = 5463.73945676
delta logL = 0.279917896733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5463.72707755
delta logL = 0.292297110649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1006       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8688       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0340       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0006       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=   5463.727     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0918        174.60        .35217E-02    .16968E-03
   2  alpha         2.8673        3.7073        .37956        .39763E-04
   3  Normalizat    1.0341        .10493        .82935E-01    .16384E-04
   4  Prefactor     1.0007        .56935E-01    .45612E-01    .57662E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.09181
  alpha      = 2.86727
  Normalizat = 1.03414
  Prefactor  = 1.00071
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.727     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0918        9.6639        .14087E-03   -1.5139    
   2  alpha         2.8673        .83668        .14470E-01    .14744    
   3  Normalizat    1.0341        .30718        .36718E-03   -.91895    
   4  Prefactor     1.0007        .16907        .20528E-03   -.92706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50106e-12
Minuit parameter uncertainties:
  1  9.66579
  2  0.853531
  3  0.307706
  4  0.169163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59584': 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) = 5463.72706996
delta logL = 0.292304699137

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  8.092e+00  9.666e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.867e+00  8.535e-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.001e+00  1.692e-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.034e+00  3.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 2.87 +/- 0.85
Photon Flux (Free Index): 8.81e-08 +/- 7.73e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.78e-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/59584/cmap_HighResolution_627868801_628128001_4FGL_J1354.8-1041_daily_bin1499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-05', comment='SUCCESS', photon_flux='5.54e-08', energy_flux2='2.11e-05', photon_flux_error='5.40e-08', dlogl='2.92e-01', energy_flux='2.08e-05', photon_flux2='8.81e-08', job_status='DONE', time_completed='2021-09-08 17:57:02.633032', photon_index_error2='0.85', photon_index2='2.87', ts='1.47', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.73e-07', energy_flux_error2='1.78e-05', EG='1.06', time_epoch_completed='1631149022.63', return_code='0', job_id='59584', GAL2='1.00', EG2='1.03', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='7.73e-08', ts2='2.07', photon_index='2.27' WHERE bin_id='1499' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:57:02 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1499 208.718 -10.6932 627868801 628128001 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 :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            980 sec.

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

