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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin612
RA = 248.454, Dec = 7.0309
tmin = 397958401, tmax = 398217601
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='677013', job_status='RUN', time_executed='2021-09-14 21:09:30.727610', time_epoch_executed='1631678970.73' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677013

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677013/ft1_4FGL_J1633.8+0701_daily_bin612.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677013/ft2_4FGL_J1633.8+0701_daily_bin612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677013/ft1_4FGL_J1633.8+0701_daily_bin612.fits outfile=/scratch/kocevski/677013/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin612.fits ra=248.454 dec=7.0309 rad=12.0 tmin=397958401.0 tmax=398217601.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.54
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677013/ft2_4FGL_J1633.8+0701_daily_bin612.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/677013/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin612.fits evtable="EVENTS" outfile="/scratch/kocevski/677013/ft1_filtered_4FGL_J1633.8+0701_daily_bin612.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677013/ft1_filtered_4FGL_J1633.8+0701_daily_bin612.fits" evtable="EVENTS" scfile=/scratch/kocevski/677013/ft2_4FGL_J1633.8+0701_daily_bin612.fits sctable="SC_DATA" outfile=/scratch/kocevski/677013/ltcube_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.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/677013/ft2_4FGL_J1633.8+0701_daily_bin612.fits
.....................!
real 14.44
user 13.81
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677013/ft1_filtered_4FGL_J1633.8+0701_daily_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/677013/ft2_4FGL_J1633.8+0701_daily_bin612.fits sctable="SC_DATA" expcube=/scratch/kocevski/677013/ltcube_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.fits outfile=/scratch/kocevski/677013/expmap_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.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/677013/ltcube_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.fits
.....................!
real 194.63
user 188.52
sys 5.44

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/677013/ft1_filtered_4FGL_J1633.8+0701_daily_bin612.fits scfile=/scratch/kocevski/677013/ft2_4FGL_J1633.8+0701_daily_bin612.fits outfile=/scratch/kocevski/677013/cmap_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.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/677013/ft1_filtered_4FGL_J1633.8+0701_daily_bin612.fits scfile=/scratch/kocevski/677013/ft2_4FGL_J1633.8+0701_daily_bin612.fits outfile=/scratch/kocevski/677013/cmap_HighResolution_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10457E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.342       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6759       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3689       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.969       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.111       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.3161       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27952E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.442       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2253       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95774       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=   11363.54     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1738 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7770       -.19978E-07** at limit **
   2  norm          .10000E-03    1.8962       -.16968E-06** at limit **
   3  Prefactor     47.347        51.243        .50233E-05    .55832E-05
   4  norm          .10000E-03    3.2010        .26401E-08** at limit **
   5  norm          2.6759        1.2767       -.55701E-08    .32034E-03
   6  norm          7.3696        11.140       -.57740E-06   -.61035E-04
   7  norm          .10000E-03    26.071       -.45232E-07** at limit **
   8  Prefactor     .10000E-03    50.466       -.33130E-06** at limit **
   9  Prefactor     37.970        31.846        .31175E-06    .18779E-05
  10  Prefactor     11.111        8.9038        .18692E-06   -.23502E-04
  11  Prefactor     8.3158        6.3961       -.53423E-06   -.28383E-04
  12  Prefactor     .10000E-03    1.8915       -.41442E-07** at limit **
  13  Prefactor     .10000E-03    2.7489        .21456E-07** at limit **
  14  Prefactor     15.425        51.015       -.27025E-04   -.36747E-05
  15  Prefactor     .10000E-03    12.220        .58552E-06** at limit **
  16  Prefactor     .10000E-03    111.61        .70742E-06** at limit **
  17  Normalizat    1.2254        .22784        .10255E-06    .24381E-04
  18  Prefactor     .95768        .73359E-01    .37867E-06   -.43018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 47.3473
  norm       = 0.0001
  norm       = 2.67592
  norm       = 7.36962
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.9704
  Prefactor  = 11.1108
  Prefactor  = 8.31585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4254
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.22537
  Prefactor  = 0.957682
 **********
 **   18 **HESSE 
 **********

 FCN=   11363.54     FROM HESSE     STATUS=OK           246 CALLS     1984 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.8014        .28469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.347        51.234        .58276E-04   -1.4331    
   4  norm          .10000E-03    3.2090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6759        1.2802        .81072E-04   -1.5381    
   6  norm          7.3696        11.160        .14775E-03   -1.5165    
   7  norm          .10000E-03    26.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    50.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.970        31.863        .65044E-04   -1.4475    
  10  Prefactor     11.111        8.8948        .12019E-03   -1.5041    
  11  Prefactor     8.3158        6.3942        .13902E-03   -1.5131    
  12  Prefactor     .10000E-03    10.788        .27963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.7711        .17253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.425        51.048        .10192E-03   -1.4922    
  15  Prefactor     .10000E-03    12.701        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    111.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2254        .26705        .42136E-03   -.85822    
  18  Prefactor     .95768        .87003E-01    .15550E-03   -.94154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41876e-11
Minuit parameter uncertainties:
  1  5.59543e-06
  2  3.82407e-05
  3  51.2812
  4  2.17445e-06
  5  1.28019
  6  11.163
  7  7.92993e-07
  8  1.70379e-05
  9  31.8771
  10  8.89588
  11  6.39469
  12  4.22625e-05
  13  3.62126e-06
  14  51.1929
  15  0.000184968
  16  2.85728e-05
  17  0.267351
  18  0.0870161
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  8.316e+00  6.395e+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.577e-01  8.702e-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:  1.225e+00  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.55
Ra Dec: 248.454 7.031
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 4.11e-08 +/- 3.16e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.58e-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) = 11361.9830448
delta logL = 1.55930370889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11361.7877117
delta logL = 1.75463679031

Fit tolerance = 1e-08

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

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

 FCN=   11361.79     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      223 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.150        18.030        .26594E-02    .64705E-04
   2  Index         1.3772        .54056        .24701       -.58624E-04
   3  Normalizat    1.2414        .22063        .94569E-01    .60345E-04
   4  Prefactor     .95540        .73172E-01    .45708E-01   -.65965E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1503
  Index      = 1.37716
  Normalizat = 1.24137
  Prefactor  = 0.955404
 **********
 **   18 **HESSE 
 **********

 FCN=   11361.79     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.150        10.951        .10638E-03   -1.4955    
   2  Index         1.3772        .38746        .92420E-02   -.81041    
   3  Normalizat    1.2414        .25911        .41893E-03   -.85334    
   4  Prefactor     .95540        .86576E-01    .15565E-03   -.94231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62412e-11
Minuit parameter uncertainties:
  1  10.9526
  2  0.388277
  3  0.25938
  4  0.0865881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677013': 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) = 11361.7877068
delta logL = 1.75464166765

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.415e+01  1.095e+01  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  1.377e+00  3.883e-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:  9.554e-01  8.659e-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:  1.241e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.06
Ra Dec: 248.454 7.031
Photon Index (Free Index): 1.38 +/- 0.39
Photon Flux (Free Index): 2.03e-08 +/- 1.92e-08
Energy Flux (Free Index): 9.68e-05 +/- 9.55e-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/677013/cmap_HighResolution_397958401_398217601_4FGL_J1633.8+0701_daily_bin612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.11e-08', energy_flux2='9.68e-05', photon_flux_error='3.16e-08', dlogl='1.75e+00', energy_flux='2.05e-05', photon_flux2='2.03e-08', job_status='DONE', time_completed='2021-09-14 21:20:51.524488', photon_index_error2='0.39', photon_index2='1.38', ts='6.55', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.55e-05', EG='1.23', time_epoch_completed='1631679651.52', return_code='0', job_id='677013', GAL2='0.96', EG2='1.24', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='1.92e-08', ts2='10.06', photon_index='2.15' WHERE bin_id='612' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:20:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 677013: <4FGL_J1633.8+0701_daily_bin612> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin612> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 14 21:05:14 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 21:05:32 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:05:32 2021
Terminated at Tue Sep 14 21:20:52 2021
Results reported at Tue Sep 14 21:20:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin612 248.454 7.0309 397958401 398217601 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 :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            938 sec.

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

