/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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0949.2+1749_daily_bin332
RA = 147.316, Dec = 17.83
tmin = 325382401, tmax = 325641601
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='530872', job_status='RUN', time_executed='2021-09-01 03:32:28.767218', time_epoch_executed='1630492348.77' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530872

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530872/ft1_4FGL_J0949.2+1749_daily_bin332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530872/ft2_4FGL_J0949.2+1749_daily_bin332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530872/ft1_4FGL_J0949.2+1749_daily_bin332.fits outfile=/scratch/kocevski/530872/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin332.fits ra=147.316 dec=17.83 rad=12.0 tmin=325382401.0 tmax=325641601.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.54
user 3.33
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530872/ft1_filtered_4FGL_J0949.2+1749_daily_bin332.fits evtable="EVENTS" scfile=/scratch/kocevski/530872/ft2_4FGL_J0949.2+1749_daily_bin332.fits sctable="SC_DATA" expcube=/scratch/kocevski/530872/ltcube_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.fits outfile=/scratch/kocevski/530872/expmap_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.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/530872/ltcube_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.fits
.....................!
real 190.52
user 185.63
sys 4.33

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/530872/ft1_filtered_4FGL_J0949.2+1749_daily_bin332.fits scfile=/scratch/kocevski/530872/ft2_4FGL_J0949.2+1749_daily_bin332.fits outfile=/scratch/kocevski/530872/cmap_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530872/ft1_filtered_4FGL_J0949.2+1749_daily_bin332.fits scfile=/scratch/kocevski/530872/ft2_4FGL_J0949.2+1749_daily_bin332.fits outfile=/scratch/kocevski/530872/cmap_HighResolution_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.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.57
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    45.051       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.853       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4687       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4319       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1726       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.761       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.4103       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .82706       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=   6222.630     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1465 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.019        .90712E-02** at limit **
   2  norm          .10000E-03    2.8759        .90712E-02** at limit **
   3  norm          45.052        38.725        .14933E-02   -.97835E-03
   4  Prefactor     .10000E-03    46.060        .90712E-02** at limit **
   5  Prefactor     .10000E-03    5.8986        .90712E-02** at limit **
   6  Prefactor     26.850        31.876        .19327E-02    .16203E-02
   7  norm          1.4688        1.3147        .88668E-02   -.91469E-03
   8  Prefactor     .10000E-03    34.902        .90712E-02** at limit **
   9  Prefactor     7.4314        41.284        .36779E-02    .21343E-03
  10  Prefactor     .10000E-03    7.1539        .90712E-02** at limit **
  11  Prefactor     1.1748        3.7568        .10586E-01    .95143E-03
  12  norm          .10000E-03    2.8058        .90712E-02** at limit **
  13  Prefactor     62.761        41.995        .12663E-02   -.37700E-03
  14  Prefactor     .10000E-03    2.8178        .90712E-02** at limit **
  15  Normalizat    1.4102        .19373        .53170E-01   -.59663E-03
  16  Prefactor     .82715        .16669        .44068E-01   -.14302E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 45.0521
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 26.8498
  norm       = 1.4688
  Prefactor  = 0.000100001
  Prefactor  = 7.43141
  Prefactor  = 0.0001
  Prefactor  = 1.17479
  norm       = 0.0001
  Prefactor  = 62.7612
  Prefactor  = 0.0001
  Normalizat = 1.41017
  Prefactor  = 0.827148
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.630     FROM HESSE     STATUS=OK           193 CALLS     1658 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8801        .13065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          45.052        38.727        .59733E-04   -1.4365    
   4  Prefactor     .10000E-03    46.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0540        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.850        31.845        .77308E-04   -1.4671    
   7  norm          1.4688        1.2981        .81272E-04   -1.5466    
   8  Prefactor     .10000E-03    34.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4314        41.403        .14712E-03   -1.5163    
  10  Prefactor     .10000E-03    7.2765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1748        3.7594        .25575E-03   -1.5491    
  12  norm          .10000E-03    2.8132        .12904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     62.761        42.012        .50652E-04   -1.4122    
  14  Prefactor     .10000E-03    2.8223        .12932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4102        .23082        .23508E-03   -.80335    
  16  Prefactor     .82715        .19803        .26412E-03   -.98735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65683e-08
Minuit parameter uncertainties:
  1  0.000153027
  2  7.25706e-05
  3  38.7482
  4  0.000461792
  5  0.000221672
  6  31.8651
  7  1.29812
  8  0.000454229
  9  35.1188
  10  2.57609e-05
  11  3.76016
  12  1.196e-05
  13  42.0315
  14  1.43399e-05
  15  0.230994
  16  0.198197
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.271e-01  1.982e-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.410e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/530872/likelihoodResults_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.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) = 6222.62558282
delta logL = 0.00424966190076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6222.62502277
delta logL = 0.00480971240358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9010       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7366       1.0000          .0000       10.000    
     3 'Normalizat'    1.4071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82868       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=   6222.625     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      254 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7753        508.37        .38181E-02    .40058E-04
   2  Index         2.7667        1.9786        .50000        .11462E-04
   3  Normalizat    1.4072        .20388E-01    .53218E-01    .10475E-04
   4  Prefactor     .82884        .18205E-01    .44089E-01    .39981E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77534
  Index      = 2.76666
  Normalizat = 1.4072
  Prefactor  = 0.828839
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.625     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7753        43.508        .15272E-03   -1.5187    
   2  Index         2.7667        2.5225        .83441E-02   -.46304    
   3  Normalizat    1.4072        .22429        .23530E-03   -.80421    
   4  Prefactor     .82884        .19736        .26388E-03   -.98674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32705e-11
Minuit parameter uncertainties:
  1  34.375
  2  2.68
  3  0.224452
  4  0.197524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530872': 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) = 6222.62494507
delta logL = 0.00488741802747

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.288e-01  1.975e-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.407e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/530872/cmap_HighResolution_325382401_325641601_4FGL_J0949.2+1749_daily_bin332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.95e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-01 03:40:47.877374', job_id='530872', GAL2='0.83', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1630492847.88', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.89e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='332' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:40:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 530872: <4FGL_J0949.2+1749_daily_bin332> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin332 147.316 17.83 325382401 325641601 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 :                                   496.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            625 sec.

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

