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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin713
RA = 147.316, Dec = 17.83
tmin = 424137601, tmax = 424396801
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='532712', job_status='RUN', time_executed='2021-09-01 03:36:53.048794', time_epoch_executed='1630492613.05' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532712

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532712/ft1_4FGL_J0949.2+1749_daily_bin713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532712/ft2_4FGL_J0949.2+1749_daily_bin713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532712/ft1_4FGL_J0949.2+1749_daily_bin713.fits outfile=/scratch/kocevski/532712/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin713.fits ra=147.316 dec=17.83 rad=12.0 tmin=424137601.0 tmax=424396801.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.12
user 4.87
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532712/ft1_filtered_4FGL_J0949.2+1749_daily_bin713.fits" evtable="EVENTS" scfile=/scratch/kocevski/532712/ft2_4FGL_J0949.2+1749_daily_bin713.fits sctable="SC_DATA" outfile=/scratch/kocevski/532712/ltcube_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.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/532712/ft2_4FGL_J0949.2+1749_daily_bin713.fits
.....................!
real 12.97
user 12.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532712/ft1_filtered_4FGL_J0949.2+1749_daily_bin713.fits evtable="EVENTS" scfile=/scratch/kocevski/532712/ft2_4FGL_J0949.2+1749_daily_bin713.fits sctable="SC_DATA" expcube=/scratch/kocevski/532712/ltcube_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.fits outfile=/scratch/kocevski/532712/expmap_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.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/532712/ltcube_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.fits
.....................!
real 189.55
user 185.34
sys 3.82

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/532712/ft1_filtered_4FGL_J0949.2+1749_daily_bin713.fits scfile=/scratch/kocevski/532712/ft2_4FGL_J0949.2+1749_daily_bin713.fits outfile=/scratch/kocevski/532712/cmap_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532712/ft1_filtered_4FGL_J0949.2+1749_daily_bin713.fits scfile=/scratch/kocevski/532712/ft2_4FGL_J0949.2+1749_daily_bin713.fits outfile=/scratch/kocevski/532712/cmap_HighResolution_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.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.57
user 0.43
sys 0.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.867       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8206       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.187       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2355       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.221       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4107       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2226       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .73082E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    5.1799       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.234       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .90391       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0621       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=   3217.846     FROM MIGRAD    STATUS=CONVERGED    306 CALLS     1456 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.869        16.351       -.13026E-05    .53429E-05
   2  norm          .10000E-03    6.6028       -.33265E-07** at limit **
   3  norm          1.6901        70.666        .65565E-05   -.64181E-04
   4  Prefactor     .10000E-03    30.605        .19286E-06** at limit **
   5  Prefactor     .10000E-03    1.7662       -.23053E-07** at limit **
   6  Prefactor     58.189        41.266        .48591E-06    .35170E-04
   7  norm          2.2353        1.7521       -.24930E-06   -.45047E-04
   8  Prefactor     21.176        60.456       -.72618E-04    .14918E-04
   9  Prefactor     4.3932        162.78       -.56328E-04    .69061E-05
  10  Prefactor     3.2268        10.121        .47219E-06   -.11033E-03
  11  Prefactor     .10003E-03    2.0651       -.38242E-06** at limit **
  12  norm          5.1784        12.227       -.19018E-05   -.64220E-04
  13  Prefactor     .10000E-03    20.132       -.20028E-07** at limit **
  14  Prefactor     11.236        15.222       -.19507E-06    .58738E-05
  15  Normalizat    .90339        .24547        .78653E-05   -.11855E-04
  16  Prefactor     1.0626        .21926       -.42998E-06    .22220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.8694
  norm       = 0.0001
  norm       = 1.69015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.1891
  norm       = 2.2353
  Prefactor  = 21.1759
  Prefactor  = 4.39321
  Prefactor  = 3.22682
  Prefactor  = 0.000100029
  norm       = 5.17842
  Prefactor  = 0.0001
  Prefactor  = 11.2358
  Normalizat = 0.90339
  Prefactor  = 1.06264
 **********
 **   18 **HESSE 
 **********

 FCN=   3217.846     FROM HESSE     STATUS=OK           213 CALLS     1669 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.869        16.356        .44930E-03   -1.4816    
   2  norm          .10000E-03    6.6225        .14237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6901        71.039        .30947E-03   -1.5448    
   4  Prefactor     .10000E-03    30.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.7677        .73623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     58.189        41.294        .52593E-04   -1.4181    
   7  norm          2.2353        1.7478        .63584E-04   -1.5409    
   8  Prefactor     21.176        60.429        .86947E-04   -1.4787    
   9  Prefactor     4.3932        164.72        .19176E-03   -1.5289    
  10  Prefactor     3.2268        10.064        .22566E-03   -1.5349    
  11  Prefactor     .10003E-03    4.0181        .29633E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.1784        12.177        .17663E-03   -1.5253    
  13  Prefactor     .10000E-03    20.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.236        15.255        .11953E-03   -1.5037    
  15  Normalizat    .90339        .28462        .25091E-03   -.96341    
  16  Prefactor     1.0626        .25460        .22174E-03   -.90670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1359e-10
Minuit parameter uncertainties:
  1  16.3596
  2  1.03083e-05
  3  21.9422
  4  2.77702e-05
  5  2.61854e-06
  6  41.3144
  7  1.74784
  8  60.6043
  9  53.9625
  10  10.0692
  11  0.000688523
  12  12.1828
  13  7.79479e-06
  14  15.2601
  15  0.285092
  16  0.254888
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.393e+00  5.396e+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:  1.063e+00  2.549e-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:  9.034e-01  2.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532712/likelihoodResults_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.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) = 3215.30194052
delta logL = 2.54409092914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3214.72400867
delta logL = 3.1220227782

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20468E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .70923       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1914       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=   3214.724     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      372 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20464E-03    .32536E-03    .12498E-03** at limit **
   2  Index        10.0000        1.8923        .49027    ** at limit **
   3  Normalizat    .70850        .23772        .63103E-01   -.93095E-04
   4  Prefactor     1.1921        .22450        .34836E-01   -.77837E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00020464
  Index      = 10
  Normalizat = 0.7085
  Prefactor  = 1.19208
 **********
 **   18 **HESSE 
 **********

 FCN=   3214.724     FROM HESSE     STATUS=OK            33 CALLS      405 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20464E-03    .11729E-03    .62223E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        6.6755        .17613E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .70850        .27508        .27916E-03   -1.0356    
   4  Prefactor     1.1921        .26091        .21073E-03   -.86575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15929e-10
Minuit parameter uncertainties:
  1  0.000117286
  2  7.76087e-06
  3  0.275622
  4  0.261189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532712': 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) = 3214.7239955
delta logL = 3.12203594496

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.046e-04  1.173e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.000e+01  7.761e-06  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:  1.192e+00  2.612e-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:  7.085e-01  2.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.74
Ra Dec: 147.316 17.830
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.38e-07 +/- 7.65e-08
Energy Flux (Free Index): 1.54e-05 +/- 8.61e-06

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/532712/cmap_HighResolution_424137601_424396801_4FGL_J0949.2+1749_daily_bin713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', energy_flux2='1.54e-05', dlogl='3.12e+00', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-09-01 03:44:03.750577', photon_index_error2='0.00', photon_index2='10.00', ts='0.01', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='8.61e-06', EG='0.90', time_epoch_completed='1630493043.75', return_code='0', job_id='532712', GAL2='1.19', EG2='0.71', return_code2='0', photon_flux_error2='7.65e-08', ts2='6.74', photon_index='2.52' WHERE bin_id='713' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:44:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 532712: <4FGL_J0949.2+1749_daily_bin713> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin713> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 03:36:00 2021
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:36:01 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:01 2021
Terminated at Wed Sep  1 03:44:04 2021
Results reported at Wed Sep  1 03:44:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin713 147.316 17.83 424137601 424396801 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 :                                   422.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   483 sec.
    Turnaround time :                            484 sec.

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

