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


Performing analysis on: 4FGL_J0216.6-1015_daily_bin1611
RA = 34.1653, Dec = -10.2662
tmin = 656899201, tmax = 657158401
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='158777', job_status='RUN', time_executed='2021-12-07 13:10:17.458397', time_epoch_executed='1638911417.46' WHERE source_name='4FGL J0216.6-1015' and cadence='daily' and bin_id='1611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158777

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158777/ft1_4FGL_J0216.6-1015_daily_bin1611.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158777/ft1_4FGL_J0216.6-1015_daily_bin1611.fits outfile=/scratch/kocevski/158777/ft1_filteredMKT_4FGL_J0216.6-1015_daily_bin1611.fits ra=34.1653 dec=-10.2662 rad=12.0 tmin=656899201.0 tmax=657158401.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.66
user 3.38
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.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/158777/ft1_filteredMKT_4FGL_J0216.6-1015_daily_bin1611.fits evtable="EVENTS" outfile="/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits" evtable="EVENTS" scfile=/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits sctable="SC_DATA" outfile=/scratch/kocevski/158777/ltcube_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.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/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits
.....................!
real 17.46
user 17.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits sctable="SC_DATA" expcube=/scratch/kocevski/158777/ltcube_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.fits outfile=/scratch/kocevski/158777/expmap_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.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/158777/ltcube_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.fits
.....................!
real 197.15
user 191.59
sys 4.88

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

Setting source of interest to:
4FGL J0216.6-1015 @ 34.1653 -10.2662

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits scfile=/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits outfile=/scratch/kocevski/158777/cmap_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.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=34.1653 yref=-10.2662 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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits scfile=/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits outfile=/scratch/kocevski/158777/cmap_HighResolution_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.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=34.1653 yref=-10.2662 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.61
user 0.44
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158777/Model_4FGL_J0216.6-1015_daily_bin1611.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/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits.....................!
real 61.17
user 59.60
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits', '/scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits', expMap='/scratch/kocevski/158777/expmap_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.fits', expCube='/scratch/kocevski/158777/ltcube_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158777/Model_4FGL_J0216.6-1015_daily_bin1611.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0216.6-1015'

4FGL J0216.6-1015
   Spectrum: PowerLaw
273    Prefactor:  4.047e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.163e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.308e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158777/ft1_filtered_4FGL_J0216.6-1015_daily_bin1611.fits
Spacecraft file(s): /scratch/kocevski/158777/ft2_4FGL_J0216.6-1015_daily_bin1611.fits
Exposure map: /scratch/kocevski/158777/expmap_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.fits
Exposure cube: /scratch/kocevski/158777/ltcube_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158777/Model_4FGL_J0216.6-1015_daily_bin1611.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) = 6413.33224605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0227       1.0000         .10000E-03   10000.    
     2 'norm      '    29.600       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .24860       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3994       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11125E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .18269E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8139       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6878       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.611       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .81861       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95756       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6413.294     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     1999 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0347        24.647        .17943E-03   -.58926E-04
   2  norm          29.603        7.9265        .73641E-04    .76109E-04
   3  Prefactor     .10000E-03    20.454        .18142E-02** at limit **
   4  norm          .24930        1.7718        .14799E-02    .32393E-03
   5  Prefactor     .10000E-03    1.5672        .96861E-03** at limit **
   6  Prefactor     12.014        11.001        .11559E-03   -.19297E-03
   7  Prefactor     7.3935        11.903        .14744E-03    .54591E-04
   8  Prefactor     .10000E-03    15.647        .96127E-01** at limit **
   9  norm          .10000E-03    94.827        .13319    ** at limit **
  10  Prefactor     6.8139        56.701        .15371E-03    .13535E-04
  11  Prefactor     5.6908        7.4164        .16843E-03   -.72426E-04
  12  Prefactor     10.611        9.8424        .12300E-03   -.99545E-04
  13  Prefactor     .10000E-03    12.288        .18142E-02** at limit **
  14  Prefactor     .10000E-03    3.0141        .13531E-02** at limit **
  15  Normalizat    .81858        .17842        .23316E-03   -.10630E-03
  16  Prefactor     .95757        .17677        .22551E-03   -.13788E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.03471
  norm       = 29.6029
  Prefactor  = 0.0001
  norm       = 0.2493
  Prefactor  = 0.0001
  Prefactor  = 12.0136
  Prefactor  = 7.3935
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 6.81391
  Prefactor  = 5.69075
  Prefactor  = 10.6106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.81858
  Prefactor  = 0.957572
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.294     FROM HESSE     STATUS=OK           207 CALLS     2206 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0347        24.643        .71771E-05   -1.5259    
   2  norm          29.603        7.9259        .29456E-05   -1.4619    
   3  Prefactor     .10000E-03    20.454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .24930        1.7615        .59197E-04   -1.5608    
   5  Prefactor     .10000E-03    1.5676        .19372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.014        11.000        .46235E-05   -1.5015    
   7  Prefactor     7.3935        11.899        .58977E-05   -1.5164    
   8  Prefactor     .10000E-03    15.407        .97382E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    94.866        .13311       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8139        56.650        .61482E-05   -1.5186    
  11  Prefactor     5.6908        7.4161        .67371E-05   -1.5231    
  12  Prefactor     10.611        9.8406        .49200E-05   -1.5056    
  13  Prefactor     .10000E-03    12.288        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0145        .27063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .81858        .17832        .93262E-05   -.99383    
  16  Prefactor     .95757        .17693        .90206E-05   -.94157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41622e-10
Minuit parameter uncertainties:
  1  22.2918
  2  7.92615
  3  2.89645e-05
  4  1.32515
  5  1.59109e-05
  6  11.0023
  7  11.9026
  8  0.000262097
  9  0.000277524
  10  39.3445
  11  7.41725
  12  9.84211
  13  6.27952e-06
  14  1.54315e-05
  15  0.178443
  16  0.17704
Done.

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

Extracting fit parameters...

4FGL J0216.6-1015
   Spectrum: PowerLaw
273    Prefactor:  1.201e+01  1.100e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.163e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.308e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  9.576e-01  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  8.186e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 34.165 -10.266
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.19e-05

TS (Fixed Index): 2.06
Ra Dec: 34.165 -10.266
Photon Flux Upper Limit: 8.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158777/likelihoodResults_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.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) = 6413.17064428
delta logL = 0.123611793402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6413.16697663
delta logL = 0.127279442936

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6413.167     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7945        200.98        .33785E-02    .11397E-03
   2  Index         2.4865        6.2418        .12758        .12447E-03
   3  Normalizat    .80769        .63209E-01    .43710E-01    .73421E-04
   4  Prefactor     .96431        .57471E-01    .45818E-01    .63648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.79447
  Index      = 2.48653
  Normalizat = 0.807692
  Prefactor  = 0.964309
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.167     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7945        11.894        .13514E-03   -1.5115    
   2  Index         2.4865        .74008        .66528E-02   -.52671    
   3  Normalizat    .80769        .17081        .23454E-03   -.99784    
   4  Prefactor     .96431        .17665        .22479E-03   -.93929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30786e-09
Minuit parameter uncertainties:
  1  11.8968
  2  0.743742
  3  0.170925
  4  0.176757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158777': 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) = 6413.1669753
delta logL = 0.127280773703

Extracting fit parameters...

4FGL J0216.6-1015
   Spectrum: PowerLaw
273    Prefactor:  8.794e+00  1.190e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.487e+00  7.437e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.308e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  9.643e-01  1.768e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  8.077e-01  1.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.31
Ra Dec: 34.165 -10.266
Photon Index (Free Index): 2.49 +/- 0.74
Photon Flux (Free Index): 3.54e-08 +/- 3.18e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/158777/cmap_HighResolution_656899201_657158401_4FGL_J0216.6-1015_daily_bin1611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.26e-03', comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='1.04e-05', photon_flux_error='2.46e-08', dlogl='1.27e-01', energy_flux='1.30e-05', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-12-07 13:20:33.144764', photon_index_error2='0.74', photon_index2='2.49', ts='2.06', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='8.24e-08', energy_flux_error2='1.01e-05', EG='0.82', time_epoch_completed='1638912033.14', return_code='0', job_id='158777', GAL2='0.96', EG2='0.81', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.18e-08', ts2='2.31', photon_index='2.16' WHERE bin_id='1611' AND source_name='4FGL J0216.6-1015' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 13:20:33 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 158777: <4FGL_J0216.6-1015_daily_bin1611> in cluster <slac> Done

Job <4FGL_J0216.6-1015_daily_bin1611> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 13:05:47 2021
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 13:07:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 13:07:18 2021
Terminated at Tue Dec  7 13:20:33 2021
Results reported at Tue Dec  7 13:20:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0216.6-1015_daily_bin1611 34.1653 -10.2662 656899201 657158401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0216.6-1015 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   614.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            886 sec.

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

