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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin385
RA = 147.316, Dec = 17.83
tmin = 339120001, tmax = 339379201
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='530950', job_status='RUN', time_executed='2021-09-01 03:34:46.184290', time_epoch_executed='1630492486.18' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530950

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530950/ft1_4FGL_J0949.2+1749_daily_bin385.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530950/ft2_4FGL_J0949.2+1749_daily_bin385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530950/ft1_4FGL_J0949.2+1749_daily_bin385.fits outfile=/scratch/kocevski/530950/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin385.fits ra=147.316 dec=17.83 rad=12.0 tmin=339120001.0 tmax=339379201.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 6.30
user 6.01
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530950/ft1_filtered_4FGL_J0949.2+1749_daily_bin385.fits" evtable="EVENTS" scfile=/scratch/kocevski/530950/ft2_4FGL_J0949.2+1749_daily_bin385.fits sctable="SC_DATA" outfile=/scratch/kocevski/530950/ltcube_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.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/530950/ft2_4FGL_J0949.2+1749_daily_bin385.fits
.....................!
real 11.52
user 11.20
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530950/ft1_filtered_4FGL_J0949.2+1749_daily_bin385.fits evtable="EVENTS" scfile=/scratch/kocevski/530950/ft2_4FGL_J0949.2+1749_daily_bin385.fits sctable="SC_DATA" expcube=/scratch/kocevski/530950/ltcube_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.fits outfile=/scratch/kocevski/530950/expmap_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.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/530950/ltcube_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.fits
.....................!
real 190.61
user 185.60
sys 4.69

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/530950/ft1_filtered_4FGL_J0949.2+1749_daily_bin385.fits scfile=/scratch/kocevski/530950/ft2_4FGL_J0949.2+1749_daily_bin385.fits outfile=/scratch/kocevski/530950/cmap_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.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.53
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.683       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    52.101       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16497E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .29461       1.0000         .10000E-03   10000.    
     8 'Prefactor '    131.31       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.3418       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5926       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5519       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89817       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=   5943.490     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1677 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.682        18.387        .25030E-06    .32738E-04
   2  norm          .10000E-03    1.8234       -.27728E-08** at limit **
   3  norm          52.105        45.471        .36605E-06    .26491E-04
   4  Prefactor     .10001E-03    19.411       -.16114E-05** at limit **
   5  Prefactor     .10000E-03    2.9283        .28319E-07** at limit **
   6  Prefactor     .10004E-03    22.023        .61794E-06** at limit **
   7  norm          .29416        1.0734        .11743E-05    .65427E-03
   8  Prefactor     131.30        85.456       -.10965E-06   -.10479E-03
   9  Prefactor     6.3406        24.397        .82220E-06    .18471E-04
  10  Prefactor     6.5944        6.3834        .47462E-06    .24779E-03
  11  Prefactor     .10032E-03    2.5778        .15873E-05** at limit **
  12  norm          .10000E-03    3.4784        .52877E-07** at limit **
  13  Prefactor     .10000E-03    23.478        .56096E-06** at limit **
  14  Prefactor     1.5515        9.4574        .28376E-05    .14393E-03
  15  Normalizat    1.2215        .18050       -.13667E-05   -.45145E-03
  16  Prefactor     .89847        .15807        .99277E-07   -.42706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6825
  norm       = 0.0001
  norm       = 52.105
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100041
  norm       = 0.294161
  Prefactor  = 131.298
  Prefactor  = 6.3406
  Prefactor  = 6.59444
  Prefactor  = 0.000100324
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.55145
  Normalizat = 1.22153
  Prefactor  = 0.898465
 **********
 **   18 **HESSE 
 **********

 FCN=   5943.490     FROM HESSE     STATUS=OK           203 CALLS     1880 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.682        18.391        .88071E-04   -1.4798    
   2  norm          .10000E-03    1.8236        .10167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          52.105        45.509        .55564E-04   -1.4263    
   4  Prefactor     .10001E-03    20.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9571        .12883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10004E-03    230.45        .69241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .29416        1.0953        .14613E-03   -1.5600    
   8  Prefactor     131.30        85.708        .35139E-04   -1.3411    
   9  Prefactor     6.3406        24.415        .15939E-03   -1.5204    
  10  Prefactor     6.5944        6.3927        .15629E-03   -1.5194    
  11  Prefactor     .10032E-03    19.516        .18828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.5007        .14041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5515        9.6308        .34186E-03   -1.5459    
  15  Normalizat    1.2215        .20838        .23535E-03   -.85940    
  16  Prefactor     .89847        .18424        .24500E-03   -.96195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67625e-08
Minuit parameter uncertainties:
  1  18.3962
  2  2.94035e-07
  3  45.5398
  4  0.000726955
  5  4.42641e-06
  6  0.00615058
  7  1.09542
  8  85.789
  9  24.4531
  10  6.39333
  11  0.00503053
  12  3.03206e-06
  13  0.00027934
  14  7.73249
  15  0.208522
  16  0.184367
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  6.341e+00  2.445e+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.985e-01  1.844e-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.222e+00  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/530950/likelihoodResults_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.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) = 5943.41402048
delta logL = 0.0760911107627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5943.40236756
delta logL = 0.0877440355625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7893       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6694       1.0000          .0000       10.000    
     3 'Normalizat'    1.1959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91143       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=   5943.402     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      227 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7770        320.83        .45960E-02    .16905E-03
   2  Index         3.6709        6.8302        .20937        .66092E-04
   3  Normalizat    1.1959        .45386E-01    .53720E-01    .14397E-05
   4  Prefactor     .91143        .38491E-01    .45151E-01    .77987E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77701
  Index      = 3.67092
  Normalizat = 1.19587
  Prefactor  = 0.911429
 **********
 **   18 **HESSE 
 **********

 FCN=   5943.402     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7770        1557.6        .18384E-03   -1.5271    
   2  Index         3.6709        6.7181        .12232E-01   -.26905    
   3  Normalizat    1.1959        .43561        .23753E-03   -.86731    
   4  Prefactor     .91143        .33080        .24345E-03   -.95743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25234e-09
Minuit parameter uncertainties:
  1  177.39
  2  26.8919
  3  0.436939
  4  0.331534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530950': 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) = 5943.40236734
delta logL = 0.0877442541196

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.777e+00  1.774e+02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.671e+00  2.689e+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:  9.114e-01  3.315e-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.196e+00  4.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/530950/cmap_HighResolution_339120001_339379201_4FGL_J0949.2+1749_daily_bin385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.79e-03', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-09-01 03:43:29.351344', job_id='530950', GAL2='0.91', fit_tolerance='1e-08', EG2='1.20', EG='1.22', time_epoch_completed='1630493009.35', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='8.77e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='385' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:43:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 530950: <4FGL_J0949.2+1749_daily_bin385> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin385 147.316 17.83 339120001 339379201 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 :                                   517.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             200.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

