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


Performing analysis on: 4FGL_J0949.2+1749_weekly_bin439
RA = 147.316, Dec = 17.83
tmin = 504489601, tmax = 505094401
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='72788', job_status='RUN', time_executed='2021-07-16 04:31:08.464511', time_epoch_executed='1626435068.46' WHERE source_name='4FGL J0949.2+1749' and cadence='weekly' and bin_id='439'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72788

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72788/ft1_4FGL_J0949.2+1749_weekly_bin439.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72788/ft1_4FGL_J0949.2+1749_weekly_bin439.fits outfile=/scratch/kocevski/72788/ft1_filteredMKT_4FGL_J0949.2+1749_weekly_bin439.fits ra=147.316 dec=17.83 rad=12.0 tmin=504489601.0 tmax=505094401.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 13.80
user 13.34
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.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/72788/ft1_filteredMKT_4FGL_J0949.2+1749_weekly_bin439.fits evtable="EVENTS" outfile="/scratch/kocevski/72788/ft1_filtered_4FGL_J0949.2+1749_weekly_bin439.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.18

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72788/ft1_filtered_4FGL_J0949.2+1749_weekly_bin439.fits evtable="EVENTS" scfile=/scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.fits sctable="SC_DATA" expcube=/scratch/kocevski/72788/ltcube_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.fits outfile=/scratch/kocevski/72788/expmap_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.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/72788/ltcube_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.fits
.....................!
real 191.80
user 186.36
sys 4.88

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/72788/ft1_filtered_4FGL_J0949.2+1749_weekly_bin439.fits scfile=/scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.fits outfile=/scratch/kocevski/72788/cmap_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.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.60
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72788/ft1_filtered_4FGL_J0949.2+1749_weekly_bin439.fits scfile=/scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.fits outfile=/scratch/kocevski/72788/cmap_HighResolution_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.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.60
user 0.43
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/72788/ft1_filtered_4FGL_J0949.2+1749_weekly_bin439.fits', '/scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.fits', expMap='/scratch/kocevski/72788/expmap_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.fits', expCube='/scratch/kocevski/72788/ltcube_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/72788/Model_4FGL_J0949.2+1749_weekly_bin439.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/72788/ft1_filtered_4FGL_J0949.2+1749_weekly_bin439.fits
Spacecraft file(s): /scratch/kocevski/72788/ft2_4FGL_J0949.2+1749_weekly_bin439.fits
Exposure map: /scratch/kocevski/72788/expmap_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.fits
Exposure cube: /scratch/kocevski/72788/ltcube_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/72788/Model_4FGL_J0949.2+1749_weekly_bin439.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) = 11558.0614241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2548       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    50.610       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5697       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .53404       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7538       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0192       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .58893       1.0000         .10000E-03   10000.    
    12 'norm      '    11.511       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .87076       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2161       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93624       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11558.06     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1489 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2546        9.4849         .0000        .28154E-02
   2  norm          .10000E-03    1.0222         .0000    ** at limit **
   3  norm          50.610        31.330         .0000        .36554E-03
   4  Prefactor     .10000E-03    14.551         .0000    ** at limit **
   5  Prefactor     2.5689        4.2551         .0000        .28190E-01
   6  Prefactor     .10000E-03    6.3467         .0000    ** at limit **
   7  norm          .53394        .95085         .0000        .29639E-02
   8  Prefactor     .10000E-03    44.058         .0000    ** at limit **
   9  Prefactor     1.7524        16.066         .0000        .57971E-02
  10  Prefactor     4.0171        5.1713         .0000        .74972E-03
  11  Prefactor     .58869        1.4393         .0000        .18877E-02
  12  norm          11.511        7.2840         .0000       -.20299E-02
  13  Prefactor     .10000E-03    9.4691         .0000    ** at limit **
  14  Prefactor     .82616        5.1176         .0000       -.32543E-03
  15  Normalizat    1.2163        .13700         .0000        .29738E-04
  16  Prefactor     .93610        .11700         .0000        .49296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.25463
  norm       = 0.0001
  norm       = 50.6102
  Prefactor  = 0.0001
  Prefactor  = 2.56889
  Prefactor  = 0.0001
  norm       = 0.533942
  Prefactor  = 0.000100001
  Prefactor  = 1.75243
  Prefactor  = 4.01709
  Prefactor  = 0.588693
  norm       = 11.5106
  Prefactor  = 0.000100004
  Prefactor  = 0.826162
  Normalizat = 1.21631
  Prefactor  = 0.936101
 **********
 **   18 **HESSE 
 **********

 FCN=   11558.06     FROM HESSE     STATUS=OK           207 CALLS     1696 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2546        9.4743        .80253E-03   -1.5208    
   2  norm          .10000E-03    1.0224        .10615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          50.610        31.321        .56372E-04   -1.4284    
   4  Prefactor     .10000E-03    14.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5689        4.2562        .12732E-02   -1.5387    
   6  Prefactor     .10000E-03    6.3534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .53394        .93990        .12935E-03   -1.5562    
   8  Prefactor     .10000E-03    44.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7524        16.042        .15827E-02   -1.5443    
  10  Prefactor     4.0171        5.1295        .20115E-03   -1.5307    
  11  Prefactor     .58869        1.4696        .19100E-02   -1.5555    
  12  norm          11.511        7.2668        .11808E-03   -1.5029    
  13  Prefactor     .10000E-03    9.4794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .82616        17.887        .45468E-02   -1.5526    
  15  Normalizat    1.2163        .16197        .23990E-03   -.86100    
  16  Prefactor     .93610        .13909        .24304E-03   -.94891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12334e-08
Minuit parameter uncertainties:
  1  9.47653
  2  5.25536e-07
  3  31.3311
  4  9.92785e-05
  5  4.25671
  6  3.25105e-05
  7  0.939921
  8  0.000337744
  9  10.6076
  10  5.13002
  11  1.46969
  12  7.2674
  13  0.000365924
  14  7.69047
  15  0.162035
  16  0.139147
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.752e+00  1.061e+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:  9.361e-01  1.391e-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.216e+00  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/72788/likelihoodResults_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.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) = 11557.9455807
delta logL = 0.111822708384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11557.9454696
delta logL = 0.111933786133

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6985       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8678       1.0000          .0000       10.000    
     3 'Normalizat'    1.2183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93307       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.

 FCN=   11557.95     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5313        12.900        .42067E-02    .53969E-04
   2  Index         1.8661        1.0334        .26610E-01   -.32525E-04
   3  Normalizat    1.2183        .12775        .54215E-01    .50005E-05
   4  Prefactor     .93315        .11589        .45425E-01    .13380E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.53133
  Index      = 1.86611
  Normalizat = 1.21831
  Prefactor  = 0.933148
 **********
 **   18 **HESSE 
 **********

 FCN=   11557.95     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5313        12.960        .16827E-03   -1.5238    
   2  Index         1.8661        1.0410        .10644E-02   -.67741    
   3  Normalizat    1.2183        .15080        .23972E-03   -.86039    
   4  Prefactor     .93315        .13682        .24335E-03   -.94992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8547e-11
Minuit parameter uncertainties:
  1  12.9662
  2  1.05379
  3  0.150856
  4  0.136872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72788': 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) = 11557.9453872
delta logL = 0.112016152216

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  5.531e+00  1.297e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.866e+00  1.054e+00  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:  9.331e-01  1.369e-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.218e+00  1.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 147.316 17.830

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/72788/cmap_HighResolution_504489601_505094401_4FGL_J0949.2+1749_weekly_bin439.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-03', job_status='DONE', photon_flux_upper_limit='4.14e-08', time_completed='2021-07-16 04:43:55.366242', job_id='72788', GAL2='0.93', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1626435835.37', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.12e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='439' AND source_name='4FGL J0949.2+1749' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 04:43:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 72788: <4FGL_J0949.2+1749_weekly_bin439> in cluster <slac> Done

Job <4FGL_J0949.2+1749_weekly_bin439> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Jul 16 04:30:24 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 04:30:56 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:30:56 2021
Terminated at Fri Jul 16 04:43:56 2021
Results reported at Fri Jul 16 04:43:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_weekly_bin439 147.316 17.83 504489601 505094401 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 :                                   751.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            812 sec.

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

