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


Performing analysis on: 4FGL_J0949.2+1749_weekly_bin350
RA = 147.316, Dec = 17.83
tmin = 450662401, tmax = 451267201
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='70480', job_status='RUN', time_executed='2021-07-16 04:20:49.287376', time_epoch_executed='1626434449.29' WHERE source_name='4FGL J0949.2+1749' and cadence='weekly' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70480

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70480/ft1_4FGL_J0949.2+1749_weekly_bin350.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70480/ft1_4FGL_J0949.2+1749_weekly_bin350.fits outfile=/scratch/kocevski/70480/ft1_filteredMKT_4FGL_J0949.2+1749_weekly_bin350.fits ra=147.316 dec=17.83 rad=12.0 tmin=450662401.0 tmax=451267201.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 7.38
user 7.12
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.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/70480/ft1_filteredMKT_4FGL_J0949.2+1749_weekly_bin350.fits evtable="EVENTS" outfile="/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.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.54
user 0.38
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/70480/ltcube_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.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/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits
.....................!
real 30.55
user 29.99
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/70480/ltcube_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.fits outfile=/scratch/kocevski/70480/expmap_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.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/70480/ltcube_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.fits
.....................!
real 193.13
user 186.73
sys 5.87

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

Setting source of interest to:
4FGL J0949.2+1749 @ 147.316 17.83

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits scfile=/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits outfile=/scratch/kocevski/70480/cmap_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.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=147.316 yref=17.83 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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits scfile=/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits outfile=/scratch/kocevski/70480/cmap_HighResolution_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.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=147.316 yref=17.83 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.58
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70480/Model_4FGL_J0949.2+1749_weekly_bin350.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/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits....................!
real 105.80
user 104.13
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits', '/scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits', expMap='/scratch/kocevski/70480/expmap_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.fits', expCube='/scratch/kocevski/70480/ltcube_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/70480/Model_4FGL_J0949.2+1749_weekly_bin350.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.2+1749'

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.911e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/70480/ft1_filtered_4FGL_J0949.2+1749_weekly_bin350.fits
Spacecraft file(s): /scratch/kocevski/70480/ft2_4FGL_J0949.2+1749_weekly_bin350.fits
Exposure map: /scratch/kocevski/70480/expmap_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.fits
Exposure cube: /scratch/kocevski/70480/ltcube_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/70480/Model_4FGL_J0949.2+1749_weekly_bin350.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10448E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6330       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.789       1.0000         .10000E-03   10000.    
     7 'norm      '    .16142       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11770       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.499       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    21.470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.688       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.224       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1716       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .84575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12883.82     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1091 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9337       -.94765E-07** at limit **
   2  norm          .10000E-03    1.8035        .72402E-06** at limit **
   3  norm          .10000E-03    4.7274        .51468E-06** at limit **
   4  Prefactor     .10000E-03    7.6933       -.95854E-06** at limit **
   5  Prefactor     5.6337        3.5640        .45667E-06    .30267E-04
   6  Prefactor     16.766        16.699       -.36265E-05   -.18716E-03
   7  norm          .16117        .75826        .22905E-06    .14861E-03
   8  Prefactor     .10000E-03    1726.7        .12755E-04** at limit **
   9  Prefactor     21.519        18.386       -.10888E-04    .67557E-04
  10  Prefactor     .10000E-03    2.9233        .14866E-07** at limit **
  11  Prefactor     .10000E-03    1.0002        .20071E-06** at limit **
  12  norm          21.473        6.5043        .55795E-05   -.23882E-03
  13  Prefactor     19.692        3.0454       -.11235E-05    .42364E-04
  14  Prefactor     14.218        6.6584        .47566E-05    .19965E-03
  15  Normalizat    1.1716        .14327       -.36862E-05   -.10013E-03
  16  Prefactor     .84583        .12598       -.26106E-06   -.54296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.63365
  Prefactor  = 16.7661
  norm       = 0.161173
  Prefactor  = 0.000100002
  Prefactor  = 21.5194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.4732
  Prefactor  = 19.6916
  Prefactor  = 14.2183
  Normalizat = 1.17164
  Prefactor  = 0.845831
 **********
 **   18 **HESSE 
 **********

 FCN=   12883.82     FROM HESSE     STATUS=OK           251 CALLS     1342 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9322        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7887        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.7249        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.6962        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.6337        3.5642        .42314E-02   -1.5233    
   6  Prefactor     16.766        16.773        .24437E-02   -1.4889    
   7  norm          .16117        .51418        .23888E-01   -1.5628    
   8  Prefactor     .10000E-03    26.198        .16005       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.519        18.537        .21596E-02   -1.4780    
  10  Prefactor     .10000E-03    2.8619        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .61670        .35861E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.473        6.5125        .21611E-02   -1.4781    
  13  Prefactor     19.692        18.097        .22567E-02   -1.4820    
  14  Prefactor     14.218        6.6631        .26550E-02   -1.4954    
  15  Normalizat    1.1716        .12158        .52773E-01   -.87484    
  16  Prefactor     .84583        .10619        .44310E-01   -.98060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36483e-09
Minuit parameter uncertainties:
  1  6.51692e-07
  2  5.47498e-06
  3  1.606e-05
  4  2.53131e-07
  5  3.56434
  6  16.778
  7  0.514197
  8  0.000417019
  9  18.5422
  10  9.47336e-06
  11  6.23468e-06
  12  6.51267
  13  18.1016
  14  6.66343
  15  0.121612
  16  0.106212
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.152e+01  1.854e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.458e-01  1.062e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.172e+00  1.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.30e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 6.53e-06 +/- 5.62e-06

TS (Fixed Index): 2.06
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 6.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70480/likelihoodResults_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.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) = 12883.6110612
delta logL = 0.211525356666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12883.5942989
delta logL = 0.228287658796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.162       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0887       1.0000          .0000       10.000    
     3 'Normalizat'    1.1811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84026       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   12883.59     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      237 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.164        21.627        .79858E-04   -.70532E-03
   2  Index         2.0887        .59904        .12760E-01   -.24300E-03
   3  Normalizat    1.1811        .13877        .23250E-03    .24664E-03
   4  Prefactor     .84025        .12525        .24393E-03    .23416E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.1637
  Index      = 2.08871
  Normalizat = 1.18109
  Prefactor  = 0.840251
 **********
 **   18 **HESSE 
 **********

 FCN=   12883.59     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.164        21.719        .15972E-04   -1.4704    
   2  Index         2.0887        .60168        .51038E-03   -.62150    
   3  Normalizat    1.1811        .13889        .46499E-04   -.87189    
   4  Prefactor     .84025        .12535        .97570E-05   -.98261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56287e-09
Minuit parameter uncertainties:
  1  21.7263
  2  0.603898
  3  0.138931
  4  0.125397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70480': 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) = 12883.5942989
delta logL = 0.228287663585

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.516e+01  2.173e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.089e+00  6.039e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.403e-01  1.254e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.181e+00  1.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.09 +/- 0.60
Photon Flux (Free Index): 1.57e-08 +/- 1.80e-08
Energy Flux (Free Index): 8.82e-06 +/- 9.02e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/70480/cmap_HighResolution_450662401_451267201_4FGL_J0949.2+1749_weekly_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-03', comment='SUCCESS', photon_flux='2.30e-08', energy_flux2='8.82e-06', photon_flux_error='1.98e-08', dlogl='2.28e-01', energy_flux='6.53e-06', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-07-16 04:34:13.455346', photon_index_error2='0.60', photon_index2='2.09', ts='2.06', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='6.72e-08', energy_flux_error2='9.02e-06', EG='1.17', time_epoch_completed='1626435253.46', return_code='0', job_id='70480', GAL2='0.84', EG2='1.18', return_code2='0', energy_flux_error='5.62e-06', photon_flux_error2='1.80e-08', ts2='2.51', photon_index='2.52' WHERE bin_id='350' AND source_name='4FGL J0949.2+1749' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 04:34:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 70480: <4FGL_J0949.2+1749_weekly_bin350> in cluster <slac> Done

Job <4FGL_J0949.2+1749_weekly_bin350> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Jul 16 04:20:26 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 04:20:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 16 04:20:40 2021
Terminated at Fri Jul 16 04:34:14 2021
Results reported at Fri Jul 16 04:34:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_weekly_bin350 147.316 17.83 450662401 451267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0949.2+1749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   730.02 sec.
    Max Memory :                                 620 MB
    Average Memory :                             307.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            828 sec.

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

