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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1488
RA = 147.316, Dec = 17.83
tmin = 625017601, tmax = 625276801
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='535826', job_status='RUN', time_executed='2021-09-01 03:49:32.642451', time_epoch_executed='1630493372.64' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535826

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535826/ft1_4FGL_J0949.2+1749_daily_bin1488.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535826/ft2_4FGL_J0949.2+1749_daily_bin1488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535826/ft1_4FGL_J0949.2+1749_daily_bin1488.fits outfile=/scratch/kocevski/535826/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1488.fits ra=147.316 dec=17.83 rad=12.0 tmin=625017601.0 tmax=625276801.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.96
user 3.38
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535826/ft1_filtered_4FGL_J0949.2+1749_daily_bin1488.fits" evtable="EVENTS" scfile=/scratch/kocevski/535826/ft2_4FGL_J0949.2+1749_daily_bin1488.fits sctable="SC_DATA" outfile=/scratch/kocevski/535826/ltcube_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.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/535826/ft2_4FGL_J0949.2+1749_daily_bin1488.fits
.....................!
real 15.23
user 14.01
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535826/ft1_filtered_4FGL_J0949.2+1749_daily_bin1488.fits evtable="EVENTS" scfile=/scratch/kocevski/535826/ft2_4FGL_J0949.2+1749_daily_bin1488.fits sctable="SC_DATA" expcube=/scratch/kocevski/535826/ltcube_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.fits outfile=/scratch/kocevski/535826/expmap_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.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/535826/ltcube_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.fits
.....................!
real 194.16
user 185.89
sys 5.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/535826/ft1_filtered_4FGL_J0949.2+1749_daily_bin1488.fits scfile=/scratch/kocevski/535826/ft2_4FGL_J0949.2+1749_daily_bin1488.fits outfile=/scratch/kocevski/535826/cmap_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535826/ft1_filtered_4FGL_J0949.2+1749_daily_bin1488.fits scfile=/scratch/kocevski/535826/ft2_4FGL_J0949.2+1749_daily_bin1488.fits outfile=/scratch/kocevski/535826/cmap_HighResolution_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2836       1.0000         .10000E-03   10000.    
     2 'norm      '    .44122       1.0000         .10000E-03   10000.    
     3 'norm      '    30.965       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3121       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2747       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8169       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9126       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1192       1.0000         .10000E-03   10000.    
    12 'norm      '    18.297       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.796       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .83014       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1727       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=   6283.074     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1289 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2866        10.136        .59938E-06    .45473E-05
   2  norm          .41977        4.9786        .33830E-06   -.94812E-04
   3  norm          30.911        33.367       -.26341E-05   -.93197E-05
   4  Prefactor     3.1887        137.03        .84800E-05    .11274E-05
   5  Prefactor     .10000E-03    2.6478       -.12317E-06** at limit **
   6  Prefactor     7.2738        15.101       -.68223E-07    .19775E-05
   7  norm          2.8169        1.2652        .22972E-07    .32569E-06
   8  Prefactor     .10000E-03    66.010        .16191E-06** at limit **
   9  Prefactor     .10000E-03    26.346       -.28679E-07** at limit **
  10  Prefactor     4.9119        6.3459        .14895E-05    .11270E-05
  11  Prefactor     1.1187        2.0366        .69046E-07    .18558E-04
  12  norm          18.297        8.7357       -.17315E-06   -.10504E-06
  13  Prefactor     .10000E-03    13.463       -.13511E-07** at limit **
  14  Prefactor     17.795        11.871        .15685E-06   -.91269E-06
  15  Normalizat    .83014        .17873       -.77786E-06   -.42436E-06
  16  Prefactor     1.1727        .16644        .19072E-06   -.38957E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.28663
  norm       = 0.419771
  norm       = 30.9113
  Prefactor  = 3.18874
  Prefactor  = 0.0001
  Prefactor  = 7.27376
  norm       = 2.81687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.91189
  Prefactor  = 1.11873
  norm       = 18.2967
  Prefactor  = 0.0001
  Prefactor  = 17.7947
  Normalizat = 0.83014
  Prefactor  = 1.17272
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.074     FROM HESSE     STATUS=OK           213 CALLS     1502 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2866        10.130        .17486E-03   -1.5248    
   2  norm          .41977        14.922        .34172E-02   -1.5578    
   3  norm          30.911        33.437        .72004E-04   -1.4595    
   4  Prefactor     3.1887        138.09        .22244E-03   -1.5351    
   5  Prefactor     .10000E-03    5.5882        .24937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2738        15.083        .14871E-03   -1.5169    
   7  norm          2.8169        1.2643        .57263E-04   -1.5372    
   8  Prefactor     .10000E-03    66.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    26.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9119        6.3550        .90734E-03   -1.5265    
  11  Prefactor     1.1187        1.9898        .14726E-03   -1.5496    
  12  norm          18.297        8.7349        .93632E-04   -1.4852    
  13  Prefactor     .10000E-03    13.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.795        11.902        .94941E-04   -1.4864    
  15  Normalizat    .83014        .20383        .26476E-03   -.98960    
  16  Prefactor     1.1727        .19176        .21847E-03   -.87175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2253e-08
Minuit parameter uncertainties:
  1  10.1331
  2  5.00621
  3  33.457
  4  42.072
  5  1.50854e-05
  6  15.0909
  7  1.26434
  8  5.18592e-07
  9  2.22411e-06
  10  6.3559
  11  1.98994
  12  8.73553
  13  2.16293e-07
  14  11.9039
  15  0.204022
  16  0.191878
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.224e-06  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.173e+00  1.919e-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:  8.301e-01  2.040e-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.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535826/likelihoodResults_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.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): 102
logL (Free Index) = 6283.07460204
delta logL = -0.000180172338332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6283.07442151
delta logL = 3.6698202166e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1171       1.0000          .0000       10.000    
     3 'Normalizat'    .83014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1727       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=   6283.074     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      240 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.636        .90712E-02** at limit **
   2  Index         3.1196        5.3421        .50000       -.65368E-06
   3  Normalizat    .83014        .42485E-02    .44002E-01    .26124E-04
   4  Prefactor     1.1727        .41130E-02    .35310E-01    .77099E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.11959
  Normalizat = 0.830139
  Prefactor  = 1.17272
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.074     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    252.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1196        6.3217        .50000       -.38556    
   3  Normalizat    .83014        .11609E-01    .26476E-03   -.98960    
   4  Prefactor     1.1727        .11245E-01    .21847E-03   -.87175    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.9689e-09
Minuit parameter uncertainties:
  1  0.000429937
  2  502.392
  3  0.0116093
  4  0.0112448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535826': 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) = 6283.07442147
delta logL = 4.05159880756e-07

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.299e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.120e+00  5.024e+02  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.173e+00  1.124e-02  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:  8.301e-01  1.161e-02  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/535826/cmap_HighResolution_625017601_625276801_4FGL_J0949.2+1749_daily_bin1488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-09-01 04:02:21.789051', job_id='535826', GAL2='1.17', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1630494141.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='4.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1488' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 04:02:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 535826: <4FGL_J0949.2+1749_daily_bin1488> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin1488> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 03:45:47 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:45:49 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:45:49 2021
Terminated at Wed Sep  1 04:02:22 2021
Results reported at Wed Sep  1 04:02:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1488 147.316 17.83 625017601 625276801 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 :                                   501.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             195.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

