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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin815
RA = 147.316, Dec = 17.83
tmin = 450576001, tmax = 450835201
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='532878', job_status='RUN', time_executed='2021-09-01 03:36:26.508007', time_epoch_executed='1630492586.51' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='815'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532878

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532878/ft1_4FGL_J0949.2+1749_daily_bin815.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532878/ft2_4FGL_J0949.2+1749_daily_bin815.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532878/ft1_4FGL_J0949.2+1749_daily_bin815.fits outfile=/scratch/kocevski/532878/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin815.fits ra=147.316 dec=17.83 rad=12.0 tmin=450576001.0 tmax=450835201.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.70
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532878/ft1_filtered_4FGL_J0949.2+1749_daily_bin815.fits" evtable="EVENTS" scfile=/scratch/kocevski/532878/ft2_4FGL_J0949.2+1749_daily_bin815.fits sctable="SC_DATA" outfile=/scratch/kocevski/532878/ltcube_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.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/532878/ft2_4FGL_J0949.2+1749_daily_bin815.fits
.....................!
real 11.84
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532878/ft1_filtered_4FGL_J0949.2+1749_daily_bin815.fits evtable="EVENTS" scfile=/scratch/kocevski/532878/ft2_4FGL_J0949.2+1749_daily_bin815.fits sctable="SC_DATA" expcube=/scratch/kocevski/532878/ltcube_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.fits outfile=/scratch/kocevski/532878/expmap_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.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/532878/ltcube_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.fits
.....................!
real 189.41
user 185.05
sys 4.00

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/532878/ft1_filtered_4FGL_J0949.2+1749_daily_bin815.fits scfile=/scratch/kocevski/532878/ft2_4FGL_J0949.2+1749_daily_bin815.fits outfile=/scratch/kocevski/532878/cmap_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3467       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19231E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .97291       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.026       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23337       1.0000         .10000E-03   10000.    
    12 'norm      '    17.829       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.635       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0699       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87229       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=   5476.828     FROM MIGRAD    STATUS=CONVERGED    311 CALLS     1468 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4001       -.10303E-07** at limit **
   2  norm          .10000E-03    1.9531       -.27508E-08** at limit **
   3  norm          .10000E-03    20.533       -.70845E-06** at limit **
   4  Prefactor     .10000E-03    41.782        .13945E-04** at limit **
   5  Prefactor     5.3442        4.8724       -.19282E-07    .42655E-04
   6  Prefactor     .10000E-03    79.651       -.36751E-05** at limit **
   7  norm          .97322        1.2374       -.12284E-06   -.96330E-03
   8  Prefactor     .10000E-03    36.334       -.12214E-04** at limit **
   9  Prefactor     40.034        37.647        .62576E-05    .11018E-04
  10  Prefactor     .10000E-03    9.5728        .93429E-07** at limit **
  11  Prefactor     .23391        1.7894       -.15285E-05    .10716E-02
  12  norm          17.832        8.9346        .49017E-06    .72134E-04
  13  Prefactor     .10000E-03    23.311        .20396E-05** at limit **
  14  Prefactor     14.636        10.070        .10231E-06   -.11131E-04
  15  Normalizat    1.0697        .18622       -.52289E-06    .17738E-03
  16  Prefactor     .87235        .16435       -.38985E-07    .89578E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.34422
  Prefactor  = 0.0001
  norm       = 0.973217
  Prefactor  = 0.0001
  Prefactor  = 40.0343
  Prefactor  = 0.0001
  Prefactor  = 0.233913
  norm       = 17.8316
  Prefactor  = 0.0001
  Prefactor  = 14.6364
  Normalizat = 1.06971
  Prefactor  = 0.872348
 **********
 **   18 **HESSE 
 **********

 FCN=   5476.828     FROM HESSE     STATUS=OK           203 CALLS     1671 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.9533        .10101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    20.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    42.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.3442        4.8759        .15115E-03   -1.5246    
   6  Prefactor     .10000E-03    80.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .97322        1.1619        .88004E-03   -1.5511    
   8  Prefactor     .10000E-03    36.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.034        37.794        .63357E-04   -1.4442    
  10  Prefactor     .10000E-03    9.8606        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .23391        6.0581        .18334E-02   -1.5611    
  12  norm          17.832        8.9315        .94853E-04   -1.4863    
  13  Prefactor     .10000E-03    23.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.636        10.082        .10470E-03   -1.4943    
  15  Normalizat    1.0697        .21824        .23529E-03   -.90730    
  16  Prefactor     .87235        .19365        .23313E-03   -.97114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41683e-09
Minuit parameter uncertainties:
  1  1.26179e-06
  2  1.21391e-07
  3  2.60175e-06
  4  2.09241e-06
  5  4.87629
  6  0.000240584
  7  1.16193
  8  1.95921e-05
  9  37.8164
  10  2.28737e-05
  11  2.38058
  12  8.9322
  13  1.78665e-06
  14  10.0828
  15  0.218428
  16  0.193807
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.003e+01  3.782e+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.723e-01  1.938e-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.070e+00  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.28e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.15e-05

TS (Fixed Index): 1.54
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532878/likelihoodResults_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.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) = 5476.78312585
delta logL = 0.0451125630816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5476.78109401
delta logL = 0.0471443995193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.286       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7865       1.0000          .0000       10.000    
     3 'Normalizat'    1.0567       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88101       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=   5476.781     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      293 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.316        45.051        .69455E-04    .74803E-04
   2  Index         2.7875        .98581        .83112E-02    .31997E-03
   3  Normalizat    1.0568        .21983        .23655E-03   -.51522E-04
   4  Prefactor     .88074        .19602        .23216E-03   -.17286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.3157
  Index      = 2.7875
  Normalizat = 1.05678
  Prefactor  = 0.880739
 **********
 **   18 **HESSE 
 **********

 FCN=   5476.781     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.316        41.796        .27782E-05   -1.4553    
   2  Index         2.7875        .91469        .16622E-02   -.45838    
   3  Normalizat    1.0568        .21971        .94618E-05   -.91152    
   4  Prefactor     .88074        .19590        .92864E-05   -.96817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.3949e-11
Minuit parameter uncertainties:
  1  41.8331
  2  0.921161
  3  0.219899
  4  0.196054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532878': 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) = 5476.78108948
delta logL = 0.0471489355205

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.332e+01  4.183e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.788e+00  9.212e-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:  8.807e-01  1.961e-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.057e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.79 +/- 0.92
Photon Flux (Free Index): 5.19e-08 +/- 5.29e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.07e-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/532878/cmap_HighResolution_450576001_450835201_4FGL_J0949.2+1749_daily_bin815.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='4.28e-08', energy_flux2='1.17e-05', photon_flux_error='4.04e-08', dlogl='4.71e-02', energy_flux='1.21e-05', photon_flux2='5.19e-08', job_status='DONE', time_completed='2021-09-01 03:44:29.127353', photon_index_error2='0.92', photon_index2='2.79', ts='1.54', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.07e-05', EG='1.07', time_epoch_completed='1630493069.13', return_code='0', job_id='532878', GAL2='0.88', EG2='1.06', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='5.29e-08', ts2='1.64', photon_index='2.52' WHERE bin_id='815' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:44:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 532878: <4FGL_J0949.2+1749_daily_bin815> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin815 147.316 17.83 450576001 450835201 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 :                                   476.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             400.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   492 sec.
    Turnaround time :                            494 sec.

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

