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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin792
RA = 248.454, Dec = 7.0309
tmin = 444614401, tmax = 444873601
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='678406', job_status='RUN', time_executed='2021-09-14 21:13:07.681192', time_epoch_executed='1631679187.68' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='792'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/678406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/678406/ft1_4FGL_J1633.8+0701_daily_bin792.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/678406/ft2_4FGL_J1633.8+0701_daily_bin792.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/678406/ft1_4FGL_J1633.8+0701_daily_bin792.fits outfile=/scratch/kocevski/678406/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin792.fits ra=248.454 dec=7.0309 rad=12.0 tmin=444614401.0 tmax=444873601.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 2.93
user 2.68
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/678406/ft2_4FGL_J1633.8+0701_daily_bin792.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/678406/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin792.fits evtable="EVENTS" outfile="/scratch/kocevski/678406/ft1_filtered_4FGL_J1633.8+0701_daily_bin792.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.47
user 0.31
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/678406/ft1_filtered_4FGL_J1633.8+0701_daily_bin792.fits" evtable="EVENTS" scfile=/scratch/kocevski/678406/ft2_4FGL_J1633.8+0701_daily_bin792.fits sctable="SC_DATA" outfile=/scratch/kocevski/678406/ltcube_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.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/678406/ft2_4FGL_J1633.8+0701_daily_bin792.fits
.....................!
real 13.28
user 12.94
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/678406/ft1_filtered_4FGL_J1633.8+0701_daily_bin792.fits evtable="EVENTS" scfile=/scratch/kocevski/678406/ft2_4FGL_J1633.8+0701_daily_bin792.fits sctable="SC_DATA" expcube=/scratch/kocevski/678406/ltcube_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.fits outfile=/scratch/kocevski/678406/expmap_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.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/678406/ltcube_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.fits
.....................!
real 156.51
user 152.42
sys 3.55

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/678406/ft1_filtered_4FGL_J1633.8+0701_daily_bin792.fits scfile=/scratch/kocevski/678406/ft2_4FGL_J1633.8+0701_daily_bin792.fits outfile=/scratch/kocevski/678406/cmap_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.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.50
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/678406/ft1_filtered_4FGL_J1633.8+0701_daily_bin792.fits scfile=/scratch/kocevski/678406/ft2_4FGL_J1633.8+0701_daily_bin792.fits outfile=/scratch/kocevski/678406/cmap_HighResolution_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.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.51
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.9713       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1023       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.7919       1.0000         .10000E-03   10000.    
     6 'norm      '    47.817       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0245       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0287       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.077       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13129E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    111.73       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4000       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85569       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=   12697.92     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1752 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1120        .11864E-06** at limit **
   2  norm          2.9703        3.2970        .49834E-06    .37548E-04
   3  Prefactor     4.0710        50.138        .30014E-06   -.19638E-04
   4  norm          .10000E-03    2.6726        .44781E-07** at limit **
   5  norm          5.7917        1.7455       -.68316E-08   -.48800E-04
   6  norm          47.807        15.095        .19708E-06   -.73949E-04
   7  norm          .10000E-03    28.858        .10732E-06** at limit **
   8  Prefactor     .10000E-03    23.410        .12345E-06** at limit **
   9  Prefactor     .10000E-03    8.4532        .84774E-07** at limit **
  10  Prefactor     .10000E-03    3.1332        .19806E-07** at limit **
  11  Prefactor     1.0229        4.2034        .39595E-06   -.12222E-03
  12  Prefactor     .10000E-03    2.9165       -.78548E-08** at limit **
  13  Prefactor     1.0290        3.9805        .42957E-05    .15392E-03
  14  Prefactor     20.058        43.731       -.17468E-06   -.27397E-04
  15  Prefactor     .10000E-03    2.5576       -.15666E-07** at limit **
  16  Prefactor     111.49        133.99       -.15755E-05   -.60041E-04
  17  Normalizat    1.4010        .22463       -.46880E-05   -.76824E-04
  18  Prefactor     .85542        .71696E-01    .11872E-05   -.90723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.97031
  Prefactor  = 4.07101
  norm       = 0.0001
  norm       = 5.79171
  norm       = 47.8066
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.02291
  Prefactor  = 0.0001
  Prefactor  = 1.02904
  Prefactor  = 20.0585
  Prefactor  = 0.0001
  Prefactor  = 111.495
  Normalizat = 1.40096
  Prefactor  = 0.855416
 **********
 **   18 **HESSE 
 **********

 FCN=   12697.92     FROM HESSE     STATUS=OK           246 CALLS     1998 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1307        .15988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9703        3.2892        .20806E-03   -1.5363    
   3  Prefactor     4.0710        50.374        .19904E-03   -1.5304    
   4  norm          .10000E-03    2.6814        .17990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7917        1.7454        .79456E-04   -1.5227    
   6  norm          47.807        15.132        .57987E-04   -1.4324    
   7  norm          .10000E-03    28.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.4606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0229        11.112        .43297E-02   -1.5506    
  12  Prefactor     .10000E-03    3.0024        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0290        4.0528        .43026E-03   -1.5505    
  14  Prefactor     20.058        43.530        .89388E-04   -1.4812    
  15  Prefactor     .10000E-03    11.286        .34106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     111.49        134.27        .19028E-03   -1.3592    
  17  Normalizat    1.4010        .24576        .38508E-03   -.80601    
  18  Prefactor     .85542        .80721E-01    .15879E-03   -.97717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0387e-08
Minuit parameter uncertainties:
  1  5.41933e-06
  2  3.28944
  3  28.6702
  4  4.32138e-06
  5  1.74542
  6  15.1336
  7  3.57233e-05
  8  5.08111e-06
  9  5.38526e-06
  10  9.29442e-07
  11  6.74406
  12  8.78582e-07
  13  4.0539
  14  43.5985
  15  5.40774e-05
  16  134.639
  17  0.245964
  18  0.0807323
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.023e+00  6.744e+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:  8.554e-01  8.073e-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.401e+00  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/678406/likelihoodResults_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.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) = 12697.8887271
delta logL = 0.0340521026174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12697.8584556
delta logL = 0.064323637609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22354E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.3264       1.0000          .0000       10.000    
     3 'Normalizat'    1.3741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86126       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=   12697.86     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      275 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20655E-01    .25570        .63882E-02    .12445E-01
   2  Index         4.3569        1.1214        .20332        .94220E-04
   3  Normalizat    1.3740        .19029E-01    .87701E-01    .24464E-04
   4  Prefactor     .86119        .63442E-02    .44509E-01    .12427E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.020655
  Index      = 4.35688
  Normalizat = 1.37399
  Prefactor  = 0.861191
 **********
 **   18 **HESSE 
 **********

 FCN=   12697.86     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      310 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20655E-01    5.7980        .32040E-03   -1.5679    
   2  Index         4.3569        5.8574        .72273E-02   -.12898    
   3  Normalizat    1.3740        .12850        .38834E-03   -.81384    
   4  Prefactor     .86119        .42370E-01    .15831E-03   -.97511    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.30125e-07
Minuit parameter uncertainties:
  1  0.690511
  2  12.503
  3  0.128535
  4  0.0423717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/678406': 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) = 12697.8584415
delta logL = 0.0643377330416

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  2.065e-02  6.905e-01  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  4.357e+00  1.250e+01  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:  8.612e-01  4.237e-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.374e+00  1.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/678406/cmap_HighResolution_444614401_444873601_4FGL_J1633.8+0701_daily_bin792.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2021-09-14 21:24:40.210214', job_id='678406', GAL2='0.86', fit_tolerance='1e-08', EG2='1.37', EG='1.40', time_epoch_completed='1631679880.21', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.43e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='792' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:24:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 678406: <4FGL_J1633.8+0701_daily_bin792> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin792 248.454 7.0309 444614401 444873601 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 :                                   670.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            863 sec.

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

