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


Performing analysis on: 4FGL_J0812.6+2821_weekly_bin752
RA = 123.156, Dec = 28.3574
tmin = 693792001, tmax = 694396801
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='435001', job_status='RUN', time_executed='2023-01-03 01:31:55.428801', time_epoch_executed='1672738315.43' WHERE source_name='4FGL J0812.6+2821' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435001

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435001/ft1_4FGL_J0812.6+2821_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435001/ft1_4FGL_J0812.6+2821_weekly_bin752.fits outfile=/scratch/kocevski/435001/ft1_filteredMKT_4FGL_J0812.6+2821_weekly_bin752.fits ra=123.156 dec=28.3574 rad=12.0 tmin=693792001.0 tmax=694396801.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.98
user 6.66
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.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/435001/ft1_filteredMKT_4FGL_J0812.6+2821_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.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.59
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 601

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/435001/ltcube_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.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/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits
.....................!
real 28.54
user 28.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/435001/ltcube_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.fits outfile=/scratch/kocevski/435001/expmap_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.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/435001/ltcube_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.fits
.....................!
real 156.36
user 151.11
sys 4.91

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/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.fits scfile=/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits outfile=/scratch/kocevski/435001/cmap_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.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.53
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.fits scfile=/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits outfile=/scratch/kocevski/435001/cmap_HighResolution_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.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.51
user 0.35
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.fits', '/scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits', expMap='/scratch/kocevski/435001/expmap_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.fits', expCube='/scratch/kocevski/435001/ltcube_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/435001/Model_4FGL_J0812.6+2821_weekly_bin752.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/435001/ft1_filtered_4FGL_J0812.6+2821_weekly_bin752.fits
Spacecraft file(s): /scratch/kocevski/435001/ft2_4FGL_J0812.6+2821_weekly_bin752.fits
Exposure map: /scratch/kocevski/435001/expmap_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.fits
Exposure cube: /scratch/kocevski/435001/ltcube_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/435001/Model_4FGL_J0812.6+2821_weekly_bin752.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) = 6543.89453598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94618       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.7458       1.0000          .0000       .10000E+07
     3 'norm      '    .52180E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.754       1.0000          .0000       .10000E+07
     5 'Prefactor '    30.565       1.0000          .0000       .10000E+07
     6 'Prefactor '    33.548       1.0000          .0000       .10000E+07
     7 'norm      '    .44023E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .27930       1.0000          .0000       .10000E+07
     9 'Prefactor '    .70950E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80760E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22372E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.0941       1.0000          .0000       .10000E+07
    13 'norm      '    .11602E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.3053       1.0000          .0000       .10000E+07
    15 'Prefactor '    25.563       1.0000          .0000       .10000E+07
    16 'Normalizat'    .95979       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88041       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=   6543.892     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1225 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94636        .53824       -.14237E-06   -.28327E-01
   2  Prefactor     7.7474        3.2128       -.41833E-06   -.87594E-01
   3  norm           .0000        2.2067        .16711E-05** at limit **
   4  Prefactor     13.886        31.723        .20996E-05    .73331E-01
   5  Prefactor     30.524        15.499       -.10750E-05   -.44024E-03
   6  Prefactor     33.736        24.527        .14273E-05   -.16092    
   7  norm          .55511E-10    4.0412       -.76032E-06** at limit **
   8  norm          .99920E-09    64.468       -.66296E-06** at limit **
   9  Prefactor     .10492E-07    38.643        .14892E-05** at limit **
  10  Prefactor      .0000        5.7242        .14271E-05** at limit **
  11  Prefactor      .0000        14.558       -.21678E-05** at limit **
  12  Prefactor     3.0938        2.8538        .68863E-06    .81090E-03
  13  norm           .0000        .62368        .41829E-07** at limit **
  14  Prefactor     9.2877        8.1891        .19420E-06    .48800E-02
  15  Prefactor     25.519        8.6695        .68214E-06    .43821E-01
  16  Normalizat    .95985        .19716        .22668E-04    .15660E-04
  17  Prefactor     .88044        .15073       -.18128E-04   -.27266E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.946362
  Prefactor  = 7.74743
  norm       = 0
  Prefactor  = 13.8861
  Prefactor  = 30.5238
  Prefactor  = 33.736
  norm       = 5.55112e-11
  norm       = 9.99201e-10
  Prefactor  = 1.04916e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.09378
  norm       = 0
  Prefactor  = 9.2877
  Prefactor  = 25.5194
  Normalizat = 0.959854
  Prefactor  = 0.880437
 **********
 **   18 **HESSE 
 **********

 FCN=   6543.892     FROM HESSE     STATUS=OK           265 CALLS     1490 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94636        4.8995        .42618E-03   -1.5689    
   2  Prefactor     7.7474        12.131        .36006E-03   -1.5652    
   3  norm           .0000        2.2019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.886        35.044        .26982E-03   -1.5633    
   5  Prefactor     30.524        18.717        .18091E-03   -1.5597    
   6  Prefactor     33.736        52.297        .17267E-03   -1.5592    
   7  norm          .55511E-10    4.0367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .99920E-09    64.758        .10507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10492E-07    37.196        .14787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.7201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        7.6289        .83035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0938        2.8633        .57629E-03   -1.5673    
  13  norm           .0000        .60140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2877        8.1784        .32830E-03   -1.5647    
  15  Prefactor     25.519        18.213        .19783E-03   -1.5607    
  16  Normalizat    .95985        .17107        .45661E-01   -.94388    
  17  Prefactor     .88044        .12888        .44755E-01   -.96828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70848e-06
Minuit parameter uncertainties:
  1  4.30661
  2  12.1312
  3  1.52545e-06
  4  35.0446
  5  18.7166
  6  52.2976
  7  3.59538e-05
  8  0.000510587
  9  0.0012495
  10  2.03099e-05
  11  1.40129e-05
  12  2.8633
  13  1.20253e-06
  14  8.17843
  15  18.2132
  16  0.171164
  17  0.128921
Done.

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

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.049e-08  1.249e-03  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:  8.804e-01  1.289e-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:  9.599e-01  1.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/435001/likelihoodResults_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.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) = 6543.90532198
delta logL = -0.013180110047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6543.89214191
delta logL = -3.20233084494e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30920E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0399       1.0000          .0000       10.000    
     3 'Normalizat'    .95982       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88046       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.

 FCN=   6543.892     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      231 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77716E-09    1.9211        .42118E-03** at limit **
   2  Index         .76663        8.4459        .40543       -.24115E-09
   3  Normalizat    .95985        .19602E-02    .45661E-01   -.89868E-03
   4  Prefactor     .88044        .15590E-02    .44755E-01   -.33107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77156e-10
  Index      = 0.76663
  Normalizat = 0.959846
  Prefactor  = 0.880442
 **********
 **   18 **HESSE 
 **********

 FCN=   6543.892     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      256 TOTAL
                     EDM=   .69E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77716E-09    18.004        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76663        9.6163        .50000       -1.0097    
   3  Normalizat    .95985        .60074E-02    .24930E-03   -.94388    
   4  Prefactor     .88044        .47783E-02    .20504E-03   -.96828    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.89981e-12
Minuit parameter uncertainties:
  1  0.000240659
  2  134714
  3  0.00600745
  4  0.00477829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435001': 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) = 6543.89214187
delta logL = -8.65838956088e-10

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  7.772e-10  2.407e-04  0.000e+00  1.000e+06 ( 1.000e-14)
290        Index:  7.666e-01  1.347e+05  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:  8.804e-01  4.778e-03  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:  9.598e-01  6.007e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.156 28.357

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/435001/cmap_HighResolution_693792001_694396801_4FGL_J0812.6+2821_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-03', job_status='DONE', photon_flux_upper_limit='5.12e-08', time_completed='2023-01-03 01:40:04.988369', job_id='435001', GAL2='0.88', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1672738804.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-8.66e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='752' AND source_name='4FGL J0812.6+2821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:40:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 435001: <4FGL_J0812.6+2821_weekly_bin752> in cluster <slac> Done

Job <4FGL_J0812.6+2821_weekly_bin752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan  3 01:30:24 2023
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:30:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:30:35 2023
Terminated at Tue Jan  3 01:40:06 2023
Results reported at Tue Jan  3 01:40:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0812.6+2821_weekly_bin752 123.156 28.3574 693792001 694396801 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 :                                   485.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            582 sec.

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

