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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin730
RA = 147.316, Dec = 17.83
tmin = 428544001, tmax = 428803201
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='532729', job_status='RUN', time_executed='2021-09-01 03:39:51.204101', time_epoch_executed='1630492791.2' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532729

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532729/ft1_4FGL_J0949.2+1749_daily_bin730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532729/ft2_4FGL_J0949.2+1749_daily_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532729/ft1_4FGL_J0949.2+1749_daily_bin730.fits outfile=/scratch/kocevski/532729/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin730.fits ra=147.316 dec=17.83 rad=12.0 tmin=428544001.0 tmax=428803201.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.17
user 5.95
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532729/ft2_4FGL_J0949.2+1749_daily_bin730.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/532729/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/532729/ft1_filtered_4FGL_J0949.2+1749_daily_bin730.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.36
sys 0.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532729/ft1_filtered_4FGL_J0949.2+1749_daily_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/532729/ft2_4FGL_J0949.2+1749_daily_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/532729/ltcube_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.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/532729/ft2_4FGL_J0949.2+1749_daily_bin730.fits
.....................!
real 11.95
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532729/ft1_filtered_4FGL_J0949.2+1749_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/532729/ft2_4FGL_J0949.2+1749_daily_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/532729/ltcube_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.fits outfile=/scratch/kocevski/532729/expmap_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.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/532729/ltcube_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.fits
.....................!
real 189.44
user 185.16
sys 3.98

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/532729/ft1_filtered_4FGL_J0949.2+1749_daily_bin730.fits scfile=/scratch/kocevski/532729/ft2_4FGL_J0949.2+1749_daily_bin730.fits outfile=/scratch/kocevski/532729/cmap_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532729/ft1_filtered_4FGL_J0949.2+1749_daily_bin730.fits scfile=/scratch/kocevski/532729/ft2_4FGL_J0949.2+1749_daily_bin730.fits outfile=/scratch/kocevski/532729/cmap_HighResolution_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    53.117       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.670       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.641       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.731       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1011       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2111       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.275       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3601       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95513       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.

 FCN=   5237.225     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     1408 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2224       -.45110E-08** at limit **
   2  norm          .10000E-03    2.9637       -.13978E-07** at limit **
   3  norm          53.117        36.732       -.17722E-06    .62015E-05
   4  Prefactor     32.669        40.483       -.44813E-06    .55778E-05
   5  Prefactor     .10000E-03    1.3254       -.77260E-08** at limit **
   6  Prefactor     13.640        17.345        .78125E-05   -.25755E-03
   7  norm          1.0817        .83899        .23432E-07    .13617E-03
   8  Prefactor     .10000E-03    246.63       -.38914E-05** at limit **
   9  Prefactor     22.730        31.396        .41677E-06   -.81947E-05
  10  Prefactor     .10000E-03    2.9931        .11830E-07** at limit **
  11  Prefactor     .10000E-03    1.0404        .38009E-08** at limit **
  12  norm          1.0745        18.728       -.46771E-05   -.50580E-03
  13  Prefactor     3.2087        37.781        .12551E-04   -.97821E-04
  14  Prefactor     10.273        10.314        .30469E-05   -.23509E-03
  15  Normalizat    1.3602        .20219       -.67188E-06    .84385E-04
  16  Prefactor     .95504        .18665       -.23366E-06    .20355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 53.1174
  Prefactor  = 32.6694
  Prefactor  = 0.0001
  Prefactor  = 13.6397
  norm       = 1.08173
  Prefactor  = 0.0001
  Prefactor  = 22.7297
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.07451
  Prefactor  = 3.20874
  Prefactor  = 10.2734
  Normalizat = 1.3602
  Prefactor  = 0.955044
 **********
 **   18 **HESSE 
 **********

 FCN=   5237.225     FROM HESSE     STATUS=OK           199 CALLS     1607 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2304        .16152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.9648        .12168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          53.117        36.735        .55032E-04   -1.4249    
   4  Prefactor     32.669        40.492        .70105E-04   -1.4564    
   5  Prefactor     .10000E-03    1.3278        .81366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.640        16.931        .10845E-03   -1.4969    
   7  norm          1.0817        .84021        .56758E-04   -1.5500    
   8  Prefactor     .10000E-03    249.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.730        31.425        .84014E-04   -1.4754    
  10  Prefactor     .10000E-03    3.0113        .12223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0476        .72073E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0745        22.300        .45268E-02   -1.5501    
  13  Prefactor     3.2087        36.526        .22609E-03   -1.5350    
  14  Prefactor     10.273        10.251        .12500E-03   -1.5067    
  15  Normalizat    1.3602        .23868        .23624E-03   -.81787    
  16  Prefactor     .95504        .22015        .25830E-03   -.94243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9999e-09
Minuit parameter uncertainties:
  1  2.14989e-06
  2  7.92053e-07
  3  36.7508
  4  40.5259
  5  1.20219e-06
  6  16.9368
  7  0.840217
  8  0.000604938
  9  31.4482
  10  4.51672e-08
  11  3.30306e-07
  12  9.79395
  13  21.6684
  14  10.2531
  15  0.238878
  16  0.22036
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.273e+01  3.145e+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.550e-01  2.204e-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.360e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532729/likelihoodResults_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.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) = 5237.22217942
delta logL = 0.00273370018749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5237.22111073
delta logL = 0.00380239146762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.131       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6069       1.0000          .0000       10.000    
     3 'Normalizat'    1.3586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95610       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=   5237.221     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      258 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.130        37.029        .87134E-04   -.78415E-04
   2  Index         2.6069        1.0348        .95998E-02   -.46907E-04
   3  Normalizat    1.3588        .23490        .23634E-03   -.79861E-04
   4  Prefactor     .95592        .21963        .25820E-03   -.71419E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1298
  Index      = 2.60686
  Normalizat = 1.35882
  Prefactor  = 0.955923
 **********
 **   18 **HESSE 
 **********

 FCN=   5237.221     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.130        35.170        .34853E-05   -1.4788    
   2  Index         2.6069        .98335        .38399E-03   -.49909    
   3  Normalizat    1.3588        .23512        .47268E-04   -.81827    
   4  Prefactor     .95592        .21981        .10328E-04   -.94213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07391e-10
Minuit parameter uncertainties:
  1  35.204
  2  0.991761
  3  0.235301
  4  0.220012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532729': 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) = 5237.22111036
delta logL = 0.0038027560222

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.113e+01  3.520e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.607e+00  9.918e-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:  9.559e-01  2.200e-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.359e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/532729/cmap_HighResolution_428544001_428803201_4FGL_J0949.2+1749_daily_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.46e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-01 03:47:52.758264', job_id='532729', GAL2='0.96', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1630493272.76', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.80e-03', ts2='0.75', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='730' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:47:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 532729: <4FGL_J0949.2+1749_daily_bin730> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 03:36:02 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:36:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 03:36:03 2021
Terminated at Wed Sep  1 03:47:53 2021
Results reported at Wed Sep  1 03:47:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin730 147.316 17.83 428544001 428803201 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 :                                   480.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

