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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin459
RA = 208.718, Dec = -10.6932
tmin = 358300801, tmax = 358560001
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='53948', job_status='RUN', time_executed='2021-09-08 17:29:14.672003', time_epoch_executed='1631147354.67' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='459'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53948

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53948/ft1_4FGL_J1354.8-1041_daily_bin459.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53948/ft1_4FGL_J1354.8-1041_daily_bin459.fits outfile=/scratch/kocevski/53948/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin459.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=358300801.0 tmax=358560001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.33
user 5.09
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53948/ft1_filtered_4FGL_J1354.8-1041_daily_bin459.fits" evtable="EVENTS" scfile=/scratch/kocevski/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits sctable="SC_DATA" outfile=/scratch/kocevski/53948/ltcube_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.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/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits
.....................!
real 13.00
user 12.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53948/ft1_filtered_4FGL_J1354.8-1041_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits sctable="SC_DATA" expcube=/scratch/kocevski/53948/ltcube_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.fits outfile=/scratch/kocevski/53948/expmap_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.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/53948/ltcube_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.fits
.....................!
real 190.90
user 185.57
sys 4.96

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/53948/ft1_filtered_4FGL_J1354.8-1041_daily_bin459.fits scfile=/scratch/kocevski/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits outfile=/scratch/kocevski/53948/cmap_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53948/ft1_filtered_4FGL_J1354.8-1041_daily_bin459.fits scfile=/scratch/kocevski/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits outfile=/scratch/kocevski/53948/cmap_HighResolution_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.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/53948/ft1_filtered_4FGL_J1354.8-1041_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/53948/ft2_4FGL_J1354.8-1041_daily_bin459.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53948/Model_4FGL_J1354.8-1041_daily_bin459.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/53948/ft1_filtered_4FGL_J1354.8-1041_daily_bin459.fits.....................!
real 58.96
user 57.65
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.197       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8239       1.0000         .10000E-03   10000.    
     5 'norm      '    .10768E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1773       1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1544       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.177       1.0000         .10000E-03   10000.    
    11 'norm      '    8.2833       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.371       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1274       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3575       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5443       1.0000         .10000E-03   10000.    
    18 'norm      '    8.9485       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0153       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=   7371.858     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2541 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.1414       -.28920E-07** at limit **
   2  Prefactor     21.194        11.384        .19265E-06   -.39116E-04
   3  Prefactor     .10000E-03    10.738       -.13056E-07** at limit **
   4  Prefactor     3.8902        44.946       -.95093E-05    .19348E-04
   5  norm          .10000E-03    .68428       -.28053E-07** at limit **
   6  norm          1.1648        4.6562        .30757E-05    .22706E-03
   7  norm          .10000E-03    3.2042        .88927E-07** at limit **
   8  Prefactor     4.1476        18.553        .18197E-06   -.81539E-05
   9  norm          .10000E-03    11.494       -.20633E-07** at limit **
  10  Prefactor     23.182        15.929       -.26878E-07    .40774E-05
  11  norm          8.2839        5.3984        .17636E-07    .26285E-04
  12  Prefactor     .10000E-03    3.0774       -.19986E-06** at limit **
  13  Prefactor     .10000E-03    18.636       -.13223E-06** at limit **
  14  Prefactor     19.374        44.999       -.13348E-06    .94097E-05
  15  norm          4.1287        6.3853        .15622E-06   -.16421E-03
  16  norm          1.3576        2.7188       -.68056E-07   -.72839E-04
  17  norm          2.5429        8.8111        .10468E-05   -.40421E-03
  18  norm          8.9475        7.1072       -.47490E-07    .15253E-04
  19  Prefactor     .10000E-03    36.577        .31015E-06** at limit **
  20  Prefactor     .10000E-03    45.360       -.47965E-06** at limit **
  21  norm          .10000E-03    4.7182        .63219E-08** at limit **
  22  Normalizat    1.1757        .22711        .10067E-06   -.88006E-05
  23  Prefactor     1.0152        .11746        .16314E-06    .66710E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 21.194
  Prefactor  = 0.0001
  Prefactor  = 3.89023
  norm       = 0.0001
  norm       = 1.16484
  norm       = 0.0001
  Prefactor  = 4.14764
  norm       = 0.0001
  Prefactor  = 23.1823
  norm       = 8.28387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3735
  norm       = 4.1287
  norm       = 1.35761
  norm       = 2.54291
  norm       = 8.9475
  Prefactor  = 0.000100003
  Prefactor  = 0.000100005
  norm       = 0.0001
  Normalizat = 1.1757
  Prefactor  = 1.01518
 **********
 **   18 **HESSE 
 **********

 FCN=   7371.858     FROM HESSE     STATUS=OK           374 CALLS     2915 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1429        .14861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.194        11.368        .86996E-04   -1.4787    
   3  Prefactor     .10000E-03    10.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8902        45.938        .20640E-03   -1.5313    
   5  norm          .10000E-03    3.4972        .13425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1648        4.7157        .20800E-03   -1.5492    
   7  norm          .10000E-03    3.2386        .14981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.1476        17.786        .19775E-03   -1.5301    
   9  norm          .10000E-03    11.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.182        15.616        .83203E-04   -1.4745    
  11  norm          8.2839        5.3926        .13930E-03   -1.5132    
  12  Prefactor     .10000E-03    3.1025        .14660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.374        45.048        .91003E-04   -1.4827    
  15  norm          4.1287        6.3389        .19842E-03   -1.5302    
  16  norm          1.3576        2.6929        .18611E-03   -1.5475    
  17  norm          2.5429        9.1376        .12800E-02   -1.5389    
  18  norm          8.9475        7.0774        .13399E-03   -1.5110    
  19  Prefactor     .10000E-03    36.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    45.665        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.7265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1757        .25609        .33428E-03   -.87357    
  23  Prefactor     1.0152        .13613        .19207E-03   -.92225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83014e-10
Minuit parameter uncertainties:
  1  4.35505e-06
  2  11.3687
  3  4.48078e-06
  4  26.7619
  5  6.7208e-06
  6  4.6879
  7  1.7175e-06
  8  17.1862
  9  3.30534e-06
  10  15.619
  11  5.39291
  12  2.15531e-06
  13  3.79241e-05
  14  45.1276
  15  6.33995
  16  2.69316
  17  9.14263
  18  7.07801
  19  0.000624159
  20  0.000907418
  21  2.41942e-06
  22  0.256366
  23  0.136181
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  4.129e+00  6.340e+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.015e+00  1.362e-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.176e+00  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53948/likelihoodResults_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.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) = 7371.58868127
delta logL = 0.26905389359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7371.57830761
delta logL = 0.279427555469

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7102        39.549        .80002E-02    .82725E-03
   2  alpha         3.6059        4.1324        .47886        .59451E-04
   3  Normalizat    1.1310        .60735E-01    .76812E-01    .19295E-04
   4  Prefactor     1.0306        .31709E-01    .41205E-01    .63027E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.71018
  alpha      = 3.60586
  Normalizat = 1.13101
  Prefactor  = 1.03062
 **********
 **   18 **HESSE 
 **********

 FCN=   7371.578     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7102        94.817        .11517E-03   -1.5446    
   2  alpha         3.6059        3.1205        .23379E-01    .45821    
   3  Normalizat    1.1310        .30804        .33998E-03   -.88762    
   4  Prefactor     1.0306        .15797        .19077E-03   -.91716    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11496e-09
Minuit parameter uncertainties:
  1  25.5097
  2  10.804
  3  0.308537
  4  0.158038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53948': 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): 102
logL (Free Index) = 7371.57830356
delta logL = 0.279431603767

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.710e+00  2.551e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.606e+00  1.080e+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.031e+00  1.580e-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.131e+00  3.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 3.61 +/- 10.80
Photon Flux (Free Index): 5.49e-08 +/- 1.15e-07
Energy Flux (Free Index): 9.79e-06 +/- 1.61e-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/53948/cmap_HighResolution_358300801_358560001_4FGL_J1354.8-1041_daily_bin459.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-05', comment='SUCCESS', energy_flux2='9.79e-06', dlogl='2.79e-01', photon_flux2='5.49e-08', job_status='DONE', time_completed='2021-09-08 17:40:36.625311', photon_index_error2='10.80', photon_index2='3.61', ts='0.54', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.61e-05', EG='1.18', time_epoch_completed='1631148036.63', return_code='0', job_id='53948', GAL2='1.03', EG2='1.13', return_code2='102', photon_flux_error2='1.15e-07', ts2='1.13', photon_index='2.27' WHERE bin_id='459' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:40:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 53948: <4FGL_J1354.8-1041_daily_bin459> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin459 208.718 -10.6932 358300801 358560001 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 :                                   675.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            886 sec.

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

