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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1758
RA = 146.661, Dec = 10.277
tmin = 695001601, tmax = 695260801
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='362269', job_status='RUN', time_executed='2023-01-13 00:35:25.540836', time_epoch_executed='1673598925.54' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362269

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362269/ft1_4FGL_J0946.6+1016_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362269/ft2_4FGL_J0946.6+1016_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362269/ft1_4FGL_J0946.6+1016_daily_bin1758.fits outfile=/scratch/kocevski/362269/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1758.fits ra=146.661 dec=10.277 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.82
user 2.60
sys 0.20

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

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

Number of photons that the gtmktime cut: 146

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362269/ft1_filtered_4FGL_J0946.6+1016_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362269/ft2_4FGL_J0946.6+1016_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362269/ltcube_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.fits outfile=/scratch/kocevski/362269/expmap_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.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/362269/ltcube_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.fits
.....................!
real 194.54
user 187.93
sys 5.80

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/362269/ft1_filtered_4FGL_J0946.6+1016_daily_bin1758.fits scfile=/scratch/kocevski/362269/ft2_4FGL_J0946.6+1016_daily_bin1758.fits outfile=/scratch/kocevski/362269/cmap_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362269/ft1_filtered_4FGL_J0946.6+1016_daily_bin1758.fits scfile=/scratch/kocevski/362269/ft2_4FGL_J0946.6+1016_daily_bin1758.fits outfile=/scratch/kocevski/362269/cmap_HighResolution_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.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.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1796.54735844

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21342       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9769       1.0000          .0000       .10000E+07
     3 'norm      '    .21246E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .48628E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    156.88       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32463E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.7029       1.0000          .0000       .10000E+07
     8 'Prefactor '    45.549       1.0000          .0000       .10000E+07
     9 'Prefactor '    38.963       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32486       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18934E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    .10237       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.7549       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=   1796.543     FROM MIGRAD    STATUS=CONVERGED    138 CALLS      968 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38858E-09    67.088        .88613E-06** at limit **
   2  Prefactor     1.9050        16.157       -.17940E-05    .96168E-03
   3  norm          .17917E-01    72.274       -.46616E-07** at limit **
   4  norm           .0000        .32268        .29374E-07** at limit **
   5  Prefactor     161.19        120.99       -.61168E-06   -.18296E-01
   6  Prefactor     .22204E-09    10.422       -.11976E-05** at limit **
   7  Prefactor     7.6186        17.354        .48309E-07    .32506E-03
   8  Prefactor     46.787        84.870        .15688E-05   -.80480E-02
   9  Prefactor     39.871        24.075        .21624E-07    .53199E-01
  10  Prefactor      .0000        88.815        .13962E-05** at limit **
  11  Prefactor     .55511E-10    19.757        .11129E-05** at limit **
  12  Normalizat    .97469E-01    .54709        .10682E-03    .12352E-04
  13  Prefactor     1.7567        .38357       -.32282E-04    .79665E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88578e-10
  Prefactor  = 1.905
  norm       = 0.0179166
  norm       = 0
  Prefactor  = 161.194
  Prefactor  = 2.22045e-10
  Prefactor  = 7.61858
  Prefactor  = 46.7871
  Prefactor  = 39.8706
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.0974694
  Prefactor  = 1.75666
 **********
 **   18 **HESSE 
 **********

 FCN=   1796.543     FROM HESSE     STATUS=NOT POSDEF   177 CALLS     1145 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38858E-09    62.451        .11542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9050        17.426        .73699E-03   -1.5680    
   3  norm          .17917E-01    5.9092        .39226E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .29960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     161.19        286.81        .79847E-04   -1.5454    
   6  Prefactor     .22204E-09    9.5880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6186        22.451        .36107E-03   -1.5653    
   8  Prefactor     46.787        171.57        .14818E-03   -1.5571    
   9  Prefactor     39.871        255.37        .16022E-03   -1.5582    
  10  Prefactor      .0000        81.760        .98766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    17.993        .17108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .97469E-01    9.5828        .19164       -1.3834    
  13  Prefactor     1.7567        2.0175        .42366E-01   -.70583    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44709e-06
Minuit parameter uncertainties:
  1  0.000317569
  2  11.5233
  3  0.650765
  4  3.33958e-07
  5  286.837
  6  9.45988e-05
  7  22.4515
  8  171.584
  9  201.823
  10  4.45367e-05
  11  5.24135e-05
  12  2.58984
  13  2.1265
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1796.5426972

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.792e-02  6.508e-01  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.757e+00  2.127e+00  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  9.747e-02  2.590e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/362269/likelihoodResults_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.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): 102
logL (Free Index) = 1796.54268658
delta logL = 1.06164247882e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1796.54261242
delta logL = 8.4778867631e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23245E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    2.1677       1.0000          .0000       5.0000    
     3 'Normalizat'    .97449E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7566       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   1796.543     FROM MIGRAD    STATUS=FAILED       121 CALLS      354 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36632E-01    7454.3        .13057E-03** at limit **
   2  alpha         2.1831        3.7224        .13427       -.26686E-04
   3  Normalizat    .97515E-01    .38524        .79167E-02    .11651E-04
   4  Prefactor     1.7564        .57359        .18724E-03    .16727E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1796.543     FROM SIMPLEX   STATUS=UNCHANGED    117 CALLS      471 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36632E-01    7454.3        .74968E-04** at limit **
   2  alpha         2.1831        3.7224        .30111E-03   -.26686E-04
   3  Normalizat    .97515E-01    .38524        .24864E-03    .11651E-04
   4  Prefactor     1.7564        .57359        .77638E-04    .16727E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1796.543     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      507 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36633E-01    35.876        .52227E-05** at limit **
   2  alpha         2.1831        3.5979        .26855E-01   -.99354E-06
   3  Normalizat    .97515E-01    .49371        .31667E-03    .57083E-05
   4  Prefactor     1.7564        .38036        .74897E-05    .16545E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0366334
  alpha      = 2.18308
  Normalizat = 0.0975151
  Prefactor  = 1.75636
 **********
 **   18 **HESSE 
 **********

 FCN=   1796.543     FROM HESSE     STATUS=OK            25 CALLS      532 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36633E-01    34.685        .20891E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1831        3.5479        .53709E-02   -.12711    
   3  Normalizat    .97515E-01    .49103        .12667E-04   -1.3833    
   4  Prefactor     1.7564        .37919        .14979E-05   -.70591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99019e-12
Minuit parameter uncertainties:
  1  2.25446
  2  9.43859
  3  0.419993
  4  0.379819
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362269': 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) = 1796.5425941
delta logL = 0.000103096193925

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.663e-02  2.254e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.183e+00  9.439e+00  0.000e+00  5.000e+00 ( 1.000e+00)
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.756e+00  3.798e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  9.752e-02  4.200e-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/362269/cmap_HighResolution_695001601_695260801_4FGL_J0946.6+1016_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-05', job_status='DONE', photon_flux_upper_limit='2.32e-07', time_completed='2023-01-13 00:41:32.049385', job_id='362269', GAL2='1.76', fit_tolerance='1e-08', EG2='0.10', EG='0.10', time_epoch_completed='1673599292.05', return_code2='0', ts='0.00', comment='SUCCESS', return_code='102', GAL='1.76', dlogl='1.03e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1758' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:41:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 362269: <4FGL_J0946.6+1016_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:23 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:31:49 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:31:49 2023
Terminated at Fri Jan 13 00:41:32 2023
Results reported at Fri Jan 13 00:41:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1758 146.661 10.277 695001601 695260801 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 :                                   368.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             225.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            669 sec.

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

