aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 17 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0812.6+2821_weekly_bin649
RA = 123.156, Dec = 28.3574
tmin = 631497601, tmax = 632102401
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='520594', job_status='RUN', time_executed='2021-07-12 04:43:06.801738', time_epoch_executed='1626090186.8' WHERE source_name='4FGL J0812.6+2821' and cadence='weekly' and bin_id='649'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520594

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520594/ft1_4FGL_J0812.6+2821_weekly_bin649.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520594/ft1_4FGL_J0812.6+2821_weekly_bin649.fits outfile=/scratch/kocevski/520594/ft1_filteredMKT_4FGL_J0812.6+2821_weekly_bin649.fits ra=123.156 dec=28.3574 rad=12.0 tmin=631497601.0 tmax=632102401.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 5.56
user 5.24
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.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/520594/ft1_filteredMKT_4FGL_J0812.6+2821_weekly_bin649.fits evtable="EVENTS" outfile="/scratch/kocevski/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.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.58
user 0.39
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.fits" evtable="EVENTS" scfile=/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits sctable="SC_DATA" outfile=/scratch/kocevski/520594/ltcube_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.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/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits
.....................!
real 33.28
user 32.63
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.fits evtable="EVENTS" scfile=/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits sctable="SC_DATA" expcube=/scratch/kocevski/520594/ltcube_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.fits outfile=/scratch/kocevski/520594/expmap_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.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/520594/ltcube_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.fits
.....................!
real 197.40
user 190.96
sys 5.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 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/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.fits scfile=/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits outfile=/scratch/kocevski/520594/cmap_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.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 1.23
user 0.40
sys 0.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.fits scfile=/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits outfile=/scratch/kocevski/520594/cmap_HighResolution_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.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.62
user 0.44
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.fits', '/scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits', expMap='/scratch/kocevski/520594/expmap_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.fits', expCube='/scratch/kocevski/520594/ltcube_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/520594/Model_4FGL_J0812.6+2821_weekly_bin649.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  1.000e-04  1.000e+04 ( 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/520594/ft1_filtered_4FGL_J0812.6+2821_weekly_bin649.fits
Spacecraft file(s): /scratch/kocevski/520594/ft2_4FGL_J0812.6+2821_weekly_bin649.fits
Exposure map: /scratch/kocevski/520594/expmap_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.fits
Exposure cube: /scratch/kocevski/520594/ltcube_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/520594/Model_4FGL_J0812.6+2821_weekly_bin649.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) = 1640.85106888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.685       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    26.325       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .51440       1.0000         .10000E-03   10000.    
    15 'norm      '    .19059       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    51.653       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .98156E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4845       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=   1640.839     FROM MIGRAD    STATUS=CONVERGED     67 CALLS     1951 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    19.972       -.11097E-04** at limit **
   2  Prefactor     .10551E-03    44.786       -.64373E-04** at limit **
   3  norm          16.687        1.0238        .28543E-06   -.85542E-04
   4  Prefactor     .10068E-03    22.733        .54977E-04** at limit **
   5  Prefactor     .10008E-03    9.8942        .29473E-04** at limit **
   6  Prefactor     .10041E-03    12.172        .87893E-05** at limit **
   7  Prefactor     .10024E-03    27.457       -.23369E-04** at limit **
   8  norm          26.331        1.3582        .13441E-05   -.12840E-02
   9  norm          .10154E-03    22.916       -.48676E-05** at limit **
  10  Prefactor     .10017E-03    6.7889       -.24609E-04** at limit **
  11  Prefactor     .10014E-03    8.8109       -.34953E-04** at limit **
  12  Prefactor     .10010E-03    10.344        .31400E-04** at limit **
  13  Prefactor     .10008E-03    5.6413       -.66688E-05** at limit **
  14  Prefactor     .51442        8.1999       -.23862E-05   -.40827E-04
  15  norm          .19160        6.3456        .54233E-06   -.36270E-03
  16  Prefactor     .10028E-03    14.883        .26881E-04** at limit **
  17  Prefactor     .10000E-03    11.005       -.35528E-04** at limit **
  18  Prefactor     51.658        1.3088        .92383E-06   -.19959E-02
  19  Normalizat    .98173E-01    .41620        .83679E-05   -.73193E-04
  20  Prefactor     1.4845        .33846       -.38297E-05   -.45897E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Prefactor  = 0.000105513
  norm       = 16.6874
  Prefactor  = 0.00010068
  Prefactor  = 0.000100077
  Prefactor  = 0.000100412
  Prefactor  = 0.000100239
  norm       = 26.3314
  norm       = 0.00010154
  Prefactor  = 0.000100174
  Prefactor  = 0.000100144
  Prefactor  = 0.0001001
  Prefactor  = 0.00010008
  Prefactor  = 0.514415
  norm       = 0.191596
  Prefactor  = 0.000100278
  Prefactor  = 0.000100001
  Prefactor  = 51.6583
  Normalizat = 0.0981728
  Prefactor  = 1.48445
 **********
 **   18 **HESSE 
 **********

 FCN=   1640.839     FROM HESSE     STATUS=NOT POSDEF   329 CALLS     2280 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    19.317        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10551E-03    97.821        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.687        15.162        .24513E-02   -1.4891    
   4  Prefactor     .10068E-03    51.053        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10008E-03    22.753        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10041E-03    37.285        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10024E-03    81.531        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          26.331        34.190        .19519E-02   -1.4681    
   9  norm          .10154E-03    75.686        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10017E-03    26.015        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10014E-03    27.347        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10010E-03    22.708        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10008E-03    24.700        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51442        20.750        .11329E-01   -1.5565    
  15  norm          .19160        5.9424        .23921E-01   -1.5620    
  16  Prefactor     .10028E-03    40.978        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    33.144        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     51.658        106.28        .13951E-02   -1.4269    
  19  Normalizat    .98173E-01    9.4344        .17066       -1.3826    
  20  Prefactor     1.4845        1.9587        .29988E-01   -.77976    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03721e-07
Minuit parameter uncertainties:
  1  0.00101713
  2  0.0465226
  3  15.1651
  4  0.0117933
  5  0.0026567
  6  0.00784755
  7  0.00883931
  8  34.2156
  9  0.021617
  10  0.00425282
  11  0.00397382
  12  0.00301892
  13  0.00280681
  14  6.53608
  15  2.13372
  16  0.00674942
  17  0.000410228
  18  106.678
  19  2.50252
  20  2.07441
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1640.83909439

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.002e-04  4.253e-03  1.000e-04  1.000e+04 ( 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:  1.484e+00  2.074e+00  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.817e-02  2.503e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.156 28.357
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520594/likelihoodResults_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1640.83925184
delta logL = -0.000157441832698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1640.83909534
delta logL = -9.4256211014e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11459E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2850       1.0000          .0000       10.000    
     3 'Normalizat'    .98120E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4845       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=   1640.839     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10173E-03    98.874        .18142E-02** at limit **
   2  Index         2.2204        5.4993        .50000        .15055E-04
   3  Normalizat    .98169E-01    .16530E-01    .71815E-02    .33784E-04
   4  Prefactor     1.4845        .14410E-01    .17312E-03    .14276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101729
  Index      = 2.22041
  Normalizat = 0.0981695
  Prefactor  = 1.48446
 **********
 **   18 **HESSE 
 **********

 FCN=   1640.839     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      313 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10173E-03    432.74        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2204        5.6196        .50000       -.58947    
   3  Normalizat    .98169E-01    .35318E-01    .28726E-03   -1.3826    
   4  Prefactor     1.4845        .30791E-01    .34624E-04   -.77976    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.56874e-09
Minuit parameter uncertainties:
  1  0.0551071
  2  348.788
  3  0.0353269
  4  0.0307917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520594': 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) = 1640.83909477
delta logL = -3.75952822651e-07

Extracting fit parameters...

4FGL J0812.6+2821
   Spectrum: PowerLaw
289    Prefactor:  1.017e-04  5.511e-02  1.000e-04  1.000e+04 ( 1.000e-14)
290        Index:  2.220e+00  3.488e+02  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:  1.484e+00  3.079e-02  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.817e-02  3.533e-02  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/520594/cmap_HighResolution_631497601_632102401_4FGL_J0812.6+2821_weekly_bin649.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2021-07-12 04:50:48.981640', job_id='520594', GAL2='1.48', fit_tolerance='1e-08', EG2='0.10', EG='0.10', time_epoch_completed='1626090648.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='102', GAL='1.48', dlogl='-3.76e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='649' AND source_name='4FGL J0812.6+2821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Mon Jul 12 04:50:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 520594: <4FGL_J0812.6+2821_weekly_bin649> in cluster <slac> Done

Job <4FGL_J0812.6+2821_weekly_bin649> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jul 12 04:41:04 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 04:42:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 12 04:42:27 2021
Terminated at Mon Jul 12 04:50:49 2021
Results reported at Mon Jul 12 04:50:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0812.6+2821_weekly_bin649 123.156 28.3574 631497601 632102401 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 :                                   444.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   502 sec.
    Turnaround time :                            585 sec.

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

