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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1071
RA = 208.718, Dec = -10.6932
tmin = 516931201, tmax = 517190401
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='55525', job_status='RUN', time_executed='2021-09-08 17:34:57.526583', time_epoch_executed='1631147697.53' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55525/ft1_4FGL_J1354.8-1041_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55525/ft1_4FGL_J1354.8-1041_daily_bin1071.fits outfile=/scratch/kocevski/55525/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1071.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=516931201.0 tmax=517190401.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.92
user 3.69
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55525/ft1_filtered_4FGL_J1354.8-1041_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/55525/ltcube_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.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/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits
.....................!
real 11.69
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55525/ft1_filtered_4FGL_J1354.8-1041_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/55525/ltcube_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.fits outfile=/scratch/kocevski/55525/expmap_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.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/55525/ltcube_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.fits
.....................!
real 190.33
user 185.96
sys 3.99

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/55525/ft1_filtered_4FGL_J1354.8-1041_daily_bin1071.fits scfile=/scratch/kocevski/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits outfile=/scratch/kocevski/55525/cmap_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55525/ft1_filtered_4FGL_J1354.8-1041_daily_bin1071.fits scfile=/scratch/kocevski/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits outfile=/scratch/kocevski/55525/cmap_HighResolution_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55525/ft1_filtered_4FGL_J1354.8-1041_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/55525/ft2_4FGL_J1354.8-1041_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55525/Model_4FGL_J1354.8-1041_daily_bin1071.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/55525/ft1_filtered_4FGL_J1354.8-1041_daily_bin1071.fits.....................!
real 60.52
user 59.21
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8491       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.5045       1.0000         .10000E-03   10000.    
     6 'norm      '    .29451E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .56589E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.567       1.0000         .10000E-03   10000.    
     9 'norm      '    14.265       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.3525       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.085       1.0000         .10000E-03   10000.    
    14 'Prefactor '    60.389       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0451       1.0000         .10000E-03   10000.    
    16 'norm      '    .11154E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    28.287       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    9.7089       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78410       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0657       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=   7663.571     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2578 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5693        .43707E-08** at limit **
   2  Prefactor     .10000E-03    6.9912       -.52984E-05** at limit **
   3  Prefactor     7.8579        9.7535       -.53535E-05   -.13639E-03
   4  Prefactor     .10000E-03    6.7016        .37326E-05** at limit **
   5  norm          2.5045        1.7451        .39755E-07   -.43094E-03
   6  norm          .12100E-02    1.5413       -.13219E-07** at limit **
   7  norm          .10007E-03    3.4566        .13798E-05** at limit **
   8  Prefactor     26.564        15.364       -.10774E-06   -.57213E-04
   9  norm          14.260        25.224       -.32752E-05   -.99460E-05
  10  Prefactor     .10000E-03    4.8420       -.30332E-06** at limit **
  11  norm          4.3522        4.7487       -.27169E-06   -.46642E-03
  12  Prefactor     .10000E-03    1.9131       -.21275E-07** at limit **
  13  Prefactor     44.078        27.216       -.47020E-05    .17222E-05
  14  Prefactor     60.387        42.091       -.10327E-05   -.59332E-04
  15  norm          3.0447        5.2510       -.13141E-05   -.60494E-03
  16  norm          .10000E-03    1.8716       -.29756E-06** at limit **
  17  norm          .10000E-03    12.998       -.21197E-05** at limit **
  18  norm          28.283        9.6250        .28433E-06    .94628E-04
  19  Prefactor     .10000E-03    9.5003        .18475E-05** at limit **
  20  Prefactor     .10000E-03    10.493        .11712E-05** at limit **
  21  norm          9.7024        12.998        .57929E-05   -.62681E-04
  22  Normalizat    .78384        .22228        .30334E-05   -.17998E-03
  23  Prefactor     1.0660        .11383       -.10907E-05   -.76066E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.85795
  Prefactor  = 0.0001
  norm       = 2.5045
  norm       = 0.00121003
  norm       = 0.000100071
  Prefactor  = 26.564
  norm       = 14.2599
  Prefactor  = 0.0001
  norm       = 4.35216
  Prefactor  = 0.0001
  Prefactor  = 44.0782
  Prefactor  = 60.3865
  norm       = 3.04468
  norm       = 0.0001
  norm       = 0.0001
  norm       = 28.2832
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.70236
  Normalizat = 0.783845
  Prefactor  = 1.06599
 **********
 **   18 **HESSE 
 **********

 FCN=   7663.571     FROM HESSE     STATUS=OK           380 CALLS     2958 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5706        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.9954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8579        9.7842        .14312E-03   -1.5147    
   4  Prefactor     .10000E-03    6.7279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5045        1.7412        .89770E-04   -1.5391    
   6  norm          .12100E-02    3.1185        .34344E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10007E-03    20.671        .29015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.564        15.327        .77722E-04   -1.4677    
   9  norm          14.260        25.235        .10605E-03   -1.4953    
  10  Prefactor     .10000E-03    4.8557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.3522        4.7430        .18825E-03   -1.5291    
  12  Prefactor     .10000E-03    1.9272        .11806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.078        27.193        .60381E-04   -1.4379    
  14  Prefactor     60.387        42.040        .51631E-04   -1.4152    
  15  norm          3.0447        5.2879        .23251E-03   -1.5359    
  16  norm          .10000E-03    3.5932        .22325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          28.283        9.4834        .75327E-04   -1.4644    
  19  Prefactor     .10000E-03    9.5403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.7024        12.932        .12861E-03   -1.5085    
  22  Normalizat    .78384        .24606        .37538E-03   -1.0067    
  23  Prefactor     1.0660        .12924        .17822E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09315e-09
Minuit parameter uncertainties:
  1  5.78475e-06
  2  7.38365e-05
  3  9.78614
  4  2.60728e-06
  5  1.7412
  6  0.117678
  7  0.00242463
  8  15.3295
  9  25.2539
  10  8.53055e-07
  11  4.74343
  12  7.92381e-06
  13  27.2001
  14  42.0609
  15  5.28868
  16  1.37552e-06
  17  1.5984e-05
  18  9.48389
  19  1.0881e-05
  20  2.84139e-05
  21  12.9354
  22  0.24641
  23  0.129275
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.045e+00  5.289e+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.066e+00  1.293e-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:  7.838e-01  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 8.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55525/likelihoodResults_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.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) = 7662.62705624
delta logL = 0.944128769535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7662.61933191
delta logL = 0.951853098694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2594       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0142       1.0000          .0000       5.0000    
     3 'Normalizat'    .70362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0911       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=   7662.619     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      241 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2646        16.395        .99397E-02    .12587E-02
   2  alpha         4.0110        4.4931        .47813        .77673E-04
   3  Normalizat    .70371        .58856E-01    .89106E-01    .92427E-03
   4  Prefactor     1.0910        .31429E-01    .37936E-01   -.15543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26462
  alpha      = 4.01099
  Normalizat = 0.703712
  Prefactor  = 1.09099
 **********
 **   18 **HESSE 
 **********

 FCN=   7662.619     FROM HESSE     STATUS=OK            29 CALLS      270 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2646        2.7409        .72119E-04   -1.5483    
   2  alpha         4.0110        1.3351        .20996E-02    .64901    
   3  Normalizat    .70371        .24086        .19736E-02   -1.0375    
   4  Prefactor     1.0910        .12865        .17634E-03   -.89755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3955e-11
Minuit parameter uncertainties:
  1  2.74116
  2  1.46317
  3  0.241219
  4  0.128687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55525': 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) = 7662.61932886
delta logL = 0.951856147382

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.265e+00  2.741e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  4.011e+00  1.463e+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:  1.091e+00  1.287e-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:  7.037e-01  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 4.01 +/- 1.46
Photon Flux (Free Index): 7.70e-08 +/- 6.49e-08
Energy Flux (Free Index): 1.24e-05 +/- 9.67e-06

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/55525/cmap_HighResolution_516931201_517190401_4FGL_J1354.8-1041_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-05', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='9.52e-01', photon_flux2='7.70e-08', job_status='DONE', time_completed='2021-09-08 17:46:33.312488', photon_index_error2='1.46', photon_index2='4.01', ts='0.42', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='8.41e-08', energy_flux_error2='9.67e-06', EG='0.78', time_epoch_completed='1631148393.31', return_code='0', job_id='55525', GAL2='1.09', EG2='0.70', return_code2='0', photon_flux_error2='6.49e-08', ts2='2.45', photon_index='2.27' WHERE bin_id='1071' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:46:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 55525: <4FGL_J1354.8-1041_daily_bin1071> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1071 208.718 -10.6932 516931201 517190401 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 :                                   689.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

