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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin359
RA = 248.454, Dec = 7.0309
tmin = 332380801, tmax = 332640001
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='675664', job_status='RUN', time_executed='2021-09-14 21:03:55.924045', time_epoch_executed='1631678635.92' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675664/ft1_4FGL_J1633.8+0701_daily_bin359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675664/ft2_4FGL_J1633.8+0701_daily_bin359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675664/ft1_4FGL_J1633.8+0701_daily_bin359.fits outfile=/scratch/kocevski/675664/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin359.fits ra=248.454 dec=7.0309 rad=12.0 tmin=332380801.0 tmax=332640001.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.31
user 3.07
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675664/ft1_filtered_4FGL_J1633.8+0701_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/675664/ft2_4FGL_J1633.8+0701_daily_bin359.fits sctable="SC_DATA" expcube=/scratch/kocevski/675664/ltcube_332380801_332640001_4FGL_J1633.8+0701_daily_bin359.fits outfile=/scratch/kocevski/675664/expmap_332380801_332640001_4FGL_J1633.8+0701_daily_bin359.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/675664/ltcube_332380801_332640001_4FGL_J1633.8+0701_daily_bin359.fits
.....................!
real 191.26
user 186.13
sys 4.76

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/675664/ft1_filtered_4FGL_J1633.8+0701_daily_bin359.fits scfile=/scratch/kocevski/675664/ft2_4FGL_J1633.8+0701_daily_bin359.fits outfile=/scratch/kocevski/675664/cmap_332380801_332640001_4FGL_J1633.8+0701_daily_bin359.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.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4366       1.0000         .10000E-03   10000.    
     2 'norm      '    4.7245       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .26951E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.2176       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1933       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4222       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.897       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1780       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35143E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    111.17       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3009       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0738       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=   10304.63     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1813 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4352        6.7629        .74362E-05   -.35228E-05
   2  norm          4.7244        3.5083       -.22338E-06    .82084E-05
   3  Prefactor     .10000E-03    26.649       -.71084E-07** at limit **
   4  norm          .10000E-03    4.8357       -.58268E-07** at limit **
   5  norm          8.2176        2.4791        .11426E-07    .10657E-03
   6  norm          2.1905        17.153        .38358E-06    .18070E-06
   7  norm          .10000E-03    63.915        .17503E-07** at limit **
   8  Prefactor     .10000E-03    88.373        .43045E-07** at limit **
   9  Prefactor     .10000E-03    25.200       -.29608E-07** at limit **
  10  Prefactor     .10000E-03    3.9079       -.68982E-07** at limit **
  11  Prefactor     1.4222        3.6657        .34484E-06   -.16147E-05
  12  Prefactor     18.896        8.0664        .15793E-06    .41816E-04
  13  Prefactor     .10000E-03    5.3273       -.10682E-06** at limit **
  14  Prefactor     7.1909        61.264       -.12626E-05    .24019E-05
  15  Prefactor     .10001E-03    3.7637        .13763E-06** at limit **
  16  Prefactor     111.31        168.13       -.14004E-04    .20552E-05
  17  Normalizat    1.3013        .27081        .20673E-06    .92085E-04
  18  Prefactor     1.0737        .88484E-01   -.42637E-06   -.10969E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.43518
  norm       = 4.72445
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.21757
  norm       = 2.19054
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.42224
  Prefactor  = 18.8962
  Prefactor  = 0.0001
  Prefactor  = 7.1909
  Prefactor  = 0.000100009
  Prefactor  = 111.306
  Normalizat = 1.30129
  Prefactor  = 1.07369
 **********
 **   18 **HESSE 
 **********

 FCN=   10304.63     FROM HESSE     STATUS=OK           258 CALLS     2071 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4352        6.7919        .13106E-02   -1.5396    
   2  norm          4.7244        3.5085        .15898E-03   -1.5273    
   3  Prefactor     .10000E-03    26.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    34.585        .42572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.2176        2.4545        .84374E-04   -1.5135    
   6  norm          2.1905        17.169        .27787E-03   -1.5412    
   7  norm          .10000E-03    63.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    88.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.9175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4222        3.6099        .30381E-03   -1.5469    
  12  Prefactor     18.896        8.0653        .92136E-04   -1.4838    
  13  Prefactor     .10000E-03    5.5537        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1909        61.182        .14972E-03   -1.5172    
  15  Prefactor     .10001E-03    6.8622        .60359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     111.31        168.22        .19075E-03   -1.3594    
  17  Normalizat    1.3013        .31074        .45508E-03   -.83528    
  18  Prefactor     1.0737        .10245        .16574E-03   -.90312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65716e-10
Minuit parameter uncertainties:
  1  6.79403
  2  3.50867
  3  7.20528e-06
  4  8.00944e-06
  5  2.45458
  6  12.2698
  7  1.26706e-05
  8  8.17867e-05
  9  2.99664e-05
  10  4.37189e-06
  11  3.61049
  12  8.06576
  13  1.0183e-05
  14  42.0078
  15  0.000484083
  16  168.947
  17  0.311187
  18  0.10247
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.422e+00  3.610e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.074e+00  1.025e-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.301e+00  3.112e-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: 7.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675664/likelihoodResults_332380801_332640001_4FGL_J1633.8+0701_daily_bin359.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) = 10304.4922107
delta logL = 0.133361270258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10304.4878208
delta logL = 0.137751177363

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8029       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5925       1.0000          .0000       10.000    
     3 'Normalizat'    1.3045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0728       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=   10304.49     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      253 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7999        141.98        .60748E-02    .26570E-03
   2  Index         1.5911        3.0335        .43530        .60160E-05
   3  Normalizat    1.3054        .64654E-01    .10255        .29847E-04
   4  Prefactor     1.0725        .19905E-01    .38728E-01   -.56498E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.79995
  Index      = 1.59109
  Normalizat = 1.30536
  Prefactor  = 1.07249
 **********
 **   18 **HESSE 
 **********

 FCN=   10304.49     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7999        5.1402        .24299E-03   -1.5373    
   2  Index         1.5911        .91683        .12445E-01   -.75020    
   3  Normalizat    1.3054        .29886        .45446E-03   -.83407    
   4  Prefactor     1.0725        .10095        .16581E-03   -.90351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80047e-11
Minuit parameter uncertainties:
  1  5.14098
  2  0.926717
  3  0.29926
  4  0.100967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675664': 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) = 10304.4878155
delta logL = 0.137756518297

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  2.800e+00  5.141e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  1.591e+00  9.267e-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:  1.072e+00  1.010e-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.305e+00  2.993e-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/675664/cmap_HighResolution_332380801_332640001_4FGL_J1633.8+0701_daily_bin359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-03', job_status='DONE', photon_flux_upper_limit='7.11e-08', time_completed='2021-09-14 21:15:53.534969', job_id='675664', GAL2='1.07', fit_tolerance='1e-08', EG2='1.31', EG='1.30', time_epoch_completed='1631679353.54', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.38e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='359' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:15:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 675664: <4FGL_J1633.8+0701_daily_bin359> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin359 248.454 7.0309 332380801 332640001 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 :                                   716.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            927 sec.

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

