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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1600
RA = 169.271, Dec = 20.2294
tmin = 654048001, tmax = 654307201
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='259198', job_status='RUN', time_executed='2021-09-26 00:23:44.972298', time_epoch_executed='1632641024.97' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259198/ft1_4FGL_J1117.0+2013_daily_bin1600.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259198/ft1_4FGL_J1117.0+2013_daily_bin1600.fits outfile=/scratch/kocevski/259198/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1600.fits ra=169.271 dec=20.2294 rad=12.0 tmin=654048001.0 tmax=654307201.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.70
user 3.45
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.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/259198/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1600.fits evtable="EVENTS" outfile="/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits" evtable="EVENTS" scfile=/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits sctable="SC_DATA" outfile=/scratch/kocevski/259198/ltcube_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.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/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits
.....................!
real 13.97
user 13.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits sctable="SC_DATA" expcube=/scratch/kocevski/259198/ltcube_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.fits outfile=/scratch/kocevski/259198/expmap_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.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/259198/ltcube_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.fits
.....................!
real 190.70
user 185.22
sys 4.79

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
Added 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1117.0+2013 @ 169.271 20.2294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits scfile=/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits outfile=/scratch/kocevski/259198/cmap_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.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=169.271 yref=20.2294 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits scfile=/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits outfile=/scratch/kocevski/259198/cmap_HighResolution_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.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=169.271 yref=20.2294 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.43
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259198/Model_4FGL_J1117.0+2013_daily_bin1600.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 GAL_V02
Working on...
/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits.....................!
real 55.49
user 54.15
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits', '/scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits', expMap='/scratch/kocevski/259198/expmap_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.fits', expCube='/scratch/kocevski/259198/ltcube_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259198/Model_4FGL_J1117.0+2013_daily_bin1600.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1117.0+2013'

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.413e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/259198/ft1_filtered_4FGL_J1117.0+2013_daily_bin1600.fits
Spacecraft file(s): /scratch/kocevski/259198/ft2_4FGL_J1117.0+2013_daily_bin1600.fits
Exposure map: /scratch/kocevski/259198/expmap_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.fits
Exposure cube: /scratch/kocevski/259198/ltcube_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259198/Model_4FGL_J1117.0+2013_daily_bin1600.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) = 5849.63291113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0968       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3452       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.617       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1054       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.439       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8005       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4761       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.0629       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.699       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    88.787       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7292       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .71220       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82270       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5849.617     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2379 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4482        .30782E-07** at limit **
   2  Prefactor     1.0978        2.2667        .18494E-06   -.15350E-03
   3  Prefactor     6.3472        6.8096        .28100E-06   -.85812E-03
   4  Prefactor     15.625        11.265       -.33283E-05   -.22880E-03
   5  Prefactor     5.1058        10.357        .43808E-05    .71081E-04
   6  Prefactor     17.441        13.124       -.17937E-05   -.99756E-04
   7  Prefactor     .10000E-03    9.4451        .35495E-06** at limit **
   8  norm          1.8006        1.2799        .33799E-08   -.69762E-05
   9  Prefactor     2.4769        2.8982        .32684E-06   -.33852E-04
  10  Prefactor     .10000E-03    13.193        .17173E-05** at limit **
  11  norm          9.0657        11.532       -.17555E-05   -.70782E-04
  12  norm          .10000E-03    3.7200        .49128E-08** at limit **
  13  Prefactor     .10000E-03    7.0585       -.43311E-07** at limit **
  14  Prefactor     .10000E-03    11.529       -.12930E-05** at limit **
  15  Prefactor     10.706        45.067        .14432E-05    .49503E-05
  16  Prefactor     .10000E-03    18.437       -.10681E-05** at limit **
  17  Prefactor     88.729        33.870       -.87521E-06   -.20902E-04
  18  Prefactor     2.7247        6.4598        .92548E-06   -.89998E-03
  19  Prefactor     .72002        2.3087        .14958E-06   -.23283E-03
  20  Prefactor     .10000E-03    2.7721       -.77059E-07** at limit **
  21  Normalizat    .82210        .19940        .17852E-05   -.81682E-04
  22  Prefactor     1.4326        .20272       -.67051E-06    .36487E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.09781
  Prefactor  = 6.34715
  Prefactor  = 15.6251
  Prefactor  = 5.10581
  Prefactor  = 17.441
  Prefactor  = 0.0001
  norm       = 1.80061
  Prefactor  = 2.47689
  Prefactor  = 0.0001
  norm       = 9.06568
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.706
  Prefactor  = 0.0001
  Prefactor  = 88.7289
  Prefactor  = 2.72472
  Prefactor  = 0.720019
  Prefactor  = 0.0001
  Normalizat = 0.822101
  Prefactor  = 1.43256
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.617     FROM HESSE     STATUS=OK           346 CALLS     2725 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4664        .13861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0978        2.2573        .15627E-03   -1.5498    
   3  Prefactor     6.3472        7.3398        .79673E-03   -1.5204    
   4  Prefactor     15.625        11.347        .10135E-03   -1.4917    
   5  Prefactor     5.1058        10.355        .17794E-03   -1.5256    
   6  Prefactor     17.441        13.098        .95909E-04   -1.4872    
   7  Prefactor     .10000E-03    9.4905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8006        1.2711        .70132E-04   -1.5440    
   9  Prefactor     2.4769        2.8807        .12748E-03   -1.5393    
  10  Prefactor     .10000E-03    13.567        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.0657        11.537        .13313E-03   -1.5106    
  12  norm          .10000E-03    3.7269        .14405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.0817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.706        45.067        .12249E-03   -1.5053    
  16  Prefactor     .10000E-03    18.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     88.729        33.137        .42641E-04   -1.3821    
  18  Prefactor     2.7247        11.036        .12324E-02   -1.5378    
  19  Prefactor     .72002        2.2572        .18316E-03   -1.5538    
  20  Prefactor     .10000E-03    2.8153        .12429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82210        .23234        .29543E-03   -.99254    
  22  Prefactor     1.4326        .23612        .25225E-03   -.79446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42989e-09
Minuit parameter uncertainties:
  1  8.06394e-06
  2  2.25745
  3  7.34088
  4  11.3483
  5  10.3582
  6  13.1005
  7  2.84206e-05
  8  1.27113
  9  2.88089
  10  2.68595e-06
  11  11.5401
  12  1.40115e-06
  13  7.92269e-06
  14  2.65945e-05
  15  43.9875
  16  2.99692e-05
  17  33.1444
  18  10.9707
  19  2.25745
  20  4.99394e-06
  21  0.232625
  22  0.236296
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  2.686e-06  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.433e+00  2.363e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.221e-01  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.271 20.229
Photon Flux Upper Limit: 7.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259198/likelihoodResults_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.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) = 5849.61714745
delta logL = -0.000351695356585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5849.61679448
delta logL = 1.27237763081e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10540E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .82206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4326       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5849.269     FROM MIGRAD    STATUS=CONVERGED    274 CALLS      444 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .28187E-02    .40749E-03** at limit **
   2  Index         6.6437        2.3885        .92973E-01    .22624E-03
   3  Normalizat    .74277        .40750E-01    .70008E-01   -.34518E-04
   4  Prefactor     1.4884        .43423E-01    .56187E-01   -.45245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.64374
  Normalizat = 0.742765
  Prefactor  = 1.48839
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.269     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      483 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .34393E-01    .16830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6437        7.6444        .51987E-02    .33498    
   3  Normalizat    .74277        .10161        .30979E-03   -1.0223    
   4  Prefactor     1.4884        .10793        .24842E-03   -.77865    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.98059e-09
Minuit parameter uncertainties:
  1  1.9839e-08
  2  5.43916
  3  0.10164
  4  0.107949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259198': 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) = 5849.26898781
delta logL = 0.347807949998

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.984e-08  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  6.644e+00  5.439e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.488e+00  1.079e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.428e-01  1.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.271 20.229

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/259198/cmap_HighResolution_654048001_654307201_4FGL_J1117.0+2013_daily_bin1600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-03', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2021-09-26 00:35:00.570207', job_id='259198', GAL2='1.49', fit_tolerance='1e-08', EG2='0.74', EG='0.82', time_epoch_completed='1632641700.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='3.48e-01', ts2='0.82', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1600' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:35:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 259198: <4FGL_J1117.0+2013_daily_bin1600> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1600> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 00:20:21 2021
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:21:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:21:10 2021
Terminated at Sun Sep 26 00:35:01 2021
Results reported at Sun Sep 26 00:35:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1600 169.271 20.2294 654048001 654307201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1117.0+2013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   677.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            880 sec.

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

