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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin491
RA = 248.454, Dec = 7.0309
tmin = 366595201, tmax = 366854401
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='675874', job_status='RUN', time_executed='2021-09-14 21:02:21.464743', time_epoch_executed='1631678541.46' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='491'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675874

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675874/ft1_4FGL_J1633.8+0701_daily_bin491.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675874/ft1_4FGL_J1633.8+0701_daily_bin491.fits outfile=/scratch/kocevski/675874/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin491.fits ra=248.454 dec=7.0309 rad=12.0 tmin=366595201.0 tmax=366854401.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 5.19
user 4.92
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.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/675874/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin491.fits evtable="EVENTS" outfile="/scratch/kocevski/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.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.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits sctable="SC_DATA" expcube=/scratch/kocevski/675874/ltcube_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.fits outfile=/scratch/kocevski/675874/expmap_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.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/675874/ltcube_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.fits
.....................!
real 192.36
user 186.73
sys 5.06

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/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits scfile=/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits outfile=/scratch/kocevski/675874/cmap_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits scfile=/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits outfile=/scratch/kocevski/675874/cmap_HighResolution_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675874/Model_4FGL_J1633.8+0701_daily_bin491.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/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits.....................!
real 91.94
user 90.44
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits', '/scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits', expMap='/scratch/kocevski/675874/expmap_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.fits', expCube='/scratch/kocevski/675874/ltcube_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/675874/Model_4FGL_J1633.8+0701_daily_bin491.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/675874/ft1_filtered_4FGL_J1633.8+0701_daily_bin491.fits
Spacecraft file(s): /scratch/kocevski/675874/ft2_4FGL_J1633.8+0701_daily_bin491.fits
Exposure map: /scratch/kocevski/675874/expmap_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.fits
Exposure cube: /scratch/kocevski/675874/ltcube_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/675874/Model_4FGL_J1633.8+0701_daily_bin491.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) = 11546.1902726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54819       1.0000         .10000E-03   10000.    
     2 'norm      '    5.5954       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.280       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1580       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.534       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.809       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.065       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7965       1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.363       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.506       1.0000         .10000E-03   10000.    
    16 'Prefactor '    77.903       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2376       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1289       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=   11546.16     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1755 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52219        3.4112       -.28099E-05   -.23583E-03
   2  norm          5.5960        3.8731       -.56706E-06    .41457E-03
   3  Prefactor     12.276        38.879       -.86327E-05    .12924E-04
   4  norm          .10000E-03    2.5199       -.39358E-07** at limit **
   5  norm          3.1580        1.5053       -.13630E-06    .21736E-03
   6  norm          .10000E-03    4.2090       -.21926E-07** at limit **
   7  norm          .10000E-03    119.24        .12592E-04** at limit **
   8  Prefactor     47.405        66.959       -.15823E-03    .21298E-04
   9  Prefactor     24.793        41.401       -.22180E-04    .60464E-04
  10  Prefactor     .10000E-03    4.5117        .53763E-07** at limit **
  11  Prefactor     12.064        8.1192        .82018E-06    .13380E-03
  12  Prefactor     6.6835        7.3021       -.31565E-05   -.46735E-04
  13  Prefactor     2.7909        8.0000       -.50469E-05   -.35358E-03
  14  Prefactor     37.355        49.614       -.10174E-04    .98920E-05
  15  Prefactor     18.503        9.8089        .20071E-05    .99328E-04
  16  Prefactor     77.900        100.61       -.32792E-05    .29966E-05
  17  Normalizat    1.2379        .27983        .18536E-04    .12195E-03
  18  Prefactor     1.1288        .87630E-01    .46532E-06    .99977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.522186
  norm       = 5.59598
  Prefactor  = 12.2762
  norm       = 0.0001
  norm       = 3.15796
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 47.4046
  Prefactor  = 24.7926
  Prefactor  = 0.0001
  Prefactor  = 12.0643
  Prefactor  = 6.68349
  Prefactor  = 2.79094
  Prefactor  = 37.3548
  Prefactor  = 18.5026
  Prefactor  = 77.9001
  Normalizat = 1.2379
  Prefactor  = 1.12877
 **********
 **   18 **HESSE 
 **********

 FCN=   11546.16     FROM HESSE     STATUS=OK           250 CALLS     2005 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52219        10.599        .37515E-02   -1.5563    
   2  norm          5.5960        3.8572        .16830E-03   -1.5235    
   3  Prefactor     12.276        38.894        .11431E-03   -1.5007    
   4  norm          .10000E-03    2.5250        .16658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1580        1.5063        .88661E-04   -1.5353    
   6  norm          .10000E-03    4.2159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    119.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.405        67.015        .29079E-03   -1.4330    
   9  Prefactor     24.793        41.540        .80423E-04   -1.4712    
  10  Prefactor     .10000E-03    4.5188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.064        8.1151        .11533E-03   -1.5013    
  12  Prefactor     6.6835        7.2813        .15518E-03   -1.5191    
  13  Prefactor     2.7909        7.9501        .24329E-03   -1.5374    
  14  Prefactor     37.355        49.610        .65568E-04   -1.4485    
  15  Prefactor     18.503        9.7915        .93104E-04   -1.4847    
  16  Prefactor     77.900        100.67        .45498E-04   -1.3940    
  17  Normalizat    1.2379        .31836        .48027E-03   -.85439    
  18  Prefactor     1.1288        .10096        .16616E-03   -.88552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.3192e-08
Minuit parameter uncertainties:
  1  4.70576
  2  3.85733
  3  38.9748
  4  1.27426e-05
  5  1.50632
  6  2.07569e-05
  7  4.22713e-05
  8  67.1216
  9  41.5889
  10  6.47567e-05
  11  8.11584
  12  7.28231
  13  7.95312
  14  49.6652
  15  9.79236
  16  100.886
  17  0.318861
  18  0.100974
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.206e+01  8.116e+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:  1.129e+00  1.010e-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:  1.238e+00  3.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.74
Ra Dec: 248.454 7.031
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 5.96e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 2.00e-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) = 11545.8240576
delta logL = 0.33706033747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11545.8232932
delta logL = 0.33782475451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.585       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8155       1.0000          .0000       10.000    
     3 'Normalizat'    1.2549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1258       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11545.82     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      315 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.586        11.629        .98346E-04   -.32137E-04
   2  Index         1.8155        .39018        .85579E-02    .17233E-04
   3  Normalizat    1.2548        .29918        .47747E-03    .10429E-04
   4  Prefactor     1.1258        .10025        .16634E-03    .65747E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5864
  Index      = 1.8155
  Normalizat = 1.2548
  Prefactor  = 1.12577
 **********
 **   18 **HESSE 
 **********

 FCN=   11545.82     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.586        11.495        .39338E-05   -1.4893    
   2  Index         1.8155        .38571        .34232E-03   -.69047    
   3  Normalizat    1.2548        .29936        .19099E-04   -.84926    
   4  Prefactor     1.1258        .10033        .66538E-05   -.88647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98335e-12
Minuit parameter uncertainties:
  1  11.4965
  2  0.386361
  3  0.299775
  4  0.100342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675874': 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) = 11545.8232931
delta logL = 0.337824777356

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.659e+01  1.150e+01  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  1.815e+00  3.864e-01  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.126e+00  1.003e-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:  1.255e+00  2.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.42
Ra Dec: 248.454 7.031
Photon Index (Free Index): 1.82 +/- 0.39
Photon Flux (Free Index): 4.32e-08 +/- 3.62e-08
Energy Flux (Free Index): 4.94e-05 +/- 4.60e-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/675874/cmap_HighResolution_366595201_366854401_4FGL_J1633.8+0701_daily_bin491.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.96e-08', energy_flux2='4.94e-05', photon_flux_error='4.01e-08', dlogl='3.38e-01', energy_flux='2.97e-05', photon_flux2='4.32e-08', job_status='DONE', time_completed='2021-09-14 21:14:09.369930', photon_index_error2='0.39', photon_index2='1.82', ts='4.74', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='4.60e-05', EG='1.24', time_epoch_completed='1631679249.37', return_code='0', job_id='675874', GAL2='1.13', EG2='1.25', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='3.62e-08', ts2='5.42', photon_index='2.15' WHERE bin_id='491' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:14:09 PDT 2021


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

Job <4FGL_J1633.8+0701_daily_bin491> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 14 21:00:45 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 21:02:05 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:02:05 2021
Terminated at Tue Sep 14 21:14:10 2021
Results reported at Tue Sep 14 21:14:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin491 248.454 7.0309 366595201 366854401 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 :                                   702.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             370.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            805 sec.

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

