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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin710
RA = 19.0006, Dec = -11.606
tmin = 423360001, tmax = 423619201
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='507358', job_status='RUN', time_executed='2021-08-13 21:08:53.429629', time_epoch_executed='1628914133.43' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507358/ft1_4FGL_J0116.0-1136_daily_bin710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507358/ft1_4FGL_J0116.0-1136_daily_bin710.fits outfile=/scratch/kocevski/507358/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin710.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=423360001.0 tmax=423619201.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 15.03
user 5.38
sys 9.44

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.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/507358/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin710.fits evtable="EVENTS" outfile="/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.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 9.76
user 0.35
sys 9.32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits" evtable="EVENTS" scfile=/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits sctable="SC_DATA" outfile=/scratch/kocevski/507358/ltcube_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.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/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits
.....................!
real 23.11
user 12.29
sys 10.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits sctable="SC_DATA" expcube=/scratch/kocevski/507358/ltcube_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.fits outfile=/scratch/kocevski/507358/expmap_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.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/507358/ltcube_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.fits
.....................!
real 203.55
user 185.46
sys 16.88

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

Setting source of interest to:
4FGL J0116.0-1136 @ 19.0006 -11.606

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits scfile=/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits outfile=/scratch/kocevski/507358/cmap_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.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.0006 yref=-11.606 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 10.21
user 0.38
sys 9.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits scfile=/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits outfile=/scratch/kocevski/507358/cmap_HighResolution_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.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.0006 yref=-11.606 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 9.48
user 0.41
sys 9.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507358/Model_4FGL_J0116.0-1136_daily_bin710.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/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits.....................!
real 60.14
user 46.03
sys 11.93

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits', '/scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits', expMap='/scratch/kocevski/507358/expmap_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.fits', expCube='/scratch/kocevski/507358/ltcube_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507358/Model_4FGL_J0116.0-1136_daily_bin710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0116.0-1136'

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.100e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/507358/ft1_filtered_4FGL_J0116.0-1136_daily_bin710.fits
Spacecraft file(s): /scratch/kocevski/507358/ft2_4FGL_J0116.0-1136_daily_bin710.fits
Exposure map: /scratch/kocevski/507358/expmap_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.fits
Exposure cube: /scratch/kocevski/507358/ltcube_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507358/Model_4FGL_J0116.0-1136_daily_bin710.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) = 4789.10707373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7491       1.0000         .10000E-03   10000.    
     3 'norm      '    7.4041       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.589       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7162       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3692       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1965       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.375       1.0000         .10000E-03   10000.    
    14 'norm      '    5.5557       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    33.385       1.0000         .10000E-03   10000.    
    18 'norm      '    .92251       1.0000         .10000E-03   10000.    
    19 'norm      '    5.7473       1.0000         .10000E-03   10000.    
    20 'Prefactor '    47.440       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65542       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4789.107     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2329 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6429        .90712E-02** at limit **
   2  norm          1.7481        4.3287        .79264E-02    .11279E-02
   3  norm          7.4032        7.0704        .36849E-02    .45123E-02
   4  Prefactor     .10000E-03    72.432        .90712E-02** at limit **
   5  Prefactor     16.589        20.803        .24584E-02    .97748E-04
   6  Prefactor     .10000E-03    32.992        .90712E-02** at limit **
   7  norm          .10000E-03    5.4427        .90712E-02** at limit **
   8  Prefactor     6.7136        26.068        .38708E-02    .37695E-03
   9  Prefactor     .10000E-03    9.9680        .90712E-02** at limit **
  10  Prefactor     4.3694        5.7104        .48172E-02    .64042E-03
  11  Prefactor     5.1960        4.0264        .44086E-02   -.10272E-02
  12  Prefactor     .10000E-03    5.1234        .90712E-02** at limit **
  13  Prefactor     10.373        28.942        .31098E-02    .63463E-03
  14  norm          5.5556        2.3770        .42612E-02    .50865E-04
  15  Prefactor     .10000E-03    2.2817        .90712E-02** at limit **
  16  Prefactor     .10000E-03    1.2936        .90712E-02** at limit **
  17  norm          33.385        22.476        .17338E-02   -.83930E-04
  18  norm          .92256        1.0691        .12889E-01    .50832E-03
  19  norm          5.7473        4.8147        .41885E-02    .42034E-03
  20  Prefactor     47.440        57.753        .14554E-02   -.46985E-04
  21  Normalizat    .65545        .15633        .41692E-01    .21151E-04
  22  Prefactor     .89910        .15657        .44994E-01    .12331E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.74807
  norm       = 7.40324
  Prefactor  = 0.0001
  Prefactor  = 16.5888
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.71364
  Prefactor  = 0.0001
  Prefactor  = 4.36942
  Prefactor  = 5.19597
  Prefactor  = 0.0001
  Prefactor  = 10.3726
  norm       = 5.55562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.385
  norm       = 0.922562
  norm       = 5.74731
  Prefactor  = 47.4404
  Normalizat = 0.655445
  Prefactor  = 0.899099
 **********
 **   18 **HESSE 
 **********

 FCN=   4789.107     FROM HESSE     STATUS=OK           344 CALLS     2673 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6577        .86395E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7481        4.2830        .20632E-03   -1.5444    
   3  norm          7.4032        7.0118        .73698E-03   -1.5164    
   4  Prefactor     .10000E-03    72.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.589        20.767        .98334E-04   -1.4893    
   6  Prefactor     .10000E-03    33.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.4500        .15768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.7136        26.003        .15483E-03   -1.5190    
   9  Prefactor     .10000E-03    9.9712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.3694        5.7069        .18136E-03   -1.5290    
  11  Prefactor     5.1960        4.0199        .11405E-03   -1.5252    
  12  Prefactor     .10000E-03    5.1416        .15272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.373        28.896        .12439E-03   -1.5064    
  14  norm          5.5556        2.3729        .67186E-04   -1.5237    
  15  Prefactor     .10000E-03    2.2851        .10208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.3026        .76812E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.385        22.468        .69352E-04   -1.4552    
  18  norm          .92256        1.0302        .72436E-03   -1.5516    
  19  norm          5.7473        4.8129        .13281E-03   -1.5228    
  20  Prefactor     47.440        57.753        .58216E-04   -1.4329    
  21  Normalizat    .65545        .17548        .24254E-03   -1.0568    
  22  Prefactor     .89910        .17737        .21283E-03   -.96173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91338e-09
Minuit parameter uncertainties:
  1  1.68021e-06
  2  4.28374
  3  7.01261
  4  6.88128e-05
  5  20.7763
  6  6.13819e-05
  7  1.12336e-06
  8  26.0465
  9  1.08389e-05
  10  5.70761
  11  4.02008
  12  3.77413e-06
  13  28.9352
  14  2.37292
  15  7.91064e-07
  16  7.72794e-07
  17  22.4732
  18  1.03021
  19  4.81319
  20  57.8214
  21  0.175631
  22  0.177482
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  5.196e+00  4.020e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  8.991e-01  1.775e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  6.554e-01  1.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 19.001 -11.606
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.29e-05

TS (Fixed Index): 2.54
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507358/likelihoodResults_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.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): 0
logL (Free Index) = 4788.37325428
delta logL = 0.733307775548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4788.33863713
delta logL = 0.767924931644

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4788.339     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      253 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49460        4.6028        .60874E-02    .39933E-03
   2  Index         4.2422        2.9262        .10086        .10189E-03
   3  Normalizat    .59122        .49718E-01    .40820E-01    .70554E-05
   4  Prefactor     .95030        .50489E-01    .45642E-01   -.18587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.494605
  Index      = 4.24221
  Normalizat = 0.591225
  Prefactor  = 0.950299
 **********
 **   18 **HESSE 
 **********

 FCN=   4788.339     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      286 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49460        8.2912        .27394E-04   -1.5567    
   2  Index         4.2422        4.0491        .40429E-02   -.15214    
   3  Normalizat    .59122        .16042        .25388E-03   -1.0836    
   4  Prefactor     .95030        .16455        .20767E-03   -.94405    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17318e-07
Minuit parameter uncertainties:
  1  4.05037
  2  4.74532
  3  0.160546
  4  0.164634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507358': 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) = 4788.33863686
delta logL = 0.767925192078

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  4.946e-01  4.050e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  4.242e+00  4.745e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.503e-01  1.646e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  5.912e-01  1.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.29
Ra Dec: 19.001 -11.606
Photon Index (Free Index): 4.24 +/- 4.75
Photon Flux (Free Index): 9.11e-08 +/- 5.31e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.06e-05

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/507358/cmap_HighResolution_423360001_423619201_4FGL_J0116.0-1136_daily_bin710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.65e-03', comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='1.31e-05', photon_flux_error='3.73e-08', dlogl='7.68e-01', energy_flux='1.66e-05', photon_flux2='9.11e-08', job_status='DONE', time_completed='2021-08-13 21:20:50.981175', photon_index_error2='4.75', photon_index2='4.24', ts='2.54', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.06e-05', EG='0.66', time_epoch_completed='1628914850.98', return_code='0', job_id='507358', GAL2='0.95', EG2='0.59', return_code2='102', energy_flux_error='1.29e-05', photon_flux_error2='5.31e-08', ts2='4.29', photon_index='2.36' WHERE bin_id='710' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:20:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 507358: <4FGL_J0116.0-1136_daily_bin710> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin710> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 21:05:31 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:06:13 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:06:13 2021
Terminated at Fri Aug 13 21:20:53 2021
Results reported at Fri Aug 13 21:20:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin710 19.0006 -11.606 423360001 423619201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0116.0-1136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   852.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            922 sec.

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

