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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin98
RA = 146.661, Dec = 10.277
tmin = 264729601, tmax = 264988801
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='494983', job_status='RUN', time_executed='2021-09-01 01:48:58.732829', time_epoch_executed='1630486138.73' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='98'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/494983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/494983/ft1_4FGL_J0946.6+1016_daily_bin98.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/494983/ft1_4FGL_J0946.6+1016_daily_bin98.fits outfile=/scratch/kocevski/494983/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin98.fits ra=146.661 dec=10.277 rad=12.0 tmin=264729601.0 tmax=264988801.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 1.45
user 1.26
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.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/494983/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin98.fits evtable="EVENTS" outfile="/scratch/kocevski/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/494983/ltcube_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.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/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits
.....................!
real 13.44
user 12.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/494983/ltcube_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.fits outfile=/scratch/kocevski/494983/expmap_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.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/494983/ltcube_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.fits
.....................!
real 192.52
user 186.59
sys 4.47

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/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.fits scfile=/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits outfile=/scratch/kocevski/494983/cmap_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.fits scfile=/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits outfile=/scratch/kocevski/494983/cmap_HighResolution_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.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.53
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.fits', '/scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits', expMap='/scratch/kocevski/494983/expmap_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.fits', expCube='/scratch/kocevski/494983/ltcube_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/494983/Model_4FGL_J0946.6+1016_daily_bin98.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/494983/ft1_filtered_4FGL_J0946.6+1016_daily_bin98.fits
Spacecraft file(s): /scratch/kocevski/494983/ft2_4FGL_J0946.6+1016_daily_bin98.fits
Exposure map: /scratch/kocevski/494983/expmap_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.fits
Exposure cube: /scratch/kocevski/494983/ltcube_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/494983/Model_4FGL_J0946.6+1016_daily_bin98.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) = 8231.55521543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2144       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .93462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4666       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8680       1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.662       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4060       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.163       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5692       1.0000         .10000E-03   10000.    
     9 'norm      '    .22489       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.8822       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.073       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.189       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0068       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0841       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=   8231.551     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1472 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2146        4.1663        .43870E-08    .23719E-04
   2  Prefactor     .93671        1.9895        .51468E-06    .16650E-03
   3  Prefactor     1.4669        11.520        .55323E-06   -.15469E-03
   4  norm          1.8681        1.1470        .22878E-07   -.10418E-03
   5  Prefactor     49.639        76.850       -.60729E-05   -.16715E-03
   6  norm          1.4060        .58147       -.11579E-07   -.26985E-03
   7  Prefactor     14.160        21.948       -.59446E-07   -.28744E-04
   8  Prefactor     7.5590        8.6910       -.63004E-07   -.32088E-04
   9  norm          .30565        5.6795       -.70047E-08    .48292E-05
  10  Prefactor     4.8811        4.6455       -.12784E-05    .67739E-03
  11  Prefactor     .10000E-03    21.895        .97150E-07** at limit **
  12  Prefactor     29.068        40.375       -.10386E-05   -.71600E-04
  13  Prefactor     .10000E-03    53.103        .23632E-06** at limit **
  14  Prefactor     12.165        12.991        .56252E-06    .30456E-04
  15  Normalizat    1.0069        .16235        .73895E-07   -.82252E-04
  16  Prefactor     1.0839        .14009       -.76775E-07   -.48419E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.21457
  Prefactor  = 0.936711
  Prefactor  = 1.4669
  norm       = 1.86813
  Prefactor  = 49.6393
  norm       = 1.40598
  Prefactor  = 14.1599
  Prefactor  = 7.55904
  norm       = 0.305646
  Prefactor  = 4.88112
  Prefactor  = 0.0001
  Prefactor  = 29.0684
  Prefactor  = 0.0001
  Prefactor  = 12.1648
  Normalizat = 1.00694
  Prefactor  = 1.08391
 **********
 **   18 **HESSE 
 **********

 FCN=   8231.551     FROM HESSE     STATUS=OK           213 CALLS     1685 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2146        4.1661        .17974E-03   -1.5297    
   2  Prefactor     .93671        1.7103        .18517E-02   -1.5514    
   3  Prefactor     1.4669        11.849        .35502E-03   -1.5466    
   4  norm          1.8681        1.1406        .72044E-04   -1.5435    
   5  Prefactor     49.639        81.719        .56905E-04   -1.4298    
   6  norm          1.4060        .57497        .42364E-04   -1.5471    
   7  Prefactor     14.160        21.954        .10643E-03   -1.4955    
   8  Prefactor     7.5590        8.6142        .14577E-03   -1.5158    
   9  norm          .30565        40.906        .40965E-02   -1.5597    
  10  Prefactor     4.8811        4.7785        .91022E-03   -1.5266    
  11  Prefactor     .10000E-03    21.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.068        40.557        .74304E-04   -1.4629    
  13  Prefactor     .10000E-03    53.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.165        12.948        .11474E-03   -1.5010    
  15  Normalizat    1.0069        .18650        .26048E-03   -.92798    
  16  Prefactor     1.0839        .16242        .22292E-03   -.89982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.51148e-10
Minuit parameter uncertainties:
  1  4.16637
  2  1.71042
  3  8.34021
  4  1.14065
  5  81.9045
  6  0.574968
  7  21.9663
  8  8.61559
  9  7.0756
  10  4.77886
  11  1.61961e-05
  12  40.5952
  13  2.5947e-05
  14  12.9511
  15  0.186625
  16  0.162493
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.868e+00  1.141e+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:  1.084e+00  1.625e-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.007e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.47
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 5.59e-08 +/- 3.41e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.09e-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) = 8231.3085928
delta logL = 0.242894734673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8231.30290787
delta logL = 0.248579663952

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6653       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7800       1.0000          .0000       5.0000    
     3 'Normalizat'    .97806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1009       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.

 FCN=   8231.303     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      225 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6663        15.106        .81700E-02   -.33149E-04
   2  alpha         2.7796        3.8461        .41455        .29435E-04
   3  Normalizat    .97809        .55883E-01    .45891E-01   -.54650E-03
   4  Prefactor     1.1010        .49007E-01    .37551E-01   -.66387E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66631
  alpha      = 2.77955
  Normalizat = 0.978089
  Prefactor  = 1.10098
 **********
 **   18 **HESSE 
 **********

 FCN=   8231.303     FROM HESSE     STATUS=OK            29 CALLS      254 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6663        1.1691        .62007E-04   -1.5450    
   2  alpha         2.7796        .66925        .15522E-01    .11206    
   3  Normalizat    .97809        .18909        .26382E-03   -.93768    
   4  Prefactor     1.1010        .16412        .22141E-03   -.89435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54378e-09
Minuit parameter uncertainties:
  1  1.1691
  2  0.677616
  3  0.189215
  4  0.164191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/494983': 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) = 8231.30290699
delta logL = 0.248580545905

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.666e+00  1.169e+00  1.000e-04  1.000e+04 ( 1.000e-11)
201        alpha:  2.780e+00  6.776e-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.101e+00  1.642e-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:  9.781e-01  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.01
Ra Dec: 146.661 10.277
Photon Index (Free Index): 2.78 +/- 0.68
Photon Flux (Free Index): 7.55e-08 +/- 4.72e-08
Energy Flux (Free Index): 1.72e-05 +/- 9.86e-06

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/494983/cmap_HighResolution_264729601_264988801_4FGL_J0946.6+1016_daily_bin98.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.59e-08', energy_flux2='1.72e-05', photon_flux_error='3.41e-08', dlogl='2.49e-01', energy_flux='1.79e-05', photon_flux2='7.55e-08', job_status='DONE', time_completed='2021-09-01 01:57:44.370428', photon_index_error2='0.68', photon_index2='2.78', ts='4.47', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='9.86e-06', EG='1.01', time_epoch_completed='1630486664.37', return_code='0', job_id='494983', GAL2='1.10', EG2='0.98', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.72e-08', ts2='5.01', photon_index='2.34' WHERE bin_id='98' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 01:57:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 494983: <4FGL_J0946.6+1016_daily_bin98> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin98> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 01:45:57 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 01:46:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 01:46:00 2021
Terminated at Wed Sep  1 01:57:44 2021
Results reported at Wed Sep  1 01:57:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin98 146.661 10.277 264729601 264988801 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 :                                   522.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            707 sec.

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

