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


Performing analysis on: 4FGL_J0117.8-2109_daily_bin1485
RA = 19.4543, Dec = -21.1578
tmin = 624240001, tmax = 624499201
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='516359', job_status='RUN', time_executed='2021-08-13 21:41:50.328125', time_epoch_executed='1628916110.33' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='1485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516359

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516359/ft1_4FGL_J0117.8-2109_daily_bin1485.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516359/ft1_4FGL_J0117.8-2109_daily_bin1485.fits outfile=/scratch/kocevski/516359/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1485.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=624240001.0 tmax=624499201.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 8.89
user 3.26
sys 5.57

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.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/516359/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin1485.fits evtable="EVENTS" outfile="/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.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 5.87
user 0.36
sys 5.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits" evtable="EVENTS" scfile=/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits sctable="SC_DATA" outfile=/scratch/kocevski/516359/ltcube_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.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/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits
.....................!
real 19.61
user 13.30
sys 6.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits sctable="SC_DATA" expcube=/scratch/kocevski/516359/ltcube_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.fits outfile=/scratch/kocevski/516359/expmap_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.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/516359/ltcube_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.fits
.....................!
real 198.20
user 186.56
sys 11.14

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

Setting source of interest to:
4FGL J0117.8-2109 @ 19.4543 -21.1578

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits scfile=/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits outfile=/scratch/kocevski/516359/cmap_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.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=19.4543 yref=-21.1578 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 5.55
user 0.39
sys 5.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits scfile=/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits outfile=/scratch/kocevski/516359/cmap_HighResolution_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.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=19.4543 yref=-21.1578 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 5.76
user 0.42
sys 5.31

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/516359/Model_4FGL_J0117.8-2109_daily_bin1485.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/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits.....................!
real 48.99
user 40.75
sys 8.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits', '/scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits', expMap='/scratch/kocevski/516359/expmap_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.fits', expCube='/scratch/kocevski/516359/ltcube_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/516359/Model_4FGL_J0117.8-2109_daily_bin1485.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0117.8-2109'

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  4.691e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/516359/ft1_filtered_4FGL_J0117.8-2109_daily_bin1485.fits
Spacecraft file(s): /scratch/kocevski/516359/ft2_4FGL_J0117.8-2109_daily_bin1485.fits
Exposure map: /scratch/kocevski/516359/expmap_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.fits
Exposure cube: /scratch/kocevski/516359/ltcube_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/516359/Model_4FGL_J0117.8-2109_daily_bin1485.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) = 4491.98601599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9951       1.0000         .10000E-03   10000.    
     2 'norm      '    20.881       1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.976       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.044       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8240       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4691       1.0000         .10000E-03   10000.    
    11 'norm      '    .56180       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    27.196       1.0000         .10000E-03   10000.    
    15 'norm      '    .88466       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1548       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97214       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4491.948     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2363 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9933        12.488       -.98068E-06   -.84545E-04
   2  norm          20.882        7.9243       -.70198E-07   -.39506E-03
   3  Prefactor     50.084        95.155        .14750E-03   -.13236E-04
   4  Prefactor     19.046        18.080        .13111E-05   -.33617E-04
   5  norm          .10000E-03    4.0657       -.26085E-06** at limit **
   6  Prefactor     2.8245        6.5662       -.17154E-05   -.60234E-03
   7  Prefactor     .10000E-03    9.9339        .15431E-05** at limit **
   8  Prefactor     .10000E-03    3.5013        .26986E-06** at limit **
   9  Prefactor     .10000E-03    12.886       -.37735E-05** at limit **
  10  norm          1.4691        1.7496        .10158E-06    .79438E-04
  11  norm          .56227        1.5358        .79250E-07   -.70517E-03
  12  Prefactor     .10000E-03    6.6064       -.77113E-08** at limit **
  13  Prefactor     .10000E-03    1.3869        .40625E-07** at limit **
  14  norm          27.194        31.797       -.22242E-05   -.36381E-04
  15  norm          .88498        1.2737        .47696E-06   -.19140E-03
  16  norm          3.1551        1.9102        .35344E-06   -.24372E-03
  17  norm          .10000E-03    .97030        .99845E-07** at limit **
  18  Prefactor     .10000E-03    20.313        .24206E-06** at limit **
  19  norm          .10000E-03    1.2355        .12655E-06** at limit **
  20  Prefactor     .10000E-03    15.401        .30237E-05** at limit **
  21  Normalizat    .97174        .17139       -.68039E-05    .24323E-03
  22  Prefactor     .74888        .19024       -.52181E-06   -.26874E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.99331
  norm       = 20.8821
  Prefactor  = 50.0835
  Prefactor  = 19.0457
  norm       = 0.0001
  Prefactor  = 2.82449
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.46907
  norm       = 0.562266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.1944
  norm       = 0.884979
  norm       = 3.15513
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.971743
  Prefactor  = 0.748881
 **********
 **   18 **HESSE 
 **********

 FCN=   4491.948     FROM HESSE     STATUS=OK           344 CALLS     2707 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9933        12.488        .16399E-03   -1.5218    
   2  norm          20.882        7.9321        .43826E-03   -1.4794    
   3  Prefactor     50.084        94.976        .28364E-03   -1.4291    
   4  Prefactor     19.046        18.084        .91780E-04   -1.4835    
   5  norm          .10000E-03    4.0665        .13199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8245        6.5491        .24202E-03   -1.5372    
   7  Prefactor     .10000E-03    10.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.5833        .24466E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.071        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4691        1.7212        .92473E-04   -1.5466    
  11  norm          .56227        1.3331        .13238E-02   -1.5558    
  12  Prefactor     .10000E-03    6.6492        .16813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3959        .77031E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          27.194        31.834        .76819E-04   -1.4665    
  15  norm          .88498        1.1869        .85206E-03   -1.5520    
  16  norm          3.1551        1.9112        .69104E-04   -1.5353    
  17  norm          .10000E-03    .99394        .12887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.2507        .72722E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .97174        .20278        .20295E-03   -.93983    
  22  Prefactor     .74888        .22532        .26156E-03   -1.0164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45493e-09
Minuit parameter uncertainties:
  1  12.4937
  2  7.9325
  3  95.2645
  4  18.0888
  5  6.13701e-05
  6  6.55078
  7  7.07084e-05
  8  4.85432e-05
  9  2.20255e-05
  10  1.72125
  11  1.33321
  12  2.84321e-05
  13  5.11687e-06
  14  31.8542
  15  1.18691
  16  1.91127
  17  1.15421e-05
  18  5.56402e-05
  19  1.52116e-05
  20  0.000131402
  21  0.202943
  22  0.225601
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.203e-05  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  7.489e-01  2.256e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.717e-01  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.454 -21.158
Photon Flux Upper Limit: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/516359/likelihoodResults_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.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) = 4491.94884944
delta logL = -0.000365081085874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4491.94848439
delta logL = -3.14676071866e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3502       1.0000          .0000       10.000    
     3 'Normalizat'    .97179       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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=   4491.948     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      241 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10088E-03    354.87        .36285E-03** at limit **
   2  Index         2.3064        5.0674        .50000        .13780E-04
   3  Normalizat    .97174        .21229E-01    .20295E-03    .11056E-03
   4  Prefactor     .74889        .24435E-01    .26156E-03    .68284E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010088
  Index      = 2.30643
  Normalizat = 0.971736
  Prefactor  = 0.748889
 **********
 **   18 **HESSE 
 **********

 FCN=   4491.948     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10088E-03    1110.4        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3064        6.9874        .50000       -.56891    
   3  Normalizat    .97174        .41156E-01    .40590E-04   -.93983    
   4  Prefactor     .74889        .47345E-01    .10462E-04   -1.0164    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3539e-08
Minuit parameter uncertainties:
  1  0.0637289
  2  726.553
  3  0.0411577
  4  0.0473479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516359': 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) = 4491.94848413
delta logL = 2.25273652177e-07

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.009e-04  6.373e-02  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.306e+00  7.266e+02  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  7.489e-01  4.735e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.717e-01  4.116e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.454 -21.158

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/516359/cmap_HighResolution_624240001_624499201_4FGL_J0117.8-2109_daily_bin1485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2021-08-13 21:52:19.915132', job_id='516359', GAL2='0.75', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1628916739.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='2.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1485' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:52:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 516359: <4FGL_J0117.8-2109_daily_bin1485> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin1485> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:35:50 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:38:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 21:38:44 2021
Terminated at Fri Aug 13 21:52:25 2021
Results reported at Fri Aug 13 21:52:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin1485 19.4543 -21.1578 624240001 624499201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0117.8-2109 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   707.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            995 sec.

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

