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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1709
RA = 146.661, Dec = 10.277
tmin = 682300801, tmax = 682560001
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='86087', job_status='RUN', time_executed='2022-09-16 14:55:56.425192', time_epoch_executed='1663365356.43' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86087

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86087/ft1_4FGL_J0946.6+1016_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86087/ft1_4FGL_J0946.6+1016_daily_bin1709.fits outfile=/scratch/kocevski/86087/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1709.fits ra=146.661 dec=10.277 rad=12.0 tmin=682300801.0 tmax=682560001.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.87
user 3.55
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.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/86087/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.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.36
sys 0.16

Number of photons that the gtmktime cut: 641

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/86087/ltcube_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.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/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits
.....................!
real 16.76
user 16.23
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/86087/ltcube_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.fits outfile=/scratch/kocevski/86087/expmap_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.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/86087/ltcube_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.fits
.....................!
real 195.48
user 188.55
sys 5.77

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/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.fits scfile=/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits outfile=/scratch/kocevski/86087/cmap_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.fits scfile=/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits outfile=/scratch/kocevski/86087/cmap_HighResolution_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.fits', '/scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits', expMap='/scratch/kocevski/86087/expmap_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.fits', expCube='/scratch/kocevski/86087/ltcube_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86087/Model_4FGL_J0946.6+1016_daily_bin1709.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/86087/ft1_filtered_4FGL_J0946.6+1016_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/86087/ft2_4FGL_J0946.6+1016_daily_bin1709.fits
Exposure map: /scratch/kocevski/86087/expmap_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.fits
Exposure cube: /scratch/kocevski/86087/ltcube_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86087/Model_4FGL_J0946.6+1016_daily_bin1709.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) = 7237.00079131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10819E-05   1.0000          .0000       .10000E+07
     3 'norm      '    7.1937       1.0000          .0000       .10000E+07
     4 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    40.453       1.0000          .0000       .10000E+07
     6 'Prefactor '    .86042E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13212E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2401       1.0000          .0000       .10000E+07
     9 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    10 'Prefactor '    23.497       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62950E-07   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0535       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.4070       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=   7236.999     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      957 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.0395       -.11963E-05** at limit **
   2  Prefactor      .0000        4.5178        .12292E-06** at limit **
   3  norm          7.1945        2.4528        .17369E-06   -.18651E-02
   4  norm           .0000        .13336       -.11639E-06** at limit **
   5  Prefactor     40.488        3.9402       -.26393E-06    .29658E-01
   6  Prefactor      .0000        8.7988       -.10829E-05** at limit **
   7  Prefactor      .0000        2.9767       -.10971E-05** at limit **
   8  Prefactor     6.2493        10.546        .16477E-05    .66320E-02
   9  Prefactor      .0000        11.934        .19477E-05** at limit **
  10  Prefactor     23.507        29.876        .24752E-05   -.16148E-02
  11  Prefactor     .11102E-09    8.0670        .20750E-05** at limit **
  12  Normalizat    1.0532        .23880        .35867E-04   -.60947E-04
  13  Prefactor     1.4072        .20210       -.15537E-04   -.90343E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  norm       = 7.19446
  norm       = 0
  Prefactor  = 40.4876
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.24935
  Prefactor  = 0
  Prefactor  = 23.5068
  Prefactor  = 1.11022e-10
  Normalizat = 1.05325
  Prefactor  = 1.40718
 **********
 **   18 **HESSE 
 **********

 FCN=   7236.999     FROM HESSE     STATUS=OK           169 CALLS     1126 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.0343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.4405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.1945        2.4450        .37375E-03   -1.5654    
   4  norm           .0000        .13265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.488        58.338        .15724E-03   -1.5581    
   6  Prefactor      .0000        8.7823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.9739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.2493        53.615        .40162E-03   -1.5658    
   9  Prefactor      .0000        11.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.507        32.935        .20635E-03   -1.5611    
  11  Prefactor     .11102E-09    8.0645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0532        .20626        .69384E-01   -.91267    
  13  Prefactor     1.4072        .16896        .52950E-01   -.80173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.05748e-08
Minuit parameter uncertainties:
  1  1.80122e-05
  2  1.17943e-06
  3  2.44501
  4  1.86141e-07
  5  58.3387
  6  5.47163e-06
  7  6.90794e-06
  8  36.6095
  9  8.12695e-06
  10  32.9354
  11  5.85668e-05
  12  0.206415
  13  0.169029
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  7.194e+00  2.445e+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.407e+00  1.690e-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:  1.053e+00  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.09
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 2.15e-07 +/- 7.32e-08
Energy Flux (Fixed Index): 6.90e-05 +/- 2.35e-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) = 7234.14541072
delta logL = 2.85401851426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7234.13621723
delta logL = 2.8632120043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4008       1.0000          .0000       .10000E+07
     2 'alpha     '    3.3546       1.0000          .0000       5.0000    
     3 'Normalizat'    .82891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5488       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.

 FCN=   7234.136     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      246 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4008        14.253        .47984E-03    .40596E-02
   2  alpha         3.3546        3.8708        .17658        .70917E-04
   3  Normalizat    .82891        .11138        .76928E-01    .34458E-04
   4  Prefactor     1.5488        .10072        .50869E-01   -.17513E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.40083
  alpha      = 3.3546
  Normalizat = 0.82891
  Prefactor  = 1.54882
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.136     FROM HESSE     STATUS=OK            31 CALLS      277 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4008        2.3460        .43477E-05   -1.5666    
   2  alpha         3.3546        .47731        .77007E-03    .34887    
   3  Normalizat    .82891        .25581        .34051E-03   -.99005    
   4  Prefactor     1.5488        .21285        .22487E-03   -.76181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45214e-12
Minuit parameter uncertainties:
  1  2.346
  2  0.48066
  3  0.256181
  4  0.212976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86087': 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) = 7234.13621723
delta logL = 2.86321200578

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  4.401e+00  2.346e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  3.355e+00  4.807e-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.549e+00  2.130e-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:  8.289e-01  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.79
Ra Dec: 146.661 10.277
Photon Index (Free Index): 3.35 +/- 0.48
Photon Flux (Free Index): 3.78e-07 +/- 1.11e-07
Energy Flux (Free Index): 6.72e-05 +/- 1.87e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/86087/cmap_HighResolution_682300801_682560001_4FGL_J0946.6+1016_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.15e-07', energy_flux2='6.72e-05', photon_flux_error='7.32e-08', dlogl='2.86e+00', energy_flux='6.90e-05', photon_flux2='3.78e-07', job_status='DONE', time_completed='2022-09-16 15:03:55.480705', photon_index_error2='0.48', photon_index2='3.35', ts='16.09', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', energy_flux_error2='1.87e-05', EG='1.05', time_epoch_completed='1663365835.48', return_code='0', job_id='86087', GAL2='1.55', EG2='0.83', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='1.11e-07', ts2='23.79', photon_index='2.34' WHERE bin_id='1709' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:03:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 86087: <4FGL_J0946.6+1016_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 14:55:20 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:55:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:55:48 2022
Terminated at Fri Sep 16 15:03:56 2022
Results reported at Fri Sep 16 15:03:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1709 146.661 10.277 682300801 682560001 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 :                                   479.26 sec.
    Max Memory :                                 1232 MB
    Average Memory :                             366.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   487 sec.
    Turnaround time :                            516 sec.

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

