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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1509
RA = 208.718, Dec = -10.6932
tmin = 630460801, tmax = 630720001
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='59599', job_status='RUN', time_executed='2021-09-08 17:42:09.088945', time_epoch_executed='1631148129.09' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1509'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59599

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59599/ft1_4FGL_J1354.8-1041_daily_bin1509.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59599/ft2_4FGL_J1354.8-1041_daily_bin1509.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59599/ft1_4FGL_J1354.8-1041_daily_bin1509.fits outfile=/scratch/kocevski/59599/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1509.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=630460801.0 tmax=630720001.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 2.79
user 2.60
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59599/ft1_filtered_4FGL_J1354.8-1041_daily_bin1509.fits" evtable="EVENTS" scfile=/scratch/kocevski/59599/ft2_4FGL_J1354.8-1041_daily_bin1509.fits sctable="SC_DATA" outfile=/scratch/kocevski/59599/ltcube_630460801_630720001_4FGL_J1354.8-1041_daily_bin1509.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/59599/ft2_4FGL_J1354.8-1041_daily_bin1509.fits
.....................!
real 12.27
user 11.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59599/ft1_filtered_4FGL_J1354.8-1041_daily_bin1509.fits evtable="EVENTS" scfile=/scratch/kocevski/59599/ft2_4FGL_J1354.8-1041_daily_bin1509.fits sctable="SC_DATA" expcube=/scratch/kocevski/59599/ltcube_630460801_630720001_4FGL_J1354.8-1041_daily_bin1509.fits outfile=/scratch/kocevski/59599/expmap_630460801_630720001_4FGL_J1354.8-1041_daily_bin1509.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/59599/ltcube_630460801_630720001_4FGL_J1354.8-1041_daily_bin1509.fits
.....................!
real 190.03
user 185.46
sys 4.23

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/59599/ft1_filtered_4FGL_J1354.8-1041_daily_bin1509.fits scfile=/scratch/kocevski/59599/ft2_4FGL_J1354.8-1041_daily_bin1509.fits outfile=/scratch/kocevski/59599/cmap_630460801_630720001_4FGL_J1354.8-1041_daily_bin1509.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59599/ft1_filtered_4FGL_J1354.8-1041_daily_bin1509.fits evtable="EVENTS" scfile=/scratch/kocevski/59599/ft2_4FGL_J1354.8-1041_daily_bin1509.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59599/Model_4FGL_J1354.8-1041_daily_bin1509.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/59599/ft1_filtered_4FGL_J1354.8-1041_daily_bin1509.fits.....................!
real 70.91
user 69.57
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56468E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.222       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10278E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .36457       1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    10.951       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3576       1.0000         .10000E-03   10000.    
     9 'norm      '    30.216       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1493       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7087       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1897       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.338       1.0000         .10000E-03   10000.    
    15 'norm      '    8.4400       1.0000         .10000E-03   10000.    
    16 'norm      '    14.317       1.0000         .10000E-03   10000.    
    17 'norm      '    10.961       1.0000         .10000E-03   10000.    
    18 'norm      '    3.0891       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.7341       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.8833       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .62921       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=   9310.492     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2568 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4566        .30182E-07** at limit **
   2  Prefactor     10.221        7.4813       -.11396E-06   -.34141E-04
   3  Prefactor     .10000E-03    3.9167        .30681E-07** at limit **
   4  Prefactor     .10000E-03    20.215        .17360E-06** at limit **
   5  norm          .36389        .93999        .14326E-06   -.74380E-03
   6  norm          .10000E-03    1.1504        .32419E-07** at limit **
   7  norm          10.948        6.0909        .26681E-06    .51753E-04
   8  Prefactor     4.3740        17.130       -.66723E-05   -.11703E-03
   9  norm          30.216        24.286       -.44408E-07    .23614E-05
  10  Prefactor     1.1378        32.226        .88971E-05   -.10875E-03
  11  norm          1.7068        3.7518        .42613E-06   -.27927E-03
  12  Prefactor     .10000E-03    3.2376        .29824E-07** at limit **
  13  Prefactor     1.1937        35.478        .95426E-06   -.99535E-04
  14  Prefactor     23.319        41.149       -.57063E-05   -.90242E-04
  15  norm          8.4378        5.4924        .14119E-06    .25451E-04
  16  norm          14.317        3.5012       -.64088E-07   -.11466E-03
  17  norm          10.961        9.0813        .31207E-07    .96419E-05
  18  norm          3.0894        4.5559        .12925E-06   -.16232E-03
  19  Prefactor     .10000E-03    5.2436        .51870E-07** at limit **
  20  Prefactor     .10000E-03    4.8337       -.38053E-07** at limit **
  21  norm          4.7332        10.252        .17455E-06   -.27987E-04
  22  Normalizat    1.8831        .20620       -.28881E-06    .17494E-04
  23  Prefactor     .62929        .10445        .14120E-06   -.12088E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 10.2207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.363887
  norm       = 0.0001
  norm       = 10.9481
  Prefactor  = 4.37404
  norm       = 30.2158
  Prefactor  = 1.1378
  norm       = 1.70684
  Prefactor  = 0.0001
  Prefactor  = 1.19371
  Prefactor  = 23.3187
  norm       = 8.43783
  norm       = 14.3173
  norm       = 10.9611
  norm       = 3.08938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.73318
  Normalizat = 1.88313
  Prefactor  = 0.629294
 **********
 **   18 **HESSE 
 **********

 FCN=   9310.492     FROM HESSE     STATUS=OK           388 CALLS     2956 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.4168        .70935E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.221        7.4888        .12533E-03   -1.5068    
   3  Prefactor     .10000E-03    3.9523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .36389        1.1390        .14033E-02   -1.5587    
   6  norm          .10000E-03    1.1597        .10088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.948        6.0787        .12107E-03   -1.5046    
   8  Prefactor     4.3740        17.118        .19295E-03   -1.5290    
   9  norm          30.216        24.285        .72889E-04   -1.4608    
  10  Prefactor     1.1378        34.279        .43190E-03   -1.5495    
  11  norm          1.7068        3.7148        .26301E-03   -1.5447    
  12  Prefactor     .10000E-03    3.3127        .33827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1937        37.229        .41775E-03   -1.5489    
  14  Prefactor     23.319        41.712        .82915E-04   -1.4742    
  15  norm          8.4378        5.4820        .13799E-03   -1.5127    
  16  norm          14.317        3.5134        .84165E-04   -1.4951    
  17  norm          10.961        9.0822        .12101E-03   -1.5046    
  18  norm          3.0894        4.5439        .23075E-03   -1.5356    
  19  Prefactor     .10000E-03    5.2471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.8348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.7332        10.242        .18493E-03   -1.5273    
  22  Normalizat    1.8831        .23758        .27981E-03   -.67513    
  23  Prefactor     .62929        .12052        .23663E-03   -1.0637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80644e-10
Minuit parameter uncertainties:
  1  0.000187958
  2  7.48946
  3  2.70951e-06
  4  3.51605e-05
  5  1.13911
  6  2.75073e-06
  7  6.07909
  8  17.1369
  9  24.2929
  10  12.4977
  11  3.71531
  12  2.02593e-06
  13  13.3413
  14  41.7645
  15  5.48233
  16  3.51349
  17  9.08332
  18  4.54444
  19  2.25973e-07
  20  1.86155e-06
  21  10.2453
  22  0.237727
  23  0.120569
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  8.438e+00  5.482e+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:  6.293e-01  1.206e-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.883e+00  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.12
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.39e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.07e-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) = 9310.26379956
delta logL = 0.228059469373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9310.25582936
delta logL = 0.236029664989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0870       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8503       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62487       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=   9310.256     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1104        11.361        .33239E-02    .38800E-04
   2  alpha         1.8499        .95485        .43062       -.28380E-04
   3  Normalizat    1.8975        .19942        .63097E-01   -.15500E-03
   4  Prefactor     .62472        .10432        .41392E-01   -.26226E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.11043
  alpha      = 1.84986
  Normalizat = 1.89752
  Prefactor  = 0.62472
 **********
 **   18 **HESSE 
 **********

 FCN=   9310.256     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1104        6.0667        .13296E-03   -1.5104    
   2  alpha         1.8499        .58789        .20152E-01   -.26308    
   3  Normalizat    1.8975        .22571        .27902E-03   -.67145    
   4  Prefactor     .62472        .11872        .23743E-03   -1.0656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.46963e-11
Minuit parameter uncertainties:
  1  6.06716
  2  0.593862
  3  0.225831
  4  0.118767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59599': 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) = 9310.25581918
delta logL = 0.236039850874

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  9.110e+00  6.067e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.850e+00  5.939e-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:  6.247e-01  1.188e-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.898e+00  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.60
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.85 +/- 0.59
Photon Flux (Free Index): 3.17e-08 +/- 2.67e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.46e-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/59599/cmap_HighResolution_630460801_630720001_4FGL_J1354.8-1041_daily_bin1509.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.39e-08', energy_flux2='1.97e-05', photon_flux_error='2.85e-08', dlogl='2.36e-01', energy_flux='1.64e-05', photon_flux2='3.17e-08', job_status='DONE', time_completed='2021-09-08 17:55:10.500702', photon_index_error2='0.59', photon_index2='1.85', ts='6.12', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='1.88', time_epoch_completed='1631148910.5', return_code='0', job_id='59599', GAL2='0.62', EG2='1.90', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='2.67e-08', ts2='6.60', photon_index='2.27' WHERE bin_id='1509' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:55:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 59599: <4FGL_J1354.8-1041_daily_bin1509> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1509> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:40:45 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:40:46 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:40:46 2021
Terminated at Wed Sep  8 17:55:11 2021
Results reported at Wed Sep  8 17:55:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1509 208.718 -10.6932 630460801 630720001 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 :                                   676.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            866 sec.

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

