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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1624
RA = 147.316, Dec = 17.83
tmin = 660268801, tmax = 660528001
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='288764', job_status='RUN', time_executed='2021-12-07 20:38:11.136592', time_epoch_executed='1638938291.14' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288764

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288764/ft1_4FGL_J0949.2+1749_daily_bin1624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288764/ft2_4FGL_J0949.2+1749_daily_bin1624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288764/ft1_4FGL_J0949.2+1749_daily_bin1624.fits outfile=/scratch/kocevski/288764/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1624.fits ra=147.316 dec=17.83 rad=12.0 tmin=660268801.0 tmax=660528001.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 3.86
user 3.61
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288764/ft1_filtered_4FGL_J0949.2+1749_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/288764/ft2_4FGL_J0949.2+1749_daily_bin1624.fits sctable="SC_DATA" expcube=/scratch/kocevski/288764/ltcube_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.fits outfile=/scratch/kocevski/288764/expmap_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.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/288764/ltcube_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.fits
.....................!
real 192.53
user 186.13
sys 5.84

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/288764/ft1_filtered_4FGL_J0949.2+1749_daily_bin1624.fits scfile=/scratch/kocevski/288764/ft2_4FGL_J0949.2+1749_daily_bin1624.fits outfile=/scratch/kocevski/288764/cmap_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288764/ft1_filtered_4FGL_J0949.2+1749_daily_bin1624.fits scfile=/scratch/kocevski/288764/ft2_4FGL_J0949.2+1749_daily_bin1624.fits outfile=/scratch/kocevski/288764/cmap_HighResolution_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.613       1.0000         .10000E-03   10000.    
     2 'norm      '    4.6284       1.0000         .10000E-03   10000.    
     3 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.842       1.0000         .10000E-03   10000.    
     7 'norm      '    .81108E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.733       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.256       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.144       1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.455       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5222       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2121       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .75735       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=   6618.834     FROM MIGRAD    STATUS=CONVERGED    289 CALLS     1475 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.611        15.534       -.11782E-05   -.86389E-06
   2  norm          4.6283        4.4351        .20035E-07    .16666E-03
   3  norm          .10000E-03    16.032        .39893E-05** at limit **
   4  Prefactor     .10000E-03    13.535       -.28799E-05** at limit **
   5  Prefactor     .10000E-03    4.5229       -.41261E-06** at limit **
   6  Prefactor     53.855        33.454        .14865E-04    .34908E-04
   7  norm          .81944E-01    .61530       -.91820E-06   -.72761E-03
   8  Prefactor     11.676        40.801       -.14701E-03    .16435E-04
   9  Prefactor     38.258        33.420        .35278E-05    .47103E-04
  10  Prefactor     .10000E-03    3.9755        .26512E-06** at limit **
  11  Prefactor     .10000E-03    1.2386       -.10995E-06** at limit **
  12  norm          11.145        6.9374        .25821E-06    .85157E-05
  13  Prefactor     42.449        34.853       -.84567E-05    .92170E-05
  14  Prefactor     4.5236        8.6798       -.56379E-06   -.15559E-03
  15  Normalizat    1.2117        .16919       -.40308E-06    .46588E-03
  16  Prefactor     .75772        .15058        .48373E-05    .91246E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.6114
  norm       = 4.62829
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.8548
  norm       = 0.081944
  Prefactor  = 11.6762
  Prefactor  = 38.2582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1448
  Prefactor  = 42.449
  Prefactor  = 4.5236
  Normalizat = 1.21168
  Prefactor  = 0.757724
 **********
 **   18 **HESSE 
 **********

 FCN=   6618.834     FROM HESSE     STATUS=OK           207 CALLS     1682 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.611        15.534        .77655E-04   -1.4676    
   2  norm          4.6283        4.4402        .16374E-03   -1.5278    
   3  norm          .10000E-03    16.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5750        .16887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.855        33.580        .54663E-04   -1.4239    
   7  norm          .81944E-01    1.3591        .12150E-02   -1.5651    
   8  Prefactor     11.676        40.871        .11695E-03   -1.5024    
   9  Prefactor     38.258        33.472        .64801E-04   -1.4470    
  10  Prefactor     .10000E-03    4.0223        .15832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.2671        .88394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.145        6.9379        .12001E-03   -1.5040    
  13  Prefactor     42.449        34.858        .61524E-04   -1.4404    
  14  Prefactor     4.5236        8.6758        .18932E-03   -1.5283    
  15  Normalizat    1.2117        .20183        .22565E-03   -.86243    
  16  Prefactor     .75772        .17886        .25207E-03   -1.0131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87501e-10
Minuit parameter uncertainties:
  1  15.5364
  2  4.44051
  3  1.93007e-05
  4  8.09352e-06
  5  8.25688e-05
  6  33.5915
  7  0.667063
  8  40.9689
  9  33.4885
  10  3.99597e-05
  11  1.2601e-05
  12  6.93842
  13  34.8743
  14  8.67825
  15  0.201956
  16  0.179
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.826e+01  3.349e+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:  7.577e-01  1.790e-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.212e+00  2.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/288764/likelihoodResults_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.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) = 6618.77221537
delta logL = 0.0613494249719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6618.76982317
delta logL = 0.0637416218042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.379       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2805       1.0000          .0000       10.000    
     3 'Normalizat'    1.2199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75074       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=   6618.770     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      302 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.385        45.424        .58254E-04    .13076E-04
   2  Index         2.2803        .64495        .90056E-02    .19785E-03
   3  Normalizat    1.2200        .19741        .22496E-03   -.26784E-04
   4  Prefactor     .75067        .17869        .25310E-03   -.23762E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.3847
  Index      = 2.28034
  Normalizat = 1.22002
  Prefactor  = 0.750665
 **********
 **   18 **HESSE 
 **********

 FCN=   6618.770     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.385        44.493        .23302E-05   -1.4330    
   2  Index         2.2803        .63172        .18011E-02   -.57512    
   3  Normalizat    1.2200        .19755        .89986E-05   -.85986    
   4  Prefactor     .75067        .17879        .10124E-04   -1.0157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88695e-12
Minuit parameter uncertainties:
  1  44.5239
  2  0.63413
  3  0.197669
  4  0.178926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288764': 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) = 6618.76982302
delta logL = 0.0637417721673

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.738e+01  4.452e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.280e+00  6.341e-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:  7.507e-01  1.789e-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.220e+00  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.28 +/- 0.63
Photon Flux (Free Index): 3.70e-08 +/- 3.46e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.54e-05

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/288764/cmap_HighResolution_660268801_660528001_4FGL_J0949.2+1749_daily_bin1624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.15e-03', comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='1.45e-05', photon_flux_error='3.58e-08', dlogl='6.37e-02', energy_flux='1.16e-05', photon_flux2='3.70e-08', job_status='DONE', time_completed='2021-12-07 20:46:57.101045', photon_index_error2='0.63', photon_index2='2.28', ts='1.86', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.54e-05', EG='1.21', time_epoch_completed='1638938817.1', return_code='0', job_id='288764', GAL2='0.75', EG2='1.22', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.46e-08', ts2='1.97', photon_index='2.52' WHERE bin_id='1624' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 20:46:57 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 288764: <4FGL_J0949.2+1749_daily_bin1624> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin1624> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 20:35:16 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 20:36:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 20:36:01 2021
Terminated at Tue Dec  7 20:46:57 2021
Results reported at Tue Dec  7 20:46:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1624 147.316 17.83 660268801 660528001 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 :                                   524.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            701 sec.

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

