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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1204
RA = 208.718, Dec = -10.6932
tmin = 551404801, tmax = 551664001
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='57552', job_status='RUN', time_executed='2021-09-08 17:36:06.473356', time_epoch_executed='1631147766.47' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57552/ft1_4FGL_J1354.8-1041_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57552/ft1_4FGL_J1354.8-1041_daily_bin1204.fits outfile=/scratch/kocevski/57552/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1204.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=551404801.0 tmax=551664001.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.58
user 3.35
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.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/57552/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1204.fits evtable="EVENTS" outfile="/scratch/kocevski/57552/ft1_filtered_4FGL_J1354.8-1041_daily_bin1204.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57552/ft1_filtered_4FGL_J1354.8-1041_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/57552/ltcube_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.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/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.fits
.....................!
real 12.43
user 12.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57552/ft1_filtered_4FGL_J1354.8-1041_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/57552/ltcube_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.fits outfile=/scratch/kocevski/57552/expmap_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.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/57552/ltcube_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.fits
.....................!
real 193.15
user 187.98
sys 4.61

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/57552/ft1_filtered_4FGL_J1354.8-1041_daily_bin1204.fits scfile=/scratch/kocevski/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.fits outfile=/scratch/kocevski/57552/cmap_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=208.718 yref=-10.6932 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57552/ft1_filtered_4FGL_J1354.8-1041_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/57552/ft2_4FGL_J1354.8-1041_daily_bin1204.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57552/Model_4FGL_J1354.8-1041_daily_bin1204.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/57552/ft1_filtered_4FGL_J1354.8-1041_daily_bin1204.fits.....................!
real 66.68
user 65.33
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.9916       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.279       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10569E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.737       1.0000         .10000E-03   10000.    
     7 'norm      '    24.529       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.126       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6935       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3282       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.897       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.6141       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6185       1.0000         .10000E-03   10000.    
    17 'norm      '    7.0083       1.0000         .10000E-03   10000.    
    18 'norm      '    15.232       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    2.1833       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .63701       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=   8461.159     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2518 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.3879       -.90104E-06** at limit **
   2  Prefactor     4.9912        11.415        .14618E-07   -.23998E-04
   3  Prefactor     11.281        11.834       -.40214E-07   -.52147E-05
   4  Prefactor     .10000E-03    30.826       -.24428E-05** at limit **
   5  norm          .10000E-03    .56274        .17242E-07** at limit **
   6  norm          15.734        6.4279        .14904E-06   -.36166E-03
   7  norm          24.529        11.784       -.15465E-06    .22884E-04
   8  Prefactor     .10000E-03    10.853       -.66134E-07** at limit **
   9  norm          14.122        23.901       -.30505E-05   -.15297E-03
  10  Prefactor     5.6916        19.868       -.75060E-06   -.33668E-04
  11  norm          .10000E-03    3.5718        .74717E-09** at limit **
  12  Prefactor     1.3276        4.6207        .30755E-06   -.38869E-03
  13  Prefactor     16.897        18.274       -.36010E-07   -.15249E-04
  14  Prefactor     .10000E-03    28.847        .26947E-05** at limit **
  15  norm          6.6147        5.2124        .40010E-06   -.97411E-03
  16  norm          1.6189        2.5443        .11419E-06   -.33160E-03
  17  norm          7.0084        6.9797       -.25899E-07    .29751E-04
  18  norm          15.230        8.2084       -.99616E-07   -.37986E-04
  19  Prefactor     .10000E-03    21.348       -.39219E-06** at limit **
  20  Prefactor     .10000E-03    7.8248        .81247E-06** at limit **
  21  norm          .10000E-03    6.5849        .17679E-06** at limit **
  22  Normalizat    2.1833        .24194       -.14221E-06    .90674E-05
  23  Prefactor     .63698        .11916        .14106E-06   -.10309E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.9912
  Prefactor  = 11.281
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 15.7344
  norm       = 24.5285
  Prefactor  = 0.0001
  norm       = 14.1215
  Prefactor  = 5.69165
  norm       = 0.0001
  Prefactor  = 1.32761
  Prefactor  = 16.8974
  Prefactor  = 0.000100001
  norm       = 6.61472
  norm       = 1.61893
  norm       = 7.00841
  norm       = 15.2301
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 2.18332
  Prefactor  = 0.636979
 **********
 **   18 **HESSE 
 **********

 FCN=   8461.159     FROM HESSE     STATUS=OK           376 CALLS     2894 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.4588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9912        11.403        .18000E-03   -1.5261    
   3  Prefactor     11.281        11.894        .11929E-03   -1.5036    
   4  Prefactor     .10000E-03    31.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.0678        .13102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.734        6.5864        .50482E-03   -1.4914    
   7  norm          24.529        11.883        .80881E-04   -1.4717    
   8  Prefactor     .10000E-03    10.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.122        24.501        .10657E-03   -1.4956    
  10  Prefactor     5.6916        19.916        .16834E-03   -1.5231    
  11  norm          .10000E-03    3.6025        .16971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3276        4.6794        .34444E-03   -1.5478    
  13  Prefactor     16.897        18.332        .97434E-04   -1.4886    
  14  Prefactor     .10000E-03    29.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.6147        5.9573        .78017E-03   -1.5194    
  16  norm          1.6189        2.5681        .17402E-03   -1.5453    
  17  norm          7.0084        6.9802        .75769E-03   -1.5178    
  18  norm          15.230        8.1847        .10262E-03   -1.4927    
  19  Prefactor     .10000E-03    21.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.8554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.5933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    2.1833        .27837        .29736E-03   -.60031    
  23  Prefactor     .63698        .13668        .25929E-03   -1.0605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.51364e-10
Minuit parameter uncertainties:
  1  5.03328e-05
  2  11.4077
  3  11.8966
  4  0.000274131
  5  1.6579e-06
  6  6.58668
  7  11.8841
  8  6.62454e-06
  9  24.5182
  10  19.9395
  11  4.71257e-07
  12  4.68065
  13  18.3381
  14  0.000298953
  15  5.95783
  16  2.56827
  17  6.98102
  18  8.18529
  19  3.95653e-05
  20  4.65935e-05
  21  8.65976e-06
  22  0.278582
  23  0.136753
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  6.615e+00  5.958e+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:  6.370e-01  1.368e-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:  2.183e+00  2.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.32
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.16e-05

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

Saving results to:
/scratch/kocevski/57552/likelihoodResults_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.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) = 8460.66845613
delta logL = 0.490866789309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8460.66394511
delta logL = 0.495377818268

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9161       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4202       1.0000          .0000       5.0000    
     3 'Normalizat'    2.1145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65852       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=   8460.664     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      244 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9175        44.143        .50968E-02    .59988E-03
   2  alpha         3.4199        4.2093        .45388        .72091E-04
   3  Normalizat    2.1143        .84678E-01    .67985E-01    .77016E-04
   4  Prefactor     .65863        .37849E-01    .41846E-01    .21701E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.91752
  alpha      = 3.41992
  Normalizat = 2.11433
  Prefactor  = 0.658628
 **********
 **   18 **HESSE 
 **********

 FCN=   8460.664     FROM HESSE     STATUS=OK            31 CALLS      275 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9175        7.2699        .11648E-03   -1.5312    
   2  alpha         3.4199        1.5182        .17301E-01    .37682    
   3  Normalizat    2.1143        .28390        .30066E-03   -.61715    
   4  Prefactor     .65863        .14065        .25536E-03   -1.0517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37961e-11
Minuit parameter uncertainties:
  1  7.27149
  2  1.65429
  3  0.284133
  4  0.140724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57552': 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) = 8460.66394471
delta logL = 0.495378216823

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  6.586e-01  1.407e-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:  2.114e+00  2.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.36
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 3.42 +/- 1.65
Photon Flux (Free Index): 9.46e-08 +/- 9.65e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.27e-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/57552/cmap_HighResolution_551404801_551664001_4FGL_J1354.8-1041_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-05', comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='1.79e-05', photon_flux_error='3.10e-08', dlogl='4.95e-01', energy_flux='1.29e-05', photon_flux2='9.46e-08', job_status='DONE', time_completed='2021-09-08 17:48:48.337352', photon_index_error2='1.65', photon_index2='3.42', ts='2.32', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.27e-05', EG='2.18', time_epoch_completed='1631148528.34', return_code='0', job_id='57552', GAL2='0.66', EG2='2.11', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='9.65e-08', ts2='3.36', photon_index='2.27' WHERE bin_id='1204' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:48:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 57552: <4FGL_J1354.8-1041_daily_bin1204> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1204> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 17:35:29 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:35:32 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:35:32 2021
Terminated at Wed Sep  8 17:48:51 2021
Results reported at Wed Sep  8 17:48:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1204 208.718 -10.6932 551404801 551664001 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 :                                   729.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            802 sec.

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

