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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin969
RA = 147.316, Dec = 17.83
tmin = 490492801, tmax = 490752001
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='534096', job_status='RUN', time_executed='2021-09-01 03:44:25.682642', time_epoch_executed='1630493065.68' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='969'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534096/ft1_4FGL_J0949.2+1749_daily_bin969.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534096/ft2_4FGL_J0949.2+1749_daily_bin969.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534096/ft1_4FGL_J0949.2+1749_daily_bin969.fits outfile=/scratch/kocevski/534096/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin969.fits ra=147.316 dec=17.83 rad=12.0 tmin=490492801.0 tmax=490752001.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.80
user 5.52
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534096/ft1_filtered_4FGL_J0949.2+1749_daily_bin969.fits" evtable="EVENTS" scfile=/scratch/kocevski/534096/ft2_4FGL_J0949.2+1749_daily_bin969.fits sctable="SC_DATA" outfile=/scratch/kocevski/534096/ltcube_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.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/534096/ft2_4FGL_J0949.2+1749_daily_bin969.fits
.....................!
real 12.08
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534096/ft1_filtered_4FGL_J0949.2+1749_daily_bin969.fits evtable="EVENTS" scfile=/scratch/kocevski/534096/ft2_4FGL_J0949.2+1749_daily_bin969.fits sctable="SC_DATA" expcube=/scratch/kocevski/534096/ltcube_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.fits outfile=/scratch/kocevski/534096/expmap_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.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/534096/ltcube_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.fits
.....................!
real 190.75
user 185.76
sys 4.60

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/534096/ft1_filtered_4FGL_J0949.2+1749_daily_bin969.fits scfile=/scratch/kocevski/534096/ft2_4FGL_J0949.2+1749_daily_bin969.fits outfile=/scratch/kocevski/534096/cmap_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534096/ft1_filtered_4FGL_J0949.2+1749_daily_bin969.fits scfile=/scratch/kocevski/534096/ft2_4FGL_J0949.2+1749_daily_bin969.fits outfile=/scratch/kocevski/534096/cmap_HighResolution_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=147.316 yref=17.83 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.763       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    30.367       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.6520       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.7571       1.0000         .10000E-03   10000.    
     8 'Prefactor '    72.879       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.608       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.087       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .60359       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3923       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=   5632.935     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1430 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.765        12.830        .37117E-05    .58093E-04
   2  norm          .10000E-03    2.0133        .54255E-10** at limit **
   3  norm          30.327        48.144       -.62623E-04    .14816E-04
   4  Prefactor     .10000E-03    27.973       -.77550E-05** at limit **
   5  Prefactor     9.6514        7.0185        .10118E-05   -.52735E-05
   6  Prefactor     .10000E-03    13.938        .39422E-06** at limit **
   7  norm          1.7571        1.2923       -.33285E-06   -.38744E-03
   8  Prefactor     72.877        64.269       -.19753E-05    .65380E-05
   9  Prefactor     .10000E-03    24.331        .12933E-04** at limit **
  10  Prefactor     33.423        10.992       -.42439E-06    .13716E-03
  11  Prefactor     .10000E-03    1.4501       -.38058E-07** at limit **
  12  norm          .10000E-03    18.686       -.53689E-05** at limit **
  13  Prefactor     31.600        51.265       -.11977E-04    .13308E-04
  14  Prefactor     27.085        15.542       -.78894E-06    .48520E-04
  15  Normalizat    .60388        .20397        .29986E-05    .12813E-03
  16  Prefactor     1.3920        .18597        .32130E-05   -.54578E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7651
  norm       = 0.0001
  norm       = 30.3274
  Prefactor  = 0.000100001
  Prefactor  = 9.65143
  Prefactor  = 0.0001
  norm       = 1.75707
  Prefactor  = 72.8772
  Prefactor  = 0.0001
  Prefactor  = 33.4234
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.6004
  Prefactor  = 27.0852
  Normalizat = 0.603882
  Prefactor  = 1.39203
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.935     FROM HESSE     STATUS=OK           201 CALLS     1631 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.765        12.829        .10797E-03   -1.4966    
   2  norm          .10000E-03    2.0134        .10401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          30.327        48.182        .72707E-04   -1.4606    
   4  Prefactor     .10000E-03    27.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.6514        7.0287        .12899E-03   -1.5087    
   6  Prefactor     .10000E-03    13.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7571        1.2823        .69821E-04   -1.5443    
   8  Prefactor     72.877        64.274        .47028E-04   -1.3999    
   9  Prefactor     .10000E-03    24.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.423        10.994        .69313E-04   -1.4551    
  11  Prefactor     .10000E-03    1.4849        .88232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    19.411        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.600        51.299        .71270E-04   -1.4583    
  14  Prefactor     27.085        15.558        .76974E-04   -1.4667    
  15  Normalizat    .60388        .23797        .33196E-03   -1.0782    
  16  Prefactor     1.3920        .21859        .21478E-03   -.80610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9993e-10
Minuit parameter uncertainties:
  1  12.832
  2  1.05964e-06
  3  48.2436
  4  0.000267735
  5  7.02931
  6  2.61159e-05
  7  1.28233
  8  64.3349
  9  8.31512e-05
  10  10.9947
  11  6.75622e-06
  12  5.12419e-05
  13  51.371
  14  15.5603
  15  0.238374
  16  0.218731
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  8.315e-05  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.392e+00  2.187e-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:  6.039e-01  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534096/likelihoodResults_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.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) = 5632.93480567
delta logL = -0.000195492364583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5632.93461024
delta logL = -6.25859684078e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4821       1.0000          .0000       10.000    
     3 'Normalizat'    .60393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3920       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=   5632.863     FROM MIGRAD    STATUS=CONVERGED    159 CALLS      308 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70379E-02    .26899E-01    .36857E-02    .91523E-02
   2  Index         7.1401        .86221        .37009       -.29323E-04
   3  Normalizat    .57345        .26548        .33196E-03   -.17089E-04
   4  Prefactor     1.4116        .23347        .21478E-03   -.23819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00703794
  Index      = 7.1401
  Normalizat = 0.573453
  Prefactor  = 1.41163
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.863     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      339 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70379E-02    2.6129        .14819E-03   -1.5691    
   2  Index         7.1401        8.5530        .98143E-02   -3.5839    
   3  Normalizat    .57345        .20481        .13279E-04   -1.0912    
   4  Prefactor     1.4116        .17980        .85913E-05   -.80046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.59654e-07
Minuit parameter uncertainties:
  1  0.269293
  2  19.8239
  3  0.205076
  4  0.179884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534096': 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): 102
logL (Free Index) = 5632.86303027
delta logL = 0.0715799088484

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  7.038e-03  2.693e-01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  7.140e+00  1.982e+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:  1.412e+00  1.799e-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:  5.735e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 147.316 17.830

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/534096/cmap_HighResolution_490492801_490752001_4FGL_J0949.2+1749_daily_bin969.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-09-01 03:52:43.743911', job_id='534096', GAL2='1.41', fit_tolerance='1e-08', EG2='0.57', EG='0.60', time_epoch_completed='1630493563.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='7.16e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='969' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:52:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 534096: <4FGL_J0949.2+1749_daily_bin969> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin969> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 03:40:37 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:40:38 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:40:38 2021
Terminated at Wed Sep  1 03:52:44 2021
Results reported at Wed Sep  1 03:52:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin969 147.316 17.83 490492801 490752001 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 :                                   491.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             204.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            727 sec.

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

