/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 176 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 = 7559
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1633.8+0701_daily_bin351
RA = 248.454, Dec = 7.0309
tmin = 330307201, tmax = 330566401
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='675651', job_status='RUN', time_executed='2021-09-14 21:04:02.337450', time_epoch_executed='1631678642.34' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='351'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675651

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675651/ft1_4FGL_J1633.8+0701_daily_bin351.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675651/ft1_4FGL_J1633.8+0701_daily_bin351.fits outfile=/scratch/kocevski/675651/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin351.fits ra=248.454 dec=7.0309 rad=12.0 tmin=330307201.0 tmax=330566401.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.89
user 3.61
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675651/ft1_filtered_4FGL_J1633.8+0701_daily_bin351.fits" evtable="EVENTS" scfile=/scratch/kocevski/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits sctable="SC_DATA" outfile=/scratch/kocevski/675651/ltcube_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.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/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits
.....................!
real 14.39
user 14.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675651/ft1_filtered_4FGL_J1633.8+0701_daily_bin351.fits evtable="EVENTS" scfile=/scratch/kocevski/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits sctable="SC_DATA" expcube=/scratch/kocevski/675651/ltcube_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.fits outfile=/scratch/kocevski/675651/expmap_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.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/675651/ltcube_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.fits
.....................!
real 192.35
user 186.36
sys 5.51

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/675651/ft1_filtered_4FGL_J1633.8+0701_daily_bin351.fits scfile=/scratch/kocevski/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits outfile=/scratch/kocevski/675651/cmap_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675651/ft1_filtered_4FGL_J1633.8+0701_daily_bin351.fits scfile=/scratch/kocevski/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits outfile=/scratch/kocevski/675651/cmap_HighResolution_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.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/675651/ft1_filtered_4FGL_J1633.8+0701_daily_bin351.fits evtable="EVENTS" scfile=/scratch/kocevski/675651/ft2_4FGL_J1633.8+0701_daily_bin351.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675651/Model_4FGL_J1633.8+0701_daily_bin351.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/675651/ft1_filtered_4FGL_J1633.8+0701_daily_bin351.fits....................!
real 83.46
user 81.98
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5495       1.0000         .10000E-03   10000.    
     2 'norm      '    .26502E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.6415       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9339       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .49454E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7408       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.589       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7826       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.325       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.480       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4704       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0456       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=   10417.26     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1705 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5472        6.2239        .10130E-06   -.15894E-03
   2  norm          .10000E-03    2.5783        .77830E-06** at limit **
   3  Prefactor     .10000E-03    29.866        .29415E-06** at limit **
   4  norm          9.6427        8.7968        .46298E-06   -.30561E-04
   5  norm          1.9340        1.2892       -.32042E-07   -.84462E-04
   6  norm          .10000E-03    3.3847        .19465E-06** at limit **
   7  norm          .10000E-03    41.299        .15910E-06** at limit **
   8  Prefactor     .10000E-03    77.817        .10864E-05** at limit **
   9  Prefactor     .10000E-03    10.056        .29756E-06** at limit **
  10  Prefactor     6.7448        8.4371        .19315E-06    .29789E-05
  11  Prefactor     .10000E-03    3.9104        .44476E-06** at limit **
  12  Prefactor     14.589        8.5716        .23281E-06   -.15625E-03
  13  Prefactor     5.7834        6.9996        .59271E-06    .39101E-04
  14  Prefactor     10.331        115.68        .49467E-06   -.33694E-06
  15  Prefactor     .10000E-03    3.5506        .44750E-06** at limit **
  16  Prefactor     57.585        308.16       -.39389E-04   -.75974E-04
  17  Normalizat    1.4711        .32835       -.20472E-04   -.86479E-04
  18  Prefactor     1.0453        .10795        .78056E-05   -.60778E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.54725
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 9.64271
  norm       = 1.93397
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.74476
  Prefactor  = 0.0001
  Prefactor  = 14.5888
  Prefactor  = 5.78344
  Prefactor  = 10.3312
  Prefactor  = 0.0001
  Prefactor  = 57.5849
  Normalizat = 1.47111
  Prefactor  = 1.04532
 **********
 **   18 **HESSE 
 **********

 FCN=   10417.26     FROM HESSE     STATUS=OK           244 CALLS     1949 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5472        6.1814        .17055E-03   -1.5237    
   2  norm          .10000E-03    8.8648        .31480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    29.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.6427        8.7940        .12906E-03   -1.5087    
   5  norm          1.9340        1.2937        .91990E-04   -1.5430    
   6  norm          .10000E-03    3.3881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    41.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    78.058        .21163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.7448        8.4313        .15455E-03   -1.5188    
  11  Prefactor     .10000E-03    3.9364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.589        8.5689        .10486E-03   -1.4944    
  13  Prefactor     5.7834        6.9877        .16702E-03   -1.5227    
  14  Prefactor     10.331        115.51        .12470E-03   -1.5065    
  15  Prefactor     .10000E-03    3.5666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     57.585        321.89        .26231E-03   -1.4189    
  17  Normalizat    1.4711        .32935        .44473E-03   -.78593    
  18  Prefactor     1.0453        .10780        .16971E-03   -.91234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.12312e-10
Minuit parameter uncertainties:
  1  6.18207
  2  0.000148529
  3  6.42107e-05
  4  8.79515
  5  1.29369
  6  1.65283e-05
  7  3.87313e-05
  8  0.000234027
  9  4.01929e-05
  10  8.43273
  11  2.9645e-05
  12  8.56962
  13  6.98873
  14  69.2603
  15  3.02721e-05
  16  274.591
  17  0.329826
  18  0.107819
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  2.965e-05  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.045e+00  1.078e-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.471e+00  3.298e-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: 7.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675651/likelihoodResults_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.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) = 10417.2617922
delta logL = -0.00121038001635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10417.2605819
delta logL = -4.13274392486e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1388       1.0000          .0000       10.000    
     3 'Normalizat'    1.4711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0453       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=   10417.26     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    58.126        .90712E-02** at limit **
   2  Index         2.1317        8.8574        .50000        .14597E-04
   3  Normalizat    1.4711        .27513E-01    .10038        .28458E-04
   4  Prefactor     1.0453        .91063E-02    .40192E-01    .16416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.13166
  Normalizat = 1.47111
  Prefactor  = 1.04532
 **********
 **   18 **HESSE 
 **********

 FCN=   10417.26     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1317        6.0620        .50000       -.61098    
   3  Normalizat    1.4711        .31468        .44474E-03   -.78593    
   4  Prefactor     1.0453        .10452        .16970E-03   -.91234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18528e-10
Minuit parameter uncertainties:
  1  1.81707e-06
  2  4.15716
  3  0.315101
  4  0.104544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675651': 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) = 10417.2605818
delta logL = 5.33891579835e-08

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  1.817e-06  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.132e+00  4.157e+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.045e+00  1.045e-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.471e+00  3.151e-01  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/675651/cmap_HighResolution_330307201_330566401_4FGL_J1633.8+0701_daily_bin351.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.61e-08', time_completed='2021-09-14 21:15:51.851256', job_id='675651', GAL2='1.05', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1631679351.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.34e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='351' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:15:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 675651: <4FGL_J1633.8+0701_daily_bin351> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin351> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 14 21:00:28 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 21:00:57 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:00:57 2021
Terminated at Tue Sep 14 21:15:52 2021
Results reported at Tue Sep 14 21:15:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin351 248.454 7.0309 330307201 330566401 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 :                                   707.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            924 sec.

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

