/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 93 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin350
RA = 208.718, Dec = -10.6932
tmin = 330048001, tmax = 330307201
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='53767', job_status='RUN', time_executed='2021-09-08 17:27:17.960912', time_epoch_executed='1631147237.96' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53767

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53767/ft1_4FGL_J1354.8-1041_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53767/ft1_4FGL_J1354.8-1041_daily_bin350.fits outfile=/scratch/kocevski/53767/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin350.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=330048001.0 tmax=330307201.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.47
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.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/53767/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin350.fits evtable="EVENTS" outfile="/scratch/kocevski/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.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/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/53767/ltcube_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.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/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits
.....................!
real 12.57
user 12.24
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/53767/ltcube_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.fits outfile=/scratch/kocevski/53767/expmap_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.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/53767/ltcube_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.fits
.....................!
real 192.22
user 187.48
sys 4.31

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/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.fits scfile=/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits outfile=/scratch/kocevski/53767/cmap_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.fits scfile=/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits outfile=/scratch/kocevski/53767/cmap_HighResolution_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/53767/ft2_4FGL_J1354.8-1041_daily_bin350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53767/Model_4FGL_J1354.8-1041_daily_bin350.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/53767/ft1_filtered_4FGL_J1354.8-1041_daily_bin350.fits.....................!
real 73.03
user 71.74
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0748       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4873       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10532E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .70967       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3360       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7425       1.0000         .10000E-03   10000.    
    11 'norm      '    4.1890       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8193       1.0000         .10000E-03   10000.    
    16 'norm      '    4.8533       1.0000         .10000E-03   10000.    
    17 'norm      '    15.301       1.0000         .10000E-03   10000.    
    18 'norm      '    .12041       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.737       1.0000         .10000E-03   10000.    
    21 'norm      '    17.740       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1966       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97495       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=   9732.460     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2228 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.0125        .37224E-06** at limit **
   2  Prefactor     4.0748        5.4365        .13736E-06   -.15688E-03
   3  Prefactor     5.4872        5.5144        .35166E-07   -.17067E-03
   4  Prefactor     .10005E-03    4.7896        .21046E-06** at limit **
   5  norm          .10000E-03    .40962       -.64772E-08** at limit **
   6  norm          .70607        1.6097        .86921E-06   -.47929E-03
   7  norm          .10000E-03    1.4867       -.66584E-07** at limit **
   8  Prefactor     7.3310        15.094       -.11514E-05   -.25266E-03
   9  norm          .10000E-03    9.0477       -.11405E-05** at limit **
  10  Prefactor     2.7495        11.047        .16599E-05    .48793E-04
  11  norm          4.1896        3.4956        .43873E-06    .32826E-03
  12  Prefactor     .10000E-03    1.9103       -.14489E-06** at limit **
  13  Prefactor     .10000E-03    10.569        .72248E-06** at limit **
  14  Prefactor     .10000E-03    5.6822        .27939E-06** at limit **
  15  norm          1.8198        4.7336        .10109E-05   -.21997E-03
  16  norm          4.8523        2.4900        .45503E-08   -.16904E-03
  17  norm          15.302        10.105        .40579E-07    .12062E-04
  18  norm          .15283        3.1975        .23061E-06   -.20559E-03
  19  Prefactor     .10000E-03    5.4804       -.29247E-06** at limit **
  20  Prefactor     13.740        18.135        .91729E-06    .14217E-03
  21  norm          17.741        12.432        .15002E-06    .64309E-04
  22  Normalizat    1.1966        .18272       -.16803E-06   -.21609E-03
  23  Prefactor     .97491        .98543E-01   -.31466E-06   -.21597E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.0748
  Prefactor  = 5.48724
  Prefactor  = 0.000100046
  norm       = 0.0001
  norm       = 0.706071
  norm       = 0.0001
  Prefactor  = 7.33101
  norm       = 0.000100001
  Prefactor  = 2.74949
  norm       = 4.18959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.81978
  norm       = 4.85225
  norm       = 15.302
  norm       = 0.152832
  Prefactor  = 0.0001
  Prefactor  = 13.7401
  norm       = 17.7411
  Normalizat = 1.19656
  Prefactor  = 0.974906
 **********
 **   18 **HESSE 
 **********

 FCN=   9732.460     FROM HESSE     STATUS=OK           378 CALLS     2606 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.1142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0748        5.4159        .19973E-03   -1.5304    
   3  Prefactor     5.4872        5.5129        .17153E-03   -1.5239    
   4  Prefactor     .10005E-03    18.413        .38040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.4610        .12248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .70607        1.5681        .18021E-03   -1.5540    
   7  norm          .10000E-03    1.4955        .11746E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.3310        14.990        .14808E-03   -1.5166    
   9  norm          .10000E-03    9.2122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7495        10.680        .24585E-03   -1.5376    
  11  norm          4.1896        3.4969        .16137E-03   -1.5299    
  12  Prefactor     .10000E-03    1.9402        .13298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.6915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8198        4.7699        .30960E-03   -1.5438    
  16  norm          4.8523        2.4800        .10477E-03   -1.5267    
  17  norm          15.302        10.106        .10239E-03   -1.4925    
  18  norm          .15283        23.272        .33570E-02   -1.5630    
  19  Prefactor     .10000E-03    5.5007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.740        18.225        .10807E-03   -1.4966    
  21  norm          17.741        12.430        .95093E-04   -1.4865    
  22  Normalizat    1.1966        .21318        .31163E-03   -.86709    
  23  Prefactor     .97491        .11596        .18792E-03   -.93571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52651e-08
Minuit parameter uncertainties:
  1  4.2242e-05
  2  5.41657
  3  5.51342
  4  0.0018341
  5  5.95896e-06
  6  1.56823
  7  5.74315e-06
  8  14.9973
  9  0.000148267
  10  10.6871
  11  3.4971
  12  9.23004e-06
  13  0.000102015
  14  2.76169e-05
  15  4.77088
  16  2.48006
  17  10.1074
  18  3.77209
  19  2.8035e-05
  20  18.2321
  21  12.4314
  22  0.213334
  23  0.115993
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.820e+00  4.771e+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:  9.749e-01  1.160e-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.197e+00  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53767/likelihoodResults_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.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) = 9731.18955744
delta logL = 1.27052414836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9731.15632375
delta logL = 1.30375784345

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24161       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0113       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=   9731.156     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      276 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24162        4.8891        .69852E-02    .12366E-02
   2  alpha         5.0000        4.7517        .46393    ** at limit **
   3  Normalizat    1.0938        .10360        .73197E-01   -.44137E-03
   4  Prefactor     1.0113        .51373E-01    .43139E-01   -.89899E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.241616
  alpha      = 5
  Normalizat = 1.09378
  Prefactor  = 1.01134
 **********
 **   18 **HESSE 
 **********

 FCN=   9731.156     FROM HESSE     STATUS=OK            31 CALLS      307 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24162        .16940        .32060E-03   -1.5610    
   2  alpha         5.0000        3.1488        .64067E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0938        .21510        .32392E-03   -.89952    
   4  Prefactor     1.0113        .11628        .18485E-03   -.92352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02087e-10
Minuit parameter uncertainties:
  1  0.169403
  2  9.3055e-07
  3  0.21527
  4  0.11631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53767': 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) = 9731.15632354
delta logL = 1.3037580551

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.011e+00  1.163e-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.094e+00  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.66e-08 +/- 5.35e-08
Energy Flux (Free Index): 1.07e-05 +/- 7.49e-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/53767/cmap_HighResolution_330048001_330307201_4FGL_J1354.8-1041_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-05', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='1.30e+00', photon_flux2='7.66e-08', job_status='DONE', time_completed='2021-09-08 17:41:08.398255', photon_index_error2='0.00', photon_index2='5.00', ts='0.17', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.10e-08', energy_flux_error2='7.49e-06', EG='1.20', time_epoch_completed='1631148068.4', return_code='0', job_id='53767', GAL2='1.01', EG2='1.09', return_code2='0', photon_flux_error2='5.35e-08', ts2='3.01', photon_index='2.27' WHERE bin_id='350' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:41:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 53767: <4FGL_J1354.8-1041_daily_bin350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin350 208.718 -10.6932 330048001 330307201 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 :                                   772.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            933 sec.

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

