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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin635
RA = 147.316, Dec = 17.83
tmin = 403920001, tmax = 404179201
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='532631', job_status='RUN', time_executed='2021-09-01 03:37:59.622447', time_epoch_executed='1630492679.62' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532631

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

Retrieving the FT1 file...

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

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

Retrieving 39 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532631/ft1_4FGL_J0949.2+1749_daily_bin635.fits


Retrieving the FT1 file...

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

Retrieving 39 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532631/ft2_4FGL_J0949.2+1749_daily_bin635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532631/ft1_4FGL_J0949.2+1749_daily_bin635.fits outfile=/scratch/kocevski/532631/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin635.fits ra=147.316 dec=17.83 rad=12.0 tmin=403920001.0 tmax=404179201.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 10.00
user 9.70
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532631/ft1_filtered_4FGL_J0949.2+1749_daily_bin635.fits" evtable="EVENTS" scfile=/scratch/kocevski/532631/ft2_4FGL_J0949.2+1749_daily_bin635.fits sctable="SC_DATA" outfile=/scratch/kocevski/532631/ltcube_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.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/532631/ft2_4FGL_J0949.2+1749_daily_bin635.fits
.....................!
real 9.14
user 8.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532631/ft1_filtered_4FGL_J0949.2+1749_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/532631/ft2_4FGL_J0949.2+1749_daily_bin635.fits sctable="SC_DATA" expcube=/scratch/kocevski/532631/ltcube_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.fits outfile=/scratch/kocevski/532631/expmap_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.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/532631/ltcube_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.fits
.....................!
real 191.56
user 185.01
sys 5.37

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/532631/ft1_filtered_4FGL_J0949.2+1749_daily_bin635.fits scfile=/scratch/kocevski/532631/ft2_4FGL_J0949.2+1749_daily_bin635.fits outfile=/scratch/kocevski/532631/cmap_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532631/ft1_filtered_4FGL_J0949.2+1749_daily_bin635.fits scfile=/scratch/kocevski/532631/ft2_4FGL_J0949.2+1749_daily_bin635.fits outfile=/scratch/kocevski/532631/cmap_HighResolution_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8433       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3716       1.0000         .10000E-03   10000.    
     3 'norm      '    .10615E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.176       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9424       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.4309       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.537       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6998       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1124       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0922       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2095       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=   7511.650     FROM MIGRAD    STATUS=CONVERGED    310 CALLS     1264 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8448        8.7724        .10304E-04   -.20084E-03
   2  norm          1.3712        3.8764       -.11330E-05   -.95969E-03
   3  norm          .10000E-03    29.712       -.12324E-04** at limit **
   4  Prefactor     15.136        32.869       -.41201E-04    .39308E-05
   5  Prefactor     1.9436        3.2461        .54424E-07   -.50043E-03
   6  Prefactor     .10000E-03    39.169        .90288E-05** at limit **
   7  norm          4.4309        1.7060       -.12886E-06   -.19018E-03
   8  Prefactor     28.553        32.596        .11669E-04    .27114E-05
   9  Prefactor     .10000E-03    24.994        .53383E-05** at limit **
  10  Prefactor     8.6984        8.0661       -.29977E-05   -.23742E-03
  11  Prefactor     .10000E-03    2.3867        .12624E-06** at limit **
  12  norm          .10000E-03    2.1507        .78679E-07** at limit **
  13  Prefactor     .10000E-03    76.687        .37749E-05** at limit **
  14  Prefactor     2.1106        18.544       -.27754E-05   -.17521E-03
  15  Normalizat    1.0920        .17754        .18718E-05   -.13233E-03
  16  Prefactor     1.2097        .15761        .47082E-06    .85995E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84476
  norm       = 1.37118
  norm       = 0.0001
  Prefactor  = 15.1365
  Prefactor  = 1.94356
  Prefactor  = 0.0001
  norm       = 4.43091
  Prefactor  = 28.553
  Prefactor  = 0.0001
  Prefactor  = 8.69842
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.11064
  Normalizat = 1.092
  Prefactor  = 1.20969
 **********
 **   18 **HESSE 
 **********

 FCN=   7511.650     FROM HESSE     STATUS=OK           203 CALLS     1467 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8448        8.6972        .24114E-03   -1.5371    
   2  norm          1.3712        3.8503        .28043E-03   -1.5474    
   3  norm          .10000E-03    29.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.136        32.842        .10281E-03   -1.4930    
   5  Prefactor     1.9436        3.2240        .19466E-03   -1.5429    
   6  Prefactor     .10000E-03    39.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.4309        1.7064        .66765E-04   -1.5287    
   8  Prefactor     28.553        32.601        .74997E-04   -1.4639    
   9  Prefactor     .10000E-03    25.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6984        8.1446        .13590E-03   -1.5118    
  11  Prefactor     .10000E-03    2.4787        .26093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.1578        .12412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    77.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1106        18.675        .28383E-03   -1.5417    
  15  Normalizat    1.0920        .21366        .27051E-03   -.90009    
  16  Prefactor     1.2097        .18958        .23858E-03   -.86034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62746e-09
Minuit parameter uncertainties:
  1  8.7011
  2  3.85096
  3  0.000157464
  4  32.8816
  5  3.22425
  6  0.000115317
  7  1.70647
  8  32.6214
  9  6.05497e-05
  10  8.14567
  11  1.89141e-05
  12  2.13904e-06
  13  0.000121637
  14  12.5614
  15  0.213825
  16  0.18969
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.055e-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.210e+00  1.897e-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.092e+00  2.138e-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: 6.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532631/likelihoodResults_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.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) = 7511.65048074
delta logL = -0.00018999511849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7511.65029254
delta logL = -1.79597464012e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11645E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9256       1.0000          .0000       10.000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2097       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=   7511.650     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10950E-03    15.809        .18142E-01** at limit **
   2  Index         2.7576        8.5382        .50000        .16348E-04
   3  Normalizat    1.0920        .40358E-02    .27051E-03   -.14121E-03
   4  Prefactor     1.2097        .37405E-02    .23858E-03    .97733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109495
  Index      = 2.75757
  Normalizat = 1.092
  Prefactor  = 1.20969
 **********
 **   18 **HESSE 
 **********

 FCN=   7511.650     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10950E-03    109.46        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7576        5.9290        .50000       -.46507    
   3  Normalizat    1.0920        .10597E-01    .10821E-04   -.90009    
   4  Prefactor     1.2097        .98215E-02    .47716E-04   -.86034    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17467e-08
Minuit parameter uncertainties:
  1  0.064596
  2  419.454
  3  0.0105968
  4  0.00982155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532631': 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) = 7511.65029157
delta logL = -8.27147232485e-07

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.095e-04  6.460e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.758e+00  4.195e+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.210e+00  9.822e-03  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.092e+00  1.060e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/532631/cmap_HighResolution_403920001_404179201_4FGL_J0949.2+1749_daily_bin635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2021-09-01 03:47:17.339010', job_id='532631', GAL2='1.21', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630493237.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='-8.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='635' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:47:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 532631: <4FGL_J0949.2+1749_daily_bin635> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin635 147.316 17.83 403920001 404179201 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 :                                   553.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            686 sec.

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

