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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin552
RA = 248.454, Dec = 7.0309
tmin = 382406401, tmax = 382665601
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='675965', job_status='RUN', time_executed='2021-09-14 21:05:15.914415', time_epoch_executed='1631678715.91' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='552'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675965

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675965/ft1_4FGL_J1633.8+0701_daily_bin552.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675965/ft1_4FGL_J1633.8+0701_daily_bin552.fits outfile=/scratch/kocevski/675965/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin552.fits ra=248.454 dec=7.0309 rad=12.0 tmin=382406401.0 tmax=382665601.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.72
user 4.51
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675965/ft1_filtered_4FGL_J1633.8+0701_daily_bin552.fits" evtable="EVENTS" scfile=/scratch/kocevski/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits sctable="SC_DATA" outfile=/scratch/kocevski/675965/ltcube_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.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/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits
.....................!
real 14.45
user 14.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675965/ft1_filtered_4FGL_J1633.8+0701_daily_bin552.fits evtable="EVENTS" scfile=/scratch/kocevski/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits sctable="SC_DATA" expcube=/scratch/kocevski/675965/ltcube_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.fits outfile=/scratch/kocevski/675965/expmap_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.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/675965/ltcube_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.fits
.....................!
real 192.87
user 188.04
sys 4.35

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/675965/ft1_filtered_4FGL_J1633.8+0701_daily_bin552.fits scfile=/scratch/kocevski/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits outfile=/scratch/kocevski/675965/cmap_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675965/ft1_filtered_4FGL_J1633.8+0701_daily_bin552.fits scfile=/scratch/kocevski/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits outfile=/scratch/kocevski/675965/cmap_HighResolution_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.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/675965/ft1_filtered_4FGL_J1633.8+0701_daily_bin552.fits evtable="EVENTS" scfile=/scratch/kocevski/675965/ft2_4FGL_J1633.8+0701_daily_bin552.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675965/Model_4FGL_J1633.8+0701_daily_bin552.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/675965/ft1_filtered_4FGL_J1633.8+0701_daily_bin552.fits.....................!
real 75.99
user 74.66
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21102E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7916       1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.658       1.0000         .10000E-03   10000.    
     4 'norm      '    7.7029       1.0000         .10000E-03   10000.    
     5 'norm      '    3.8897       1.0000         .10000E-03   10000.    
     6 'norm      '    13.833       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    118.21       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5309       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3247       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4023       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6334       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3787       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94909       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=   9593.142     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1736 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10013E-03    2.7425        .64851E-06** at limit **
   2  norm          1.7920        2.9872       -.62803E-06   -.85492E-03
   3  Prefactor     52.656        46.238       -.15418E-05   -.16768E-05
   4  norm          7.7023        7.2408       -.22930E-05   -.42310E-04
   5  norm          3.8897        1.6894        .66694E-07    .19503E-03
   6  norm          13.829        13.063       -.63870E-06   -.36480E-04
   7  norm          .10000E-03    52.778        .10228E-05** at limit **
   8  Prefactor     118.20        89.798       -.11007E-04    .81833E-05
   9  Prefactor     .10000E-03    83.806        .28622E-04** at limit **
  10  Prefactor     7.5039        11.232       -.36802E-05   -.24633E-03
  11  Prefactor     2.3231        8.9454       -.39163E-05   -.32126E-03
  12  Prefactor     .10000E-03    2.4659       -.42796E-07** at limit **
  13  Prefactor     7.4017        6.1647        .54612E-06   -.14235E-03
  14  Prefactor     .10000E-03    24.119       -.78410E-05** at limit **
  15  Prefactor     7.6329        7.6734       -.44469E-05   -.13901E-03
  16  Prefactor     .10000E-03    101.27       -.33474E-04** at limit **
  17  Normalizat    1.3790        .26510        .42681E-05   -.18545E-03
  18  Prefactor     .94895        .85020E-01    .37356E-07   -.15240E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100132
  norm       = 1.79197
  Prefactor  = 52.6564
  norm       = 7.70235
  norm       = 3.88969
  norm       = 13.8293
  norm       = 0.0001
  Prefactor  = 118.197
  Prefactor  = 0.0001
  Prefactor  = 7.50394
  Prefactor  = 2.32306
  Prefactor  = 0.0001
  Prefactor  = 7.40171
  Prefactor  = 0.0001
  Prefactor  = 7.63288
  Prefactor  = 0.0001
  Normalizat = 1.37904
  Prefactor  = 0.948946
 **********
 **   18 **HESSE 
 **********

 FCN=   9593.142     FROM HESSE     STATUS=OK           246 CALLS     1982 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10013E-03    22.369        .31008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7920        2.9619        .21175E-03   -1.5440    
   3  Prefactor     52.656        46.233        .55271E-04   -1.4255    
   4  norm          7.7023        7.2437        .14449E-03   -1.5153    
   5  norm          3.8897        1.6907        .81411E-04   -1.5313    
   6  norm          13.829        13.100        .10769E-03   -1.4964    
   7  norm          .10000E-03    52.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     118.20        89.533        .37010E-04   -1.3529    
   9  Prefactor     .10000E-03    84.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.5039        11.162        .14614E-03   -1.5160    
  11  Prefactor     2.3231        8.9374        .26901E-03   -1.5403    
  12  Prefactor     .10000E-03    2.5089        .15015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.4017        6.1563        .14741E-03   -1.5164    
  14  Prefactor     .10000E-03    24.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.6329        7.6825        .14515E-03   -1.5155    
  16  Prefactor     .10000E-03    100.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3790        .31405        .40909E-03   -.81237    
  18  Prefactor     .94895        .10208        .16328E-03   -.94451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.53229e-09
Minuit parameter uncertainties:
  1  0.00343269
  2  2.96219
  3  46.264
  4  7.24456
  5  1.69076
  6  13.1026
  7  4.44864e-06
  8  89.6356
  9  0.000242762
  10  11.1651
  11  8.94254
  12  9.28862e-07
  13  6.15687
  14  2.67761e-05
  15  7.68351
  16  3.81066e-05
  17  0.314485
  18  0.102098
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  2.323e+00  8.943e+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.489e-01  1.021e-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.379e+00  3.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/675965/likelihoodResults_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.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) = 9592.58598374
delta logL = 0.555863814307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9592.58200358
delta logL = 0.559843974583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41383       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6655       1.0000          .0000       10.000    
     3 'Normalizat'    1.2909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96614       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=   9592.582     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      316 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41644        4.2814        .10914E-01    .15609E-02
   2  Index         3.6626        1.5811        .13020        .13117E-03
   3  Normalizat    1.2913        .46784E-01    .94925E-01   -.94657E-04
   4  Prefactor     .96587        .15924E-01    .45842E-01   -.30558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.416436
  Index      = 3.66264
  Normalizat = 1.2913
  Prefactor  = 0.965869
 **********
 **   18 **HESSE 
 **********

 FCN=   9592.582     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      347 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41644        18.223        .58599E-04   -1.5579    
   2  Index         3.6626        6.7717        .47341E-02   -.27077    
   3  Normalizat    1.2913        .26428        .42050E-03   -.83826    
   4  Prefactor     .96587        .88113E-01    .16193E-03   -.93876    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54889e-09
Minuit parameter uncertainties:
  1  5.51072
  2  5.20924
  3  0.264556
  4  0.0881256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675965': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9592.58199691
delta logL = 0.559850646719

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  4.164e-01  5.511e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  3.663e+00  5.209e+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:  9.659e-01  8.813e-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.291e+00  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.28
Ra Dec: 248.454 7.031
Photon Index (Free Index): 3.66 +/- 5.21
Photon Flux (Free Index): 7.84e-08 +/- 7.62e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.67e-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/675965/cmap_HighResolution_382406401_382665601_4FGL_J1633.8+0701_daily_bin552.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='5.60e-01', photon_flux2='7.84e-08', job_status='DONE', time_completed='2021-09-14 21:17:04.147641', photon_index_error2='5.21', photon_index2='3.66', ts='0.08', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.67e-05', EG='1.38', time_epoch_completed='1631679424.15', return_code='0', job_id='675965', GAL2='0.97', EG2='1.29', return_code2='102', photon_flux_error2='7.62e-08', ts2='1.28', photon_index='2.15' WHERE bin_id='552' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:17:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 675965: <4FGL_J1633.8+0701_daily_bin552> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin552 248.454 7.0309 382406401 382665601 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 :                                   706.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            971 sec.

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

