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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin526
RA = 248.454, Dec = 7.0309
tmin = 375667201, tmax = 375926401
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='675935', job_status='RUN', time_executed='2021-09-14 21:04:40.477795', time_epoch_executed='1631678680.48' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675935

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675935/ft1_4FGL_J1633.8+0701_daily_bin526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675935/ft2_4FGL_J1633.8+0701_daily_bin526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675935/ft1_4FGL_J1633.8+0701_daily_bin526.fits outfile=/scratch/kocevski/675935/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin526.fits ra=248.454 dec=7.0309 rad=12.0 tmin=375667201.0 tmax=375926401.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 4.84
user 4.58
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675935/ft1_filtered_4FGL_J1633.8+0701_daily_bin526.fits" evtable="EVENTS" scfile=/scratch/kocevski/675935/ft2_4FGL_J1633.8+0701_daily_bin526.fits sctable="SC_DATA" outfile=/scratch/kocevski/675935/ltcube_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.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/675935/ft2_4FGL_J1633.8+0701_daily_bin526.fits
.....................!
real 16.12
user 15.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675935/ft1_filtered_4FGL_J1633.8+0701_daily_bin526.fits evtable="EVENTS" scfile=/scratch/kocevski/675935/ft2_4FGL_J1633.8+0701_daily_bin526.fits sctable="SC_DATA" expcube=/scratch/kocevski/675935/ltcube_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.fits outfile=/scratch/kocevski/675935/expmap_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.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/675935/ltcube_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.fits
.....................!
real 191.91
user 186.95
sys 4.46

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/675935/ft1_filtered_4FGL_J1633.8+0701_daily_bin526.fits scfile=/scratch/kocevski/675935/ft2_4FGL_J1633.8+0701_daily_bin526.fits outfile=/scratch/kocevski/675935/cmap_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675935/ft1_filtered_4FGL_J1633.8+0701_daily_bin526.fits scfile=/scratch/kocevski/675935/ft2_4FGL_J1633.8+0701_daily_bin526.fits outfile=/scratch/kocevski/675935/cmap_HighResolution_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12221E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    24.928       1.0000         .10000E-03   10000.    
     5 'norm      '    4.8933       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8312       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    63.575       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.694       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5449       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.371       1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.946       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7856       1.0000         .10000E-03   10000.    
    16 'Prefactor '    88.473       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .95575       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0842       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=   11091.01     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1735 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8491        .66297E-01** at limit **
   2  norm          .10000E-03    1.3945        .90712E-02** at limit **
   3  Prefactor     .10000E-03    23.067        .90712E-02** at limit **
   4  norm          24.927        12.263        .20058E-02    .16555E-03
   5  norm          4.8931        1.9734        .45458E-02    .17205E-04
   6  norm          1.8239        14.169        .77101E-02    .49447E-03
   7  norm          .10000E-03    27.713        .90712E-02** at limit **
   8  Prefactor     63.575        62.045        .12582E-02    .29582E-03
   9  Prefactor     33.692        28.393        .17259E-02    .24204E-02
  10  Prefactor     .10000E-03    2.9242        .90712E-02** at limit **
  11  Prefactor     3.5452        5.9655        .53670E-02    .72816E-03
  12  Prefactor     .10000E-03    4.8392        .90712E-02** at limit **
  13  Prefactor     12.372        7.7533        .28472E-02   -.60298E-03
  14  Prefactor     57.946        52.227        .13176E-02    .36668E-03
  15  Prefactor     2.7855        7.2777        .60950E-02    .66907E-03
  16  Prefactor     88.473        129.43        .10679E-02   -.24047E-03
  17  Normalizat    .95583        .25867        .11111        .54555E-04
  18  Prefactor     1.0842        .83304E-01    .38221E-01    .21382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 24.9266
  norm       = 4.89312
  norm       = 1.82391
  norm       = 0.0001
  Prefactor  = 63.5753
  Prefactor  = 33.6922
  Prefactor  = 0.0001
  Prefactor  = 3.5452
  Prefactor  = 0.0001
  Prefactor  = 12.372
  Prefactor  = 57.9457
  Prefactor  = 2.78547
  Prefactor  = 88.4733
  Normalizat = 0.955828
  Prefactor  = 1.08416
 **********
 **   18 **HESSE 
 **********

 FCN=   11091.01     FROM HESSE     STATUS=OK           242 CALLS     1977 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9506        .34215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4062        .12142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.927        12.280        .80231E-04   -1.4709    
   5  norm          4.8931        1.9731        .89921E-04   -1.5266    
   6  norm          1.8239        14.151        .30841E-03   -1.5438    
   7  norm          .10000E-03    27.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     63.575        62.053        .50329E-04   -1.4112    
   9  Prefactor     33.692        28.398        .69034E-04   -1.4546    
  10  Prefactor     .10000E-03    2.9272        .17584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5452        5.9473        .21468E-03   -1.5331    
  12  Prefactor     .10000E-03    4.9869        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.372        7.7349        .11389E-03   -1.5004    
  14  Prefactor     57.946        52.195        .52702E-04   -1.4184    
  15  Prefactor     2.7855        7.2462        .24380E-03   -1.5374    
  16  Prefactor     88.473        129.66        .42716E-04   -1.3824    
  17  Normalizat    .95583        .28794        .49261E-03   -.94525    
  18  Prefactor     1.0842        .94598E-01    .15653E-03   -.89974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73209e-08
Minuit parameter uncertainties:
  1  2.59085e-06
  2  2.84655e-06
  3  3.77872e-05
  4  12.2817
  5  1.97316
  6  10.1637
  7  9.05921e-06
  8  62.1162
  9  28.4098
  10  2.35615e-06
  11  5.94831
  12  2.48133e-06
  13  7.73552
  14  52.2362
  15  7.24852
  16  130.075
  17  0.288408
  18  0.0946126
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  3.545e+00  5.948e+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.084e+00  9.461e-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:  9.558e-01  2.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/675935/likelihoodResults_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.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) = 11091.002955
delta logL = 0.0028665750051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11091.0021534
delta logL = 0.00366818942166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8042       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0582       1.0000          .0000       10.000    
     3 'Normalizat'    .95783       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0838       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=   11091.00     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8043        201.08        .51738E-02    .56477E-03
   2  Index         2.0587        5.9936        .25464        .47625E-04
   3  Normalizat    .95783        .74238E-01    .11101        .16521E-04
   4  Prefactor     1.0838        .21202E-01    .38236E-01   -.11029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.80426
  Index      = 2.05872
  Normalizat = 0.957826
  Prefactor  = 1.08383
 **********
 **   18 **HESSE 
 **********

 FCN=   11091.00     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8043        7.1398        .20695E-03   -1.5318    
   2  Index         2.0587        1.0371        .13044E-01   -.62890    
   3  Normalizat    .95783        .27573        .49215E-03   -.94457    
   4  Prefactor     1.0838        .93266E-01    .15655E-03   -.89985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36426e-09
Minuit parameter uncertainties:
  1  7.14135
  2  1.0488
  3  0.276144
  4  0.0932803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675935': 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) = 11091.0021532
delta logL = 0.00366842322546

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  3.804e+00  7.141e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.059e+00  1.049e+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.084e+00  9.328e-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:  9.578e-01  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
Ra Dec: 248.454 7.031

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/675935/cmap_HighResolution_375667201_375926401_4FGL_J1633.8+0701_daily_bin526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.72e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-14 21:17:03.027639', job_id='675935', GAL2='1.08', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631679423.03', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.67e-03', ts2='0.56', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='526' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:17:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 675935: <4FGL_J1633.8+0701_daily_bin526> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin526 248.454 7.0309 375667201 375926401 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 :                                   741.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            974 sec.

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

