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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin701
RA = 147.316, Dec = 17.83
tmin = 421027201, tmax = 421286401
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='532700', job_status='RUN', time_executed='2021-09-01 03:38:25.552075', time_epoch_executed='1630492705.55' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532700

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532700/ft1_4FGL_J0949.2+1749_daily_bin701.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532700/ft2_4FGL_J0949.2+1749_daily_bin701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532700/ft1_4FGL_J0949.2+1749_daily_bin701.fits outfile=/scratch/kocevski/532700/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin701.fits ra=147.316 dec=17.83 rad=12.0 tmin=421027201.0 tmax=421286401.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.73
user 3.52
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532700/ft2_4FGL_J0949.2+1749_daily_bin701.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/532700/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin701.fits evtable="EVENTS" outfile="/scratch/kocevski/532700/ft1_filtered_4FGL_J0949.2+1749_daily_bin701.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/532700/ft1_filtered_4FGL_J0949.2+1749_daily_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/532700/ft2_4FGL_J0949.2+1749_daily_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/532700/ltcube_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.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/532700/ft2_4FGL_J0949.2+1749_daily_bin701.fits
.....................!
real 11.92
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532700/ft1_filtered_4FGL_J0949.2+1749_daily_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/532700/ft2_4FGL_J0949.2+1749_daily_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/532700/ltcube_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.fits outfile=/scratch/kocevski/532700/expmap_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.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/532700/ltcube_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.fits
.....................!
real 189.63
user 184.97
sys 4.25

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/532700/ft1_filtered_4FGL_J0949.2+1749_daily_bin701.fits scfile=/scratch/kocevski/532700/ft2_4FGL_J0949.2+1749_daily_bin701.fits outfile=/scratch/kocevski/532700/cmap_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.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.56
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532700/ft1_filtered_4FGL_J0949.2+1749_daily_bin701.fits scfile=/scratch/kocevski/532700/ft2_4FGL_J0949.2+1749_daily_bin701.fits outfile=/scratch/kocevski/532700/cmap_HighResolution_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.300       1.0000         .10000E-03   10000.    
     2 'norm      '    5.7795       1.0000         .10000E-03   10000.    
     3 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .48614       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4231       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4429       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.353       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1866       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2709       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6898       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.4705       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .86500       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=   5669.822     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1451 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.297        12.408        .27826E-08   -.87462E-04
   2  norm          5.7796        5.8927       -.65688E-07   -.13035E-04
   3  norm          .10000E-03    63.118        .81530E-05** at limit **
   4  Prefactor     .10000E-03    42.815       -.93652E-05** at limit **
   5  Prefactor     .46441        3.1256       -.12622E-05    .93023E-04
   6  Prefactor     5.4234        20.508        .11087E-05    .30467E-05
   7  norm          1.4429        1.3898        .12387E-06   -.16328E-04
   8  Prefactor     .10000E-03    29.740        .29090E-05** at limit **
   9  Prefactor     30.351        34.553        .66670E-06    .80695E-06
  10  Prefactor     2.1863        5.7542        .88384E-05   -.67145E-04
  11  Prefactor     1.2708        1.3675       -.61562E-07   -.99354E-06
  12  norm          2.6898        4.1578       -.87219E-07   -.30270E-06
  13  Prefactor     .10000E-03    11.681       -.12378E-06** at limit **
  14  Prefactor     .10000E-03    5.4749       -.10187E-07** at limit **
  15  Normalizat    1.4706        .20186       -.87169E-06   -.37444E-04
  16  Prefactor     .86491        .18343       -.99890E-06   -.88882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2974
  norm       = 5.77957
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.464411
  Prefactor  = 5.42337
  norm       = 1.44288
  Prefactor  = 0.0001
  Prefactor  = 30.3505
  Prefactor  = 2.18633
  Prefactor  = 1.27084
  norm       = 2.6898
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.47057
  Prefactor  = 0.864906
 **********
 **   18 **HESSE 
 **********

 FCN=   5669.822     FROM HESSE     STATUS=OK           207 CALLS     1658 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.297        12.409        .12485E-03   -1.5066    
   2  norm          5.7796        5.8967        .16707E-03   -1.5227    
   3  norm          .10000E-03    63.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    42.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .46441        13.681        .25107E-02   -1.5572    
   6  Prefactor     5.4234        20.468        .86278E-03   -1.5242    
   7  norm          1.4429        1.3716        .83265E-04   -1.5468    
   8  Prefactor     .10000E-03    29.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.351        34.611        .72724E-04   -1.4606    
  10  Prefactor     2.1863        5.7773        .13918E-02   -1.5412    
  11  Prefactor     1.2708        1.3769        .89049E-04   -1.5483    
  12  norm          2.6898        4.1432        .18575E-03   -1.5380    
  13  Prefactor     .10000E-03    11.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.5044        .17205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4706        .24152        .22981E-03   -.78609    
  16  Prefactor     .86491        .21830        .26867E-03   -.97378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18129e-10
Minuit parameter uncertainties:
  1  12.4117
  2  5.89728
  3  0.000263384
  4  0.000528604
  5  5.04196
  6  20.4949
  7  1.37164
  8  0.000132338
  9  34.6339
  10  5.77882
  11  1.37691
  12  4.14366
  13  3.89529e-06
  14  8.44618e-07
  15  0.241714
  16  0.218523
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.035e+01  3.463e+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:  8.649e-01  2.185e-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.471e+00  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 3.25e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 9.20e-06 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/532700/likelihoodResults_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.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) = 5669.71724748
delta logL = 0.104748060126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5669.70855131
delta logL = 0.113444229683

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.640       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1371       1.0000          .0000       10.000    
     3 'Normalizat'    1.4828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85647       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=   5669.709     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      290 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.642        41.700        .65327E-04   -.43907E-03
   2  Index         2.1373        .75826        .10191E-01   -.21583E-03
   3  Normalizat    1.4825        .23507        .22903E-03    .16038E-03
   4  Prefactor     .85676        .21772        .26975E-03    .15703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.6423
  Index      = 2.13728
  Normalizat = 1.48252
  Prefactor  = 0.856758
 **********
 **   18 **HESSE 
 **********

 FCN=   5669.709     FROM HESSE     STATUS=OK            23 CALLS      313 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.642        41.573        .13065E-04   -1.4480    
   2  Index         2.1373        .75592        .40765E-03   -.60960    
   3  Normalizat    1.4825        .23526        .45805E-04   -.78271    
   4  Prefactor     .85676        .21788        .10790E-04   -.97669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48609e-09
Minuit parameter uncertainties:
  1  41.6049
  2  0.760269
  3  0.235429
  4  0.218105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532700': 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) = 5669.7085503
delta logL = 0.113445239227

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.764e+01  4.160e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.137e+00  7.603e-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:  8.568e-01  2.181e-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.483e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.14 +/- 0.76
Photon Flux (Free Index): 2.48e-08 +/- 3.38e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.67e-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/532700/cmap_HighResolution_421027201_421286401_4FGL_J0949.2+1749_daily_bin701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.32e-03', comment='SUCCESS', photon_flux='3.25e-08', energy_flux2='1.26e-05', photon_flux_error='3.70e-08', dlogl='1.13e-01', energy_flux='9.20e-06', photon_flux2='2.48e-08', job_status='DONE', time_completed='2021-09-01 03:46:35.589974', photon_index_error2='0.76', photon_index2='2.14', ts='1.11', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.67e-05', EG='1.47', time_epoch_completed='1630493195.59', return_code='0', job_id='532700', GAL2='0.86', EG2='1.48', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='3.38e-08', ts2='1.33', photon_index='2.52' WHERE bin_id='701' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:46:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 532700: <4FGL_J0949.2+1749_daily_bin701> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin701 147.316 17.83 421027201 421286401 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 :                                   490.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            637 sec.

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

