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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1512
RA = 169.271, Dec = 20.2294
tmin = 631238401, tmax = 631497601
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='638969', job_status='RUN', time_executed='2021-09-03 14:29:53.058744', time_epoch_executed='1630704593.06' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638969

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638969/ft1_4FGL_J1117.0+2013_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638969/ft1_4FGL_J1117.0+2013_daily_bin1512.fits outfile=/scratch/kocevski/638969/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1512.fits ra=169.271 dec=20.2294 rad=12.0 tmin=631238401.0 tmax=631497601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.75
user 2.53
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.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/638969/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1512.fits evtable="EVENTS" outfile="/scratch/kocevski/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/638969/ltcube_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.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/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits
.....................!
real 17.54
user 17.09
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/638969/ltcube_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.fits outfile=/scratch/kocevski/638969/expmap_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.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/638969/ltcube_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.fits
.....................!
real 192.03
user 185.47
sys 5.70

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/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits scfile=/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits outfile=/scratch/kocevski/638969/cmap_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits scfile=/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits outfile=/scratch/kocevski/638969/cmap_HighResolution_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638969/Model_4FGL_J1117.0+2013_daily_bin1512.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/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits.....................!
real 59.89
user 57.75
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits', '/scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits', expMap='/scratch/kocevski/638969/expmap_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.fits', expCube='/scratch/kocevski/638969/ltcube_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638969/Model_4FGL_J1117.0+2013_daily_bin1512.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/638969/ft1_filtered_4FGL_J1117.0+2013_daily_bin1512.fits
Spacecraft file(s): /scratch/kocevski/638969/ft2_4FGL_J1117.0+2013_daily_bin1512.fits
Exposure map: /scratch/kocevski/638969/expmap_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.fits
Exposure cube: /scratch/kocevski/638969/ltcube_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638969/Model_4FGL_J1117.0+2013_daily_bin1512.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) = 6333.21516227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.944       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.312       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.102       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.544       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27123E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5901       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6575       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0733       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4289       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6438       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.838       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8057       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91153       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3983       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=   6332.618     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2061 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.950        13.713        .38678E-06    .58253E-04
   2  Prefactor     .10000E-03    1.4878       -.10485E-08** at limit **
   3  Prefactor     49.311        14.102       -.18568E-06    .74376E-04
   4  Prefactor     10.100        11.998       -.49261E-06    .88991E-04
   5  Prefactor     .10000E-03    11.641       -.10021E-05** at limit **
   6  Prefactor     15.539        12.716       -.11903E-06    .37557E-04
   7  Prefactor     .10000E-03    18.586       -.19141E-05** at limit **
   8  norm          .10000E-03    .85948       -.11405E-06** at limit **
   9  Prefactor     .10000E-03    1.6423       -.10698E-06** at limit **
  10  Prefactor     .10005E-03    6.3383       -.11364E-05** at limit **
  11  norm          2.5900        8.4405        .57300E-06   -.52309E-03
  12  norm          2.6601        5.8932        .29316E-06   -.79302E-03
  13  Prefactor     5.0816        9.8445        .73886E-07   -.18559E-03
  14  Prefactor     9.4256        15.361       -.17090E-05   -.85266E-05
  15  Prefactor     4.6434        57.731       -.27297E-05    .15471E-05
  16  Prefactor     12.840        11.480        .57337E-06    .12004E-04
  17  Prefactor     .10000E-03    19.351        .37354E-05** at limit **
  18  Prefactor     .10000E-03    9.1122        .64091E-06** at limit **
  19  Prefactor     .10000E-03    .81971        .26862E-07** at limit **
  20  Prefactor     3.8063        3.9431       -.32865E-05   -.18434E-03
  21  Normalizat    .91177        .19843        .14132E-05    .12750E-03
  22  Prefactor     1.3980        .20230        .32202E-06    .16521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.9501
  Prefactor  = 0.0001
  Prefactor  = 49.311
  Prefactor  = 10.1003
  Prefactor  = 0.0001
  Prefactor  = 15.5389
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100047
  norm       = 2.59002
  norm       = 2.66011
  Prefactor  = 5.08164
  Prefactor  = 9.42556
  Prefactor  = 4.64338
  Prefactor  = 12.8401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.80626
  Normalizat = 0.911768
  Prefactor  = 1.39805
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.618     FROM HESSE     STATUS=OK           350 CALLS     2411 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.950        13.702        .58522E-04   -1.4336    
   2  Prefactor     .10000E-03    1.5058        .94688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     49.311        14.079        .57105E-04   -1.4302    
   4  Prefactor     10.100        12.009        .12607E-03   -1.5072    
   5  Prefactor     .10000E-03    11.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.539        12.544        .10159E-03   -1.4919    
   7  Prefactor     .10000E-03    18.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.4573        .14185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.8413        .19447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10005E-03    35.943        .37540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5900        11.468        .12677E-02   -1.5386    
  12  norm          2.6601        7.9635        .12502E-02   -1.5382    
  13  Prefactor     5.0816        9.9965        .89257E-03   -1.5257    
  14  Prefactor     9.4256        15.349        .13051E-03   -1.5094    
  15  Prefactor     4.6434        57.508        .18676E-03   -1.5277    
  16  Prefactor     12.840        11.466        .11180E-03   -1.4991    
  17  Prefactor     .10000E-03    19.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.3810        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8816        .13956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.8063        3.9767        .15400E-03   -1.5318    
  21  Normalizat    .91177        .23650        .29467E-03   -.96048    
  22  Prefactor     1.3980        .24007        .26168E-03   -.80436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37763e-09
Minuit parameter uncertainties:
  1  13.7032
  2  4.13441e-06
  3  14.0797
  4  12.0114
  5  6.0867e-07
  6  12.5466
  7  9.67146e-06
  8  9.7544e-06
  9  1.54708e-05
  10  0.00259848
  11  10.9035
  12  7.96671
  13  9.9998
  14  15.355
  15  32.7208
  16  11.4676
  17  3.77469e-05
  18  5.41975e-05
  19  2.04716e-06
  20  3.97694
  21  0.236773
  22  0.24026
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  2.598e-03  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.398e+00  2.403e-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:  9.118e-01  2.368e-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: 6.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638969/likelihoodResults_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.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) = 6332.61819121
delta logL = -0.000130586809973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6332.61804695
delta logL = 1.3675829905e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12523E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1348       1.0000          .0000       10.000    
     3 'Normalizat'    .91234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3974       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6332.587     FROM MIGRAD    STATUS=CONVERGED    136 CALLS      314 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68639        8.6872        .25346E-03   -.72860E-03
   2  Index         2.6304        2.4302        .10101E-01   -.60740E-04
   3  Normalizat    .90291        .22453        .29600E-03   -.10496E-02
   4  Prefactor     1.4002        .23894        .26151E-03   -.88778E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.686389
  Index      = 2.63044
  Normalizat = 0.902911
  Prefactor  = 1.40025
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.587     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68639        5.2065        .10138E-04   -1.5542    
   2  Index         2.6304        1.9251        .40405E-03   -.49373    
   3  Normalizat    .90291        .22474        .59200E-04   -.96358    
   4  Prefactor     1.4002        .23886        .52302E-04   -.80373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93164e-09
Minuit parameter uncertainties:
  1  3.78101
  2  1.99243
  3  0.22497
  4  0.239046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638969': 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) = 6332.58716214
delta logL = 0.0308984867806

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  6.864e-01  3.781e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.630e+00  1.992e+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.400e+00  2.390e-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:  9.029e-01  2.250e-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/638969/cmap_HighResolution_631238401_631497601_4FGL_J1117.0+2013_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-03', job_status='DONE', photon_flux_upper_limit='6.55e-08', time_completed='2021-09-03 14:41:13.969385', job_id='638969', GAL2='1.40', fit_tolerance='1e-08', EG2='0.90', EG='0.91', time_epoch_completed='1630705273.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.40', dlogl='3.09e-02', ts2='0.07', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1512' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 14:41:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 638969: <4FGL_J1117.0+2013_daily_bin1512> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1512> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 14:26:24 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 14:27:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 14:27:12 2021
Terminated at Fri Sep  3 14:41:14 2021
Results reported at Fri Sep  3 14:41:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1512 169.271 20.2294 631238401 631497601 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 :                                   667.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            890 sec.

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

