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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1762
RA = 146.661, Dec = 10.277
tmin = 696038401, tmax = 696297601
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='106489', job_status='RUN', time_executed='2023-01-25 00:50:06.801439', time_epoch_executed='1674636606.8' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106489/ft1_4FGL_J0946.6+1016_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106489/ft1_4FGL_J0946.6+1016_daily_bin1762.fits outfile=/scratch/kocevski/106489/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1762.fits ra=146.661 dec=10.277 rad=12.0 tmin=696038401.0 tmax=696297601.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.70
user 3.43
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.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/106489/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/106489/ft1_filtered_4FGL_J0946.6+1016_daily_bin1762.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 494

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106489/ft1_filtered_4FGL_J0946.6+1016_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/106489/ltcube_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.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/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.fits
.....................!
real 15.52
user 15.08
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106489/ft1_filtered_4FGL_J0946.6+1016_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106489/ltcube_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.fits outfile=/scratch/kocevski/106489/expmap_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.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/106489/ltcube_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.fits
.....................!
real 193.34
user 187.33
sys 5.00

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/106489/ft1_filtered_4FGL_J0946.6+1016_daily_bin1762.fits scfile=/scratch/kocevski/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.fits outfile=/scratch/kocevski/106489/cmap_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=146.661 yref=10.277 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106489/ft1_filtered_4FGL_J0946.6+1016_daily_bin1762.fits scfile=/scratch/kocevski/106489/ft2_4FGL_J0946.6+1016_daily_bin1762.fits outfile=/scratch/kocevski/106489/cmap_HighResolution_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.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.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39396E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .95274E-06   1.0000          .0000       .10000E+07
     3 'norm      '    1.0120       1.0000          .0000       .10000E+07
     4 'norm      '    .37200       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .24590E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .78882E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    68.067       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32268E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
    12 'Normalizat'    .66424       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2638       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=   5773.920     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      857 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.4499        .91244E-08** at limit **
   2  Prefactor      .0000        5.1276       -.47133E-07** at limit **
   3  norm          1.0126        1.3548        .16670E-07    .56094E-03
   4  norm          .37272        .48022        .31537E-07    .10471E-03
   5  Prefactor      .0000        12.433        .43983E-07** at limit **
   6  Prefactor      .0000        7.1972        .16322E-07** at limit **
   7  Prefactor      .0000        6.2307        .11158E-06** at limit **
   8  Prefactor     .39968E-08    100.10        .16182E-05** at limit **
   9  Prefactor     68.041        1.2837        .72791E-08    .67158E-01
  10  Prefactor     .55511E-10    26.580       -.28582E-06** at limit **
  11  Prefactor      .0000        6.4375       -.14146E-07** at limit **
  12  Normalizat    .66436        .20964       -.29674E-05   -.13901E-04
  13  Prefactor     1.2634        .18545        .90615E-06   -.20972E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  norm       = 1.01264
  norm       = 0.372719
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.9968e-09
  Prefactor  = 68.041
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.664356
  Prefactor  = 1.2634
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.920     FROM HESSE     STATUS=OK           165 CALLS     1022 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.0149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0126        1.3610        .44190E-03   -1.5688    
   4  norm          .37272        .51477        .13439E-02   -1.5696    
   5  Prefactor      .0000        12.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.2025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        6.2347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .39968E-08    99.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     68.041        55.220        .12122E-03   -1.5543    
  10  Prefactor     .55511E-10    26.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        6.4498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .66436        .18258        .66586E-01   -1.0532    
  13  Prefactor     1.2634        .15956        .33273E-01   -.84402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03732e-07
Minuit parameter uncertainties:
  1  1.93005e-06
  2  3.34456e-06
  3  1.36098
  4  0.514765
  5  2.74609e-06
  6  1.07988e-05
  7  1.07237e-05
  8  0.00126586
  9  55.2208
  10  6.9589e-05
  11  1.39993e-05
  12  0.182742
  13  0.159623
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.013e+00  1.361e+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.263e+00  1.596e-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:  6.644e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106489/likelihoodResults_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.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) = 5773.47770143
delta logL = 0.442060213936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5773.45126918
delta logL = 0.468492460651

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5773.451     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      368 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87253E-01    .10670        .20102E-04** at limit **
   2  alpha         5.0000        3.6714        .50000    ** at limit **
   3  Normalizat    .60697        .21842        .30742E-03   -.20672E-04
   4  Prefactor     1.3069        .19006        .19289E-03   -.17434E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0872525
  alpha      = 5
  Normalizat = 0.606967
  Prefactor  = 1.30689
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.451     FROM HESSE     STATUS=OK            31 CALLS      399 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87253E-01    .10204        .40204E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.5903        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .60697        .21883        .12297E-04   -1.0769    
   4  Prefactor     1.3069        .19031        .38579E-04   -.83102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72333e-11
Minuit parameter uncertainties:
  1  0.102043
  2  8.60601e-06
  3  0.219144
  4  0.190415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106489': 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) = 5773.45126762
delta logL = 0.468494022851

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  8.725e-02  1.020e-01  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  5.000e+00  8.606e-06  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.307e+00  1.904e-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:  6.070e-01  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 146.661 10.277
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.19e-08 +/- 7.20e-08
Energy Flux (Free Index): 8.35e-06 +/- 9.73e-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/106489/cmap_HighResolution_696038401_696297601_4FGL_J0946.6+1016_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.72e-05', comment='SUCCESS', energy_flux2='8.35e-06', dlogl='4.68e-01', photon_flux2='6.19e-08', job_status='DONE', time_completed='2023-01-25 00:57:40.383880', photon_index_error2='0.00', photon_index2='5.00', ts='0.67', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='9.73e-06', EG='0.66', time_epoch_completed='1674637060.38', return_code='0', job_id='106489', GAL2='1.31', EG2='0.61', return_code2='0', photon_flux_error2='7.20e-08', ts2='1.75', photon_index='2.34' WHERE bin_id='1762' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:57:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 106489: <4FGL_J0946.6+1016_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:18 2023
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:47:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:47:11 2023
Terminated at Wed Jan 25 00:57:40 2023
Results reported at Wed Jan 25 00:57:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1762 146.661 10.277 696038401 696297601 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 :                                   455.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            742 sec.

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

