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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin782
RA = 248.454, Dec = 7.0309
tmin = 442022401, tmax = 442281601
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='678390', job_status='RUN', time_executed='2021-09-14 21:12:11.973557', time_epoch_executed='1631679131.97' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='782'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/678390

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/678390/ft1_4FGL_J1633.8+0701_daily_bin782.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/678390/ft2_4FGL_J1633.8+0701_daily_bin782.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/678390/ft1_4FGL_J1633.8+0701_daily_bin782.fits outfile=/scratch/kocevski/678390/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin782.fits ra=248.454 dec=7.0309 rad=12.0 tmin=442022401.0 tmax=442281601.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.80
user 3.57
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/678390/ft2_4FGL_J1633.8+0701_daily_bin782.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/678390/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin782.fits evtable="EVENTS" outfile="/scratch/kocevski/678390/ft1_filtered_4FGL_J1633.8+0701_daily_bin782.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.54
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/678390/ft1_filtered_4FGL_J1633.8+0701_daily_bin782.fits" evtable="EVENTS" scfile=/scratch/kocevski/678390/ft2_4FGL_J1633.8+0701_daily_bin782.fits sctable="SC_DATA" outfile=/scratch/kocevski/678390/ltcube_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.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/678390/ft2_4FGL_J1633.8+0701_daily_bin782.fits
.....................!
real 14.41
user 14.07
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/678390/ft1_filtered_4FGL_J1633.8+0701_daily_bin782.fits evtable="EVENTS" scfile=/scratch/kocevski/678390/ft2_4FGL_J1633.8+0701_daily_bin782.fits sctable="SC_DATA" expcube=/scratch/kocevski/678390/ltcube_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.fits outfile=/scratch/kocevski/678390/expmap_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.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/678390/ltcube_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.fits
.....................!
real 192.28
user 186.71
sys 5.15

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/678390/ft1_filtered_4FGL_J1633.8+0701_daily_bin782.fits scfile=/scratch/kocevski/678390/ft2_4FGL_J1633.8+0701_daily_bin782.fits outfile=/scratch/kocevski/678390/cmap_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=248.454 yref=7.0309 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/678390/ft1_filtered_4FGL_J1633.8+0701_daily_bin782.fits scfile=/scratch/kocevski/678390/ft2_4FGL_J1633.8+0701_daily_bin782.fits outfile=/scratch/kocevski/678390/cmap_HighResolution_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0165       1.0000         .10000E-03   10000.    
     2 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0683       1.0000         .10000E-03   10000.    
     6 'norm      '    11.843       1.0000         .10000E-03   10000.    
     7 'norm      '    94.628       1.0000         .10000E-03   10000.    
     8 'Prefactor '    45.750       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10864E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2778       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6732       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.631       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .73238       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1171       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=   9431.850     FROM MIGRAD    STATUS=CONVERGED    344 CALLS     1725 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0160        5.4077       -.16004E-05   -.46089E-03
   2  norm          .10000E-03    1.1750       -.89330E-07** at limit **
   3  Prefactor     .10000E-03    14.301        .37635E-06** at limit **
   4  norm          .10000E-03    11.043       -.60520E-06** at limit **
   5  norm          6.0684        1.9325       -.12017E-06    .19722E-03
   6  norm          11.843        11.668       -.10591E-05   -.67381E-04
   7  norm          94.595        104.51       -.31045E-04   -.14455E-05
   8  Prefactor     45.595        66.481       -.18574E-03   -.90441E-06
   9  Prefactor     .10008E-03    83.622        .38784E-04** at limit **
  10  Prefactor     6.2879        11.017        .13794E-04   -.39686E-03
  11  Prefactor     .10000E-03    7.0524       -.60032E-06** at limit **
  12  Prefactor     .10000E-03    1.2084        .54368E-07** at limit **
  13  Prefactor     7.6731        7.6200       -.14865E-05   -.34348E-03
  14  Prefactor     .10000E-03    54.333        .82818E-06** at limit **
  15  Prefactor     13.630        9.0547       -.17110E-05   -.13813E-03
  16  Prefactor     .10000E-03    99.584       -.34012E-04** at limit **
  17  Normalizat    .73230        .27550        .13975E-04   -.64999E-04
  18  Prefactor     1.1172        .91478E-01    .11732E-05   -.52319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.01596
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 6.06837
  norm       = 11.8434
  norm       = 94.5951
  Prefactor  = 45.5949
  Prefactor  = 0.000100083
  Prefactor  = 6.28792
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.67308
  Prefactor  = 0.0001
  Prefactor  = 13.6296
  Prefactor  = 0.0001
  Normalizat = 0.732297
  Prefactor  = 1.1172
 **********
 **   18 **HESSE 
 **********

 FCN=   9431.850     FROM HESSE     STATUS=OK           244 CALLS     1969 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0160        5.3974        .20122E-03   -1.5307    
   2  norm          .10000E-03    1.1798        .10278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    11.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0684        1.9329        .74163E-04   -1.5215    
   6  norm          11.843        11.674        .11641E-03   -1.5020    
   7  norm          94.595        104.56        .20658E-03   -1.3760    
   8  Prefactor     45.595        66.627        .29638E-03   -1.4356    
   9  Prefactor     .10008E-03    84.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2879        10.942        .16021E-03   -1.5206    
  11  Prefactor     .10000E-03    7.1876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.2118        .10424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6731        7.5945        .14477E-03   -1.5154    
  14  Prefactor     .10000E-03    54.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.630        9.0338        .10849E-03   -1.4969    
  16  Prefactor     .10000E-03    99.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .73230        .29805        .51735E-03   -1.0263    
  18  Prefactor     1.1172        .10062        .15002E-03   -.88919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82319e-09
Minuit parameter uncertainties:
  1  5.39802
  2  5.56391e-06
  3  1.90543e-05
  4  0.000172762
  5  1.93294
  6  11.676
  7  104.761
  8  66.7361
  9  0.00528824
  10  10.9459
  11  0.000163991
  12  7.24457e-06
  13  7.59542
  14  0.000188296
  15  9.03473
  16  0.000121985
  17  0.298715
  18  0.100641
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  1.640e-04  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.117e+00  1.006e-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:  7.323e-01  2.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/678390/likelihoodResults_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.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) = 9431.85071422
delta logL = -0.000663310936943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9431.85005088
delta logL = 2.72539182333e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1575       1.0000          .0000       10.000    
     3 'Normalizat'    .73227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1172       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=   9431.850     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4108        .90712E-02** at limit **
   2  Index         2.1684        5.5050        .50000       -.11965E-04
   3  Normalizat    .73229        .36803E-02    .11665        .66492E-04
   4  Prefactor     1.1172        .12995E-02    .36967E-01    .60848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.1684
  Normalizat = 0.732295
  Prefactor  = 1.1172
 **********
 **   18 **HESSE 
 **********

 FCN=   9431.850     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1684        7.6762        .50000       -.60203    
   3  Normalizat    .73229        .14035E-01    .51734E-03   -1.0263    
   4  Prefactor     1.1172        .49749E-02    .15002E-03   -.88919    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34584e-07
Minuit parameter uncertainties:
  1  6.5247e-05
  2  124.804
  3  0.014035
  4  0.00497491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/678390': 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) = 9431.85005084
delta logL = 6.84176484356e-08

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.000e-04  6.525e-05  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.168e+00  1.248e+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:  1.117e+00  4.975e-03  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:  7.323e-01  1.403e-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/678390/cmap_HighResolution_442022401_442281601_4FGL_J1633.8+0701_daily_bin782.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.03e-03', job_status='DONE', photon_flux_upper_limit='7.95e-08', time_completed='2021-09-14 21:23:26.729265', job_id='678390', GAL2='1.12', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1631679806.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.84e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='782' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:23:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 678390: <4FGL_J1633.8+0701_daily_bin782> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin782 248.454 7.0309 442022401 442281601 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 :                                   673.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

