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


Performing analysis on: 4FGL_J0833.9+4223_daily_bin1763
RA = 128.476, Dec = 42.3989
tmin = 696297601, tmax = 696556801
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='274853', job_status='RUN', time_executed='2023-01-28 00:37:19.674729', time_epoch_executed='1674895039.67' WHERE source_name='4FGL J0833.9+4223' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/274853

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/274853/ft1_4FGL_J0833.9+4223_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/274853/ft1_4FGL_J0833.9+4223_daily_bin1763.fits outfile=/scratch/kocevski/274853/ft1_filteredMKT_4FGL_J0833.9+4223_daily_bin1763.fits ra=128.476 dec=42.3989 rad=12.0 tmin=696297601.0 tmax=696556801.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.97
user 2.73
sys 0.22

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

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

Number of photons that the gtmktime cut: 657

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/274853/ft1_filtered_4FGL_J0833.9+4223_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/274853/ltcube_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.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/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits
.....................!
real 11.71
user 11.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/274853/ft1_filtered_4FGL_J0833.9+4223_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/274853/ltcube_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.fits outfile=/scratch/kocevski/274853/expmap_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.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/274853/ltcube_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.fits
.....................!
real 155.25
user 150.52
sys 4.45

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/274853/ft1_filtered_4FGL_J0833.9+4223_daily_bin1763.fits scfile=/scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits outfile=/scratch/kocevski/274853/cmap_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/274853/ft1_filtered_4FGL_J0833.9+4223_daily_bin1763.fits scfile=/scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits outfile=/scratch/kocevski/274853/cmap_HighResolution_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.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.51
user 0.35
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/274853/ft1_filtered_4FGL_J0833.9+4223_daily_bin1763.fits', '/scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits', expMap='/scratch/kocevski/274853/expmap_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.fits', expCube='/scratch/kocevski/274853/ltcube_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/274853/Model_4FGL_J0833.9+4223_daily_bin1763.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/274853/ft1_filtered_4FGL_J0833.9+4223_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/274853/ft2_4FGL_J0833.9+4223_daily_bin1763.fits
Exposure map: /scratch/kocevski/274853/expmap_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.fits
Exposure cube: /scratch/kocevski/274853/ltcube_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/274853/Model_4FGL_J0833.9+4223_daily_bin1763.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) = 7234.14921021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56593E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11840E-01   1.0000          .0000       .10000E+07
     3 'norm      '    2.2263       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14854E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    65.081       1.0000          .0000       .10000E+07
     6 'Prefactor '    30.739       1.0000          .0000       .10000E+07
     7 'norm      '    .12148E-04   1.0000          .0000       .10000E+07
     8 'norm      '    4.0739       1.0000          .0000       .10000E+07
     9 'norm      '    1.0627       1.0000          .0000       .10000E+07
    10 'Prefactor '    .39624E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.0398       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11468E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20832E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .72424E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.232       1.0000          .0000       .10000E+07
    16 'norm      '    .43554E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .12833E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .90524E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    23.996       1.0000          .0000       .10000E+07
    20 'Prefactor '    .57771       1.0000          .0000       .10000E+07
    21 'Prefactor '    .50114       1.0000          .0000       .10000E+07
    22 'norm      '    .11778       1.0000          .0000       .10000E+07
    23 'Prefactor '    .71987E-06   1.0000          .0000       .10000E+07
    24 'norm      '    .34511E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    .29654E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    .83577       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1666       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=   7234.122     FROM MIGRAD    STATUS=CONVERGED    220 CALLS     2523 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.7311        .45826E-06** at limit **
   2  Prefactor     .70963E-04    92.108       -.39754E-05** at limit **
   3  norm          2.2285        2.0443       -.25140E-07    .77826E-02
   4  Prefactor     .14420E-02    62.999       -.11246E-04** at limit **
   5  Prefactor     64.224        34.597        .21389E-05    .11177E-01
   6  Prefactor     30.757        7.3997       -.14222E-06    .59578E-02
   7  norm          .55511E-10    3.9125        .24154E-06** at limit **
   8  norm          4.0734        1.7594       -.21931E-06    .93555E-02
   9  norm          1.0629        .50890        .67587E-07    .67765E-02
  10  Prefactor     .38858E-09    20.511       -.15440E-05** at limit **
  11  Prefactor     7.9556        13.230        .92726E-06    .67890E-04
  12  Prefactor      .0000        1.4069       -.88380E-06** at limit **
  13  Prefactor      .0000        18.372        .16841E-07** at limit **
  14  Prefactor     .23442E-06    11.312        .26108E-05** at limit **
  15  Prefactor     10.202        7.9543        .52957E-06   -.29324E-02
  16  norm          .17059E-06    19.202        .98348E-06** at limit **
  17  norm          .62089E-06    13.125       -.47471E-05** at limit **
  18  Prefactor     .14433E-08    10.801       -.24970E-05** at limit **
  19  Prefactor     23.341        23.440       -.23110E-05   -.10393    
  20  Prefactor     .55554        3.1590        .96489E-06   -.17864E-02
  21  Prefactor     .40765        43.442        .44433E-05   -.18972E-01
  22  norm          .11685        .35512        .82353E-07** at limit **
  23  Prefactor     .55511E-10    2.1617        .58750E-06** at limit **
  24  norm          .84877E-07    39.358       -.41917E-05** at limit **
  25  Prefactor     .11102E-09    1.1207        .16388E-06** at limit **
  26  Normalizat    .83696        .19860       -.84083E-05    .15711E-03
  27  Prefactor     1.1668        .17270        .83319E-05    .78322E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.09626e-05
  norm       = 2.22847
  Prefactor  = 0.00144197
  Prefactor  = 64.2239
  Prefactor  = 30.7569
  norm       = 5.55112e-11
  norm       = 4.07339
  norm       = 1.06294
  Prefactor  = 3.88578e-10
  Prefactor  = 7.95563
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.34424e-07
  Prefactor  = 10.2017
  norm       = 1.70586e-07
  norm       = 6.20892e-07
  Prefactor  = 1.44329e-09
  Prefactor  = 23.3415
  Prefactor  = 0.555541
  Prefactor  = 0.407646
  norm       = 0.116848
  Prefactor  = 5.55112e-11
  norm       = 8.48766e-08
  Prefactor  = 1.11022e-10
  Normalizat = 0.836962
  Prefactor  = 1.16677
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.122     FROM HESSE     STATUS=OK           562 CALLS     3085 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.7368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .70963E-04    117.04        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2285        2.0472        .68880E-03   -1.5678    
   4  Prefactor     .14420E-02    10.483        .62997E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     64.224        48.081        .12397E-03   -1.5548    
   6  Prefactor     30.757        7.4140        .18039E-03   -1.5597    
   7  norm          .55511E-10    3.8957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.0734        1.7593        .49928E-03   -1.5668    
   9  norm          1.0629        .50633        .91199E-03   -1.5687    
  10  Prefactor     .38858E-09    20.284        .15981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9556        13.279        .35337E-03   -1.5652    
  12  Prefactor      .0000        1.4053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        18.269        .16983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23442E-06    11.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.202        7.9566        .31300E-03   -1.5644    
  16  norm          .17059E-06    2.6836        .53709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .62089E-06    13.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .14433E-08    10.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.341        38.230        .20419E-03   -1.5611    
  20  Prefactor     .55554        3.2900        .71249E-03   -1.5693    
  21  Prefactor     .40765        17.172        .10371E-01   -1.5695    
  22  norm          .11685        .33175        .13474E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    2.1452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .84877E-07    44.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .11102E-09    1.1187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .83696        .17624        .66533E-01   -.98712    
  27  Prefactor     1.1668        .15193        .35472E-01   -.87360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59057e-06
Minuit parameter uncertainties:
  1  4.00135e-06
  2  0.182273
  3  2.04724
  4  0.245894
  5  48.0817
  6  7.41404
  7  2.48609e-05
  8  1.75926
  9  0.50633
  10  0.000176036
  11  13.2792
  12  3.9863e-06
  13  2.13928e-05
  14  0.00327138
  15  7.95659
  16  0.00135319
  17  0.00574156
  18  0.000248498
  19  38.2306
  20  2.70385
  21  5.29151
  22  0.331748
  23  2.20164e-05
  24  0.00386738
  25  2.43429e-05
  26  0.17636
  27  0.151987
Done.

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

Extracting fit parameters...

4FGL J0833.9+4223
   Spectrum: PowerLaw
335    Prefactor:  0.000e+00  2.139e-05  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:  1.167e+00  1.520e-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:  8.370e-01  1.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 128.476 42.399
Photon Flux Upper Limit: 7.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/274853/likelihoodResults_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.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) = 7234.14829985
delta logL = -0.0261793479922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7234.12212087
delta logL = -3.65940650227e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7234.122     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      203 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3722        .42118E-03** at limit **
   2  Index         3.9976        1.2306        .47469E-04     .0000    
   3  Normalizat    .83697        1.1748        .67697E-05   -.18144E-04
   4  Prefactor     1.1668        1.1149       -.59623E-05    .32839E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.99764
  Normalizat = 0.836967
  Prefactor  = 1.16676
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7234.122     FROM HESSE     STATUS=FAILED         9 CALLS      212 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7339        2.2959        .47469E-04   -.20184    
   3  Normalizat    .83697        1.1748        .67697E-05   -.98712    
   4  Prefactor     1.1668        1.1149       -.59623E-05   -.87360    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.5797e-12
Minuit parameter uncertainties:
  1  1.10746e-06
  2  1.24393
  3  1.21371
  4  1.13865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/274853': 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): 101
logL (Free Index) = 7234.1221205
delta logL = 5.32054400537e-10

Extracting fit parameters...

4FGL J0833.9+4223
   Spectrum: PowerLaw
335    Prefactor:  0.000e+00  1.107e-06  0.000e+00  1.000e+06 ( 1.000e-13)
336        Index:  3.998e+00  1.244e+00  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:  1.167e+00  1.139e+00  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:  8.370e-01  1.214e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/274853/cmap_HighResolution_696297601_696556801_4FGL_J0833.9+4223_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='7.94e-08', time_completed='2023-01-28 00:48:26.466935', job_id='274853', GAL2='1.17', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1674895706.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='5.32e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1763' AND source_name='4FGL J0833.9+4223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:48:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 274853: <4FGL_J0833.9+4223_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0833.9+4223_daily_bin1763> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan 28 00:35:20 2023
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:36:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:36:02 2023
Terminated at Sat Jan 28 00:48:27 2023
Results reported at Sat Jan 28 00:48:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0833.9+4223_daily_bin1763 128.476 42.3989 696297601 696556801 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 :                                   668.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             311.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            787 sec.

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

