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


Performing analysis on: 4FGL_J0833.9+4223_daily_bin1756
RA = 128.476, Dec = 42.3989
tmin = 694483201, tmax = 694742401
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='9162', job_status='RUN', time_executed='2023-01-07 00:37:02.180461', time_epoch_executed='1673080622.18' WHERE source_name='4FGL J0833.9+4223' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9162/ft1_4FGL_J0833.9+4223_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9162/ft1_4FGL_J0833.9+4223_daily_bin1756.fits outfile=/scratch/kocevski/9162/ft1_filteredMKT_4FGL_J0833.9+4223_daily_bin1756.fits ra=128.476 dec=42.3989 rad=12.0 tmin=694483201.0 tmax=694742401.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.09
user 2.87
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.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/9162/ft1_filteredMKT_4FGL_J0833.9+4223_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.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.54
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 25

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/9162/ltcube_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.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/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits
.....................!
real 16.02
user 15.39
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/9162/ltcube_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.fits outfile=/scratch/kocevski/9162/expmap_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.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/9162/ltcube_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.fits
.....................!
real 193.06
user 186.00
sys 6.06

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 209 point sources and 0 extended sources

Setting source of interest to:
4FGL J0833.9+4223 @ 128.476 42.3989

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits scfile=/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits outfile=/scratch/kocevski/9162/cmap_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.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=128.476 yref=42.3989 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits scfile=/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits outfile=/scratch/kocevski/9162/cmap_HighResolution_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.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=128.476 yref=42.3989 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.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9162/Model_4FGL_J0833.9+4223_daily_bin1756.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/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits.........................!
real 15.70
user 14.33
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits', '/scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits', expMap='/scratch/kocevski/9162/expmap_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.fits', expCube='/scratch/kocevski/9162/ltcube_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9162/Model_4FGL_J0833.9+4223_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0833.9+4223'

4FGL J0833.9+4223
   Spectrum: PowerLaw
335    Prefactor:  8.920e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
336        Index:  2.434e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  8.609e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/9162/ft1_filtered_4FGL_J0833.9+4223_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/9162/ft2_4FGL_J0833.9+4223_daily_bin1756.fits
Exposure map: /scratch/kocevski/9162/expmap_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.fits
Exposure cube: /scratch/kocevski/9162/ltcube_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9162/Model_4FGL_J0833.9+4223_daily_bin1756.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) = 303.680277081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79426E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18628       1.0000          .0000       .10000E+07
     3 'norm      '    .45025E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15632       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.4912       1.0000          .0000       .10000E+07
     6 'Prefactor '    30284.       1.0000          .0000       .10000E+07
     7 'norm      '    2.9915       1.0000          .0000       .10000E+07
     8 'norm      '    37.630       1.0000          .0000       .10000E+07
     9 'norm      '    .41631E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .50400       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11806       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.9331       1.0000          .0000       .10000E+07
    13 'Prefactor '    .89638E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .35158E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18361E-02   1.0000          .0000       .10000E+07
    16 'norm      '    6.9962       1.0000          .0000       .10000E+07
    17 'norm      '    .26494E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .57174E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    460.68       1.0000          .0000       .10000E+07
    20 'Prefactor '    11.093       1.0000          .0000       .10000E+07
    21 'Prefactor '    .70101E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .17431E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .59341E-07   1.0000          .0000       .10000E+07
    24 'norm      '    26.206       1.0000          .0000       .10000E+07
    25 'Prefactor '    .29077E-06   1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .40884       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   297.1642     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     2830 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32404E-05    52.951       -.72383E-06** at limit **
   2  Prefactor     .20450E-06    264.37        .40543E-06** at limit **
   3  norm          .27756E-09    28.869        .24231E-06** at limit **
   4  Prefactor     .13800E-06    501.29        .10652E-05** at limit **
   5  Prefactor     6.7005        7.2046        .87070E-07    .19667E-01
   6  Prefactor     30285.        5.2753       -.11466E-08   -.92174    
   7  norm          .17148E-05    54.532        .39590E-06** at limit **
   8  norm          38.223        17.531        .10907E-06    .75949E-02
   9  norm          .55511E-10    26.526        .16453E-06** at limit **
  10  Prefactor     .34545E-06    741.21       -.15030E-05** at limit **
  11  Prefactor     .55511E-10    384.83       -.19700E-06** at limit **
  12  Prefactor     .42016E-06    72.596        .56010E-06** at limit **
  13  Prefactor      .0000        239.19       -.87006E-06** at limit **
  14  Prefactor     .13722E-05    13.385       -.12825E-07** at limit **
  15  Prefactor     .22240E-05    48.682       -.71370E-06** at limit **
  16  norm          .50182E-07    85.055        .26468E-06** at limit **
  17  norm          .12823E-07    69.923       -.16507E-06** at limit **
  18  Prefactor     .34567E-06    15.265        .29221E-06** at limit **
  19  Prefactor     411.99        280.62       -.39690E-06   -.49447E-02
  20  Prefactor     11.240        12.091        .11808E-06   -.22589E-04
  21  Prefactor      .0000        58.077        .70240E-07** at limit **
  22  norm           .0000        .59466       -.40351E-07** at limit **
  23  Prefactor      .0000        2.8825       -.90670E-07** at limit **
  24  norm          26.835        9.0740        .64743E-07   -.18716E-01
  25  Prefactor      .0000        6.0700        .22331E-06** at limit **
  26  Normalizat    .10000E-01    .36448        .46359E-05** at limit **
  27  Prefactor     .42814        .35373       -.45006E-05    .52850E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.24041e-06
  Prefactor  = 2.04503e-07
  norm       = 2.77556e-10
  Prefactor  = 1.38001e-07
  Prefactor  = 6.70046
  Prefactor  = 30284.8
  norm       = 1.71479e-06
  norm       = 38.2228
  norm       = 5.55112e-11
  Prefactor  = 3.45446e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 4.20164e-07
  Prefactor  = 0
  Prefactor  = 1.37218e-06
  Prefactor  = 2.224e-06
  norm       = 5.01821e-08
  norm       = 1.28231e-08
  Prefactor  = 3.45668e-07
  Prefactor  = 411.994
  Prefactor  = 11.2402
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 26.8347
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.428137
 **********
 **   18 **HESSE 
 **********

 FCN=   297.1642     FROM HESSE     STATUS=OK           522 CALLS     3352 TOTAL
                     EDM=   .46E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32404E-05    105.57        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20450E-06    284.90        .12025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27756E-09    28.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .13800E-06    502.27        .12611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.7005        64374.        .36618E-03   -1.5656    
   6  Prefactor     30285.        12463.        .58354E-05   -1.2210    
   7  norm          .17148E-05    261.00        .58667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          38.223        50.328        .16304E-03   -1.5584    
   9  norm          .55511E-10    26.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .34545E-06    744.23        .78308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    385.31        .13467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .42016E-06    106.76        .45259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        239.42        .14216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13722E-05    94.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22240E-05    117.12        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .50182E-07    110.60        .37904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .12823E-07    69.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .34567E-06    91.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     411.99        281.25        .46602E-04   -1.5302    
  20  Prefactor     11.240        12.088        .30055E-03   -1.5641    
  21  Prefactor      .0000        58.218        .14815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .59054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        2.8790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          26.835        28.604        .19538E-03   -1.5604    
  25  Prefactor      .0000        6.0495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .10000E-01    .35546        .14660       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .42814        .39781        .63133E-01   -1.1540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00462615
Minuit parameter uncertainties:
  1  0.0369916
  2  0.015267
  3  0.000171122
  4  0.0166513
  5  1328.05
  6  12473.7
  7  0.0423131
  8  50.3288
  9  9.14567e-05
  10  0.0320717
  11  0.000300297
  12  0.0133948
  13  6.56267e-06
  14  0.0227627
  15  0.0322794
  16  0.00471211
  17  0.00189401
  18  0.0112609
  19  281.256
  20  12.0878
  21  3.31171e-05
  22  3.65002e-08
  23  8.36913e-07
  24  28.6038
  25  1.27224e-06
  26  6.2854e-08
  27  0.400413
Done.

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

Extracting fit parameters...

4FGL J0833.9+4223
   Spectrum: PowerLaw
335    Prefactor:  0.000e+00  6.563e-06  0.000e+00  1.000e+06 ( 1.000e-13)
336        Index:  2.434e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  8.609e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  4.281e-01  4.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
662   Normalization:  1.000e-02  6.285e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 128.476 42.399
Photon Flux Upper Limit: 1.84e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/9162/likelihoodResults_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.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) = 297.166160284
delta logL = -0.00198694443799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 297.164173499
delta logL = -1.5877350279e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86597E-08   1.0000          .0000       .10000E+07
     2 'Index     '    3.0464       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42826       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   297.1642     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      228 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    299.85       -.24853E-05** at limit **
   2  Index         1.5137        5.6770       -.89666E-04   -.95591E-12
   3  Normalizat    .10000E-01    .36715       -.49803E-04** at limit **
   4  Prefactor     .42814        .33310       -.29966E-05   -.10083E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 1.5137
  Normalizat = 0.01
  Prefactor  = 0.428137
 **********
 **   18 **HESSE 
 **********

 FCN=   297.1642     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      265 TOTAL
                     EDM=   .47E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    18.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5137        5.0133        .50000       -.77157    
   3  Normalizat    .10000E-01    .39391E-04    .14660       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42814        .36848E-02    .63134E-01   -1.1540    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.72027e-14
Minuit parameter uncertainties:
  1  0.000156698
  2  139109
  3  7.16708e-09
  4  0.00368478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9162': 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): 102
logL (Free Index) = 297.16417334
delta logL = -5.68434188608e-13

Extracting fit parameters...

4FGL J0833.9+4223
   Spectrum: PowerLaw
335    Prefactor:  3.331e-10  1.567e-04  0.000e+00  1.000e+06 ( 1.000e-13)
336        Index:  1.514e+00  1.391e+05  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  8.609e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  4.281e-01  3.685e-03  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
662   Normalization:  1.000e-02  7.167e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 128.476 42.399

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/9162/cmap_HighResolution_694483201_694742401_4FGL_J0833.9+4223_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-01', job_status='DONE', photon_flux_upper_limit='1.84e-06', time_completed='2023-01-07 00:42:59.114151', job_id='9162', GAL2='0.43', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673080979.11', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='-5.68e-13', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1756' AND source_name='4FGL J0833.9+4223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:42:59 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 9162: <4FGL_J0833.9+4223_daily_bin1756> in cluster <slac> Done

Job <4FGL_J0833.9+4223_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:35:17 2023
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:35:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:35:53 2023
Terminated at Sat Jan  7 00:42:59 2023
Results reported at Sat Jan  7 00:42:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0833.9+4223_daily_bin1756 128.476 42.3989 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0833.9+4223 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   358.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   426 sec.
    Turnaround time :                            462 sec.

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

