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


Performing analysis on: 4FGL_J0117.8-2109_daily_bin240
RA = 19.4543, Dec = -21.1578
tmin = 301536001, tmax = 301795201
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='511978', job_status='RUN', time_executed='2021-08-13 21:26:39.963213', time_epoch_executed='1628915199.96' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='240'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511978

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511978/ft1_4FGL_J0117.8-2109_daily_bin240.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511978/ft1_4FGL_J0117.8-2109_daily_bin240.fits outfile=/scratch/kocevski/511978/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin240.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=301536001.0 tmax=301795201.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 12.57
user 4.31
sys 8.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.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/511978/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin240.fits evtable="EVENTS" outfile="/scratch/kocevski/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.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 8.29
user 0.33
sys 7.91

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits" evtable="EVENTS" scfile=/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits sctable="SC_DATA" outfile=/scratch/kocevski/511978/ltcube_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.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/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits
.....................!
real 21.09
user 11.69
sys 9.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits sctable="SC_DATA" expcube=/scratch/kocevski/511978/ltcube_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.fits outfile=/scratch/kocevski/511978/expmap_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.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/511978/ltcube_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.fits
.....................!
real 202.27
user 186.57
sys 15.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
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/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits scfile=/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits outfile=/scratch/kocevski/511978/cmap_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.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 8.37
user 0.37
sys 7.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits scfile=/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits outfile=/scratch/kocevski/511978/cmap_HighResolution_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.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 8.21
user 0.39
sys 7.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/511978/Model_4FGL_J0117.8-2109_daily_bin240.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/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits.....................!
real 46.38
user 34.65
sys 11.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits', '/scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits', expMap='/scratch/kocevski/511978/expmap_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.fits', expCube='/scratch/kocevski/511978/ltcube_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511978/Model_4FGL_J0117.8-2109_daily_bin240.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/511978/ft1_filtered_4FGL_J0117.8-2109_daily_bin240.fits
Spacecraft file(s): /scratch/kocevski/511978/ft2_4FGL_J0117.8-2109_daily_bin240.fits
Exposure map: /scratch/kocevski/511978/expmap_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.fits
Exposure cube: /scratch/kocevski/511978/ltcube_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511978/Model_4FGL_J0117.8-2109_daily_bin240.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) = 3467.29518094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    70.316       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.654       1.0000         .10000E-03   10000.    
     5 'norm      '    20.565       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20952E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5157       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7396       1.0000         .10000E-03   10000.    
    14 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .42515E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.9760       1.0000         .10000E-03   10000.    
    17 'norm      '    5.0927       1.0000         .10000E-03   10000.    
    18 'Prefactor '    58.633       1.0000         .10000E-03   10000.    
    19 'norm      '    .18912E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5609       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .35332       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=   3467.294     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2359 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.391        .17650E-05** at limit **
   2  norm          .10000E-03    2.7777        .10661E-07** at limit **
   3  Prefactor     70.347        160.54        .10916E-04    .95737E-04
   4  Prefactor     17.652        20.235       -.47425E-06   -.84845E-04
   5  norm          20.559        20.391       -.12227E-05   -.54715E-04
   6  Prefactor     .10003E-03    7.7307       -.72219E-06** at limit **
   7  Prefactor     .10000E-03    4.7574       -.42887E-08** at limit **
   8  Prefactor     .10000E-03    1.9430       -.49811E-09** at limit **
   9  Prefactor     .10000E-03    8.5106       -.53644E-06** at limit **
  10  norm          .10000E-03    1.2202       -.10887E-06** at limit **
  11  norm          2.5146        2.5938        .17460E-09   -.12684E-04
  12  Prefactor     .10000E-03    9.4239        .32503E-06** at limit **
  13  Prefactor     5.7349        5.8654        .16355E-05   -.99636E-03
  14  norm          .10000E-03    49.387        .14598E-05** at limit **
  15  norm          .10001E-03    1.0584       -.15056E-06** at limit **
  16  norm          7.9740        4.1130       -.94200E-07   -.24308E-04
  17  norm          5.0909        4.7623       -.15628E-07   -.15707E-03
  18  Prefactor     58.630        65.087       -.11790E-05   -.68277E-04
  19  norm          .10000E-03    4.3790        .42330E-06** at limit **
  20  Prefactor     .10000E-03    13.462       -.18693E-05** at limit **
  21  Normalizat    1.5616        .24307       -.90962E-06    .98074E-04
  22  Prefactor     .35279        .24465        .57880E-06    .10273E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 70.3474
  Prefactor  = 17.6522
  norm       = 20.5593
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.51457
  Prefactor  = 0.0001
  Prefactor  = 5.73489
  norm       = 0.000100001
  norm       = 0.000100011
  norm       = 7.97395
  norm       = 5.09089
  Prefactor  = 58.6298
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.56161
  Prefactor  = 0.352794
 **********
 **   18 **HESSE 
 **********

 FCN=   3467.294     FROM HESSE     STATUS=OK           340 CALLS     2699 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.7845        .95838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     70.347        169.18        .47871E-04   -1.4029    
   4  Prefactor     17.652        20.287        .95322E-04   -1.4867    
   5  norm          20.559        20.634        .88323E-04   -1.4801    
   6  Prefactor     .10003E-03    49.469        .31137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.7594        .12544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.9597        .80145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.5850        .16809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.2297        .63565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5146        2.5864        .93333E-04   -1.5391    
  12  Prefactor     .10000E-03    9.4446        .17665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7349        6.6705        .77123E-03   -1.5229    
  14  norm          .10000E-03    49.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    16.130        .11411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.9740        4.1325        .79990E-04   -1.5143    
  17  norm          5.0909        4.7625        .11743E-03   -1.5257    
  18  Prefactor     58.630        65.342        .52394E-04   -1.4175    
  19  norm          .10000E-03    9.4200        .23654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5616        .26134        .19640E-03   -.76062    
  22  Prefactor     .35279        .26135        .40240E-03   -1.1929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6992e-09
Minuit parameter uncertainties:
  1  0.000236412
  2  1.05704e-07
  3  170.357
  4  20.2953
  5  20.6409
  6  0.00239104
  7  3.05189e-07
  8  7.96641e-07
  9  6.01188e-05
  10  4.29921e-06
  11  2.58653
  12  3.94188e-05
  13  6.67134
  14  0.000387032
  15  0.000860971
  16  4.13264
  17  4.76284
  18  65.4222
  19  5.66145e-05
  20  0.000244281
  21  0.261567
  22  0.262232
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  6.012e-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:  3.528e-01  2.622e-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:  1.562e+00  2.616e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/511978/likelihoodResults_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.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) = 3467.29446149
delta logL = -0.000553493565803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3467.29390799
delta logL = 7.03948899172e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3852       1.0000          .0000       10.000    
     3 'Normalizat'    1.5616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .35279       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3467.294     FROM MIGRAD    STATUS=FAILED        90 CALLS      246 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1275.5        .16865E-02** at limit **
   2  Index         2.3947        5.2805        .50000       -.99387E-05
   3  Normalizat    1.5616        .89593E-01    .19640E-03    .10438E-03
   4  Prefactor     .35280        .93042E-01    .40240E-03    .87907E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3467.294     FROM SIMPLEX   STATUS=UNCHANGED    182 CALLS      428 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1275.5        .40266E-03** at limit **
   2  Index         2.3947        5.2805        .28155E-06   -.99387E-05
   3  Normalizat    1.5616        .89593E-01    .29463E-07    .10438E-03
   4  Prefactor     .35280        .93042E-01    .16447E-07    .87907E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3467.294     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      462 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.238        .33731E-03** at limit **
   2  Index         2.3948        6.1796        .50000       -.99409E-05
   3  Normalizat    1.5616        .24718        .39280E-04    .10252E-03
   4  Prefactor     .35280        .25627        .16096E-04    .86876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.39479
  Normalizat = 1.5616
  Prefactor  = 0.352797
 **********
 **   18 **HESSE 
 **********

 FCN=   3467.294     FROM HESSE     STATUS=OK            29 CALLS      491 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.7024        .67462E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3948        6.1970        .50000       -.54807    
   3  Normalizat    1.5616        .24728        .78559E-05   -.76062    
   4  Prefactor     .35280        .25639        .32192E-05   -1.1929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26295e-10
Minuit parameter uncertainties:
  1  0.000170536
  2  4.28837
  3  0.247472
  4  0.257223
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511978': 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) = 3467.29390795
delta logL = 4.17835508415e-08

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.705e-04  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.395e+00  4.288e+00  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:  3.528e-01  2.572e-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:  1.562e+00  2.475e-01  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/511978/cmap_HighResolution_301536001_301795201_4FGL_J0117.8-2109_daily_bin240.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-08-13 21:36:57.183230', job_id='511978', GAL2='0.35', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1628915817.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.35', dlogl='4.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='240' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:36:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 511978: <4FGL_J0117.8-2109_daily_bin240> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin240> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 21:20:30 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:22:01 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:22:01 2021
Terminated at Fri Aug 13 21:36:59 2021
Results reported at Fri Aug 13 21:36:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin240 19.4543 -21.1578 301536001 301795201 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 :                                   737.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            989 sec.

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

