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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1751
RA = 146.661, Dec = 10.277
tmin = 693187201, tmax = 693446401
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='75076', job_status='RUN', time_executed='2022-12-23 00:30:40.290347', time_epoch_executed='1671784240.29' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75076

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75076/ft1_4FGL_J0946.6+1016_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75076/ft1_4FGL_J0946.6+1016_daily_bin1751.fits outfile=/scratch/kocevski/75076/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1751.fits ra=146.661 dec=10.277 rad=12.0 tmin=693187201.0 tmax=693446401.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.73
user 3.42
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.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/75076/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/75076/ltcube_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.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/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits
.....................!
real 13.16
user 12.57
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75076/ltcube_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.fits outfile=/scratch/kocevski/75076/expmap_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.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/75076/ltcube_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.fits
.....................!
real 192.91
user 186.93
sys 4.93

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

Setting source of interest to:
4FGL J0946.6+1016 @ 146.661 10.277

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits scfile=/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits outfile=/scratch/kocevski/75076/cmap_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.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=146.661 yref=10.277 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits scfile=/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits outfile=/scratch/kocevski/75076/cmap_HighResolution_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.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=146.661 yref=10.277 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75076/Model_4FGL_J0946.6+1016_daily_bin1751.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/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits.....................!
real 60.12
user 58.61
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits', '/scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits', expMap='/scratch/kocevski/75076/expmap_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.fits', expCube='/scratch/kocevski/75076/ltcube_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75076/Model_4FGL_J0946.6+1016_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0946.6+1016'

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/75076/ft1_filtered_4FGL_J0946.6+1016_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/75076/ft2_4FGL_J0946.6+1016_daily_bin1751.fits
Exposure map: /scratch/kocevski/75076/expmap_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.fits
Exposure cube: /scratch/kocevski/75076/ltcube_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75076/Model_4FGL_J0946.6+1016_daily_bin1751.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) = 6282.86061344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.526       1.0000          .0000       .10000E+07
     2 'Prefactor '    .50551E-05   1.0000          .0000       .10000E+07
     3 'norm      '    2.9785       1.0000          .0000       .10000E+07
     4 'norm      '    .62127E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.680       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17177E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.640       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.484       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24369E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .37680E-05   1.0000          .0000       .10000E+07
    12 'Normalizat'    .96608       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1261       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6282.854     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      857 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.521        7.8998       -.43156E-07    .11245E-03
   2  Prefactor      .0000        6.5189        .19491E-06** at limit **
   3  norm          2.9798        1.4730        .43102E-07    .15349E-03
   4  norm          .62467E-01    .74301       -.48724E-07** at limit **
   5  Prefactor     17.107        16.852       -.50250E-08    .81284E-01
   6  Prefactor     .33307E-09    26.659        .73426E-07** at limit **
   7  Prefactor     4.8918        8.9843        .16560E-06    .12096E-02
   8  Prefactor     22.183        45.614       -.15176E-08   -.35010E-01
   9  Prefactor     18.484        1.7054       -.31984E-09   -.31604E-01
  10  Prefactor     .12712E-07    29.490       -.24806E-06** at limit **
  11  Prefactor      .0000        7.7439        .22696E-06** at limit **
  12  Normalizat    .96539        .22109        .25299E-05    .54146E-06
  13  Prefactor     1.1264        .18704        .56270E-06    .80706E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.5207
  Prefactor  = 0
  norm       = 2.97978
  norm       = 0.0624665
  Prefactor  = 17.1067
  Prefactor  = 3.33067e-10
  Prefactor  = 4.8918
  Prefactor  = 22.1828
  Prefactor  = 18.4842
  Prefactor  = 1.27121e-08
  Prefactor  = 0
  Normalizat = 0.965392
  Prefactor  = 1.12635
 **********
 **   18 **HESSE 
 **********

 FCN=   6282.854     FROM HESSE     STATUS=OK           171 CALLS     1028 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.521        7.8901        .29483E-03   -1.5640    
   2  Prefactor      .0000        6.4053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9798        1.4756        .58802E-03   -1.5673    
   4  norm          .62467E-01    .37075        .15087E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.107        38.658        .24496E-03   -1.5625    
   6  Prefactor     .33307E-09    26.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8918        9.1264        .45077E-03   -1.5664    
   8  Prefactor     22.183        49.447        .21503E-03   -1.5614    
   9  Prefactor     18.484        34.216        .23268E-03   -1.5622    
  10  Prefactor     .12712E-07    29.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        7.7397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .96539        .19290        .45741E-01   -.94199    
  13  Prefactor     1.1264        .16121        .36669E-01   -.88629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55658e-07
Minuit parameter uncertainties:
  1  7.89012
  2  1.86707e-05
  3  1.47563
  4  0.304366
  5  38.6583
  6  0.000194269
  7  9.12644
  8  49.4475
  9  34.2167
  10  0.00122361
  11  2.93024e-05
  12  0.193037
  13  0.161282
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  2.980e+00  1.476e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.126e+00  1.613e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  9.654e-01  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.06
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 8.92e-08 +/- 4.42e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.42e-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) = 6282.46554991
delta logL = 0.38854313248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6282.46027247
delta logL = 0.393820569242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7143       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8262       1.0000          .0000       5.0000    
     3 'Normalizat'    .91306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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=   6282.460     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      257 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7143        1.4539        .53654E-05    .19540E-01
   2  alpha         2.8264        .56676        .12518E-01    .71850E-04
   3  Normalizat    .91306        .22465        .27688E-03   -.30836E-04
   4  Prefactor     1.1556        .19000        .21656E-03   -.87679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.71427
  alpha      = 2.82635
  Normalizat = 0.913059
  Prefactor  = 1.1556
 **********
 **   18 **HESSE 
 **********

 FCN=   6282.460     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7143        1.4128        .21461E-06   -1.5675    
   2  alpha         2.8264        .55029        .50073E-03    .13091    
   3  Normalizat    .91306        .22474        .11075E-04   -.96003    
   4  Prefactor     1.1556        .19005        .43313E-04   -.87709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39434e-10
Minuit parameter uncertainties:
  1  1.41282
  2  0.554914
  3  0.224967
  4  0.190161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75076': 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) = 6282.46027213
delta logL = 0.393820908896

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  2.714e+00  1.413e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.826e+00  5.549e-01  0.000e+00  5.000e+00 ( 1.000e+00)
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.156e+00  1.902e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  9.131e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.98
Ra Dec: 146.661 10.277
Photon Index (Free Index): 2.83 +/- 0.55
Photon Flux (Free Index): 1.29e-07 +/- 6.86e-08
Energy Flux (Free Index): 2.86e-05 +/- 1.26e-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/75076/cmap_HighResolution_693187201_693446401_4FGL_J0946.6+1016_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.92e-08', energy_flux2='2.86e-05', photon_flux_error='4.42e-08', dlogl='3.94e-01', energy_flux='2.86e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2022-12-23 00:37:59.862225', photon_index_error2='0.55', photon_index2='2.83', ts='9.06', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='0.97', time_epoch_completed='1671784679.86', return_code='0', job_id='75076', GAL2='1.16', EG2='0.91', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='6.86e-08', ts2='9.98', photon_index='2.34' WHERE bin_id='1751' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:37:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 75076: <4FGL_J0946.6+1016_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:12 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:13 2022
Terminated at Fri Dec 23 00:38:00 2022
Results reported at Fri Dec 23 00:38:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1751 146.661 10.277 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0946.6+1016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   440.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   467 sec.
    Turnaround time :                            468 sec.

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

