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


Performing analysis on: 4FGL_J0946.6+1016_weekly_bin759
RA = 146.661, Dec = 10.277
tmin = 698025601, tmax = 698630401
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='585542', job_status='RUN', time_executed='2023-02-21 03:17:00.919459', time_epoch_executed='1676978220.92' WHERE source_name='4FGL J0946.6+1016' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585542

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585542/ft1_4FGL_J0946.6+1016_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585542/ft2_4FGL_J0946.6+1016_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585542/ft1_4FGL_J0946.6+1016_weekly_bin759.fits outfile=/scratch/kocevski/585542/ft1_filteredMKT_4FGL_J0946.6+1016_weekly_bin759.fits ra=146.661 dec=10.277 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.50
user 8.17
sys 0.27

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

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

Number of photons that the gtmktime cut: 445

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585542/ft1_filtered_4FGL_J0946.6+1016_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/585542/ft2_4FGL_J0946.6+1016_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/585542/ltcube_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.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/585542/ft2_4FGL_J0946.6+1016_weekly_bin759.fits
.....................!
real 28.70
user 27.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585542/ft1_filtered_4FGL_J0946.6+1016_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/585542/ft2_4FGL_J0946.6+1016_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/585542/ltcube_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.fits outfile=/scratch/kocevski/585542/expmap_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.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/585542/ltcube_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.fits
.....................!
real 199.03
user 186.26
sys 4.73

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/585542/ft1_filtered_4FGL_J0946.6+1016_weekly_bin759.fits scfile=/scratch/kocevski/585542/ft2_4FGL_J0946.6+1016_weekly_bin759.fits outfile=/scratch/kocevski/585542/cmap_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.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.61
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585542/ft1_filtered_4FGL_J0946.6+1016_weekly_bin759.fits scfile=/scratch/kocevski/585542/ft2_4FGL_J0946.6+1016_weekly_bin759.fits outfile=/scratch/kocevski/585542/cmap_HighResolution_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.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.58
user 0.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8903       1.0000          .0000       .10000E+07
     2 'Prefactor '    .87459       1.0000          .0000       .10000E+07
     3 'norm      '    2.8088       1.0000          .0000       .10000E+07
     4 'norm      '    .30410       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.441       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.999       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12982E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .92549E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.878       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11772       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13459E-03   1.0000          .0000       .10000E+07
    12 'Normalizat'    .83313       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2215       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=   5069.232     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      669 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8507        8.0412        .39387E-06   -.10897E-02
   2  Prefactor     .88008        4.8891       -.21513E-07   -.17243E-03
   3  norm          2.8067        1.8688       -.10661E-06    .34255E-02
   4  norm          .30413        .67592       -.13335E-06    .27097E-02
   5  Prefactor     16.102        23.720       -.21869E-06    .63530E-03
   6  Prefactor     22.571        18.774       -.17897E-06    .49510E-03
   7  Prefactor     .55511E-10    7.6585       -.48084E-06** at limit **
   8  Prefactor     .61062E-09    40.829        .10379E-05** at limit **
   9  Prefactor     15.804        36.915       -.15107E-06    .13772E-03
  10  Prefactor     .25602E-06    1.3722        .10988E-06** at limit **
  11  Prefactor     .33307E-09    8.9960        .46838E-06** at limit **
  12  Normalizat    .83255        .23893       -.58371E-05   -.29397E-04
  13  Prefactor     1.2219        .20864        .79849E-05   -.12078E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.85075
  Prefactor  = 0.880077
  norm       = 2.80673
  norm       = 0.304127
  Prefactor  = 16.1016
  Prefactor  = 22.5707
  Prefactor  = 5.55112e-11
  Prefactor  = 6.10623e-10
  Prefactor  = 15.8037
  Prefactor  = 2.56017e-07
  Prefactor  = 3.33067e-10
  Normalizat = 0.832547
  Prefactor  = 1.22194
 **********
 **   18 **HESSE 
 **********

 FCN=   5069.232     FROM HESSE     STATUS=OK           173 CALLS      842 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8507        8.0515        .51132E-03   -1.5669    
   2  Prefactor     .88008        4.9163        .47533E-03   -1.5689    
   3  norm          2.8067        1.8754        .60670E-03   -1.5674    
   4  norm          .30413        .68163        .10156E-02   -1.5697    
   5  Prefactor     16.102        23.747        .24674E-03   -1.5628    
   6  Prefactor     22.571        18.784        .21326E-03   -1.5613    
   7  Prefactor     .55511E-10    7.6578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .61062E-09    40.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.804        36.979        .24352E-03   -1.5628    
  10  Prefactor     .25602E-06    101.94        .13476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33307E-09    9.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .83255        .20653        .64420E-01   -.98873    
  13  Prefactor     1.2219        .17987        .34141E-01   -.85659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83802e-07
Minuit parameter uncertainties:
  1  8.05156
  2  4.16017
  3  1.87541
  4  0.681635
  5  23.7468
  6  18.7843
  7  3.79757e-05
  8  0.000318953
  9  36.9793
  10  0.0102169
  11  0.000106259
  12  0.206728
  13  0.179964
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  2.807e+00  1.875e+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.222e+00  1.800e-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.325e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.23
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 8.41e-08 +/- 5.61e-08
Energy Flux (Fixed Index): 2.69e-05 +/- 1.80e-05

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

Saving results to:
/scratch/kocevski/585542/likelihoodResults_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.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) = 5068.64953223
delta logL = 0.582496722383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5068.6403782
delta logL = 0.591650754625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1243       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0281       1.0000          .0000       5.0000    
     3 'Normalizat'    .77872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2545       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=   5068.640     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      231 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1238        23.183        .70723E-03    .46514E-02
   2  alpha         3.0286        3.9433        .29286        .41810E-04
   3  Normalizat    .77842        .80461E-01    .66347E-01   -.27715E-05
   4  Prefactor     1.2550        .77028E-01    .33453E-01   -.10201E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.12384
  alpha      = 3.02864
  Normalizat = 0.778422
  Prefactor  = 1.25505
 **********
 **   18 **HESSE 
 **********

 FCN=   5068.640     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1238        1.9787        .55431E-05   -1.5679    
   2  alpha         3.0286        .76390        .12240E-01    .21306    
   3  Normalizat    .77842        .24095        .29354E-03   -1.0087    
   4  Prefactor     1.2550        .20975        .20912E-03   -.84654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86777e-11
Minuit parameter uncertainties:
  1  1.97867
  2  0.776928
  3  0.241282
  4  0.209889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585542': 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) = 5068.64037275
delta logL = 0.591656200693

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  2.124e+00  1.979e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  3.029e+00  7.769e-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.255e+00  2.099e-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.784e-01  2.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.54
Ra Dec: 146.661 10.277
Photon Index (Free Index): 3.03 +/- 0.78
Photon Flux (Free Index): 1.26e-07 +/- 7.35e-08
Energy Flux (Free Index): 2.52e-05 +/- 1.55e-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/585542/cmap_HighResolution_698025601_698630401_4FGL_J0946.6+1016_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-05', comment='SUCCESS', photon_flux='8.41e-08', energy_flux2='2.52e-05', photon_flux_error='5.61e-08', dlogl='5.92e-01', energy_flux='2.69e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2023-02-21 03:24:59.678000', photon_index_error2='0.78', photon_index2='3.03', ts='3.23', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.95e-07', energy_flux_error2='1.55e-05', EG='0.83', time_epoch_completed='1676978699.68', return_code='0', job_id='585542', GAL2='1.26', EG2='0.78', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='7.35e-08', ts2='4.54', photon_index='2.34' WHERE bin_id='759' AND source_name='4FGL J0946.6+1016' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:24:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 585542: <4FGL_J0946.6+1016_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0946.6+1016_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:15:21 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:15:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:15:22 2023
Terminated at Tue Feb 21 03:25:00 2023
Results reported at Tue Feb 21 03:25:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_weekly_bin759 146.661 10.277 698025601 698630401 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            579 sec.

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

