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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin584
RA = 208.718, Dec = -10.6932
tmin = 390700801, tmax = 390960001
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='54116', job_status='RUN', time_executed='2021-09-08 17:29:36.203898', time_epoch_executed='1631147376.2' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54116

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54116/ft1_4FGL_J1354.8-1041_daily_bin584.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54116/ft1_4FGL_J1354.8-1041_daily_bin584.fits outfile=/scratch/kocevski/54116/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin584.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=390700801.0 tmax=390960001.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 7.16
user 6.88
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54116/ft1_filtered_4FGL_J1354.8-1041_daily_bin584.fits" evtable="EVENTS" scfile=/scratch/kocevski/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits sctable="SC_DATA" outfile=/scratch/kocevski/54116/ltcube_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.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/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits
.....................!
real 11.07
user 10.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54116/ft1_filtered_4FGL_J1354.8-1041_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits sctable="SC_DATA" expcube=/scratch/kocevski/54116/ltcube_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.fits outfile=/scratch/kocevski/54116/expmap_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.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/54116/ltcube_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.fits
.....................!
real 191.43
user 186.56
sys 4.48

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/54116/ft1_filtered_4FGL_J1354.8-1041_daily_bin584.fits scfile=/scratch/kocevski/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits outfile=/scratch/kocevski/54116/cmap_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54116/ft1_filtered_4FGL_J1354.8-1041_daily_bin584.fits scfile=/scratch/kocevski/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits outfile=/scratch/kocevski/54116/cmap_HighResolution_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54116/ft1_filtered_4FGL_J1354.8-1041_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/54116/ft2_4FGL_J1354.8-1041_daily_bin584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54116/Model_4FGL_J1354.8-1041_daily_bin584.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/54116/ft1_filtered_4FGL_J1354.8-1041_daily_bin584.fits.....................!
real 55.37
user 53.95
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4287       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.396       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4835       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .91280       1.0000         .10000E-03   10000.    
     6 'norm      '    3.0298       1.0000         .10000E-03   10000.    
     7 'norm      '    16.333       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    21.592       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4512       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.377       1.0000         .10000E-03   10000.    
    15 'norm      '    3.3345       1.0000         .10000E-03   10000.    
    16 'norm      '    .95330E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    10.079       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.272       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2972       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87798       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6872.697     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2503 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4281        13.303         .0000        .42597E-03
   2  Prefactor     18.396        10.942         .0000       -.16045E-03
   3  Prefactor     5.4852        9.4614         .0000        .35089E-02
   4  Prefactor     .10000E-03    13.697         .0000    ** at limit **
   5  norm          .91329        1.5079         .0000        .10161E-02
   6  norm          3.0297        3.3614         .0000        .30300E-03
   7  norm          16.334        9.6964         .0000       -.62708E-03
   8  Prefactor     .10000E-03    6.8829         .0000    ** at limit **
   9  norm          21.592        28.543         .0000       -.45544E-03
  10  Prefactor     .10000E-03    10.199         .0000    ** at limit **
  11  norm          .10000E-03    1.9911         .0000    ** at limit **
  12  Prefactor     6.4496        7.7034         .0000        .72992E-03
  13  Prefactor     .10000E-03    10.494         .0000    ** at limit **
  14  Prefactor     34.377        31.505         .0000       -.10732E-02
  15  norm          3.3380        9.5485         .0000        .67516E-02
  16  norm          .10285        1.0213         .0000        .70430E-03
  17  norm          10.079        13.192         .0000       -.28687E-03
  18  norm          .10000E-03    5.8903         .0000    ** at limit **
  19  Prefactor     24.272        17.170         .0000       -.16621E-03
  20  Prefactor     .10001E-03    6.4253         .0000    ** at limit **
  21  norm          .10000E-03    13.694         .0000    ** at limit **
  22  Normalizat    1.2972        .23164         .0000        .10977E-04
  23  Prefactor     .87793        .11677         .0000        .69582E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.42815
  Prefactor  = 18.3963
  Prefactor  = 5.48518
  Prefactor  = 0.0001
  norm       = 0.913287
  norm       = 3.02971
  norm       = 16.3341
  Prefactor  = 0.000100004
  norm       = 21.5919
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.44956
  Prefactor  = 0.0001
  Prefactor  = 34.377
  norm       = 3.33803
  norm       = 0.102852
  norm       = 10.0792
  norm       = 0.000100001
  Prefactor  = 24.2724
  Prefactor  = 0.000100007
  norm       = 0.0001
  Normalizat = 1.29718
  Prefactor  = 0.877935
 **********
 **   18 **HESSE 
 **********

 FCN=   6872.697     FROM HESSE     STATUS=OK           374 CALLS     2877 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4281        13.290        .21845E-03   -1.5338    
   2  Prefactor     18.396        10.937        .93382E-04   -1.4850    
   3  Prefactor     5.4852        9.4472        .85793E-03   -1.5240    
   4  Prefactor     .10000E-03    13.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .91329        1.3489        .12204E-02   -1.5517    
   6  norm          3.0297        3.3363        .14503E-03   -1.5360    
   7  norm          16.334        9.6440        .99102E-04   -1.4899    
   8  Prefactor     .10000E-03    6.9175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.592        28.542        .86199E-04   -1.4778    
  10  Prefactor     .10000E-03    10.501        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.0155        .11422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4496        7.5761        .15802E-03   -1.5200    
  13  Prefactor     .10000E-03    10.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.377        31.506        .68347E-04   -1.4535    
  15  norm          3.3380        9.3666        .11083E-02   -1.5343    
  16  norm          .10285        7.2239        .16054E-02   -1.5644    
  17  norm          10.079        13.198        .12622E-03   -1.5073    
  18  norm          .10000E-03    6.0091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.272        17.168        .81307E-04   -1.4722    
  20  Prefactor     .10001E-03    6.4272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    13.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2972        .26741        .31713E-03   -.83650    
  23  Prefactor     .87793        .13654        .19861E-03   -.96916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13381e-08
Minuit parameter uncertainties:
  1  13.3019
  2  10.9386
  3  9.44981
  4  7.27315e-05
  5  1.34893
  6  3.33652
  7  9.64494
  8  0.000321943
  9  28.5603
  10  1.92726e-05
  11  1.19186e-06
  12  7.57721
  13  5.94965e-05
  14  31.5214
  15  9.37075
  16  1.72331
  17  13.2018
  18  0.000151313
  19  17.1712
  20  0.000430718
  21  0.000100389
  22  0.267692
  23  0.136596
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.338e+00  9.371e+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:  8.779e-01  1.366e-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.297e+00  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/54116/likelihoodResults_390700801_390960001_4FGL_J1354.8-1041_daily_bin584.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) = 6872.24762971
delta logL = 0.449371003906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6872.18527149
delta logL = 0.511729225936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27010       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2109       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90934       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=   6872.185     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      336 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27006        8.6275        .89422E-02   -.82099E-03
   2  alpha         5.0000        2.8515        .46267    ** at limit **
   3  Normalizat    1.2109        .91108E-01    .73749E-01   -.95912E-04
   4  Prefactor     .90933        .46544E-01    .45124E-01   -.11473E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.270059
  alpha      = 5
  Normalizat = 1.2109
  Prefactor  = 0.909331
 **********
 **   18 **HESSE 
 **********

 FCN=   6872.185     FROM HESSE     STATUS=OK            35 CALLS      371 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27006        .35360        .40780E-03   -1.5604    
   2  alpha         5.0000        3.7049        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2109        .27135        .32637E-03   -.86267    
   4  Prefactor     .90933        .13853        .19553E-03   -.95816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19948e-10
Minuit parameter uncertainties:
  1  0.353603
  2  2.95577e-07
  3  0.271664
  4  0.138584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54116': 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) = 6872.18527131
delta logL = 0.511729406625

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.701e-01  3.536e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  2.956e-07  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.093e-01  1.386e-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.211e+00  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.57e-08 +/- 1.12e-07
Energy Flux (Free Index): 1.20e-05 +/- 1.56e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-05', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='5.12e-01', photon_flux2='8.57e-08', job_status='DONE', time_completed='2021-09-08 17:40:37.852972', photon_index_error2='0.00', photon_index2='5.00', ts='0.20', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.56e-05', EG='1.30', time_epoch_completed='1631148037.85', return_code='0', job_id='54116', GAL2='0.91', EG2='1.21', return_code2='0', photon_flux_error2='1.12e-07', ts2='1.33', photon_index='2.27' WHERE bin_id='584' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:40:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 54116: <4FGL_J1354.8-1041_daily_bin584> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin584> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:26:08 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:26:09 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:26:09 2021
Terminated at Wed Sep  8 17:40:38 2021
Results reported at Wed Sep  8 17:40:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin584 208.718 -10.6932 390700801 390960001 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 :                                   652.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             238.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

