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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin990
RA = 248.454, Dec = 7.0309
tmin = 495936001, tmax = 496195201
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='678706', job_status='RUN', time_executed='2021-09-14 21:15:35.692733', time_epoch_executed='1631679335.69' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/678706

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/678706/ft1_4FGL_J1633.8+0701_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/678706/ft2_4FGL_J1633.8+0701_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/678706/ft1_4FGL_J1633.8+0701_daily_bin990.fits outfile=/scratch/kocevski/678706/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin990.fits ra=248.454 dec=7.0309 rad=12.0 tmin=495936001.0 tmax=496195201.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.52
user 3.29
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/678706/ft1_filtered_4FGL_J1633.8+0701_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/678706/ft2_4FGL_J1633.8+0701_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/678706/ltcube_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.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/678706/ft2_4FGL_J1633.8+0701_daily_bin990.fits
.....................!
real 13.80
user 13.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/678706/ft1_filtered_4FGL_J1633.8+0701_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/678706/ft2_4FGL_J1633.8+0701_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/678706/ltcube_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.fits outfile=/scratch/kocevski/678706/expmap_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.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/678706/ltcube_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.fits
.....................!
real 191.62
user 185.90
sys 5.36

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/678706/ft1_filtered_4FGL_J1633.8+0701_daily_bin990.fits scfile=/scratch/kocevski/678706/ft2_4FGL_J1633.8+0701_daily_bin990.fits outfile=/scratch/kocevski/678706/cmap_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/678706/ft1_filtered_4FGL_J1633.8+0701_daily_bin990.fits scfile=/scratch/kocevski/678706/ft2_4FGL_J1633.8+0701_daily_bin990.fits outfile=/scratch/kocevski/678706/cmap_HighResolution_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0752       1.0000         .10000E-03   10000.    
     2 'norm      '    4.6167       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6024       1.0000         .10000E-03   10000.    
     4 'norm      '    9.9578       1.0000         .10000E-03   10000.    
     5 'norm      '    3.4856       1.0000         .10000E-03   10000.    
     6 'norm      '    5.9207       1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    121.93       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8808       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4472       1.0000         .10000E-03   10000.    
    16 'Prefactor '    80.045       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3251       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0559       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=   9913.745     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1719 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0749        4.4203       -.78699E-07   -.76804E-05
   2  norm          4.6173        4.4167       -.21526E-06   -.28496E-03
   3  Prefactor     9.6019        119.44       -.18225E-05   -.33236E-05
   4  norm          9.9571        9.5582        .44944E-06   -.65522E-04
   5  norm          3.4856        1.6534       -.22344E-08    .10333E-03
   6  norm          5.9202        8.8457        .20323E-05   -.49912E-04
   7  norm          .10000E-03    46.293        .13675E-06** at limit **
   8  Prefactor     121.92        86.120       -.74259E-05   -.20782E-05
   9  Prefactor     .10000E-03    75.812        .86705E-05** at limit **
  10  Prefactor     .10019E-03    8.0937       -.57610E-06** at limit **
  11  Prefactor     3.8787        6.9248       -.31039E-06   -.16229E-03
  12  Prefactor     .10000E-03    2.0449        .24569E-08** at limit **
  13  Prefactor     .10000E-03    1.8563        .37687E-07** at limit **
  14  Prefactor     .10000E-03    27.864       -.47950E-07** at limit **
  15  Prefactor     7.4475        7.6014       -.18592E-05   -.16999E-03
  16  Prefactor     80.127        199.25        .89537E-04   -.32430E-05
  17  Normalizat    1.3254        .27164        .14123E-05   -.85883E-04
  18  Prefactor     1.0558        .89191E-01   -.11110E-05    .30623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.07489
  norm       = 4.6173
  Prefactor  = 9.60186
  norm       = 9.95715
  norm       = 3.48565
  norm       = 5.92022
  norm       = 0.0001
  Prefactor  = 121.92
  Prefactor  = 0.0001
  Prefactor  = 0.000100189
  Prefactor  = 3.8787
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.44749
  Prefactor  = 80.1266
  Normalizat = 1.32538
  Prefactor  = 1.05578
 **********
 **   18 **HESSE 
 **********

 FCN=   9913.745     FROM HESSE     STATUS=OK           252 CALLS     1971 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0749        4.4171        .19972E-03   -1.5304    
   2  norm          4.6173        4.4108        .18732E-03   -1.5278    
   3  Prefactor     9.6019        119.34        .12932E-03   -1.5088    
   4  norm          9.9571        9.5672        .12698E-03   -1.5077    
   5  norm          3.4856        1.6529        .85237E-04   -1.5335    
   6  norm          5.9202        8.8446        .16503E-03   -1.5221    
   7  norm          .10000E-03    46.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     121.92        86.163        .18224E-03   -1.3495    
   9  Prefactor     .10000E-03    76.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10019E-03    77.049        .53110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8787        6.8388        .20483E-03   -1.5314    
  12  Prefactor     .10000E-03    2.0590        .13902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.8628        .13245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4475        7.6096        .14697E-03   -1.5162    
  16  Prefactor     80.127        198.86        .22445E-03   -1.3915    
  17  Normalizat    1.3254        .31262        .43972E-03   -.82812    
  18  Prefactor     1.0558        .10416        .16438E-03   -.90893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66211e-09
Minuit parameter uncertainties:
  1  4.41742
  2  4.41115
  3  67.8703
  4  9.56863
  5  1.65296
  6  8.8466
  7  6.28159e-06
  8  86.2514
  9  8.88837e-05
  10  0.00763322
  11  6.8402
  12  7.49583e-07
  13  4.12494e-06
  14  3.16582e-05
  15  7.61057
  16  200.549
  17  0.313066
  18  0.104176
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  3.879e+00  6.840e+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.056e+00  1.042e-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.325e+00  3.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/678706/likelihoodResults_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.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) = 9913.53049248
delta logL = 0.214633560756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9913.49711922
delta logL = 0.248006816912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1908       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2168       1.0000          .0000       10.000    
     3 'Normalizat'    1.2594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0678       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=   9913.497     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      274 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1898        23.437        .10435E-01    .14870E-02
   2  Index         3.2171        2.6843        .10792        .26284E-03
   3  Normalizat    1.2594        .63906E-01    .10145        .28411E-04
   4  Prefactor     1.0678        .21095E-01    .38962E-01   -.59501E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.18985
  Index      = 3.21715
  Normalizat = 1.25941
  Prefactor  = 1.06785
 **********
 **   18 **HESSE 
 **********

 FCN=   9913.497     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1898        64.218        .11364E-03   -1.5490    
   2  Index         3.2171        6.5343        .71748E-02   -.36459    
   3  Normalizat    1.2594        .34135        .44955E-03   -.84786    
   4  Prefactor     1.0678        .97444E-01    .16355E-03   -.90501    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.70689e-09
Minuit parameter uncertainties:
  1  17.5016
  2  6.77644
  3  0.341962
  4  0.0974601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/678706': 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) = 9913.49711908
delta logL = 0.248006962196

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.190e+00  1.750e+01  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  3.217e+00  6.776e+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.068e+00  9.746e-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.259e+00  3.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 248.454 7.031
Photon Index (Free Index): 3.22 +/- 6.78
Photon Flux (Free Index): 7.21e-08 +/- 1.82e-07
Energy Flux (Free Index): 1.31e-05 +/- 1.44e-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/678706/cmap_HighResolution_495936001_496195201_4FGL_J1633.8+0701_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', comment='SUCCESS', energy_flux2='1.31e-05', dlogl='2.48e-01', photon_flux2='7.21e-08', job_status='DONE', time_completed='2021-09-14 21:27:09.893054', photon_index_error2='6.78', photon_index2='3.22', ts='0.47', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.44e-05', EG='1.33', time_epoch_completed='1631680029.89', return_code='0', job_id='678706', GAL2='1.07', EG2='1.26', return_code2='102', photon_flux_error2='1.82e-07', ts2='1.02', photon_index='2.15' WHERE bin_id='990' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:27:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 678706: <4FGL_J1633.8+0701_daily_bin990> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin990> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 14 21:10:37 2021
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 21:12:11 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:12:11 2021
Terminated at Tue Sep 14 21:27:10 2021
Results reported at Tue Sep 14 21:27:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin990 248.454 7.0309 495936001 496195201 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 :                                   693.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            993 sec.

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

