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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1769
RA = 146.661, Dec = 10.277
tmin = 697852801, tmax = 698112001
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='430910', job_status='RUN', time_executed='2023-02-15 00:33:55.166477', time_epoch_executed='1676450035.17' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430910

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430910/ft1_4FGL_J0946.6+1016_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430910/ft2_4FGL_J0946.6+1016_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430910/ft1_4FGL_J0946.6+1016_daily_bin1769.fits outfile=/scratch/kocevski/430910/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1769.fits ra=146.661 dec=10.277 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.36
user 4.15
sys 0.18

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

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

Number of photons that the gtmktime cut: 469

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430910/ft1_filtered_4FGL_J0946.6+1016_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/430910/ft2_4FGL_J0946.6+1016_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/430910/ltcube_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.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/430910/ft2_4FGL_J0946.6+1016_daily_bin1769.fits
.....................!
real 11.82
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430910/ft1_filtered_4FGL_J0946.6+1016_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430910/ft2_4FGL_J0946.6+1016_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/430910/ltcube_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.fits outfile=/scratch/kocevski/430910/expmap_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.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/430910/ltcube_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.fits
.....................!
real 189.56
user 185.29
sys 3.97

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/430910/ft1_filtered_4FGL_J0946.6+1016_daily_bin1769.fits scfile=/scratch/kocevski/430910/ft2_4FGL_J0946.6+1016_daily_bin1769.fits outfile=/scratch/kocevski/430910/cmap_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430910/ft1_filtered_4FGL_J0946.6+1016_daily_bin1769.fits scfile=/scratch/kocevski/430910/ft2_4FGL_J0946.6+1016_daily_bin1769.fits outfile=/scratch/kocevski/430910/cmap_HighResolution_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8448       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.1745       1.0000          .0000       .10000E+07
     3 'norm      '    .68374E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .18596E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10673E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6847       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50482E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .54394E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7005       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11414E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28755E-03   1.0000          .0000       .10000E+07
    12 'Normalizat'    .56907       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.4956       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=   5339.686     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      753 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8578        6.0203       -.19389E-06    .12149E-03
   2  Prefactor     8.2033        5.2910        .95120E-07   -.16314E-02
   3  norm          .17764E-08    14.116       -.23913E-05** at limit **
   4  norm          .27756E-09    1.7445       -.10649E-05** at limit **
   5  Prefactor     .77716E-09    43.485        .23511E-06** at limit **
   6  Prefactor     2.9118        14.747       -.14608E-06    .58212E-03
   7  Prefactor     .99920E-09    5.0143        .15179E-05** at limit **
   8  Prefactor     .16598E-07    21.071       -.52588E-05** at limit **
   9  Prefactor     3.7677        1.0834        .55337E-07    .41488E-04
  10  Prefactor     .34972E-08    27.701       -.13078E-05** at limit **
  11  Prefactor     .11102E-09    5.6988       -.64201E-06** at limit **
  12  Normalizat    .56859        .22311       -.37652E-04    .13568E-03
  13  Prefactor     1.4956        .20310        .18639E-04    .18331E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.8578
  Prefactor  = 8.20329
  norm       = 1.77636e-09
  norm       = 2.77556e-10
  Prefactor  = 7.77156e-10
  Prefactor  = 2.91182
  Prefactor  = 9.99201e-10
  Prefactor  = 1.65978e-08
  Prefactor  = 3.76766
  Prefactor  = 3.4972e-09
  Prefactor  = 1.11022e-10
  Normalizat = 0.568591
  Prefactor  = 1.49558
 **********
 **   18 **HESSE 
 **********

 FCN=   5339.686     FROM HESSE     STATUS=OK           183 CALLS      936 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8578        6.0249        .45679E-03   -1.5664    
   2  Prefactor     8.2033        5.3189        .35042E-03   -1.5651    
   3  norm          .17764E-08    1.2547        .24649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    .37021        .26164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .77716E-09    43.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9118        14.820        .62160E-03   -1.5674    
   7  Prefactor     .99920E-09    5.0097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16598E-07    21.087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7677        56.724        .52474E-03   -1.5669    
  10  Prefactor     .34972E-08    27.676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    5.6967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .56859        .19634        .74756E-01   -1.0933    
  13  Prefactor     1.4956        .17594        .44182E-01   -.77664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71001e-09
Minuit parameter uncertainties:
  1  6.02494
  2  5.31895
  3  9.40049e-05
  4  1.95968e-05
  5  0.000369776
  6  13.1385
  7  0.000140172
  8  0.00118232
  9  29.2386
  10  0.000620641
  11  4.86455e-05
  12  0.196578
  13  0.176007
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.776e-09  9.400e-05  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.496e+00  1.760e-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:  5.686e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/430910/likelihoodResults_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.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) = 5339.37008837
delta logL = 0.315456835313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5339.36697836
delta logL = 0.318566848558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55351E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .51175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5283       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=   5339.367     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      323 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55335E-01    .80185E-01    .23888E-04** at limit **
   2  alpha         5.0000        3.9303        .98374E-01** at limit **
   3  Normalizat    .51170        .23165        .34822E-03    .13239E-03
   4  Prefactor     1.5283        .20736        .19353E-03    .60508E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.055335
  alpha      = 5
  Normalizat = 0.511703
  Prefactor  = 1.52834
 **********
 **   18 **HESSE 
 **********

 FCN=   5339.367     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55335E-01    .78624E-01    .95554E-06   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.9237        .39350E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .51170        .23160        .13929E-04   -1.1188    
   4  Prefactor     1.5283        .20744        .77410E-05   -.76749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73865e-10
Minuit parameter uncertainties:
  1  0.078624
  2  2.73897e-05
  3  0.232041
  4  0.207557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430910': 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) = 5339.36697774
delta logL = 0.31856746838

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  5.533e-02  7.862e-02  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  5.000e+00  2.739e-05  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.528e+00  2.076e-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:  5.117e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 146.661 10.277

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/430910/cmap_HighResolution_697852801_698112001_4FGL_J0946.6+1016_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.02e-05', job_status='DONE', photon_flux_upper_limit='9.42e-08', time_completed='2023-02-15 00:41:10.361781', job_id='430910', GAL2='1.53', fit_tolerance='1e-08', EG2='0.51', EG='0.57', time_epoch_completed='1676450470.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.50', dlogl='3.19e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1769' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:41:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 430910: <4FGL_J0946.6+1016_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 00:30:22 2023
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:30:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:30:23 2023
Terminated at Wed Feb 15 00:41:11 2023
Results reported at Wed Feb 15 00:41:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1769 146.661 10.277 697852801 698112001 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 :                                   436.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            649 sec.

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

