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


Performing analysis on: 4FGL_J0946.6+1016_weekly_bin756
RA = 146.661, Dec = 10.277
tmin = 696211201, tmax = 696816001
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='476192', job_status='RUN', time_executed='2023-01-31 02:42:34.366288', time_epoch_executed='1675161754.37' WHERE source_name='4FGL J0946.6+1016' and cadence='weekly' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476192

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476192/ft1_4FGL_J0946.6+1016_weekly_bin756.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476192/ft2_4FGL_J0946.6+1016_weekly_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476192/ft1_4FGL_J0946.6+1016_weekly_bin756.fits outfile=/scratch/kocevski/476192/ft1_filteredMKT_4FGL_J0946.6+1016_weekly_bin756.fits ra=146.661 dec=10.277 rad=12.0 tmin=696211201.0 tmax=696816001.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 7.90
user 7.55
sys 0.29

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

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

Number of photons that the gtmktime cut: 1210

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476192/ft1_filtered_4FGL_J0946.6+1016_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/476192/ft2_4FGL_J0946.6+1016_weekly_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/476192/ltcube_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.fits outfile=/scratch/kocevski/476192/expmap_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.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/476192/ltcube_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.fits
.....................!
real 191.25
user 185.55
sys 4.96

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/476192/ft1_filtered_4FGL_J0946.6+1016_weekly_bin756.fits scfile=/scratch/kocevski/476192/ft2_4FGL_J0946.6+1016_weekly_bin756.fits outfile=/scratch/kocevski/476192/cmap_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476192/ft1_filtered_4FGL_J0946.6+1016_weekly_bin756.fits scfile=/scratch/kocevski/476192/ft2_4FGL_J0946.6+1016_weekly_bin756.fits outfile=/scratch/kocevski/476192/cmap_HighResolution_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.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.59
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28129       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82186       1.0000          .0000       .10000E+07
     3 'norm      '    1.0056       1.0000          .0000       .10000E+07
     4 'norm      '    .27161       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17292E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1685       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32787E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    70.887       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4577       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12321E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16455       1.0000          .0000       .10000E+07
    12 'Normalizat'    .99874       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .95684       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=   13766.66     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1036 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29509        8.7484       -.40799E-07   -.58165E-03
   2  Prefactor     .82212        1.5337        .14375E-07    .55516E-04
   3  norm          1.0058        .79606       -.30097E-08   -.63520E-02
   4  norm          .27167        .26541        .32079E-08    .28025E-04
   5  Prefactor     .60785E-07    11.219        .10163E-06** at limit **
   6  Prefactor     3.1683        6.3758       -.12062E-06   -.83503E-03
   7  Prefactor     .83600E-07    38.117        .29150E-06** at limit **
   8  Prefactor     70.772        5.2333        .40124E-07   -.28929    
   9  Prefactor     5.4754        4.5732       -.35766E-07    .65895E-01
  10  Prefactor     .22621E-06    72.806       -.46528E-06** at limit **
  11  Prefactor     .32100        54.497       -.98871E-06   -.95282E-02
  12  Normalizat    .99881        .13318       -.11748E-05   -.63998E-03
  13  Prefactor     .95670        .11302        .11614E-06   -.62281E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.295088
  Prefactor  = 0.822119
  norm       = 1.00577
  norm       = 0.271674
  Prefactor  = 6.07847e-08
  Prefactor  = 3.16832
  Prefactor  = 8.35998e-08
  Prefactor  = 70.7716
  Prefactor  = 5.47544
  Prefactor  = 2.26208e-07
  Prefactor  = 0.321005
  Normalizat = 0.998807
  Prefactor  = 0.956702
 **********
 **   18 **HESSE 
 **********

 FCN=   13766.66     FROM HESSE     STATUS=OK           185 CALLS     1221 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29509        2.1339        .58926E-02   -1.5697    
   2  Prefactor     .82212        1.5243        .51319E-03   -1.5690    
   3  norm          1.0058        .79898        .43963E-03   -1.5688    
   4  norm          .27167        .28608        .10619E-02   -1.5698    
   5  Prefactor     .60785E-07    11.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1683        6.4958        .56911E-03   -1.5672    
   7  Prefactor     .83600E-07    4.3234        .65125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     70.772        39.377        .11878E-03   -1.5540    
   9  Prefactor     5.4754        20.973        .42988E-03   -1.5661    
  10  Prefactor     .22621E-06    71.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32100        4.5106        .12444E-01   -1.5719    
  12  Normalizat    .99881        .11522        .46151E-01   -.93070    
  13  Prefactor     .95670        .96006E-01    .45725E-01   -.94187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41248e-06
Minuit parameter uncertainties:
  1  1.58706
  2  1.52433
  3  0.79898
  4  0.28608
  5  0.00166952
  6  6.49582
  7  0.00120231
  8  39.377
  9  20.9732
  10  0.00804029
  11  2.40659
  12  0.115249
  13  0.0960234
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.006e+00  7.990e-01  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:  9.567e-01  9.602e-02  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.988e-01  1.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.26
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 3.01e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 9.65e-06 +/- 7.67e-06

TS (Fixed Index): 2.26
Ra Dec: 146.661 10.277
Photon Flux Upper Limit: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/476192/likelihoodResults_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.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) = 13764.8461128
delta logL = 1.81260395318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13764.8243761
delta logL = 1.83434058885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50637       1.0000          .0000       .10000E+07
     2 'alpha     '    3.9463       1.0000          .0000       5.0000    
     3 'Normalizat'    .91628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0053       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=   13764.82     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      238 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50567        2.4718        .78071E-03    .17521E-02
   2  alpha         3.9474        4.3492        .44609        .52181E-04
   3  Normalizat    .91621        .32300E-01    .45109E-01   -.14327E-02
   4  Prefactor     1.0054        .28095E-01    .44125E-01   -.19611E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.505674
  alpha      = 3.94738
  Normalizat = 0.916209
  Prefactor  = 1.00538
 **********
 **   18 **HESSE 
 **********

 FCN=   13764.82     FROM HESSE     STATUS=OK            27 CALLS      265 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50567        .69643        .36559E-05   -1.5694    
   2  alpha         3.9474        1.0495        .20216E-02    .61744    
   3  Normalizat    .91621        .13819        .25426E-03   -.95893    
   4  Prefactor     1.0054        .11572        .20953E-03   -.92550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31206e-09
Minuit parameter uncertainties:
  1  0.696427
  2  1.10243
  3  0.138245
  4  0.115746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476192': 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) = 13764.8243754
delta logL = 1.83434131914

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  5.057e-01  6.964e-01  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  3.947e+00  1.102e+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.005e+00  1.157e-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.162e-01  1.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.40
Ra Dec: 146.661 10.277
Photon Index (Free Index): 3.95 +/- 1.10
Photon Flux (Free Index): 8.96e-08 +/- 4.29e-08
Energy Flux (Free Index): 1.38e-05 +/- 6.65e-06

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/476192/cmap_HighResolution_696211201_696816001_4FGL_J0946.6+1016_weekly_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-05', comment='SUCCESS', photon_flux='3.01e-08', energy_flux2='1.38e-05', photon_flux_error='2.39e-08', dlogl='1.83e+00', energy_flux='9.65e-06', photon_flux2='8.96e-08', job_status='DONE', time_completed='2023-01-31 02:54:44.515419', photon_index_error2='1.10', photon_index2='3.95', ts='2.26', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='7.75e-08', energy_flux_error2='6.65e-06', EG='1.00', time_epoch_completed='1675162484.52', return_code='0', job_id='476192', GAL2='1.01', EG2='0.92', return_code2='0', energy_flux_error='7.67e-06', photon_flux_error2='4.29e-08', ts2='6.40', photon_index='2.34' WHERE bin_id='756' AND source_name='4FGL J0946.6+1016' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:54:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 476192: <4FGL_J0946.6+1016_weekly_bin756> in cluster <slac> Done

Job <4FGL_J0946.6+1016_weekly_bin756> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:40:27 2023
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:40:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:40:51 2023
Terminated at Tue Jan 31 02:54:45 2023
Results reported at Tue Jan 31 02:54:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_weekly_bin756 146.661 10.277 696211201 696816001 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 :                                   729.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            858 sec.

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

