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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1714
RA = 146.661, Dec = 10.277
tmin = 683596801, tmax = 683856001
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='86094', job_status='RUN', time_executed='2022-09-16 14:56:37.534526', time_epoch_executed='1663365397.53' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86094

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86094/ft1_4FGL_J0946.6+1016_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86094/ft1_4FGL_J0946.6+1016_daily_bin1714.fits outfile=/scratch/kocevski/86094/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1714.fits ra=146.661 dec=10.277 rad=12.0 tmin=683596801.0 tmax=683856001.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.48
user 3.23
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.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/86094/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/86094/ltcube_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.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/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits
.....................!
real 14.55
user 14.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/86094/ltcube_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.fits outfile=/scratch/kocevski/86094/expmap_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.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/86094/ltcube_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.fits
.....................!
real 192.45
user 186.50
sys 4.79

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/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.fits scfile=/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits outfile=/scratch/kocevski/86094/cmap_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.fits scfile=/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits outfile=/scratch/kocevski/86094/cmap_HighResolution_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.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/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/86094/ft2_4FGL_J0946.6+1016_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86094/Model_4FGL_J0946.6+1016_daily_bin1714.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/86094/ft1_filtered_4FGL_J0946.6+1016_daily_bin1714.fits.....................!
real 61.62
user 59.96
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1345       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9888       1.0000          .0000       .10000E+07
     3 'norm      '    2.2047       1.0000          .0000       .10000E+07
     4 'norm      '    .17400       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.4191       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17392E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18006E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.5918       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10101E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    35.523       1.0000          .0000       .10000E+07
    11 'Prefactor '    33.889       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89686       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0927       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=   6329.124     FROM MIGRAD    STATUS=CONVERGED    146 CALLS      894 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1448        7.2874        .35039E-08    .47270E-03
   2  Prefactor     3.9554        3.9656        .38403E-07    .79335E-03
   3  norm          2.1923        1.4726        .14342E-07    .31070E-03
   4  norm          .17233        .50376        .29341E-07** at limit **
   5  Prefactor     .27756E-09    509.70       -.10089E-05** at limit **
   6  Prefactor      .0000        6.5145       -.11849E-07** at limit **
   7  Prefactor     .11102E-09    30.066        .17679E-06** at limit **
   8  Prefactor     12.310        57.330        .99405E-06    .72894E-04
   9  Prefactor      .0000        28.353       -.26237E-06** at limit **
  10  Prefactor     7.2041        486.69       -.38298E-05    .32002E-04
  11  Prefactor     41.140        41.648        .26592E-06   -.32146E-03
  12  Normalizat    .90524        .20844       -.12647E-05   -.69082E-04
  13  Prefactor     1.0886        .17711       -.33579E-06   -.34633E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.14476
  Prefactor  = 3.95541
  norm       = 2.1923
  norm       = 0.172329
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 12.31
  Prefactor  = 0
  Prefactor  = 7.20415
  Prefactor  = 41.1404
  Normalizat = 0.90524
  Prefactor  = 1.08864
 **********
 **   18 **HESSE 
 **********

 FCN=   6329.124     FROM HESSE     STATUS=OK           181 CALLS     1075 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1448        7.2765        .37531E-03   -1.5655    
   2  Prefactor     3.9554        3.9992        .50475E-03   -1.5668    
   3  norm          2.1923        1.4890        .69258E-03   -1.5678    
   4  norm          .17233        .43708        .19837E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    44.964        .12586E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    30.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.310        59.761        .34174E-03   -1.5638    
   9  Prefactor      .0000        28.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2041        514.23        .16780E-03   -1.5654    
  11  Prefactor     41.140        42.149        .17180E-03   -1.5580    
  12  Normalizat    .90524        .18803        .44861E-01   -.96276    
  13  Prefactor     1.0886        .15377        .37871E-01   -.89831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15232e-10
Minuit parameter uncertainties:
  1  7.27653
  2  3.99922
  3  1.48905
  4  0.437082
  5  0.00022058
  6  8.38648e-06
  7  0.000109565
  8  54.2469
  9  2.41394e-05
  10  121.742
  11  42.1492
  12  0.188162
  13  0.153837
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  2.192e+00  1.489e+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.089e+00  1.538e-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.052e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.52
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 6.57e-08 +/- 4.46e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 1.43e-05

TS (Fixed Index): 3.52
Ra Dec: 146.661 10.277
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86094/likelihoodResults_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.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) = 6325.47489476
delta logL = 3.64887931293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6325.46122592
delta logL = 3.66254814784

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66823       1.0000          .0000       .10000E+07
     2 'alpha     '    4.3881       1.0000          .0000       5.0000    
     3 'Normalizat'    .71134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2059       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=   6325.461     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      222 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66833        3.4307        .50971E-03    .69595E-02
   2  alpha         4.3881        4.6731        .29405        .12737E-04
   3  Normalizat    .71130        .79687E-01    .67823E-01    .25529E-04
   4  Prefactor     1.2059        .69679E-01    .34493E-01   -.57675E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 0.668328
  alpha      = 4.38805
  Normalizat = 0.711295
  Prefactor  = 1.20591
 **********
 **   18 **HESSE 
 **********

 FCN=   6325.461     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66833        1.0293        .22712E-05   -1.5692    
   2  alpha         4.3881        1.0854        .13786E-01    .85599    
   3  Normalizat    .71130        .21772        .30012E-03   -1.0345    
   4  Prefactor     1.2059        .18376        .20500E-03   -.86150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80013e-12
Minuit parameter uncertainties:
  1  1.02932
  2  1.18641
  3  0.217987
  4  0.183857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86094': 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) = 6325.46122586
delta logL = 3.66254821061

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  6.683e-01  1.029e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  4.388e+00  1.186e+00  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.206e+00  1.839e-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:  7.113e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.12
Ra Dec: 146.661 10.277
Photon Index (Free Index): 4.39 +/- 1.19
Photon Flux (Free Index): 2.09e-07 +/- 8.09e-08
Energy Flux (Free Index): 3.01e-05 +/- 1.19e-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/86094/cmap_HighResolution_683596801_683856001_4FGL_J0946.6+1016_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-05', comment='SUCCESS', photon_flux='6.57e-08', energy_flux2='3.01e-05', photon_flux_error='4.46e-08', dlogl='3.66e+00', energy_flux='2.10e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2022-09-16 15:04:26.948455', photon_index_error2='1.19', photon_index2='4.39', ts='3.52', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.54e-07', energy_flux_error2='1.19e-05', EG='0.91', time_epoch_completed='1663365866.95', return_code='0', job_id='86094', GAL2='1.21', EG2='0.71', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='8.09e-08', ts2='12.12', photon_index='2.34' WHERE bin_id='1714' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:04:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 86094: <4FGL_J0946.6+1016_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1714> 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) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:55:52 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:52 2022
Terminated at Fri Sep 16 15:04:27 2022
Results reported at Fri Sep 16 15:04:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1714 146.661 10.277 683596801 683856001 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 :                                   470.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   515 sec.
    Turnaround time :                            547 sec.

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

