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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin646
RA = 147.316, Dec = 17.83
tmin = 406771201, tmax = 407030401
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='532645', job_status='RUN', time_executed='2021-09-01 03:39:53.558458', time_epoch_executed='1630492793.56' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532645

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532645/ft1_4FGL_J0949.2+1749_daily_bin646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532645/ft2_4FGL_J0949.2+1749_daily_bin646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532645/ft1_4FGL_J0949.2+1749_daily_bin646.fits outfile=/scratch/kocevski/532645/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin646.fits ra=147.316 dec=17.83 rad=12.0 tmin=406771201.0 tmax=407030401.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.44
user 3.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532645/ft1_filtered_4FGL_J0949.2+1749_daily_bin646.fits" evtable="EVENTS" scfile=/scratch/kocevski/532645/ft2_4FGL_J0949.2+1749_daily_bin646.fits sctable="SC_DATA" outfile=/scratch/kocevski/532645/ltcube_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.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/532645/ft2_4FGL_J0949.2+1749_daily_bin646.fits
.....................!
real 11.80
user 11.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532645/ft1_filtered_4FGL_J0949.2+1749_daily_bin646.fits evtable="EVENTS" scfile=/scratch/kocevski/532645/ft2_4FGL_J0949.2+1749_daily_bin646.fits sctable="SC_DATA" expcube=/scratch/kocevski/532645/ltcube_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.fits outfile=/scratch/kocevski/532645/expmap_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.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/532645/ltcube_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.fits
.....................!
real 191.27
user 185.93
sys 4.95

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/532645/ft1_filtered_4FGL_J0949.2+1749_daily_bin646.fits scfile=/scratch/kocevski/532645/ft2_4FGL_J0949.2+1749_daily_bin646.fits outfile=/scratch/kocevski/532645/cmap_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.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.64
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.404       1.0000         .10000E-03   10000.    
     2 'norm      '    .12937E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .14394E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14824E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.526       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8178       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17602E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.825       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.005       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11092E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .83020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5307       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .34013E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .95969       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0354       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=   5581.667     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1459 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.342        13.118       -.98280E-05   -.77906E-05
   2  norm          .10000E-03    2.0541       -.68694E-07** at limit **
   3  norm          .10000E-03    12.082        .79729E-05** at limit **
   4  Prefactor     .10000E-03    12.707       -.10252E-04** at limit **
   5  Prefactor     .10000E-03    1.2886        .61769E-08** at limit **
   6  Prefactor     18.588        20.027       -.32935E-04    .41792E-05
   7  norm          2.8175        1.3585       -.34292E-06   -.23335E-04
   8  Prefactor     .10000E-03    19.157        .48138E-05** at limit **
   9  Prefactor     25.621        30.640       -.19607E-04    .22151E-04
  10  Prefactor     9.9849        6.8333       -.16857E-05   -.14159E-03
  11  Prefactor     .10000E-03    1.2952        .34330E-06** at limit **
  12  norm          .10003E-03    5.9013        .79391E-06** at limit **
  13  Prefactor     3.5203        55.665       -.51332E-05   -.28306E-04
  14  Prefactor     .10000E-03    10.286       -.28204E-06** at limit **
  15  Normalizat    .95989        .18021        .86838E-05   -.34678E-03
  16  Prefactor     1.0354        .16744       -.11153E-05    .24385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.342
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5877
  norm       = 2.8175
  Prefactor  = 0.0001
  Prefactor  = 25.6214
  Prefactor  = 9.98493
  Prefactor  = 0.0001
  norm       = 0.000100028
  Prefactor  = 3.52027
  Prefactor  = 0.0001
  Normalizat = 0.959892
  Prefactor  = 1.03542
 **********
 **   18 **HESSE 
 **********

 FCN=   5581.667     FROM HESSE     STATUS=OK           201 CALLS     1660 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.342        13.121        .93361E-04   -1.4851    
   2  norm          .10000E-03    2.0543        .10457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    12.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.2908        .82819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.588        20.025        .93054E-04   -1.4845    
   7  norm          2.8175        1.3568        .57924E-04   -1.5372    
   8  Prefactor     .10000E-03    19.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.621        30.659        .78829E-04   -1.4695    
  10  Prefactor     9.9849        6.8074        .12668E-03   -1.5076    
  11  Prefactor     .10000E-03    2.2938        .16506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10003E-03    15.648        .34855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.5203        55.692        .21513E-03   -1.5333    
  14  Prefactor     .10000E-03    10.763        .42672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .95989        .20950        .24174E-03   -.94386    
  16  Prefactor     1.0354        .19624        .22406E-03   -.91558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42774e-09
Minuit parameter uncertainties:
  1  13.1232
  2  1.42382e-06
  3  1.40996e-05
  4  2.41439e-06
  5  1.24852e-05
  6  20.0325
  7  1.35678
  8  1.71871e-05
  9  30.6781
  10  6.80789
  11  3.93487e-05
  12  0.00132795
  13  28.0343
  14  0.000134103
  15  0.209681
  16  0.196376
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.562e+01  3.068e+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.035e+00  1.964e-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.599e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.06
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 2.74e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 7.77e-06 +/- 9.30e-06

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

Saving results to:
/scratch/kocevski/532645/likelihoodResults_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.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) = 5581.55886326
delta logL = 0.107937817842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5581.55662267
delta logL = 0.110178409027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.089       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9740       1.0000          .0000       10.000    
     3 'Normalizat'    .94466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0440       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=   5581.557     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      249 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.044        621.22        .22918E-02    .28589E-03
   2  Index         2.9751        6.4437        .16578        .67838E-04
   3  Normalizat    .94466        .69338E-01    .45470E-01    .24991E-05
   4  Prefactor     1.0440        .59079E-01    .40273E-01    .40539E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.044
  Index      = 2.97513
  Normalizat = 0.944662
  Prefactor  = 1.04403
 **********
 **   18 **HESSE 
 **********

 FCN=   5581.557     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.044        31.653        .45836E-03   -1.4835    
   2  Index         2.9751        1.1103        .86004E-02   -.41695    
   3  Normalizat    .94466        .20864        .24347E-03   -.94908    
   4  Prefactor     1.0440        .19730        .22323E-03   -.91276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64302e-09
Minuit parameter uncertainties:
  1  31.6807
  2  1.12151
  3  0.20882
  4  0.197438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532645': 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) = 5581.5566214
delta logL = 0.110179679546

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.904e+01  3.168e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.975e+00  1.122e+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:  1.044e+00  1.974e-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.447e-01  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.98 +/- 1.12
Photon Flux (Free Index): 3.92e-08 +/- 4.44e-08
Energy Flux (Free Index): 7.93e-06 +/- 8.47e-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/532645/cmap_HighResolution_406771201_407030401_4FGL_J0949.2+1749_daily_bin646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', comment='SUCCESS', photon_flux='2.74e-08', energy_flux2='7.93e-06', photon_flux_error='3.28e-08', dlogl='1.10e-01', energy_flux='7.77e-06', photon_flux2='3.92e-08', job_status='DONE', time_completed='2021-09-01 03:48:09.148172', photon_index_error2='1.12', photon_index2='2.98', ts='1.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='8.47e-06', EG='0.96', time_epoch_completed='1630493289.15', return_code='0', job_id='532645', GAL2='1.04', EG2='0.94', return_code2='0', energy_flux_error='9.30e-06', photon_flux_error2='4.44e-08', ts2='1.29', photon_index='2.52' WHERE bin_id='646' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:48:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 532645: <4FGL_J0949.2+1749_daily_bin646> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin646> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 03:35:53 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:35:55 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:35:55 2021
Terminated at Wed Sep  1 03:48:10 2021
Results reported at Wed Sep  1 03:48:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin646 147.316 17.83 406771201 407030401 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 :                                   487.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             213.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            737 sec.

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

