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


Performing analysis on: 4FGL_J0812.6+2821_daily_bin1776
RA = 123.156, Dec = 28.3574
tmin = 699667201, tmax = 699926401
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='829935', job_status='RUN', time_executed='2023-03-08 00:27:13.468374', time_epoch_executed='1678264033.47' WHERE source_name='4FGL J0812.6+2821' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829935

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829935/ft1_4FGL_J0812.6+2821_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829935/ft1_4FGL_J0812.6+2821_daily_bin1776.fits outfile=/scratch/kocevski/829935/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin1776.fits ra=123.156 dec=28.3574 rad=12.0 tmin=699667201.0 tmax=699926401.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.95
user 3.70
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.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/829935/ft1_filteredMKT_4FGL_J0812.6+2821_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.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.49
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/829935/ltcube_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.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/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits
.....................!
real 13.45
user 13.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/829935/ltcube_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.fits outfile=/scratch/kocevski/829935/expmap_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.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/829935/ltcube_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.fits
.....................!
real 191.51
user 186.24
sys 4.89

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

Setting source of interest to:
4FGL J0812.6+2821 @ 123.156 28.3574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits scfile=/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits outfile=/scratch/kocevski/829935/cmap_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.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=123.156 yref=28.3574 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits scfile=/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits outfile=/scratch/kocevski/829935/cmap_HighResolution_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.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=123.156 yref=28.3574 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829935/Model_4FGL_J0812.6+2821_daily_bin1776.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/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits.....................!
real 64.27
user 62.97
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits', '/scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits', expMap='/scratch/kocevski/829935/expmap_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.fits', expCube='/scratch/kocevski/829935/ltcube_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829935/Model_4FGL_J0812.6+2821_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0812.6+2821'

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  2.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/829935/ft1_filtered_4FGL_J0812.6+2821_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/829935/ft2_4FGL_J0812.6+2821_daily_bin1776.fits
Exposure map: /scratch/kocevski/829935/expmap_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.fits
Exposure cube: /scratch/kocevski/829935/ltcube_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829935/Model_4FGL_J0812.6+2821_daily_bin1776.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) = 6519.33229808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32811E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.1817       1.0000          .0000       .10000E+07
     3 'norm      '    .56710E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    36.487       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.8354       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26776E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .51019       1.0000          .0000       .10000E+07
     8 'norm      '    .83458E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.109       1.0000          .0000       .10000E+07
    10 'Prefactor '    .94738E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25480       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0872       1.0000          .0000       .10000E+07
    13 'norm      '    .35122E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10316E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    28.871       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0286       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6519.287     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1229 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2918       -.16530E-06** at limit **
   2  Prefactor     7.3597        12.196        .85241E-06   -.19324E-01
   3  norm           .0000        1.5382        .20328E-06** at limit **
   4  Prefactor     36.840        4.0599       -.93828E-08    .11317    
   5  Prefactor     7.8150        10.810        .48371E-06   -.64541E-01
   6  Prefactor     .53069E-07    16.239        .61701E-06** at limit **
   7  norm          .48435        15.341       -.15290E-05   -.35677E-01
   8  norm          .36060E-06    78.206       -.63541E-07** at limit **
   9  Prefactor     14.220        1.1663       -.70117E-08   -.76307E-02
  10  Prefactor     .55511E-10    26.430       -.24095E-06** at limit **
  11  Prefactor     .12713E-04    27.558        .76981E-06** at limit **
  12  Prefactor     1.0864        1.8387       -.10150E-06    .29438E-03
  13  norm           .0000        .92735        .13296E-06** at limit **
  14  Prefactor      .0000        4.1412       -.13720E-06** at limit **
  15  Prefactor     28.508        12.388        .62151E-07    .14384E-01
  16  Normalizat    1.0293        .18971        .14407E-05    .51037E-04
  17  Prefactor     .93697        .15279       -.44284E-05    .78974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.35972
  norm       = 0
  Prefactor  = 36.84
  Prefactor  = 7.81501
  Prefactor  = 5.30687e-08
  norm       = 0.484352
  norm       = 3.606e-07
  Prefactor  = 14.2203
  Prefactor  = 5.55112e-11
  Prefactor  = 1.2713e-05
  Prefactor  = 1.08641
  norm       = 0
  Prefactor  = 0
  Prefactor  = 28.508
  Normalizat = 1.02934
  Prefactor  = 0.936974
 **********
 **   18 **HESSE 
 **********

 FCN=   6519.287     FROM HESSE     STATUS=OK           261 CALLS     1490 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.3597        12.350        .37406E-03   -1.5654    
   3  norm           .0000        1.5335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.840        36.380        .16557E-03   -1.5587    
   5  Prefactor     7.8150        14.519        .35798E-03   -1.5652    
   6  Prefactor     .53069E-07    16.569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48435        25.219        .77691E-03   -1.5694    
   8  norm          .36060E-06    78.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.220        20.249        .26639E-03   -1.5633    
  10  Prefactor     .55511E-10    26.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12713E-04    14.216        .10872E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.0864        2.1119        .32226E-02   -1.5687    
  13  norm           .0000        .89725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        4.1367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.508        16.526        .18614E-03   -1.5601    
  16  Normalizat    1.0293        .17151        .42302E-01   -.92054    
  17  Prefactor     .93697        .13237        .45479E-01   -.94861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71446e-07
Minuit parameter uncertainties:
  1  1.64832e-05
  2  12.3503
  3  4.83469e-06
  4  36.3799
  5  14.5194
  6  0.00187578
  7  6.99001
  8  0.0106745
  9  20.2491
  10  9.22822e-05
  11  0.0268875
  12  2.11187
  13  1.82939e-06
  14  4.21746e-06
  15  16.5261
  16  0.171607
  17  0.132415
Done.

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

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.422e+01  2.025e+01  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  2.111e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.370e-01  1.324e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.029e+00  1.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 6.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829935/likelihoodResults_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.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) = 6519.2675283
delta logL = 0.0199114597372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6519.24881999
delta logL = 0.0386197698326

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6519.249     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      246 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.209        35.450        .89028E-05    .32563E-03
   2  Index         1.8861        .80457        .96956E-02   -.32108E-04
   3  Normalizat    1.0324        .18895        .24660E-03   -.29029E-03
   4  Prefactor     .93524        .15210        .20647E-03   -.24755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2092
  Index      = 1.88612
  Normalizat = 1.03236
  Prefactor  = 0.935242
 **********
 **   18 **HESSE 
 **********

 FCN=   6519.249     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.209        33.560        .35611E-06   -1.5618    
   2  Index         1.8861        .76247        .38782E-03   -.67229    
   3  Normalizat    1.0324        .18903        .49319E-04   -.91954    
   4  Prefactor     .93524        .15218        .41294E-04   -.94920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88152e-10
Minuit parameter uncertainties:
  1  33.5607
  2  0.767378
  3  0.189155
  4  0.152251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829935': 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) = 6519.24881944
delta logL = 0.0386203153566

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  2.021e+01  3.356e+01  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  1.886e+00  7.674e-01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  2.639e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.352e-01  1.523e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.032e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 123.156 28.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/829935/cmap_HighResolution_699667201_699926401_4FGL_J0812.6+2821_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2023-03-08 00:36:05.320564', job_id='829935', GAL2='0.94', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1678264565.32', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.86e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1776' AND source_name='4FGL J0812.6+2821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:36:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 829935: <4FGL_J0812.6+2821_daily_bin1776> in cluster <slac> Done

Job <4FGL_J0812.6+2821_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:25:20 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:25:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:25:21 2023
Terminated at Wed Mar  8 00:36:05 2023
Results reported at Wed Mar  8 00:36:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0812.6+2821_daily_bin1776 123.156 28.3574 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0812.6+2821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   534.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            645 sec.

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

