aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 74 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0016.2-0016_daily_bin1719
RA = 4.061, Dec = -0.2806
tmin = 684892801, tmax = 685152001
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='643960', job_status='RUN', time_executed='2022-09-18 00:06:05.249550', time_epoch_executed='1663484765.25' WHERE source_name='4FGL J0016.2-0016' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643960/ft1_4FGL_J0016.2-0016_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643960/ft1_4FGL_J0016.2-0016_daily_bin1719.fits outfile=/scratch/kocevski/643960/ft1_filteredMKT_4FGL_J0016.2-0016_daily_bin1719.fits ra=4.061 dec=-0.2806 rad=12.0 tmin=684892801.0 tmax=685152001.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.15
user 2.90
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.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/643960/ft1_filteredMKT_4FGL_J0016.2-0016_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/643960/ltcube_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.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/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits
.....................!
real 14.20
user 13.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/643960/ltcube_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.fits outfile=/scratch/kocevski/643960/expmap_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.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/643960/ltcube_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.fits
.....................!
real 191.58
user 186.44
sys 4.46

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 J0016.2-0016 @ 4.061 -0.2806

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits scfile=/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits outfile=/scratch/kocevski/643960/cmap_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.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=4.061 yref=-0.2806 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits scfile=/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits outfile=/scratch/kocevski/643960/cmap_HighResolution_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.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=4.061 yref=-0.2806 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643960/Model_4FGL_J0016.2-0016_daily_bin1719.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/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits.......................!
real 20.03
user 17.64
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits', '/scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits', expMap='/scratch/kocevski/643960/expmap_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.fits', expCube='/scratch/kocevski/643960/ltcube_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643960/Model_4FGL_J0016.2-0016_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0016.2-0016'

4FGL J0016.2-0016
   Spectrum: LogParabola
72          norm:  1.412e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
73         alpha:  2.614e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.848e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  3.723e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643960/ft1_filtered_4FGL_J0016.2-0016_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/643960/ft2_4FGL_J0016.2-0016_daily_bin1719.fits
Exposure map: /scratch/kocevski/643960/expmap_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.fits
Exposure cube: /scratch/kocevski/643960/ltcube_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643960/Model_4FGL_J0016.2-0016_daily_bin1719.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 591.976423875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 591.315517551

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3466       1.0000          .0000       .10000E+07
     2 'Prefactor '    .77318E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .98997       1.0000          .0000       .10000E+07
     4 'norm      '    .27777E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.7945       1.0000          .0000       .10000E+07
     6 'norm      '    1.4997       1.0000          .0000       .10000E+07
     7 'norm      '    .41572E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10609       1.0000          .0000       .10000E+07
     9 'norm      '    .84974E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20789E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .36732E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .39332E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2687       1.0000          .0000       .10000E+07
    14 'norm      '    1.3855       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19403E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.9638       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17609       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.0764       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3326       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   591.2970     FROM MIGRAD    STATUS=CONVERGED    208 CALLS      398 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3466        1.0116         .0000         .0000    
   2  Prefactor     .11102E-09    122.10       -.61279E-05** at limit **
   3  Prefactor     .21269E-01    2524.7       -.40395E-04** at limit **
   4  norm          .22204E-09    13.998        .12288E-05** at limit **
   5  Prefactor     .26091        2751.8       -.42041E-04    .20740E-01
   6  norm          .95359E-05    2254.2       -.70782E-05** at limit **
   7  norm          .55511E-10    6.6187        .70873E-06** at limit **
   8  Prefactor      .0000        83.993       -.66871E-07** at limit **
   9  norm          .11102E-09    50.418       -.90177E-06** at limit **
  10  Prefactor     .11102E-09    7.3983       -.85648E-06** at limit **
  11  Prefactor     .55511E-10    19.039       -.79586E-06** at limit **
  12  norm          .55511E-10    38.794       -.67166E-06** at limit **
  13  Prefactor     .10003E-06    165.06        .67722E-05** at limit **
  14  norm          .67779E-07    378.38        .94445E-05** at limit **
  15  Prefactor     .14433E-07    57.026       -.12014E-05** at limit **
  16  Prefactor     .27756E-09    160.53       -.61080E-05** at limit **
  17  Prefactor      .0000        81.637       -.17403E-06** at limit **
  18  Prefactor     4.0764        1.0077         .0000         .0000    
  19  Normalizat    .10000E-01    1.4533       -.53019E-04** at limit **
  20  Prefactor     1.3335        .22339       -.21028E-04    .11121E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34657
  Prefactor  = 1.11022e-10
  Prefactor  = 0.0212689
  norm       = 2.22045e-10
  Prefactor  = 0.260908
  norm       = 9.53587e-06
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 1.11022e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 1.00031e-07
  norm       = 6.77791e-08
  Prefactor  = 1.44329e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 4.0764
  Normalizat = 0.01
  Prefactor  = 1.33351
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   591.2970     FROM HESSE     STATUS=FAILED        11 CALLS      409 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62738.        62734.         .0000       -1.5671    
   2  Prefactor     .11102E-09    .44347E-01   -.61279E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21269E-01    .63308E-01   -.40395E-04   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    .44347E-01    .12288E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .26091        .31074       -.42041E-04   -1.5698    
   6  norm          .95359E-05    .19104       -.70782E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    .44347E-01    .70873E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .47392       -.66871E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    .51493       -.90177E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    .44347E-01   -.85648E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    .44347E-01   -.79586E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    .63951       -.67166E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-06    .11614        .67722E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .67779E-07    .21327        .94445E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14433E-07    .44347E-01   -.12014E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .27756E-09    .13684       -.61080E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .37319       -.17403E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0764        1.0077         .0000       -1.5668    
  19  Normalizat    .10000E-01    .25510       -.53019E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3335        1.0714       -.21028E-04   -.82316    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.39903e-10
Minuit parameter uncertainties:
  1  1.01162
  2  3.90082e-06
  3  0.0633084
  4  5.94113e-06
  5  0.310745
  6  0.00269942
  7  3.44244e-06
  8  1.42902e-06
  9  1.47721e-05
  10  4.16419e-06
  11  3.82901e-06
  12  1.23812e-05
  13  0.000215555
  14  0.000240495
  15  5.05692e-05
  16  1.2037e-05
  17  2.57527e-06
  18  1.00773
  19  2.11415e-06
  20  1.09002
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 591.297040361

Extracting fit parameters...

4FGL J0016.2-0016
   Spectrum: LogParabola
72          norm:  2.220e-10  5.941e-06  0.000e+00  1.000e+06 ( 1.000e-11)
73         alpha:  2.614e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
74          beta:  1.848e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  3.723e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.334e+00  1.090e+00  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.000e-02  2.114e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 4.061 -0.281
Photon Flux Upper Limit: 1.17e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.81e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/643960/likelihoodResults_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.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) = 591.297120418
delta logL = -8.00569386001e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 591.297047391
delta logL = -7.03069326846e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14150E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    1.7561       1.0000          .0000       5.0000    
     3 'Normalizat'    .10021E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3334       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   591.2970     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      285 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    28.257        .42118E-03** at limit **
   2  alpha         1.3058        2.9053        .43730       -.97490E-11
   3  Normalizat    .10000E-01    .22666E-02    .20782    ** at limit **
   4  Prefactor     1.3335        .13288E-01    .32051E-01    .36435E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  alpha      = 1.30575
  Normalizat = 0.01
  Prefactor  = 1.33351
 **********
 **   18 **HESSE 
 **********

 FCN=   591.2970     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      316 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    88.709        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3058        3.9249        .50000       -.49803    
   3  Normalizat    .10000E-01    .16928E-01    .12061E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3335        .23616E-01    .15648E-03   -.82316    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.2382e-10
Minuit parameter uncertainties:
  1  0.000403084
  2  402866
  3  6.34975e-06
  4  0.0236167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643960': 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) = 591.297040361
delta logL = -4.63501237391e-10

Extracting fit parameters...

4FGL J0016.2-0016
   Spectrum: LogParabola
72          norm:  4.441e-10  4.031e-04  0.000e+00  1.000e+06 ( 1.000e-11)
73         alpha:  1.306e+00  4.029e+05  0.000e+00  5.000e+00 ( 1.000e+00)
74          beta:  1.848e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
75            Eb:  3.723e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.334e+00  2.362e-02  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.000e-02  6.350e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 4.061 -0.281

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/643960/cmap_HighResolution_684892801_685152001_4FGL_J0016.2-0016_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-04', job_status='DONE', photon_flux_upper_limit='1.17e-06', time_completed='2022-09-18 00:11:33.407183', job_id='643960', GAL2='1.33', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663485093.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.33', dlogl='-4.64e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1719' AND source_name='4FGL J0016.2-0016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:11:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 643960: <4FGL_J0016.2-0016_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0016.2-0016_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:36 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:04:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:04:37 2022
Terminated at Sun Sep 18 00:11:34 2022
Results reported at Sun Sep 18 00:11:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0016.2-0016_daily_bin1719 4.061 -0.2806 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0016.2-0016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   329.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   417 sec.
    Turnaround time :                            418 sec.

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

