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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin789
RA = 208.718, Dec = -10.6932
tmin = 443836801, tmax = 444096001
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='55052', job_status='RUN', time_executed='2021-09-08 17:30:47.533398', time_epoch_executed='1631147447.53' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55052/ft1_4FGL_J1354.8-1041_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55052/ft2_4FGL_J1354.8-1041_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55052/ft1_4FGL_J1354.8-1041_daily_bin789.fits outfile=/scratch/kocevski/55052/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin789.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=443836801.0 tmax=444096001.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.49
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55052/ft2_4FGL_J1354.8-1041_daily_bin789.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/55052/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin789.fits evtable="EVENTS" outfile="/scratch/kocevski/55052/ft1_filtered_4FGL_J1354.8-1041_daily_bin789.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/55052/ft1_filtered_4FGL_J1354.8-1041_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/55052/ft2_4FGL_J1354.8-1041_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/55052/ltcube_443836801_444096001_4FGL_J1354.8-1041_daily_bin789.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/55052/ft2_4FGL_J1354.8-1041_daily_bin789.fits
.....................!
real 11.76
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55052/ft1_filtered_4FGL_J1354.8-1041_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/55052/ft2_4FGL_J1354.8-1041_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/55052/ltcube_443836801_444096001_4FGL_J1354.8-1041_daily_bin789.fits outfile=/scratch/kocevski/55052/expmap_443836801_444096001_4FGL_J1354.8-1041_daily_bin789.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/55052/ltcube_443836801_444096001_4FGL_J1354.8-1041_daily_bin789.fits
.....................!
real 190.34
user 185.60
sys 4.35

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/55052/ft1_filtered_4FGL_J1354.8-1041_daily_bin789.fits scfile=/scratch/kocevski/55052/ft2_4FGL_J1354.8-1041_daily_bin789.fits outfile=/scratch/kocevski/55052/cmap_443836801_444096001_4FGL_J1354.8-1041_daily_bin789.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.56
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55052/ft1_filtered_4FGL_J1354.8-1041_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/55052/ft2_4FGL_J1354.8-1041_daily_bin789.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55052/Model_4FGL_J1354.8-1041_daily_bin789.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/55052/ft1_filtered_4FGL_J1354.8-1041_daily_bin789.fits.....................!
real 70.65
user 69.29
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0683       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .34701       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6152       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.1721       1.0000         .10000E-03   10000.    
     7 'norm      '    23.780       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2025       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.728       1.0000         .10000E-03   10000.    
    11 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6999       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.348       1.0000         .10000E-03   10000.    
    15 'norm      '    9.5735       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1477       1.0000         .10000E-03   10000.    
    17 'norm      '    12.987       1.0000         .10000E-03   10000.    
    18 'norm      '    22.485       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8585       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2524       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83292       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=   9303.074     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2523 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0682        7.2072       -.31781E-08   -.29598E-04
   2  Prefactor     .36484        4.5970        .70456E-06   -.42010E-03
   3  Prefactor     2.6149        5.9597       -.23044E-06   -.26947E-03
   4  Prefactor     .10000E-03    13.481        .90813E-06** at limit **
   5  norm          .10000E-03    .41794        .45911E-07** at limit **
   6  norm          4.1716        2.9507        .48213E-08   -.20264E-03
   7  norm          23.780        8.0756        .83387E-07   -.11345E-03
   8  Prefactor     6.2030        12.735        .32582E-06   -.66444E-05
   9  norm          .10000E-03    8.4959        .13713E-05** at limit **
  10  Prefactor     10.728        12.062        .22492E-06    .30899E-05
  11  norm          .10000E-03    3.3441        .58379E-07** at limit **
  12  Prefactor     2.7001        3.8234        .22746E-08   -.33232E-03
  13  Prefactor     .10000E-03    9.1682       -.21285E-05** at limit **
  14  Prefactor     19.338        25.763       -.85594E-05   -.50037E-03
  15  norm          9.5739        5.5472       -.54313E-07   -.85095E-04
  16  norm          2.1478        1.5681       -.10581E-07   -.63140E-04
  17  norm          12.987        9.6046        .26229E-07    .95043E-05
  18  norm          22.485        7.7115       -.15713E-06   -.11135E-04
  19  Prefactor     2.8575        12.328        .57313E-05   -.62989E-03
  20  Prefactor     .10000E-03    14.274       -.90621E-06** at limit **
  21  norm          .10000E-03    12.044        .12803E-05** at limit **
  22  Normalizat    1.2525        .18695       -.31151E-06   -.85244E-04
  23  Prefactor     .83291        .97057E-01    .11072E-06   -.15556E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.06819
  Prefactor  = 0.364839
  Prefactor  = 2.61486
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.17164
  norm       = 23.7802
  Prefactor  = 6.203
  norm       = 0.0001
  Prefactor  = 10.728
  norm       = 0.0001
  Prefactor  = 2.70012
  Prefactor  = 0.000100001
  Prefactor  = 19.3384
  norm       = 9.57392
  norm       = 2.14778
  norm       = 12.9871
  norm       = 22.4851
  Prefactor  = 2.85749
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.25246
  Prefactor  = 0.832908
 **********
 **   18 **HESSE 
 **********

 FCN=   9303.074     FROM HESSE     STATUS=OK           380 CALLS     2903 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0682        7.2029        .16299E-03   -1.5215    
   2  Prefactor     .36484        22.906        .39253E-02   -1.5587    
   3  Prefactor     2.6149        5.9563        .25222E-03   -1.5385    
   4  Prefactor     .10000E-03    13.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .72560        .11984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1716        2.9345        .12703E-03   -1.5299    
   7  norm          23.780        8.0498        .82142E-04   -1.4732    
   8  Prefactor     6.2030        12.603        .16119E-03   -1.5210    
   9  norm          .10000E-03    8.5137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.728        11.946        .12233E-03   -1.5053    
  11  norm          .10000E-03    3.4972        .34420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7001        3.8070        .20861E-03   -1.5379    
  13  Prefactor     .10000E-03    9.2277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.338        26.736        .91055E-04   -1.4828    
  15  norm          9.5739        5.5297        .12952E-03   -1.5089    
  16  norm          2.1478        1.5651        .99436E-04   -1.5415    
  17  norm          12.987        9.6068        .11115E-03   -1.4987    
  18  norm          22.485        7.7461        .84471E-04   -1.4759    
  19  Prefactor     2.8575        25.311        .12023E-02   -1.5370    
  20  Prefactor     .10000E-03    14.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    12.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2525        .21741        .30514E-03   -.84997    
  23  Prefactor     .83291        .11331        .19586E-03   -.98526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14416e-09
Minuit parameter uncertainties:
  1  7.20396
  2  5.78327
  3  5.95764
  4  7.04907e-05
  5  1.78851e-06
  6  2.93455
  7  8.05012
  8  12.6083
  9  8.40351e-05
  10  11.9487
  11  1.93561e-05
  12  3.80735
  13  0.000137621
  14  26.7528
  15  5.52998
  16  1.56516
  17  9.60792
  18  7.74649
  19  17.0184
  20  7.67178e-05
  21  8.29532e-05
  22  0.21757
  23  0.113342
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  9.574e+00  5.530e+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.329e-01  1.133e-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.252e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.99
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.98e-08 +/- 2.87e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.08e-05

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) = 9302.54187057
delta logL = 0.532385036728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9302.52599692
delta logL = 0.548258688073

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.527       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7310       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82710       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=   9302.526     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      206 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.527        9.0729        .30873E-02   -.32721E-02
   2  alpha         1.7311        .63509        .43931       -.10663E-04
   3  Normalizat    1.2711        .18058        .68552E-01    .14178E-04
   4  Prefactor     .82710        .96810E-01    .44069E-01    .11744E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5268
  alpha      = 1.73113
  Normalizat = 1.27113
  Prefactor  = 0.827104
 **********
 **   18 **HESSE 
 **********

 FCN=   9302.526     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.527        6.2138        .12349E-03   -1.5059    
   2  alpha         1.7311        .50056        .16970E-01   -.31261    
   3  Normalizat    1.2711        .20925        .30329E-03   -.84432    
   4  Prefactor     .82710        .11255        .19648E-03   -.98737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28431e-09
Minuit parameter uncertainties:
  1  6.21414
  2  0.504331
  3  0.209389
  4  0.112581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55052': 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) = 9302.52599688
delta logL = 0.54825872851

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.053e+01  6.214e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.731e+00  5.043e-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:  8.271e-01  1.126e-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.271e+00  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.11
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.73 +/- 0.50
Photon Flux (Free Index): 3.35e-08 +/- 2.47e-08
Energy Flux (Free Index): 2.49e-05 +/- 1.66e-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/55052/cmap_HighResolution_443836801_444096001_4FGL_J1354.8-1041_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.98e-08', energy_flux2='2.49e-05', photon_flux_error='2.87e-08', dlogl='5.48e-01', energy_flux='1.86e-05', photon_flux2='3.35e-08', job_status='DONE', time_completed='2021-09-08 17:42:07.935650', photon_index_error2='0.50', photon_index2='1.73', ts='7.99', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='1.25', time_epoch_completed='1631148127.94', return_code='0', job_id='55052', GAL2='0.83', EG2='1.27', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.47e-08', ts2='9.11', photon_index='2.27' WHERE bin_id='789' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:42:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 55052: <4FGL_J1354.8-1041_daily_bin789> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin789> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:30:31 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:30:33 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:30:33 2021
Terminated at Wed Sep  8 17:42:08 2021
Results reported at Wed Sep  8 17:42:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin789 208.718 -10.6932 443836801 444096001 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 :                                   677.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            697 sec.

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

