/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 76 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1632.2+0854_daily_bin208
RA = 248.06, Dec = 8.9044
tmin = 293241601, tmax = 293500801
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='652598', job_status='RUN', time_executed='2021-09-14 19:47:58.919288', time_epoch_executed='1631674078.92' WHERE source_name='4FGL J1632.2+0854' and cadence='daily' and bin_id='208'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/652598

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/652598/ft1_4FGL_J1632.2+0854_daily_bin208.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/652598/ft1_4FGL_J1632.2+0854_daily_bin208.fits outfile=/scratch/kocevski/652598/ft1_filteredMKT_4FGL_J1632.2+0854_daily_bin208.fits ra=248.06 dec=8.9044 rad=12.0 tmin=293241601.0 tmax=293500801.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.63
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.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/652598/ft1_filteredMKT_4FGL_J1632.2+0854_daily_bin208.fits evtable="EVENTS" outfile="/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.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.53
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits" evtable="EVENTS" scfile=/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits sctable="SC_DATA" outfile=/scratch/kocevski/652598/ltcube_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.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/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits
.....................!
real 14.94
user 14.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits evtable="EVENTS" scfile=/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits sctable="SC_DATA" expcube=/scratch/kocevski/652598/ltcube_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.fits outfile=/scratch/kocevski/652598/expmap_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.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/652598/ltcube_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.fits
.....................!
real 191.96
user 186.22
sys 4.02

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 164 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 J1632.2+0854 @ 248.06 8.9044

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits scfile=/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits outfile=/scratch/kocevski/652598/cmap_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.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.06 yref=8.9044 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits scfile=/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits outfile=/scratch/kocevski/652598/cmap_HighResolution_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.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.06 yref=8.9044 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.57
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits evtable="EVENTS" scfile=/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/652598/Model_4FGL_J1632.2+0854_daily_bin208.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/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits.....................!
real 80.82
user 79.34
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits', '/scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits', expMap='/scratch/kocevski/652598/expmap_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.fits', expCube='/scratch/kocevski/652598/ltcube_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/652598/Model_4FGL_J1632.2+0854_daily_bin208.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1632.2+0854'

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  1.570e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/652598/ft1_filtered_4FGL_J1632.2+0854_daily_bin208.fits
Spacecraft file(s): /scratch/kocevski/652598/ft2_4FGL_J1632.2+0854_daily_bin208.fits
Exposure map: /scratch/kocevski/652598/expmap_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.fits
Exposure cube: /scratch/kocevski/652598/ltcube_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/652598/Model_4FGL_J1632.2+0854_daily_bin208.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) = 9924.3693682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9539       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    32.163       1.0000         .10000E-03   10000.    
     4 'norm      '    6.7323       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    66.688       1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.458       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3822       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9055       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1718       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7276       1.0000         .10000E-03   10000.    
    13 'Prefactor '    207.36       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.595       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.9092       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3493       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85548       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9924.364     FROM MIGRAD    STATUS=CONVERGED    319 CALLS     1584 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9536        4.1967       -.41850E-07   -.12101E-03
   2  Prefactor     .10000E-03    85.001       -.32713E-05** at limit **
   3  norm          32.164        11.332        .61107E-06   -.17052E-03
   4  norm          6.7319        2.1840       -.41421E-07    .81420E-04
   5  norm          .10000E-03    5.5717       -.14443E-07** at limit **
   6  norm          .10000E-03    44.234        .21263E-05** at limit **
   7  Prefactor     66.690        54.285        .13476E-05   -.29563E-04
   8  Prefactor     60.458        43.587       -.13551E-06    .15779E-04
   9  Prefactor     8.3855        12.593        .33385E-05   -.12559E-03
  10  Prefactor     5.9053        7.3469       -.25044E-05    .20488E-03
  11  Prefactor     7.1738        7.8619        .17707E-05   -.15091E-03
  12  Prefactor     2.7271        7.9774       -.93802E-05   -.84159E-04
  13  Prefactor     207.37        88.239        .37234E-05   -.13389E-03
  14  Prefactor     12.597        9.6923        .32420E-05   -.38913E-03
  15  Prefactor     7.9090        16.001       -.41355E-06   -.35731E-04
  16  Normalizat    1.3490        .26231       -.14326E-06    .60115E-04
  17  Prefactor     .85558        .87908E-01   -.88975E-07    .16744E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.95361
  Prefactor  = 0.0001
  norm       = 32.1641
  norm       = 6.73195
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 66.6899
  Prefactor  = 60.4584
  Prefactor  = 8.38554
  Prefactor  = 5.90526
  Prefactor  = 7.1738
  Prefactor  = 2.72709
  Prefactor  = 207.368
  Prefactor  = 12.5969
  Prefactor  = 7.90898
  Normalizat = 1.34901
  Prefactor  = 0.855581
 **********
 **   18 **HESSE 
 **********

 FCN=   9924.364     FROM HESSE     STATUS=OK           223 CALLS     1807 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9536        4.2028        .16457E-03   -1.5220    
   2  Prefactor     .10000E-03    85.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          32.164        11.359        .70653E-04   -1.4573    
   4  norm          6.7319        2.1843        .80838E-04   -1.5189    
   5  norm          .10000E-03    5.5857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    44.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     66.690        54.275        .49147E-04   -1.4073    
   8  Prefactor     60.458        43.613        .51602E-04   -1.4151    
   9  Prefactor     8.3855        12.504        .13847E-03   -1.5129    
  10  Prefactor     5.9053        7.3141        .16525E-03   -1.5222    
  11  Prefactor     7.1738        7.8290        .14979E-03   -1.5172    
  12  Prefactor     2.7271        8.2952        .24656E-03   -1.5378    
  13  Prefactor     207.37        88.063        .14035E-03   -1.2818    
  14  Prefactor     12.597        9.6655        .11287E-03   -1.4998    
  15  Prefactor     7.9090        16.005        .14257E-03   -1.5145    
  16  Normalizat    1.3490        .31266        .41224E-03   -.82115    
  17  Prefactor     .85558        .10536        .17547E-03   -.97711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37182e-10
Minuit parameter uncertainties:
  1  4.20298
  2  0.000361062
  3  11.3599
  4  2.1843
  5  8.89963e-07
  6  0.000160257
  7  54.3155
  8  43.6364
  9  12.5083
  10  7.3152
  11  7.83009
  12  8.29865
  13  88.1195
  14  9.66672
  15  16.0138
  16  0.313103
  17  0.105388
Done.

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

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  8.386e+00  1.251e+01  1.000e-04  1.000e+04 ( 1.000e-13)
244        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.556e-01  1.054e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.349e+00  3.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.66
Ra Dec: 248.060 8.904
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/652598/likelihoodResults_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.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) = 9924.36319462
delta logL = 0.000345497412127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9924.36307505
delta logL = 0.000465066676043

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9924.363     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      227 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5799        280.31        .34232E-02    .71297E-04
   2  Index         2.2588        2.9227        .24492        .64872E-04
   3  Normalizat    1.3501        .67742E-01    .93041E-01    .28807E-04
   4  Prefactor     .85536        .21049E-01    .44435E-01    .27384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.57992
  Index      = 2.2588
  Normalizat = 1.35007
  Prefactor  = 0.855363
 **********
 **   18 **HESSE 
 **********

 FCN=   9924.363     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5799        13.949        .13693E-03   -1.5122    
   2  Index         2.2588        .84442        .89132E-02   -.58026    
   3  Normalizat    1.3501        .30009        .41210E-03   -.82084    
   4  Prefactor     .85536        .10456        .17549E-03   -.97719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2852e-12
Minuit parameter uncertainties:
  1  13.9544
  2  0.850262
  3  0.300475
  4  0.104583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/652598': 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) = 9924.36306888
delta logL = 0.000471233905046

Extracting fit parameters...

4FGL J1632.2+0854
   Spectrum: PowerLaw
243    Prefactor:  8.580e+00  1.395e+01  1.000e-04  1.000e+04 ( 1.000e-13)
244        Index:  2.259e+00  8.503e-01  0.000e+00  1.000e+01 (-1.000e+00)
245        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.554e-01  1.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.350e+00  3.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.66
Ra Dec: 248.060 8.904

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/652598/cmap_HighResolution_293241601_293500801_4FGL_J1632.2+0854_daily_bin208.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2021-09-14 19:59:04.904624', job_id='652598', GAL2='0.86', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1631674744.9', return_code2='0', ts='0.66', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.71e-04', ts2='0.67', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='208' AND source_name='4FGL J1632.2+0854' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 19:59:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 652598: <4FGL_J1632.2+0854_daily_bin208> in cluster <slac> Done

Job <4FGL_J1632.2+0854_daily_bin208> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 14 19:45:26 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 19:46:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 19:46:35 2021
Terminated at Tue Sep 14 19:59:05 2021
Results reported at Tue Sep 14 19:59:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1632.2+0854_daily_bin208 248.06 8.9044 293241601 293500801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1632.2+0854 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            819 sec.

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

