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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin774
RA = 146.661, Dec = 10.277
tmin = 439948801, tmax = 440208001
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='499307', job_status='RUN', time_executed='2021-09-01 02:04:06.244142', time_epoch_executed='1630487046.24' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/499307

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/499307/ft1_4FGL_J0946.6+1016_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/499307/ft1_4FGL_J0946.6+1016_daily_bin774.fits outfile=/scratch/kocevski/499307/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin774.fits ra=146.661 dec=10.277 rad=12.0 tmin=439948801.0 tmax=440208001.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.49
user 3.16
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.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/499307/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.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.61
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/499307/ltcube_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.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/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits
.....................!
real 12.28
user 11.44
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/499307/ltcube_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.fits outfile=/scratch/kocevski/499307/expmap_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.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/499307/ltcube_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.fits
.....................!
real 190.45
user 186.39
sys 3.75

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0946.6+1016 @ 146.661 10.277

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits scfile=/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits outfile=/scratch/kocevski/499307/cmap_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.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=146.661 yref=10.277 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.60
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits scfile=/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits outfile=/scratch/kocevski/499307/cmap_HighResolution_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.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=146.661 yref=10.277 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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/499307/Model_4FGL_J0946.6+1016_daily_bin774.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/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits.....................!
real 72.27
user 70.83
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits', '/scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits', expMap='/scratch/kocevski/499307/expmap_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.fits', expCube='/scratch/kocevski/499307/ltcube_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/499307/Model_4FGL_J0946.6+1016_daily_bin774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0946.6+1016'

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.452e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/499307/ft1_filtered_4FGL_J0946.6+1016_daily_bin774.fits
Spacecraft file(s): /scratch/kocevski/499307/ft2_4FGL_J0946.6+1016_daily_bin774.fits
Exposure map: /scratch/kocevski/499307/expmap_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.fits
Exposure cube: /scratch/kocevski/499307/ltcube_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/499307/Model_4FGL_J0946.6+1016_daily_bin774.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) = 7388.07614203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.2065       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6401       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.250       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11126E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2315       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3349       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7387.971     FROM MIGRAD    STATUS=CONVERGED    299 CALLS     1479 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2981        .70467E-06** at limit **
   2  Prefactor     1.1092        2.9324       -.11419E-05   -.12431E-02
   3  Prefactor     .10000E-03    25.651       -.92580E-05** at limit **
   4  norm          3.2065        1.5554       -.46034E-07   -.33606E-03
   5  Prefactor     .10000E-03    46.997        .32991E-06** at limit **
   6  norm          1.6400        .69631        .48782E-08    .53203E-04
   7  Prefactor     .10000E-03    24.252        .68766E-05** at limit **
   8  Prefactor     17.249        11.592        .30062E-06   -.19118E-04
   9  norm          .10000E-03    6.3920        .15375E-06** at limit **
  10  Prefactor     .10000E-03    5.1093        .31574E-07** at limit **
  11  Prefactor     19.355        53.512       -.39238E-05   -.14042E-04
  12  Prefactor     .10000E-03    48.610       -.58580E-05** at limit **
  13  Prefactor     .10000E-03    38.030        .58651E-05** at limit **
  14  Prefactor     7.2281        11.086        .94731E-06   -.11779E-03
  15  Normalizat    1.3349        .18578        .79221E-07    .75335E-04
  16  Prefactor     .99376        .15516        .10315E-06    .84727E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.1092
  Prefactor  = 0.0001
  norm       = 3.20648
  Prefactor  = 0.0001
  norm       = 1.64003
  Prefactor  = 0.0001
  Prefactor  = 17.2493
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.22811
  Normalizat = 1.33492
  Prefactor  = 0.993756
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.971     FROM HESSE     STATUS=OK           201 CALLS     1680 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2934        .12709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1092        3.1883        .24947E-03   -1.5497    
   3  Prefactor     .10000E-03    24.796        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.2065        1.5571        .70607E-04   -1.5350    
   5  Prefactor     .10000E-03    47.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6400        .69331        .44640E-04   -1.5452    
   7  Prefactor     .10000E-03    23.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.249        11.574        .96433E-04   -1.4877    
   9  norm          .10000E-03    6.4012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.355        53.834        .91034E-04   -1.4828    
  12  Prefactor     .10000E-03    48.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.2281        10.984        .14916E-03   -1.5170    
  15  Normalizat    1.3349        .22171        .25624E-03   -.82530    
  16  Prefactor     .99376        .18471        .24935E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52907e-09
Minuit parameter uncertainties:
  1  1.57506e-07
  2  3.18874
  3  0.000171839
  4  1.55713
  5  3.23526e-06
  6  0.693316
  7  1.3804e-05
  8  11.5756
  9  1.11109e-06
  10  9.51694e-06
  11  53.9696
  12  3.29375e-05
  13  6.34111e-05
  14  10.9871
  15  0.221864
  16  0.184828
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.206e+00  1.557e+00  1.000e-04  1.000e+04 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.938e-01  1.848e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.335e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.82
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 9.60e-08 +/- 4.66e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.49e-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) = 7387.93227887
delta logL = 0.0389385805192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7387.9300996
delta logL = 0.041117853164

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1552       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4789       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3213       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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=   7387.930     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      239 TOTAL
                     EDM=   .94E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1552        1.5528        .68363E-04   -.20039E-03
   2  alpha         2.4789        .47752        .13245E-01   -.40779E-05
   3  Normalizat    1.3213        .22121        .25732E-03   -.86417E-04
   4  Prefactor     1.0013        .18555        .24852E-03   -.58463E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.15523
  alpha      = 2.47892
  Normalizat = 1.32128
  Prefactor  = 1.00133
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.930     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1552        1.5398        .27345E-05   -1.5353    
   2  alpha         2.4789        .47311        .52981E-03   -.84304E-02
   3  Normalizat    1.3213        .22142        .10293E-04   -.82933    
   4  Prefactor     1.0013        .18567        .99408E-05   -.92685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.33248e-12
Minuit parameter uncertainties:
  1  1.5398
  2  0.475983
  3  0.221581
  4  0.185793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/499307': 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) = 7387.9300996
delta logL = 0.0411178532158

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.155e+00  1.540e+00  1.000e-04  1.000e+04 ( 1.000e-11)
201        alpha:  2.479e+00  4.760e-01  0.000e+00  5.000e+00 ( 1.000e+00)
202         beta:  8.006e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.001e+00  1.858e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.321e+00  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.89
Ra Dec: 146.661 10.277
Photon Index (Free Index): 2.48 +/- 0.48
Photon Flux (Free Index): 1.07e-07 +/- 6.14e-08
Energy Flux (Free Index): 3.01e-05 +/- 1.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/499307/cmap_HighResolution_439948801_440208001_4FGL_J0946.6+1016_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.60e-08', energy_flux2='3.01e-05', photon_flux_error='4.66e-08', dlogl='4.11e-02', energy_flux='3.08e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-01 02:12:36.929573', photon_index_error2='0.48', photon_index2='2.48', ts='6.82', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='1.33', time_epoch_completed='1630487556.93', return_code='0', job_id='499307', GAL2='1.00', EG2='1.32', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='6.14e-08', ts2='6.89', photon_index='2.34' WHERE bin_id='774' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 02:12:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 499307: <4FGL_J0946.6+1016_daily_bin774> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin774> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:01:17 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:01:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 02:01:19 2021
Terminated at Wed Sep  1 02:12:37 2021
Results reported at Wed Sep  1 02:12:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin774 146.661 10.277 439948801 440208001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0946.6+1016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   506.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            680 sec.

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

