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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin298
RA = 208.718, Dec = -10.6932
tmin = 316569601, tmax = 316828801
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='53687', job_status='RUN', time_executed='2021-09-08 17:27:51.150757', time_epoch_executed='1631147271.15' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='298'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53687/ft1_4FGL_J1354.8-1041_daily_bin298.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53687/ft2_4FGL_J1354.8-1041_daily_bin298.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53687/ft1_4FGL_J1354.8-1041_daily_bin298.fits outfile=/scratch/kocevski/53687/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin298.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=316569601.0 tmax=316828801.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.94
user 3.22
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53687/ft2_4FGL_J1354.8-1041_daily_bin298.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/53687/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin298.fits evtable="EVENTS" outfile="/scratch/kocevski/53687/ft1_filtered_4FGL_J1354.8-1041_daily_bin298.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.53
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53687/ft1_filtered_4FGL_J1354.8-1041_daily_bin298.fits" evtable="EVENTS" scfile=/scratch/kocevski/53687/ft2_4FGL_J1354.8-1041_daily_bin298.fits sctable="SC_DATA" outfile=/scratch/kocevski/53687/ltcube_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.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/53687/ft2_4FGL_J1354.8-1041_daily_bin298.fits
.....................!
real 11.74
user 11.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53687/ft1_filtered_4FGL_J1354.8-1041_daily_bin298.fits evtable="EVENTS" scfile=/scratch/kocevski/53687/ft2_4FGL_J1354.8-1041_daily_bin298.fits sctable="SC_DATA" expcube=/scratch/kocevski/53687/ltcube_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.fits outfile=/scratch/kocevski/53687/expmap_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.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/53687/ltcube_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.fits
.....................!
real 191.25
user 185.97
sys 4.90

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53687/ft1_filtered_4FGL_J1354.8-1041_daily_bin298.fits scfile=/scratch/kocevski/53687/ft2_4FGL_J1354.8-1041_daily_bin298.fits outfile=/scratch/kocevski/53687/cmap_HighResolution_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53687/ft1_filtered_4FGL_J1354.8-1041_daily_bin298.fits evtable="EVENTS" scfile=/scratch/kocevski/53687/ft2_4FGL_J1354.8-1041_daily_bin298.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53687/Model_4FGL_J1354.8-1041_daily_bin298.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/53687/ft1_filtered_4FGL_J1354.8-1041_daily_bin298.fits.....................!
real 61.72
user 60.28
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8189       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.9977       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11428E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .83105       1.0000         .10000E-03   10000.    
     6 'norm      '    .82343       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8182       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5105       1.0000         .10000E-03   10000.    
     9 'norm      '    6.7214       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12169E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10504       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14027E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.2081       1.0000         .10000E-03   10000.    
    16 'norm      '    9.3489       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1552       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5673       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0100       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98077       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=   7803.808     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2239 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8190        5.9119        .56899E-07    .31992E-05
   2  Prefactor     .10000E-03    2.5902       -.90367E-07** at limit **
   3  Prefactor     4.9973        4.8540        .38001E-06   -.10007E-03
   4  Prefactor     .10000E-03    32.168        .13515E-04** at limit **
   5  norm          .83170        1.4315       -.49306E-07   -.31191E-03
   6  norm          .82745        3.1726       -.13522E-05   -.12597E-02
   7  norm          2.8023        7.0646        .13414E-05   -.16244E-02
   8  Prefactor     2.5180        10.023       -.83077E-06   -.13049E-03
   9  norm          6.7589        17.479        .20652E-04    .29257E-04
  10  Prefactor     .10000E-03    6.3866        .23090E-06** at limit **
  11  norm          .13279        2.3652        .94614E-06   -.92816E-03
  12  Prefactor     .10003E-03    2.1061        .83859E-06** at limit **
  13  Prefactor     .10000E-03    6.9522       -.24833E-06** at limit **
  14  Prefactor     .10000E-03    17.681       -.68911E-05** at limit **
  15  norm          2.2068        4.0194       -.27021E-05   -.39522E-03
  16  norm          9.3493        3.1761        .12886E-06   -.16639E-03
  17  norm          .10000E-03    12.937        .24669E-05** at limit **
  18  norm          .10000E-03    2.6291        .10946E-06** at limit **
  19  Prefactor     1.1579        16.812       -.87285E-06   -.64628E-03
  20  Prefactor     1.5695        16.591       -.23911E-06   -.50211E-03
  21  norm          .10000E-03    3.7231        .10324E-06** at limit **
  22  Normalizat    1.0101        .19953       -.33045E-06   -.44857E-03
  23  Prefactor     .98060        .10293       -.24514E-06   -.67587E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.81896
  Prefactor  = 0.0001
  Prefactor  = 4.99732
  Prefactor  = 0.0001
  norm       = 0.831697
  norm       = 0.827453
  norm       = 2.80231
  Prefactor  = 2.51803
  norm       = 6.75892
  Prefactor  = 0.0001
  norm       = 0.132786
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.20685
  norm       = 9.34927
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.15793
  Prefactor  = 1.5695
  norm       = 0.0001
  Normalizat = 1.01012
  Prefactor  = 0.980599
 **********
 **   18 **HESSE 
 **********

 FCN=   7803.808     FROM HESSE     STATUS=OK           374 CALLS     2613 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8190        5.9150        .16649E-03   -1.5225    
   2  Prefactor     .10000E-03    2.6062        .13883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.9973        4.8523        .17988E-03   -1.5261    
   4  Prefactor     .10000E-03    32.674        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .83170        1.4125        .12794E-03   -1.5526    
   6  norm          .82745        2.9388        .22449E-03   -1.5526    
   7  norm          2.8023        7.4166        .12114E-02   -1.5373    
   8  Prefactor     2.5180        9.9616        .25788E-03   -1.5391    
   9  norm          6.7589        17.350        .15477E-03   -1.5188    
  10  Prefactor     .10000E-03    6.4175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13279        40.537        .25294E-02   -1.5635    
  12  Prefactor     .10003E-03    27.389        .23521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2068        3.9366        .22784E-03   -1.5411    
  16  norm          9.3493        3.1798        .87086E-04   -1.5096    
  17  norm          .10000E-03    13.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.6502        .13985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1579        32.735        .21485E-02   -1.5493    
  20  Prefactor     1.5695        20.484        .16984E-02   -1.5457    
  21  norm          .10000E-03    3.7260        .16647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0101        .22956        .32018E-03   -.92692    
  23  Prefactor     .98060        .12276        .17731E-03   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37053e-08
Minuit parameter uncertainties:
  1  5.91563
  2  3.04856e-07
  3  4.85268
  4  6.7009e-05
  5  1.4126
  6  2.93933
  7  7.41904
  8  9.96818
  9  17.3627
  10  9.99482e-06
  11  4.64158
  12  0.00178712
  13  1.8558e-06
  14  2.10659e-05
  15  3.93702
  16  3.17981
  17  1.25576e-05
  18  1.28479e-06
  19  12.3202
  20  11.3444
  21  1.1306e-06
  22  0.229781
  23  0.122799
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.207e+00  3.937e+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.806e-01  1.228e-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.010e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53687/likelihoodResults_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.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) = 7803.12856343
delta logL = 0.679507149205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7803.11647132
delta logL = 0.691599263446

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7574       1.0000         .10000E-03   10000.    
     2 'alpha     '    .95451       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97640       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=   7803.116     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7565        2.1394        .79036E-02   -.96326E-04
   2  alpha         .95422        .66054        .50000       -.43365E-04
   3  Normalizat    1.0211        .18472        .72005E-01    .20295E-04
   4  Prefactor     .97641        .10148        .45971E-01    .84003E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.75649
  alpha      = 0.954225
  Normalizat = 1.02106
  Prefactor  = 0.976413
 **********
 **   18 **HESSE 
 **********

 FCN=   7803.116     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7565        2.9297        .13654E-03   -1.5443    
   2  alpha         .95422        .89142        .29007E-02   -.66659    
   3  Normalizat    1.0211        .21625        .31860E-03   -.92328    
   4  Prefactor     .97641        .11900        .17756E-03   -.93520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25666e-13
Minuit parameter uncertainties:
  1  2.9299
  2  0.92524
  3  0.216432
  4  0.119029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53687': 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) = 7803.11647125
delta logL = 0.691599327201

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.756e+00  2.930e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  9.542e-01  9.252e-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:  9.764e-01  1.190e-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.021e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.86
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 0.95 +/- 0.93
Photon Flux (Free Index): 4.85e-09 +/- 6.87e-09
Energy Flux (Free Index): 1.57e-05 +/- 2.60e-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/53687/cmap_HighResolution_316569601_316828801_4FGL_J1354.8-1041_daily_bin298.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', energy_flux2='1.57e-05', dlogl='6.92e-01', photon_flux2='4.85e-09', job_status='DONE', time_completed='2021-09-08 17:39:53.165472', photon_index_error2='0.93', photon_index2='0.95', ts='0.48', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='7.33e-08', energy_flux_error2='2.60e-05', EG='1.01', time_epoch_completed='1631147993.17', return_code='0', job_id='53687', GAL2='0.98', EG2='1.02', return_code2='0', photon_flux_error2='6.87e-09', ts2='1.86', photon_index='2.27' WHERE bin_id='298' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:39:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 53687: <4FGL_J1354.8-1041_daily_bin298> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin298 208.718 -10.6932 316569601 316828801 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 :                                   671.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            864 sec.

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

