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


Performing analysis on: 4FGL_J0816.4-1311_daily_bin1584
RA = 124.112, Dec = -13.1973
tmin = 649900801, tmax = 650160001
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='373166', job_status='RUN', time_executed='2021-08-29 15:31:43.663763', time_epoch_executed='1630276303.66' WHERE source_name='4FGL J0816.4-1311' and cadence='daily' and bin_id='1584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373166

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373166/ft1_4FGL_J0816.4-1311_daily_bin1584.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373166/ft1_4FGL_J0816.4-1311_daily_bin1584.fits outfile=/scratch/kocevski/373166/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin1584.fits ra=124.112 dec=-13.1973 rad=12.0 tmin=649900801.0 tmax=650160001.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 5.31
user 4.76
sys 0.50

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.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/373166/ft1_filteredMKT_4FGL_J0816.4-1311_daily_bin1584.fits evtable="EVENTS" outfile="/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.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.75
user 0.31
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits" evtable="EVENTS" scfile=/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits sctable="SC_DATA" outfile=/scratch/kocevski/373166/ltcube_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.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/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits
.....................!
real 12.25
user 11.59
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits sctable="SC_DATA" expcube=/scratch/kocevski/373166/ltcube_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.fits outfile=/scratch/kocevski/373166/expmap_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.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/373166/ltcube_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.fits
.....................!
real 189.95
user 185.43
sys 4.21

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0816.4-1311 @ 124.112 -13.1973

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits scfile=/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits outfile=/scratch/kocevski/373166/cmap_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.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=124.112 yref=-13.1973 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.80
user 0.38
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits scfile=/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits outfile=/scratch/kocevski/373166/cmap_HighResolution_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.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=124.112 yref=-13.1973 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.80
user 0.40
sys 0.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/373166/Model_4FGL_J0816.4-1311_daily_bin1584.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/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits.....................!
real 115.38
user 113.59
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits', '/scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits', expMap='/scratch/kocevski/373166/expmap_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.fits', expCube='/scratch/kocevski/373166/ltcube_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/373166/Model_4FGL_J0816.4-1311_daily_bin1584.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0816.4-1311'

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  2.040e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/373166/ft1_filtered_4FGL_J0816.4-1311_daily_bin1584.fits
Spacecraft file(s): /scratch/kocevski/373166/ft2_4FGL_J0816.4-1311_daily_bin1584.fits
Exposure map: /scratch/kocevski/373166/expmap_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.fits
Exposure cube: /scratch/kocevski/373166/ltcube_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/373166/Model_4FGL_J0816.4-1311_daily_bin1584.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) = 8398.69928807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5062       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9837       1.0000         .10000E-03   10000.    
     4 'norm      '    .26698E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .98032       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.994       1.0000         .10000E-03   10000.    
     9 'norm      '    8.5548       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    37.558       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.7631       1.0000         .10000E-03   10000.    
    15 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .39225E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .71847       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .58788       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8398.550     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2139 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5063        2.5533       -.11767E-07   -.40282E-04
   2  norm          .10000E-03    8.4793        .38393E-05** at limit **
   3  norm          1.9826        6.9153        .97752E-06   -.48905E-03
   4  norm          .10000E-03    1.9911        .21118E-08** at limit **
   5  norm          .10000E-03    26.457       -.71201E-05** at limit **
   6  Prefactor     .10000E-03    2.8606        .19007E-07** at limit **
   7  norm          .98029        2.8197        .70006E-07   -.21699E-03
   8  Prefactor     22.994        13.959       -.14655E-06   -.18751E-04
   9  norm          8.5545        2.2536        .54137E-08   -.12806E-03
  10  Prefactor     .10000E-03    6.6386       -.48361E-06** at limit **
  11  Prefactor     .10000E-03    2.8065        .30220E-07** at limit **
  12  norm          37.556        31.752       -.93318E-06   -.69093E-05
  13  norm          .10000E-03    28.436        .72085E-05** at limit **
  14  norm          7.7630        4.5393        .79038E-08   -.13433E-04
  15  norm          .10000E-03    5.0880        .41967E-07** at limit **
  16  Prefactor     .10000E-03    18.892       -.11827E-06** at limit **
  17  norm          .10006E-03    6.3877       -.20998E-06** at limit **
  18  norm          .71846        4.4374        .10901E-06   -.18241E-03
  19  Prefactor     .10000E-03    11.127        .20617E-05** at limit **
  20  Prefactor     .10000E-03    9.2084       -.50890E-05** at limit **
  21  Normalizat    .58800        .24227        .67870E-07   -.72940E-06
  22  Prefactor     1.1594        .84343E-01   -.45721E-08   -.87532E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.50626
  norm       = 0.0001
  norm       = 1.98261
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.980294
  Prefactor  = 22.9941
  norm       = 8.55447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 37.5556
  norm       = 0.0001
  norm       = 7.76301
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100056
  norm       = 0.718459
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.587996
  Prefactor  = 1.15939
 **********
 **   18 **HESSE 
 **********

 FCN=   8398.550     FROM HESSE     STATUS=OK           352 CALLS     2491 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5063        2.5620        .81443E-04   -1.5160    
   2  norm          .10000E-03    8.5022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9826        31.731        .14712E-02   -1.5426    
   4  norm          .10000E-03    5.7131        .25094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    26.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8625        .15136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .98029        2.7328        .24216E-03   -1.5510    
   8  Prefactor     22.994        13.858        .83533E-04   -1.4749    
   9  norm          8.5545        2.2190        .63692E-04   -1.5123    
  10  Prefactor     .10000E-03    6.6706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.8152        .14983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          37.556        31.774        .65398E-04   -1.4482    
  13  norm          .10000E-03    28.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7630        4.5378        .14392E-03   -1.5151    
  15  norm          .10000E-03    5.1746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10006E-03    8.7618        .72955E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .71846        4.5399        .35526E-03   -1.5538    
  19  Prefactor     .10000E-03    11.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.2413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .58800        .24168        .58047E-03   -1.0850    
  22  Prefactor     1.1594        .88880E-01    .15553E-03   -.87590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15288e-09
Minuit parameter uncertainties:
  1  2.56206
  2  2.37833e-05
  3  15.8729
  4  1.51579e-06
  5  8.533e-05
  6  1.92262e-07
  7  2.73311
  8  13.8594
  9  2.21904
  10  3.81167e-06
  11  6.93933e-07
  12  31.788
  13  6.18296e-05
  14  4.53796
  15  6.70024e-07
  16  8.42369e-07
  17  0.00139723
  18  3.6122
  19  3.7754e-06
  20  3.11607e-05
  21  0.242118
  22  0.0888918
Done.

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

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  1.000e-04  6.939e-07  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  1.850e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.159e+00  8.889e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  5.880e-01  2.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.112 -13.197
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373166/likelihoodResults_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.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): 102
logL (Free Index) = 8398.55145796
delta logL = -0.00168863555518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8398.54977081
delta logL = -1.48478284245e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8658       1.0000          .0000       10.000    
     3 'Normalizat'    .58795       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8398.550     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.985        .90712E-02** at limit **
   2  Index         1.8821        6.4870        .50000       -.46713E-04
   3  Normalizat    .58800        .16556E-01    .13071        .10064E-03
   4  Prefactor     1.1594        .61008E-02    .35672E-01    .10813E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.88213
  Normalizat = 0.587996
  Prefactor  = 1.15939
 **********
 **   18 **HESSE 
 **********

 FCN=   8398.550     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      235 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    124.51        .15133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8821        5.5305        .50000       -.67330    
   3  Normalizat    .58800        .46460E-01    .58047E-03   -1.0850    
   4  Prefactor     1.1594        .17211E-01    .15553E-03   -.87590    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.65241e-08
Minuit parameter uncertainties:
  1  0.000289997
  2  25.7961
  3  0.0464635
  4  0.0172113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373166': 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): 102
logL (Free Index) = 8398.54976896
delta logL = 3.63261278835e-07

Extracting fit parameters...

4FGL J0816.4-1311
   Spectrum: PowerLaw
287    Prefactor:  1.000e-04  2.900e-04  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  1.882e+00  2.580e+01  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.915e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.159e+00  1.721e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  5.880e-01  4.646e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.112 -13.197

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/373166/cmap_HighResolution_649900801_650160001_4FGL_J0816.4-1311_daily_bin1584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-03', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2021-08-29 15:44:22.334855', job_id='373166', GAL2='1.16', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1630277062.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.63e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1584' AND source_name='4FGL J0816.4-1311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 15:44:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 373166: <4FGL_J0816.4-1311_daily_bin1584> in cluster <slac> Done

Job <4FGL_J0816.4-1311_daily_bin1584> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 15:30:55 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 15:30:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 15:30:56 2021
Terminated at Sun Aug 29 15:44:23 2021
Results reported at Sun Aug 29 15:44:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0816.4-1311_daily_bin1584 124.112 -13.1973 649900801 650160001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0816.4-1311 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   759.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             317.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

