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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin469
RA = 147.316, Dec = 17.83
tmin = 360892801, tmax = 361152001
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='531072', job_status='RUN', time_executed='2021-09-01 03:34:07.293443', time_epoch_executed='1630492447.29' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/531072

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/531072/ft1_4FGL_J0949.2+1749_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/531072/ft2_4FGL_J0949.2+1749_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/531072/ft1_4FGL_J0949.2+1749_daily_bin469.fits outfile=/scratch/kocevski/531072/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin469.fits ra=147.316 dec=17.83 rad=12.0 tmin=360892801.0 tmax=361152001.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.52
user 3.28
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/531072/ft1_filtered_4FGL_J0949.2+1749_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/531072/ft2_4FGL_J0949.2+1749_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/531072/ltcube_360892801_361152001_4FGL_J0949.2+1749_daily_bin469.fits outfile=/scratch/kocevski/531072/expmap_360892801_361152001_4FGL_J0949.2+1749_daily_bin469.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/531072/ltcube_360892801_361152001_4FGL_J0949.2+1749_daily_bin469.fits
.....................!
real 191.09
user 185.46
sys 4.50

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/531072/ft1_filtered_4FGL_J0949.2+1749_daily_bin469.fits scfile=/scratch/kocevski/531072/ft2_4FGL_J0949.2+1749_daily_bin469.fits outfile=/scratch/kocevski/531072/cmap_360892801_361152001_4FGL_J0949.2+1749_daily_bin469.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.62
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0030       1.0000         .10000E-03   10000.    
     2 'norm      '    7.9208       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1703       1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.388       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5869       1.0000         .10000E-03   10000.    
     8 'Prefactor '    52.166       1.0000         .10000E-03   10000.    
     9 'Prefactor '    77.784       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .44551E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0162       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .88691       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2702       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=   5910.648     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1477 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0054        9.2720       -.25032E-05    .23035E-04
   2  norm          7.9205        7.0580        .30878E-06   -.34340E-04
   3  norm          .10000E-03    14.783        .14233E-07** at limit **
   4  Prefactor     .10000E-03    51.261        .59187E-06** at limit **
   5  Prefactor     3.1707        3.9091       -.27526E-06   -.30701E-03
   6  Prefactor     41.397        26.856        .65839E-05    .44136E-04
   7  norm          1.5868        1.4661        .79935E-07   -.61107E-03
   8  Prefactor     52.180        54.291        .16046E-04    .17829E-04
   9  Prefactor     77.789        46.391        .45226E-05    .16547E-05
  10  Prefactor     .10000E-03    4.2584       -.84558E-06** at limit **
  11  Prefactor     2.0166        1.6816       -.20943E-07    .12153E-03
  12  norm          .10000E-03    1.6678        .24279E-08** at limit **
  13  Prefactor     .10000E-03    20.530       -.54927E-07** at limit **
  14  Prefactor     .10000E-03    2.8487        .26702E-07** at limit **
  15  Normalizat    .88675        .19040       -.28754E-05    .21360E-03
  16  Prefactor     1.2704        .17783        .12034E-06    .97311E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00539
  norm       = 7.92047
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.17074
  Prefactor  = 41.3971
  norm       = 1.58679
  Prefactor  = 52.1799
  Prefactor  = 77.7892
  Prefactor  = 0.000100002
  Prefactor  = 2.01663
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.886751
  Prefactor  = 1.27043
 **********
 **   18 **HESSE 
 **********

 FCN=   5910.648     FROM HESSE     STATUS=OK           203 CALLS     1680 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0054        24.487        .45208E-02   -1.5507    
   2  norm          7.9205        7.0567        .14247E-03   -1.5145    
   3  norm          .10000E-03    14.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1707        3.9064        .16338E-03   -1.5352    
   6  Prefactor     41.397        26.854        .62310E-04   -1.4420    
   7  norm          1.5868        1.4498        .84474E-04   -1.5456    
   8  Prefactor     52.180        54.229        .55529E-04   -1.4262    
   9  Prefactor     77.789        46.377        .45532E-04   -1.3942    
  10  Prefactor     .10000E-03    8.9747        .30488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.0166        1.6861        .88608E-04   -1.5424    
  12  norm          .10000E-03    1.6694        .96959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.8592        .12672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .88675        .22357        .26823E-03   -.96927    
  16  Prefactor     1.2704        .21175        .22342E-03   -.84190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65539e-10
Minuit parameter uncertainties:
  1  9.92752
  2  7.05748
  3  1.66961e-05
  4  2.80305e-05
  5  3.90675
  6  26.862
  7  1.44979
  8  54.2804
  9  46.3986
  10  0.000250655
  11  1.68611
  12  9.0518e-07
  13  1.84074e-05
  14  4.17842e-06
  15  0.223799
  16  0.211891
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  7.779e+01  4.640e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.270e+00  2.119e-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.868e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.01
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 8.32e-08 +/- 4.96e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.41e-05

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) = 5910.05465112
delta logL = 0.593485520654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5910.05194429
delta logL = 0.596192351742

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.182       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1978       1.0000          .0000       10.000    
     3 'Normalizat'    .83726       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3057       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=   5910.052     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      257 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.182        356.02        .16008E-02    .39317E-03
   2  Index         3.1979        3.1275        .11355        .13700E-03
   3  Normalizat    .83769        .79951E-01    .44095E-01    .29603E-04
   4  Prefactor     1.3053        .74597E-01    .49960E-01   -.10221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.1817
  Index      = 3.19785
  Normalizat = 0.837689
  Prefactor  = 1.30529
 **********
 **   18 **HESSE 
 **********

 FCN=   5910.052     FROM HESSE     STATUS=OK            31 CALLS      288 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.182        54.845        .64033E-04   -1.4455    
   2  Index         3.1979        .88221        .44964E-02   -.36873    
   3  Normalizat    .83769        .22408        .27504E-03   -.98686    
   4  Prefactor     1.3053        .21519        .22086E-03   -.83150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49025e-10
Minuit parameter uncertainties:
  1  54.9161
  2  0.88756
  3  0.224332
  4  0.215333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/531072': 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) = 5910.05194216
delta logL = 0.59619448288

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.918e+01  5.492e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.198e+00  8.876e-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.305e+00  2.153e-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.377e-01  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.35
Ra Dec: 147.316 17.830
Photon Index (Free Index): 3.20 +/- 0.89
Photon Flux (Free Index): 1.14e-07 +/- 6.04e-08
Energy Flux (Free Index): 2.08e-05 +/- 1.21e-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/531072/cmap_HighResolution_360892801_361152001_4FGL_J0949.2+1749_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.32e-08', energy_flux2='2.08e-05', photon_flux_error='4.96e-08', dlogl='5.96e-01', energy_flux='2.36e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2021-09-01 03:42:04.978023', photon_index_error2='0.89', photon_index2='3.20', ts='4.01', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='1.21e-05', EG='0.89', time_epoch_completed='1630492924.98', return_code='0', job_id='531072', GAL2='1.31', EG2='0.84', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='6.04e-08', ts2='5.35', photon_index='2.52' WHERE bin_id='469' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:42:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 531072: <4FGL_J0949.2+1749_daily_bin469> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin469> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  1 03:30:36 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:30: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:30:38 2021
Terminated at Wed Sep  1 03:42:05 2021
Results reported at Wed Sep  1 03:42:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin469 147.316 17.83 360892801 361152001 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 :                                   470.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            689 sec.

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

