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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1753
RA = 146.661, Dec = 10.277
tmin = 693705601, tmax = 693964801
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='451346', job_status='RUN', time_executed='2022-12-29 00:43:15.603837', time_epoch_executed='1672303395.6' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/451346

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/451346/ft1_4FGL_J0946.6+1016_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/451346/ft2_4FGL_J0946.6+1016_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/451346/ft1_4FGL_J0946.6+1016_daily_bin1753.fits outfile=/scratch/kocevski/451346/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1753.fits ra=146.661 dec=10.277 rad=12.0 tmin=693705601.0 tmax=693964801.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.92
user 3.63
sys 0.22

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

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

Number of photons that the gtmktime cut: 486

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/451346/ft1_filtered_4FGL_J0946.6+1016_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/451346/ft2_4FGL_J0946.6+1016_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/451346/ltcube_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.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/451346/ft2_4FGL_J0946.6+1016_daily_bin1753.fits
.....................!
real 12.50
user 12.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/451346/ft1_filtered_4FGL_J0946.6+1016_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/451346/ft2_4FGL_J0946.6+1016_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/451346/ltcube_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.fits outfile=/scratch/kocevski/451346/expmap_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.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/451346/ltcube_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.fits
.....................!
real 157.88
user 152.72
sys 4.63

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/451346/ft1_filtered_4FGL_J0946.6+1016_daily_bin1753.fits scfile=/scratch/kocevski/451346/ft2_4FGL_J0946.6+1016_daily_bin1753.fits outfile=/scratch/kocevski/451346/cmap_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.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.50
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/451346/ft1_filtered_4FGL_J0946.6+1016_daily_bin1753.fits scfile=/scratch/kocevski/451346/ft2_4FGL_J0946.6+1016_daily_bin1753.fits outfile=/scratch/kocevski/451346/cmap_HighResolution_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.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.50
user 0.34
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10147E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .24093E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .82727       1.0000          .0000       .10000E+07
     4 'norm      '    .24132       1.0000          .0000       .10000E+07
     5 'Prefactor '    .51704E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .37257E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2111       1.0000          .0000       .10000E+07
     8 'Prefactor '    .75703       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46235E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    62.499       1.0000          .0000       .10000E+07
    11 'Prefactor '    .70088E-03   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.1903       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .97115       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=   5345.810     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      930 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    2.4295        .34459E-06** at limit **
   2  Prefactor     .20570E-04    8.6428       -.10168E-05** at limit **
   3  norm          .82690        1.0072        .30436E-06   -.60090E-02
   4  norm          .24131        .53558        .11906E-06** at limit **
   5  Prefactor     .15044E-07    14.925       -.20268E-05** at limit **
   6  Prefactor     .11102E-08    55.092        .20686E-05** at limit **
   7  Prefactor     3.0094        11.938       -.26189E-05    .92367E-03
   8  Prefactor     .41356E-07    243.15       -.13521E-04** at limit **
   9  Prefactor     .21538E-07    17.811       -.16889E-05** at limit **
  10  Prefactor     64.514        68.256        .24995E-05   -.53392E-02
  11  Prefactor     .72775E-07    38.603       -.31794E-05** at limit **
  12  Normalizat    1.1904        .22194       -.16463E-04   -.20546E-03
  13  Prefactor     .97114        .19390        .19497E-04   -.23880E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 2.05703e-05
  norm       = 0.826898
  norm       = 0.241314
  Prefactor  = 1.50435e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 3.00941
  Prefactor  = 4.13558e-08
  Prefactor  = 2.15383e-08
  Prefactor  = 64.5137
  Prefactor  = 7.27751e-08
  Normalizat = 1.1904
  Prefactor  = 0.971135
 **********
 **   18 **HESSE 
 **********

 FCN=   5345.810     FROM HESSE     STATUS=OK           183 CALLS     1113 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    2.4285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20570E-04    4.4494        .48237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .82690        1.0152        .50924E-03   -1.5690    
   4  norm          .24131        .55310        .11082E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15044E-07    15.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-08    5.5361        .89979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0094        12.828        .56512E-03   -1.5673    
   8  Prefactor     .41356E-07    240.33        .56194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21538E-07    17.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     64.514        70.676        .12650E-03   -1.5547    
  11  Prefactor     .72775E-07    37.194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.1904        .18881        .53785E-01   -.86900    
  13  Prefactor     .97114        .16335        .45906E-01   -.93698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74843e-08
Minuit parameter uncertainties:
  1  3.13747e-05
  2  0.0191339
  3  1.01518
  4  0.553099
  5  0.000953542
  6  0.000158168
  7  12.4264
  8  0.00630427
  9  0.00124399
  10  70.677
  11  0.00329048
  12  0.188918
  13  0.16343
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  8.269e-01  1.015e+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:  9.711e-01  1.634e-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.190e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/451346/likelihoodResults_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.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) = 5345.45528913
delta logL = 0.354478456433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5345.44518421
delta logL = 0.36458338453

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69874       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2069       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1589       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98734       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=   5345.445     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      209 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69854        16.761        .60811E-03    .72013E-02
   2  alpha         3.2071        3.1362        .43452        .27512E-04
   3  Normalizat    1.1589        .64394E-01    .54400E-01    .57661E-05
   4  Prefactor     .98736        .54580E-01    .46109E-01    .67581E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.69854
  alpha      = 3.20705
  Normalizat = 1.15888
  Prefactor  = 0.987357
 **********
 **   18 **HESSE 
 **********

 FCN=   5345.445     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69854        .92444        .54208E-05   -1.5691    
   2  alpha         3.2071        1.1107        .21164E-01    .28673    
   3  Normalizat    1.1589        .22677        .24054E-03   -.87883    
   4  Prefactor     .98736        .19583        .22623E-03   -.93152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82326e-09
Minuit parameter uncertainties:
  1  0.924442
  2  1.15482
  3  0.226964
  4  0.19597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/451346': 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) = 5345.44518417
delta logL = 0.364583416682

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  6.985e-01  9.244e-01  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  3.207e+00  1.155e+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:  9.874e-01  1.960e-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.159e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 146.661 10.277
Photon Index (Free Index): 3.21 +/- 1.15
Photon Flux (Free Index): 5.05e-08 +/- 5.06e-08
Energy Flux (Free Index): 9.44e-06 +/- 8.78e-06

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/451346/cmap_HighResolution_693705601_693964801_4FGL_J0946.6+1016_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', comment='SUCCESS', energy_flux2='9.44e-06', dlogl='3.65e-01', photon_flux2='5.05e-08', job_status='DONE', time_completed='2022-12-29 00:49:27.917882', photon_index_error2='1.15', photon_index2='3.21', ts='0.94', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='9.88e-08', energy_flux_error2='8.78e-06', EG='1.19', time_epoch_completed='1672303767.92', return_code='0', job_id='451346', GAL2='0.99', EG2='1.16', return_code2='0', photon_flux_error2='5.06e-08', ts2='1.70', photon_index='2.34' WHERE bin_id='1753' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:49:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 451346: <4FGL_J0946.6+1016_daily_bin1753> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec 29 00:40:24 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:42:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:42:29 2022
Terminated at Thu Dec 29 00:49:28 2022
Results reported at Thu Dec 29 00:49:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1753 146.661 10.277 693705601 693964801 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 :                                   373.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   419 sec.
    Turnaround time :                            544 sec.

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

