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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin760
RA = 124.695, Dec = 31.8862
tmin = 698630401, tmax = 699235201
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='15854', job_status='RUN', time_executed='2023-02-28 00:46:50.538980', time_epoch_executed='1677574010.54' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/15854

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/15854/ft1_4FGL_J0818.7+3153_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/15854/ft1_4FGL_J0818.7+3153_weekly_bin760.fits outfile=/scratch/kocevski/15854/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin760.fits ra=124.695 dec=31.8862 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.34
user 5.95
sys 0.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.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/15854/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.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.55
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 409

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/15854/ltcube_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.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/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits
.....................!
real 31.85
user 31.47
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/15854/ltcube_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.fits outfile=/scratch/kocevski/15854/expmap_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.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/15854/ltcube_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.fits
.....................!
real 191.69
user 186.18
sys 5.14

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

Setting source of interest to:
4FGL J0818.7+3153 @ 124.695 31.8862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits scfile=/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits outfile=/scratch/kocevski/15854/cmap_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.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=124.695 yref=31.8862 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.61
user 0.41
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits scfile=/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits outfile=/scratch/kocevski/15854/cmap_HighResolution_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.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=124.695 yref=31.8862 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.60
user 0.44
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/15854/Model_4FGL_J0818.7+3153_weekly_bin760.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/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits.....................!
real 53.57
user 52.24
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits', '/scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits', expMap='/scratch/kocevski/15854/expmap_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.fits', expCube='/scratch/kocevski/15854/ltcube_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/15854/Model_4FGL_J0818.7+3153_weekly_bin760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0818.7+3153'

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.482e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/15854/ft1_filtered_4FGL_J0818.7+3153_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/15854/ft2_4FGL_J0818.7+3153_weekly_bin760.fits
Exposure map: /scratch/kocevski/15854/expmap_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.fits
Exposure cube: /scratch/kocevski/15854/ltcube_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/15854/Model_4FGL_J0818.7+3153_weekly_bin760.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) = 4749.92216171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55377E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .99920E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.4077       1.0000          .0000       .10000E+07
     4 'Prefactor '    .52521E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .13050E-03   1.0000          .0000       .10000E+07
     6 'norm      '    199.62       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.891       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74375E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .36233       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85487E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86586E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.262       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9019       1.0000          .0000       .10000E+07
    14 'norm      '    2.6673       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29124       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32761E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10693       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0460       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97071       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4749.909     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1387 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    4.8384        .80322E-07** at limit **
   2  norm           .0000        1.1474       -.43040E-07** at limit **
   3  Prefactor     6.4867        11.894        .59432E-07    .64106E-01
   4  Prefactor      .0000        6.1760        .40974E-07** at limit **
   5  norm          .14533E-06    15.655        .11946E-07** at limit **
   6  norm          199.69        4.9578        .13415E-07   -.12415    
   7  Prefactor     18.900        8.1088        .91708E-08    .35289E-02
   8  Prefactor     .11890E-06    12.935       -.16488E-06** at limit **
   9  norm          .36208        .40088        .10823E-07    .48922E-02
  10  Prefactor     .69611E-07    8.1017       -.58802E-07** at limit **
  11  Prefactor     .59280E-06    14.463       -.21385E-06** at limit **
  12  Prefactor     14.205        67.867       -.76718E-06    .30434E-02
  13  Prefactor     2.9044        5.2339        .10651E-06    .31942E-02
  14  norm          2.7149        3.7812        .11889E-07   -.48211E-02
  15  Prefactor     .50308E-05    61.142        .15890E-06** at limit **
  16  Prefactor     .11102E-08    9.5764       -.51054E-08** at limit **
  17  Prefactor     .16653E-09    39.391        .14430E-06** at limit **
  18  Normalizat    1.0464        .27941        .10827E-05    .34706E-04
  19  Prefactor     .97077        .19384       -.64248E-06    .13420E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 6.4867
  Prefactor  = 0
  norm       = 1.45328e-07
  norm       = 199.687
  Prefactor  = 18.8999
  Prefactor  = 1.18905e-07
  norm       = 0.362084
  Prefactor  = 6.9611e-08
  Prefactor  = 5.92804e-07
  Prefactor  = 14.2055
  Prefactor  = 2.90435
  norm       = 2.71495
  Prefactor  = 5.03081e-06
  Prefactor  = 1.11022e-09
  Prefactor  = 1.66533e-10
  Normalizat = 1.04641
  Prefactor  = 0.970773
 **********
 **   18 **HESSE 
 **********

 FCN=   4749.909     FROM HESSE     STATUS=OK           300 CALLS     1687 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    4.8328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.1471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.4867        45.498        .39627E-03   -1.5657    
   4  Prefactor      .0000        6.1745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .14533E-06    20.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          199.69        149.53        .70785E-04   -1.5425    
   7  Prefactor     18.900        8.1561        .23016E-03   -1.5621    
   8  Prefactor     .11890E-06    13.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .36208        .41121        .93987E-03   -1.5696    
  10  Prefactor     .69611E-07    19.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .59280E-06    17.447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.205        63.960        .25612E-03   -1.5633    
  13  Prefactor     2.9044        5.2698        .59623E-03   -1.5674    
  14  norm          2.7149        3.6677        .62378E-03   -1.5675    
  15  Prefactor     .50308E-05    67.399        .10336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    9.5863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    39.383        .13747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0464        .23547        .65631E-01   -.91491    
  19  Prefactor     .97077        .16294        .45900E-01   -.93710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57712e-06
Minuit parameter uncertainties:
  1  3.1715e-05
  2  1.04865e-05
  3  34.3592
  4  6.41648e-06
  5  0.00345943
  6  149.532
  7  8.15608
  8  0.00250219
  9  0.411213
  10  0.00230508
  11  0.006432
  12  60.2867
  13  5.26979
  14  3.66775
  15  0.0368281
  16  0.000204808
  17  0.0001554
  18  0.235707
  19  0.163024
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  6.961e-08  2.305e-03  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.708e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.046e+00  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 9.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/15854/likelihoodResults_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.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) = 4749.93378502
delta logL = -0.02505640036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4749.90873318
delta logL = -4.55432564195e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4749.909     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      201 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    23.766       -.58854E-06** at limit **
   2  Index         1.7908        5.3935        .18952E-04    .31620E-11
   3  Normalizat    1.0464        .27008       -.45470E-05    .17038E-04
   4  Prefactor     .97077        .19327       -.76554E-06    .42647E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.7908
  Normalizat = 1.04641
  Prefactor  = 0.970773
 **********
 **   18 **HESSE 
 **********

 FCN=   4749.909     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      234 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    2.8408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7908        5.1231        .42227       -.69690    
   3  Normalizat    1.0464        .20640E-02    .65631E-01   -.91491    
   4  Prefactor     .97077        .14754E-02    .45897E-01   -.93710    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.40744e-12
Minuit parameter uncertainties:
  1  3.66844e-05
  2  298342
  3  0.00206398
  4  0.00147544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/15854': 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) = 4749.90872862
delta logL = 1.82353687705e-09

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.110e-10  3.668e-05  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  1.791e+00  2.983e+05  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.708e-01  1.475e-03  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.046e+00  2.064e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.695 31.886

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/15854/cmap_HighResolution_698630401_699235201_4FGL_J0818.7+3153_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-03', job_status='DONE', photon_flux_upper_limit='9.15e-08', time_completed='2023-02-28 00:55:42.140148', job_id='15854', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1677574542.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.82e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='760' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 00:55:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 15854: <4FGL_J0818.7+3153_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin760> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Feb 28 00:45:27 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:45:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:45:28 2023
Terminated at Tue Feb 28 00:55:42 2023
Results reported at Tue Feb 28 00:55:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin760 124.695 31.8862 698630401 699235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0818.7+3153 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   532.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             298.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            615 sec.

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

