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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin581
RA = 248.454, Dec = 7.0309
tmin = 389923201, tmax = 390182401
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='675994', job_status='RUN', time_executed='2021-09-14 21:04:54.291023', time_epoch_executed='1631678694.29' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675994/ft1_4FGL_J1633.8+0701_daily_bin581.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675994/ft2_4FGL_J1633.8+0701_daily_bin581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675994/ft1_4FGL_J1633.8+0701_daily_bin581.fits outfile=/scratch/kocevski/675994/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin581.fits ra=248.454 dec=7.0309 rad=12.0 tmin=389923201.0 tmax=390182401.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.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675994/ft2_4FGL_J1633.8+0701_daily_bin581.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/675994/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin581.fits evtable="EVENTS" outfile="/scratch/kocevski/675994/ft1_filtered_4FGL_J1633.8+0701_daily_bin581.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/675994/ft1_filtered_4FGL_J1633.8+0701_daily_bin581.fits" evtable="EVENTS" scfile=/scratch/kocevski/675994/ft2_4FGL_J1633.8+0701_daily_bin581.fits sctable="SC_DATA" outfile=/scratch/kocevski/675994/ltcube_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.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/675994/ft2_4FGL_J1633.8+0701_daily_bin581.fits
.....................!
real 13.60
user 13.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675994/ft1_filtered_4FGL_J1633.8+0701_daily_bin581.fits evtable="EVENTS" scfile=/scratch/kocevski/675994/ft2_4FGL_J1633.8+0701_daily_bin581.fits sctable="SC_DATA" expcube=/scratch/kocevski/675994/ltcube_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.fits outfile=/scratch/kocevski/675994/expmap_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.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/675994/ltcube_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.fits
.....................!
real 191.71
user 185.54
sys 5.50

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/675994/ft1_filtered_4FGL_J1633.8+0701_daily_bin581.fits scfile=/scratch/kocevski/675994/ft2_4FGL_J1633.8+0701_daily_bin581.fits outfile=/scratch/kocevski/675994/cmap_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675994/ft1_filtered_4FGL_J1633.8+0701_daily_bin581.fits scfile=/scratch/kocevski/675994/ft2_4FGL_J1633.8+0701_daily_bin581.fits outfile=/scratch/kocevski/675994/cmap_HighResolution_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.4847       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.9599       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    72.121       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1240       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1140       1.0000         .10000E-03   10000.    
    14 'Prefactor '    109.34       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    320.41       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4074       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98742       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=   10765.52     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1724 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2033        .53026E-07** at limit **
   2  norm          4.4849        3.1366       -.29151E-06   -.41084E-04
   3  Prefactor     .10000E-03    148.01        .45867E-06** at limit **
   4  norm          .10000E-03    11.569        .14404E-06** at limit **
   5  norm          2.9598        1.4915        .14215E-07   -.12294E-04
   6  norm          .10000E-03    7.7648        .16398E-06** at limit **
   7  norm          72.085        92.667       -.65641E-06   -.65190E-04
   8  Prefactor     .10000E-03    27.551       -.76555E-08** at limit **
   9  Prefactor     27.448        40.024        .71258E-06    .44689E-04
  10  Prefactor     .10000E-03    9.1642        .66027E-06** at limit **
  11  Prefactor     .10000E-03    8.4011        .89089E-07** at limit **
  12  Prefactor     1.1226        8.8821        .42099E-05   -.40182E-04
  13  Prefactor     2.1135        7.2959        .70439E-06   -.75709E-04
  14  Prefactor     109.34        64.710        .15226E-06    .56547E-06
  15  Prefactor     .10000E-03    4.3782        .87503E-08** at limit **
  16  Prefactor     320.33        239.07       -.14547E-05   -.56223E-04
  17  Normalizat    1.4070        .25919       -.27703E-05   -.89088E-04
  18  Prefactor     .98755        .82866E-01    .42968E-06   -.48576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.48485
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.95984
  norm       = 0.0001
  norm       = 72.0847
  Prefactor  = 0.0001
  Prefactor  = 27.4485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.12258
  Prefactor  = 2.1135
  Prefactor  = 109.337
  Prefactor  = 0.0001
  Prefactor  = 320.334
  Normalizat = 1.40699
  Prefactor  = 0.987548
 **********
 **   18 **HESSE 
 **********

 FCN=   10765.52     FROM HESSE     STATUS=OK           240 CALLS     1964 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2191        .15041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4849        3.1408        .74684E-03   -1.5284    
   3  Prefactor     .10000E-03    150.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    11.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9598        1.4913        .87617E-04   -1.5364    
   6  norm          .10000E-03    7.8020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          72.085        92.438        .23636E-03   -1.4008    
   8  Prefactor     .10000E-03    27.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.448        39.997        .76497E-04   -1.4660    
  10  Prefactor     .10000E-03    9.2271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.5345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1226        8.9828        .44215E-03   -1.5496    
  13  Prefactor     2.1135        7.2205        .28371E-03   -1.5417    
  14  Prefactor     109.34        64.709        .38465E-04   -1.3613    
  15  Prefactor     .10000E-03    4.4047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     320.33        239.20        .11357E-03   -1.2109    
  17  Normalizat    1.4070        .29628        .42777E-03   -.80427    
  18  Prefactor     .98755        .96617E-01    .16455E-03   -.93146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0389e-10
Minuit parameter uncertainties:
  1  4.81307e-06
  2  3.14091
  3  0.000304944
  4  2.4886e-05
  5  1.49137
  6  1.7494e-05
  7  92.6227
  8  1.88291e-06
  9  40.0361
  10  1.45279e-05
  11  1.86922e-05
  12  6.35207
  13  7.22348
  14  64.7505
  15  1.09103e-06
  16  239.941
  17  0.296646
  18  0.0966341
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  1.869e-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:  9.875e-01  9.663e-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.407e+00  2.966e-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: 9.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675994/likelihoodResults_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.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) = 10765.5210672
delta logL = -0.000558583464226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10765.5205099
delta logL = -1.28528517962e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1741       1.0000          .0000       10.000    
     3 'Normalizat'    1.4065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98769       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=   10765.52     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10124E-03    42.815        .18142E-02** at limit **
   2  Index         2.2237        8.8605        .50000       -.25582E-04
   3  Normalizat    1.4070        .14054E-01    .42777E-03   -.28171E-04
   4  Prefactor     .98755        .46649E-02    .16455E-03   -.10767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101239
  Index      = 2.22374
  Normalizat = 1.40698
  Prefactor  = 0.987549
 **********
 **   18 **HESSE 
 **********

 FCN=   10765.52     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10124E-03    256.68        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2237        5.9511        .50000       -.58867    
   3  Normalizat    1.4070        .35406E-01    .17111E-04   -.80427    
   4  Prefactor     .98755        .11750E-01    .32910E-04   -.93146    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59627e-08
Minuit parameter uncertainties:
  1  0.0358211
  2  297.294
  3  0.0354066
  4  0.0117503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675994': 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) = 10765.5205082
delta logL = 4.23096935265e-07

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.012e-04  3.582e-02  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.224e+00  2.973e+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:  9.875e-01  1.175e-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.407e+00  3.541e-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/675994/cmap_HighResolution_389923201_390182401_4FGL_J1633.8+0701_daily_bin581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='9.11e-08', time_completed='2021-09-14 21:16:59.539868', job_id='675994', GAL2='0.99', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1631679419.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='581' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:16:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 675994: <4FGL_J1633.8+0701_daily_bin581> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin581 248.454 7.0309 389923201 390182401 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 :                                   722.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            963 sec.

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

