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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin513
RA = 248.454, Dec = 7.0309
tmin = 372297601, tmax = 372556801
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='675911', job_status='RUN', time_executed='2021-09-14 21:05:21.548677', time_epoch_executed='1631678721.55' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675911

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675911/ft1_4FGL_J1633.8+0701_daily_bin513.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675911/ft2_4FGL_J1633.8+0701_daily_bin513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675911/ft1_4FGL_J1633.8+0701_daily_bin513.fits outfile=/scratch/kocevski/675911/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin513.fits ra=248.454 dec=7.0309 rad=12.0 tmin=372297601.0 tmax=372556801.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.30
user 3.10
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675911/ft1_filtered_4FGL_J1633.8+0701_daily_bin513.fits evtable="EVENTS" scfile=/scratch/kocevski/675911/ft2_4FGL_J1633.8+0701_daily_bin513.fits sctable="SC_DATA" expcube=/scratch/kocevski/675911/ltcube_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.fits outfile=/scratch/kocevski/675911/expmap_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.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/675911/ltcube_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.fits
.....................!
real 191.02
user 185.95
sys 4.68

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/675911/ft1_filtered_4FGL_J1633.8+0701_daily_bin513.fits scfile=/scratch/kocevski/675911/ft2_4FGL_J1633.8+0701_daily_bin513.fits outfile=/scratch/kocevski/675911/cmap_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675911/ft1_filtered_4FGL_J1633.8+0701_daily_bin513.fits scfile=/scratch/kocevski/675911/ft2_4FGL_J1633.8+0701_daily_bin513.fits outfile=/scratch/kocevski/675911/cmap_HighResolution_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.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.57
user 0.39
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.242       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.7640       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.654       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6091       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4342       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2981       1.0000         .10000E-03   10000.    
    14 'Prefactor '    90.408       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7930       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.231       1.0000         .10000E-03   10000.    
    17 'Normalizat'    2.0154       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .75399       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=   9303.397     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1727 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5850       -.12655E-06** at limit **
   2  norm          .10000E-03    1.9339       -.55614E-08** at limit **
   3  Prefactor     40.260        42.882       -.25734E-05   -.11037E-03
   4  norm          .10000E-03    3.8783       -.11365E-07** at limit **
   5  norm          4.7639        1.8847        .22743E-07    .32589E-04
   6  norm          .10000E-03    5.4912       -.36749E-07** at limit **
   7  norm          .10000E-03    108.31       -.64724E-06** at limit **
   8  Prefactor     .10000E-03    40.883       -.34975E-07** at limit **
   9  Prefactor     30.651        38.459        .51492E-06    .32262E-04
  10  Prefactor     5.6062        9.5662       -.92588E-07   -.15432E-05
  11  Prefactor     .10000E-03    1.8580       -.98788E-08** at limit **
  12  Prefactor     2.4341        6.0018        .63783E-05   -.51429E-03
  13  Prefactor     4.2980        4.0986       -.76009E-07    .26165E-04
  14  Prefactor     90.376        55.236        .40867E-05    .23611E-03
  15  Prefactor     6.7933        7.7190       -.51312E-06   -.75737E-04
  16  Prefactor     31.344        292.07       -.30536E-04   -.55900E-04
  17  Normalizat    2.0160        .25383        .11429E-05    .11738E-03
  18  Prefactor     .75378        .83792E-01   -.10772E-05   -.11657E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.2599
  norm       = 0.0001
  norm       = 4.76386
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.6509
  Prefactor  = 5.60623
  Prefactor  = 0.0001
  Prefactor  = 2.43414
  Prefactor  = 4.29804
  Prefactor  = 90.3764
  Prefactor  = 6.79329
  Prefactor  = 31.3435
  Normalizat = 2.01597
  Prefactor  = 0.753781
 **********
 **   18 **HESSE 
 **********

 FCN=   9303.397     FROM HESSE     STATUS=OK           240 CALLS     1967 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.9490        .13097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.260        42.969        .31594E-03   -1.4438    
   4  norm          .10000E-03    3.9066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.7639        1.8859        .81073E-04   -1.5271    
   6  norm          .10000E-03    5.5064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    108.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.651        38.440        .72367E-04   -1.4600    
  10  Prefactor     5.6062        9.5233        .16962E-03   -1.5234    
  11  Prefactor     .10000E-03    1.8606        .12839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4341        6.0787        .13114E-02   -1.5396    
  13  Prefactor     4.2980        4.0940        .18463E-03   -1.5293    
  14  Prefactor     90.376        55.419        .21130E-03   -1.3804    
  15  Prefactor     6.7933        7.7222        .15395E-03   -1.5187    
  16  Prefactor     31.344        297.31        .71697E-04   -1.4588    
  17  Normalizat    2.0160        .30023        .35756E-03   -.64151    
  18  Prefactor     .75378        .97998E-01    .17864E-03   -1.0146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11456e-09
Minuit parameter uncertainties:
  1  1.89707e-05
  2  1.69047e-07
  3  43.0017
  4  1.44023e-06
  5  1.88596
  6  5.10068e-06
  7  0.000159729
  8  2.27838e-05
  9  38.4712
  10  9.52585
  11  1.36582e-06
  12  6.08028
  13  4.09424
  14  55.4507
  15  7.72332
  16  194.35
  17  0.300513
  18  0.0980203
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  1.366e-06  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:  7.538e-01  9.802e-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:  2.016e+00  3.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.454 7.031
Photon Flux Upper Limit: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675911/likelihoodResults_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.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): 102
logL (Free Index) = 9303.39928681
delta logL = -0.00252480725976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9303.39676155
delta logL = 4.48766513728e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9303.397     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      245 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10227E-03    1.2757        .13203E-01** at limit **
   2  Index         2.0457        7.0768        .50000        .97386E-04
   3  Normalizat    2.0160        .53392E-02    .35756E-03    .23401E-04
   4  Prefactor     .75378        .17608E-02    .17864E-03   -.36784E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102273
  Index      = 2.04568
  Normalizat = 2.01597
  Prefactor  = 0.753782
 **********
 **   18 **HESSE 
 **********

 FCN=   9303.397     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10227E-03    23.487        .13517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0457        6.0120        .50000       -.63213    
   3  Normalizat    2.0160        .23143E-01    .14302E-04   -.64151    
   4  Prefactor     .75378        .76324E-02    .71456E-05   -1.0146    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.10822e-08
Minuit parameter uncertainties:
  1  0.0146181
  2  156.234
  3  0.0231431
  4  0.00763242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675911': 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) = 9303.3967599
delta logL = 2.10443249671e-06

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.023e-04  1.462e-02  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.046e+00  1.562e+02  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:  7.538e-01  7.632e-03  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:  2.016e+00  2.314e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/675911/cmap_HighResolution_372297601_372556801_4FGL_J1633.8+0701_daily_bin513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-03', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2021-09-14 21:16:38.031018', job_id='675911', GAL2='0.75', fit_tolerance='1e-08', EG2='2.02', EG='2.02', time_epoch_completed='1631679398.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='2.10e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='513' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:16:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 675911: <4FGL_J1633.8+0701_daily_bin513> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin513 248.454 7.0309 372297601 372556801 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 :                                   674.48 sec.
    Max Memory :                                 1075 MB
    Average Memory :                             275.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            950 sec.

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

