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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1752
RA = 146.661, Dec = 10.277
tmin = 693446401, tmax = 693705601
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='259191', job_status='RUN', time_executed='2022-12-26 00:42:59.436590', time_epoch_executed='1672044179.44' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259191

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259191/ft1_4FGL_J0946.6+1016_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259191/ft2_4FGL_J0946.6+1016_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259191/ft1_4FGL_J0946.6+1016_daily_bin1752.fits outfile=/scratch/kocevski/259191/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1752.fits ra=146.661 dec=10.277 rad=12.0 tmin=693446401.0 tmax=693705601.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.30
user 3.27
sys 0.19

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

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

Number of photons that the gtmktime cut: 463

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259191/ft1_filtered_4FGL_J0946.6+1016_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/259191/ft2_4FGL_J0946.6+1016_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/259191/ltcube_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.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/259191/ft2_4FGL_J0946.6+1016_daily_bin1752.fits
.....................!
real 15.43
user 14.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259191/ft1_filtered_4FGL_J0946.6+1016_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/259191/ft2_4FGL_J0946.6+1016_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/259191/ltcube_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.fits outfile=/scratch/kocevski/259191/expmap_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.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/259191/ltcube_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.fits
.....................!
real 194.92
user 189.54
sys 4.69

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/259191/ft1_filtered_4FGL_J0946.6+1016_daily_bin1752.fits scfile=/scratch/kocevski/259191/ft2_4FGL_J0946.6+1016_daily_bin1752.fits outfile=/scratch/kocevski/259191/cmap_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259191/ft1_filtered_4FGL_J0946.6+1016_daily_bin1752.fits scfile=/scratch/kocevski/259191/ft2_4FGL_J0946.6+1016_daily_bin1752.fits outfile=/scratch/kocevski/259191/cmap_HighResolution_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.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.62
user 0.42
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41936       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28946E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .33903       1.0000          .0000       .10000E+07
     4 'norm      '    1.7719       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.694       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90483E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27150E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .25610E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21187E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35914E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6042       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0139       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86518       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=   5234.173     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      690 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41353        21.781       -.28707E-06    .91760E-02
   2  Prefactor      .0000        3.5197        .12867E-06** at limit **
   3  norm          .33204        1.1121       -.10341E-06   -.17672E-03
   4  norm          1.7659        .74561       -.50698E-07   -.22516E-02
   5  Prefactor     10.411        40.241        .13149E-06   -.17177E-03
   6  Prefactor     .55511E-10    5.8804       -.35491E-06** at limit **
   7  Prefactor      .0000        3.6374        .59118E-07** at limit **
   8  Prefactor     .13990E-05    24.140        .22318E-06** at limit **
   9  Prefactor      .0000        12.095       -.30018E-07** at limit **
  10  Prefactor      .0000        29.098       -.10474E-07** at limit **
  11  Prefactor     5.7337        9.3454        .45694E-07    .87087E-02
  12  Normalizat    1.0205        .20626        .85555E-06   -.11156E-04
  13  Prefactor     .86313        .17314       -.37896E-06   -.41786E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.413535
  Prefactor  = 0
  norm       = 0.332038
  norm       = 1.76591
  Prefactor  = 10.411
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.39899e-06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.73373
  Normalizat = 1.02045
  Prefactor  = 0.863132
 **********
 **   18 **HESSE 
 **********

 FCN=   5234.173     FROM HESSE     STATUS=OK           169 CALLS      859 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41353        5.1975        .87278E-02   -1.5695    
   2  Prefactor      .0000        3.4898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .33204        1.1131        .96921E-03   -1.5696    
   4  norm          1.7659        .75154        .78632E-03   -1.5681    
   5  Prefactor     10.411        40.081        .25256E-03   -1.5643    
   6  Prefactor     .55511E-10    5.8917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.6452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13990E-05    64.531        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        12.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        28.994        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7337        9.5884        .42413E-03   -1.5660    
  12  Normalizat    1.0205        .17609        .44454E-01   -.92348    
  13  Prefactor     .86313        .14788        .44560E-01   -.97442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67202e-08
Minuit parameter uncertainties:
  1  2.93212
  2  1.84338e-05
  3  1.11307
  4  0.751537
  5  40.0823
  6  2.93544e-05
  7  3.47624e-06
  8  0.0190033
  9  1.19424e-05
  10  2.58272e-05
  11  9.58841
  12  0.176193
  13  0.147953
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.320e-01  1.113e+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:  8.631e-01  1.480e-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.020e+00  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/259191/likelihoodResults_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.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) = 5234.17308501
delta logL = 0.000150910981574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5234.17307485
delta logL = 0.000161070967806

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32925       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3946       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86336       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5234.173     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      269 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32953        1.1674        .12930E-04   -.80716E-03
   2  alpha         2.3957        3.6427        .60162E-01   -.49031E-05
   3  Normalizat    1.0198        .20222        .23194E-03   -.23773E-04
   4  Prefactor     .86355        .17334        .21563E-03   -.22723E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329526
  alpha      = 2.39573
  Normalizat = 1.0198
  Prefactor  = 0.863547
 **********
 **   18 **HESSE 
 **********

 FCN=   5234.173     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32953        1.1185        .51720E-06   -1.5696    
   2  alpha         2.3957        3.6236        .24065E-02   -.41719E-01
   3  Normalizat    1.0198        .20220        .92775E-05   -.92370    
   4  Prefactor     .86355        .17310        .86253E-05   -.97427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58081e-12
Minuit parameter uncertainties:
  1  1.11847
  2  2.95422
  3  0.202348
  4  0.173206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259191': 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) = 5234.17307418
delta logL = 0.000161735394613

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.295e-01  1.118e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.396e+00  2.954e+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:  8.635e-01  1.732e-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.020e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/259191/cmap_HighResolution_693446401_693705601_4FGL_J0946.6+1016_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-05', job_status='DONE', photon_flux_upper_limit='9.21e-08', time_completed='2022-12-26 00:50:11.594678', job_id='259191', GAL2='0.86', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1672044611.59', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.62e-04', ts2='0.10', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1752' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:50:11 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 259191: <4FGL_J0946.6+1016_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:40:19 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:41:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:41:09 2022
Terminated at Mon Dec 26 00:50:13 2022
Results reported at Mon Dec 26 00:50:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1752 146.661 10.277 693446401 693705601 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 :                                   433.58 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             316.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   543 sec.
    Turnaround time :                            594 sec.

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

