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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin463
RA = 248.454, Dec = 7.0309
tmin = 359337601, tmax = 359596801
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='675829', job_status='RUN', time_executed='2021-09-14 21:05:06.021204', time_epoch_executed='1631678706.02' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675829

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675829/ft1_4FGL_J1633.8+0701_daily_bin463.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675829/ft1_4FGL_J1633.8+0701_daily_bin463.fits outfile=/scratch/kocevski/675829/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin463.fits ra=248.454 dec=7.0309 rad=12.0 tmin=359337601.0 tmax=359596801.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.37
user 3.09
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.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/675829/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin463.fits evtable="EVENTS" outfile="/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits" evtable="EVENTS" scfile=/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits sctable="SC_DATA" outfile=/scratch/kocevski/675829/ltcube_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.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/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits
.....................!
real 13.21
user 12.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits sctable="SC_DATA" expcube=/scratch/kocevski/675829/ltcube_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.fits outfile=/scratch/kocevski/675829/expmap_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.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/675829/ltcube_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.fits
.....................!
real 191.91
user 185.45
sys 5.07

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 163 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1633.8+0701 @ 248.454 7.0309

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits scfile=/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits outfile=/scratch/kocevski/675829/cmap_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.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=248.454 yref=7.0309 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/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits scfile=/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits outfile=/scratch/kocevski/675829/cmap_HighResolution_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.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=248.454 yref=7.0309 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675829/Model_4FGL_J1633.8+0701_daily_bin463.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits.....................!
real 65.77
user 64.09
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits', '/scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits', expMap='/scratch/kocevski/675829/expmap_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.fits', expCube='/scratch/kocevski/675829/ltcube_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/675829/Model_4FGL_J1633.8+0701_daily_bin463.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1633.8+0701'

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.015e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/675829/ft1_filtered_4FGL_J1633.8+0701_daily_bin463.fits
Spacecraft file(s): /scratch/kocevski/675829/ft2_4FGL_J1633.8+0701_daily_bin463.fits
Exposure map: /scratch/kocevski/675829/expmap_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.fits
Exposure cube: /scratch/kocevski/675829/ltcube_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/675829/Model_4FGL_J1633.8+0701_daily_bin463.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) = 8222.67517989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.592       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0685       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.647       1.0000         .10000E-03   10000.    
     4 'norm      '    5.6851       1.0000         .10000E-03   10000.    
     5 'norm      '    4.6567       1.0000         .10000E-03   10000.    
     6 'norm      '    16.711       1.0000         .10000E-03   10000.    
     7 'norm      '    232.60       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9273       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6024       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10259E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.7521       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14572E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3699       1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.312       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11011E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83052       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99229       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8222.657     FROM MIGRAD    STATUS=CONVERGED    410 CALLS     1807 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.592        6.8308        .28883E-06    .60038E-05
   2  norm          1.0640        4.2750        .58116E-06   -.44710E-04
   3  Prefactor     42.714        54.277        .58392E-05    .37984E-05
   4  norm          5.6853        5.8776        .80135E-07   -.11062E-04
   5  norm          4.6564        1.8178       -.24621E-07   -.39412E-04
   6  norm          16.691        15.344        .29282E-06   -.13518E-04
   7  norm          232.59        155.52        .77092E-06   -.57198E-06
   8  Prefactor     1.6054        774.95        .16165E-04   -.29332E-05
   9  Prefactor     2.6151        69.609        .97384E-07   -.87924E-07
  10  Prefactor     .10000E-03    3.4295        .68328E-07** at limit **
  11  Prefactor     4.7497        8.7816       -.56931E-07   -.48829E-04
  12  Prefactor     .10000E-03    4.3352       -.15526E-06** at limit **
  13  Prefactor     3.3752        6.0481        .35655E-05   -.63615E-04
  14  Prefactor     65.230        74.615        .25821E-05   -.10581E-05
  15  Prefactor     .10000E-03    4.7132       -.70328E-07** at limit **
  16  Prefactor     .10000E-03    70.775       -.30728E-07** at limit **
  17  Normalizat    .83089        .28336       -.20757E-05   -.82419E-04
  18  Prefactor     .99236        .91113E-01   -.37709E-06   -.28461E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5916
  norm       = 1.06399
  Prefactor  = 42.7141
  norm       = 5.68529
  norm       = 4.65643
  norm       = 16.6911
  norm       = 232.59
  Prefactor  = 1.60542
  Prefactor  = 2.61509
  Prefactor  = 0.0001
  Prefactor  = 4.74966
  Prefactor  = 0.000100001
  Prefactor  = 3.37515
  Prefactor  = 65.2299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.830889
  Prefactor  = 0.992357
 **********
 **   18 **HESSE 
 **********

 FCN=   8222.657     FROM HESSE     STATUS=OK           256 CALLS     2063 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.592        6.7651        .61554E-03   -1.5057    
   2  norm          1.0640        4.2651        .34711E-03   -1.5502    
   3  Prefactor     42.714        54.333        .61387E-04   -1.4400    
   4  norm          5.6853        5.8777        .84234E-03   -1.5231    
   5  norm          4.6564        1.8185        .74141E-04   -1.5276    
   6  norm          16.691        15.408        .97975E-04   -1.4891    
   7  norm          232.59        155.57        .13269E-03   -1.2646    
   8  Prefactor     1.6054        790.62        .29922E-03   -1.5455    
   9  Prefactor     2.6151        69.433        .25289E-03   -1.5385    
  10  Prefactor     .10000E-03    3.4347        .16391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.7497        8.7579        .18457E-03   -1.5272    
  12  Prefactor     .10000E-03    5.6977        .50859E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.3752        6.0694        .11022E-02   -1.5341    
  14  Prefactor     65.230        74.625        .49659E-04   -1.4091    
  15  Prefactor     .10000E-03    4.7587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    70.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .83089        .31586        .45829E-03   -.98933    
  18  Prefactor     .99236        .10309        .14738E-03   -.92985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37699e-11
Minuit parameter uncertainties:
  1  6.76556
  2  4.26086
  3  54.3962
  4  5.87835
  5  1.81849
  6  15.4117
  7  155.848
  8  72.2319
  9  26.9841
  10  4.41706e-06
  11  8.76027
  12  0.000142465
  13  6.07053
  14  74.7322
  15  9.38924e-06
  16  1.60996e-05
  17  0.316563
  18  0.103113
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  4.750e+00  8.760e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.924e-01  1.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.309e-01  3.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 248.454 7.031
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675829/likelihoodResults_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.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) = 8219.82766804
delta logL = 2.82981252078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8219.60105423
delta logL = 3.0564263242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.9649       1.0000          .0000       10.000    
     3 'Normalizat'    .63167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0399       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8219.601     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      450 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10217E-02   -.13421E-06** at limit **
   2  Index         6.9646        .17641       -.23155E-04   -.10346E-03
   3  Normalizat    .63256        .29014        .23153E-04    .29064E-03
   4  Prefactor     1.0395        .10120       -.59702E-05    .27725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.96459
  Normalizat = 0.632557
  Prefactor  = 1.03954
 **********
 **   18 **HESSE 
 **********

 FCN=   8219.601     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      493 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .19998E-02    .28008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.9646        1.6067        .73243E-01    .40380    
   3  Normalizat    .63256        .79858E-01    .11715       -1.0662    
   4  Prefactor     1.0395        .27319E-01    .40543E-01   -.91423    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19941e-10
Minuit parameter uncertainties:
  1  1.12012e-07
  2  1.64134
  3  0.0798723
  4  0.0273197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675829': 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): 102
logL (Free Index) = 8219.60104697
delta logL = 3.0564335857

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  1.120e-07  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  6.965e+00  1.641e+00  0.000e+00  1.000e+01 (-1.000e+00)
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.040e+00  2.732e-02  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  6.326e-01  7.987e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.00
Ra Dec: 248.454 7.031
Photon Index (Free Index): 6.96 +/- 1.64
Photon Flux (Free Index): 1.46e-07 +/- 6.60e-07
Energy Flux (Free Index): 1.75e-05 +/- 7.83e-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/675829/cmap_HighResolution_359337601_359596801_4FGL_J1633.8+0701_daily_bin463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.16e-03', comment='SUCCESS', energy_flux2='1.75e-05', dlogl='3.06e+00', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-09-14 21:16:09.322040', photon_index_error2='1.64', photon_index2='6.96', ts='0.35', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='7.83e-05', EG='0.83', time_epoch_completed='1631679369.32', return_code='0', job_id='675829', GAL2='1.04', EG2='0.63', return_code2='102', photon_flux_error2='6.60e-07', ts2='7.00', photon_index='2.15' WHERE bin_id='463' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 675829: <4FGL_J1633.8+0701_daily_bin463> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin463> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 14 21:00:42 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 21:01:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 21:01:51 2021
Terminated at Tue Sep 14 21:16:09 2021
Results reported at Tue Sep 14 21:16:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin463 248.454 7.0309 359337601 359596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1633.8+0701 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            927 sec.

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

