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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin210
RA = 248.454, Dec = 7.0309
tmin = 293760001, tmax = 294019201
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='674342', job_status='RUN', time_executed='2021-09-14 20:58:51.137913', time_epoch_executed='1631678331.14' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674342

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674342/ft1_4FGL_J1633.8+0701_daily_bin210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674342/ft2_4FGL_J1633.8+0701_daily_bin210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674342/ft1_4FGL_J1633.8+0701_daily_bin210.fits outfile=/scratch/kocevski/674342/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin210.fits ra=248.454 dec=7.0309 rad=12.0 tmin=293760001.0 tmax=294019201.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.54
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674342/ft1_filtered_4FGL_J1633.8+0701_daily_bin210.fits" evtable="EVENTS" scfile=/scratch/kocevski/674342/ft2_4FGL_J1633.8+0701_daily_bin210.fits sctable="SC_DATA" outfile=/scratch/kocevski/674342/ltcube_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.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/674342/ft2_4FGL_J1633.8+0701_daily_bin210.fits
.....................!
real 14.11
user 13.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674342/ft1_filtered_4FGL_J1633.8+0701_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/674342/ft2_4FGL_J1633.8+0701_daily_bin210.fits sctable="SC_DATA" expcube=/scratch/kocevski/674342/ltcube_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.fits outfile=/scratch/kocevski/674342/expmap_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.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/674342/ltcube_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.fits
.....................!
real 194.20
user 187.59
sys 4.94

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/674342/ft1_filtered_4FGL_J1633.8+0701_daily_bin210.fits scfile=/scratch/kocevski/674342/ft2_4FGL_J1633.8+0701_daily_bin210.fits outfile=/scratch/kocevski/674342/cmap_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674342/ft1_filtered_4FGL_J1633.8+0701_daily_bin210.fits scfile=/scratch/kocevski/674342/ft2_4FGL_J1633.8+0701_daily_bin210.fits outfile=/scratch/kocevski/674342/cmap_HighResolution_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.806       1.0000         .10000E-03   10000.    
     2 'norm      '    5.6444       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    47.712       1.0000         .10000E-03   10000.    
     5 'norm      '    3.8747       1.0000         .10000E-03   10000.    
     6 'norm      '    .90109E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .18494E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3167       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6962       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.791       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    173.47       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2204       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99301       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=   9759.707     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1999 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.806        8.8115        .11337E-06   -.11427E-03
   2  norm          5.6444        5.2206       -.34987E-06   -.36014E-03
   3  Prefactor     .10000E-03    17.782       -.24716E-06** at limit **
   4  norm          47.714        15.237       -.32556E-06   -.18793E-03
   5  norm          3.8747        1.8767        .56445E-07   -.14137E-03
   6  norm          .10356E-03    8.3821        .23436E-05** at limit **
   7  norm          .10000E-03    146.24       -.11294E-04** at limit **
   8  Prefactor     .10000E-03    38.850       -.47580E-06** at limit **
   9  Prefactor     .10000E-03    9.3883        .22826E-07** at limit **
  10  Prefactor     .10000E-03    4.6429        .44603E-06** at limit **
  11  Prefactor     3.3168        7.7466       -.22939E-05   -.32388E-03
  12  Prefactor     5.6963        5.2867       -.51297E-06   -.35369E-03
  13  Prefactor     .10000E-03    7.3655        .25720E-06** at limit **
  14  Prefactor     53.800        53.573        .87903E-05   -.20547E-05
  15  Prefactor     .10000E-03    2.2860       -.29896E-06** at limit **
  16  Prefactor     173.52        183.96        .32883E-04   -.27284E-05
  17  Normalizat    1.2204        .26056       -.30341E-06   -.23582E-03
  18  Prefactor     .99299        .84738E-01   -.57300E-06   -.20134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.806
  norm       = 5.64436
  Prefactor  = 0.0001
  norm       = 47.7143
  norm       = 3.87468
  norm       = 0.000103564
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.31684
  Prefactor  = 5.69632
  Prefactor  = 0.0001
  Prefactor  = 53.8005
  Prefactor  = 0.0001
  Prefactor  = 173.518
  Normalizat = 1.22038
  Prefactor  = 0.99299
 **********
 **   18 **HESSE 
 **********

 FCN=   9759.707     FROM HESSE     STATUS=OK           250 CALLS     2249 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.806        8.8189        .10780E-03   -1.4965    
   2  norm          5.6444        5.2193        .16908E-03   -1.5233    
   3  Prefactor     .10000E-03    17.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          47.714        15.265        .58051E-04   -1.4325    
   5  norm          3.8747        1.8767        .90382E-04   -1.5314    
   6  norm          .10356E-03    10.230        .87997E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    146.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.3937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3168        7.8062        .22228E-03   -1.5344    
  12  Prefactor     5.6963        5.2936        .16830E-03   -1.5231    
  13  Prefactor     .10000E-03    7.5541        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     53.800        53.506        .54689E-04   -1.4240    
  15  Prefactor     .10000E-03    2.2968        .14586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     173.52        182.91        .15318E-03   -1.3066    
  17  Normalizat    1.2204        .30678        .43945E-03   -.85975    
  18  Prefactor     .99299        .10024        .16187E-03   -.92964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62175e-09
Minuit parameter uncertainties:
  1  8.81969
  2  5.2197
  3  3.49468e-06
  4  15.2664
  5  1.87677
  6  0.0120781
  7  5.88821e-05
  8  2.45151e-05
  9  6.54059e-06
  10  1.7967e-05
  11  7.80859
  12  5.29404
  13  2.4999e-05
  14  53.5534
  15  6.49539e-06
  16  183.511
  17  0.307237
  18  0.100255
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  3.317e+00  7.809e+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:  9.930e-01  1.003e-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.220e+00  3.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/674342/likelihoodResults_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.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) = 9759.46857129
delta logL = 0.238123579444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9759.46518596
delta logL = 0.241508910982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9545       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7879       1.0000          .0000       10.000    
     3 'Normalizat'    1.1957       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99617       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=   9759.465     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      294 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9529        66.820        .74198E-02    .11122E-02
   2  Index         2.7885        3.0451        .13744        .20000E-03
   3  Normalizat    1.1957        .67893E-01    .10005        .28162E-04
   4  Prefactor     .99620        .22520E-01    .46219E-01   -.45413E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95288
  Index      = 2.78852
  Normalizat = 1.1957
  Prefactor  = 0.9962
 **********
 **   18 **HESSE 
 **********

 FCN=   9759.465     FROM HESSE     STATUS=OK            33 CALLS      327 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9529        6.8823        .17506E-03   -1.5428    
   2  Index         2.7885        1.3945        .79780E-02   -.45816    
   3  Normalizat    1.1957        .29450        .44334E-03   -.86736    
   4  Prefactor     .99620        .98792E-01    .16162E-03   -.92856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67068e-11
Minuit parameter uncertainties:
  1  6.88511
  2  1.41803
  3  0.294912
  4  0.0988097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674342': 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) = 9759.4651855
delta logL = 0.241509373072

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.953e+00  6.885e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.789e+00  1.418e+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:  9.962e-01  9.881e-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.196e+00  2.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/674342/cmap_HighResolution_293760001_294019201_4FGL_J1633.8+0701_daily_bin210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.28e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-14 21:11:07.866552', job_id='674342', GAL2='1.00', fit_tolerance='1e-08', EG2='1.20', EG='1.22', time_epoch_completed='1631679067.87', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.42e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='210' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:11:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 674342: <4FGL_J1633.8+0701_daily_bin210> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin210> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 14 20:55:35 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 20:56:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 20:56:43 2021
Terminated at Tue Sep 14 21:11:08 2021
Results reported at Tue Sep 14 21:11:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin210 248.454 7.0309 293760001 294019201 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 :                                   729.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            933 sec.

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

