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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin756
RA = 19.0006, Dec = -11.606
tmin = 435283201, tmax = 435542401
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='507430', job_status='RUN', time_executed='2021-08-13 21:12:33.289713', time_epoch_executed='1628914353.29' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507430/ft1_4FGL_J0116.0-1136_daily_bin756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507430/ft1_4FGL_J0116.0-1136_daily_bin756.fits outfile=/scratch/kocevski/507430/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin756.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=435283201.0 tmax=435542401.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.08
user 4.91
sys 10.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/507430/ltcube_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.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/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits
.....................!
real 25.35
user 13.74
sys 11.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/507430/ltcube_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.fits outfile=/scratch/kocevski/507430/expmap_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.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/507430/ltcube_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.fits
.....................!
real 205.12
user 186.82
sys 17.89

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/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits scfile=/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits outfile=/scratch/kocevski/507430/cmap_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.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.03
user 0.39
sys 9.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits scfile=/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits outfile=/scratch/kocevski/507430/cmap_HighResolution_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.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.85
user 0.41
sys 9.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507430/Model_4FGL_J0116.0-1136_daily_bin756.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/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits.....................!
real 39.67
user 26.20
sys 13.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits', '/scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits', expMap='/scratch/kocevski/507430/expmap_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.fits', expCube='/scratch/kocevski/507430/ltcube_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507430/Model_4FGL_J0116.0-1136_daily_bin756.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/507430/ft1_filtered_4FGL_J0116.0-1136_daily_bin756.fits
Spacecraft file(s): /scratch/kocevski/507430/ft2_4FGL_J0116.0-1136_daily_bin756.fits
Exposure map: /scratch/kocevski/507430/expmap_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.fits
Exposure cube: /scratch/kocevski/507430/ltcube_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507430/Model_4FGL_J0116.0-1136_daily_bin756.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) = 1885.21527688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.301       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    111.83       1.0000         .10000E-03   10000.    
     7 'norm      '    20.131       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.177       1.0000         .10000E-03   10000.    
     9 'Prefactor '    65.908       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    197.53       1.0000         .10000E-03   10000.    
    14 'norm      '    17.555       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10412E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21195E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.2631       1.0000         .10000E-03   10000.    
    19 'norm      '    10.619       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .72422       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86565       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1885.186     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2364 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4995       -.15280E-07** at limit **
   2  norm          .10000E-03    2.9212       -.85569E-07** at limit **
   3  norm          .10000E-03    2.6760       -.76411E-08** at limit **
   4  Prefactor     54.208        224.70       -.12397E-03    .15656E-05
   5  Prefactor     .10000E-03    28.606       -.14725E-04** at limit **
   6  Prefactor     111.83        83.412        .65506E-05    .17990E-04
   7  norm          20.127        21.628        .17092E-05    .17094E-04
   8  Prefactor     29.170        30.181       -.53857E-05   -.25950E-06
   9  Prefactor     65.923        65.586        .15704E-04   -.69663E-05
  10  Prefactor     .10000E-03    3.7612       -.14637E-06** at limit **
  11  Prefactor     .10000E-03    3.6000       -.20676E-06** at limit **
  12  Prefactor     .10000E-03    37.101        .13447E-04** at limit **
  13  Prefactor     197.57        93.119        .21331E-04   -.95803E-05
  14  norm          17.552        7.2860        .75458E-06    .44781E-03
  15  Prefactor     .10000E-03    22.021        .41485E-05** at limit **
  16  Prefactor     .10022E-03    18.389       -.37202E-05** at limit **
  17  norm          .10000E-03    14.024       -.49752E-06** at limit **
  18  norm          1.2630        2.3552       -.31347E-07   -.42593E-04
  19  norm          10.619        9.0866       -.27933E-06   -.11662E-04
  20  Prefactor     .10000E-03    60.030        .96039E-05** at limit **
  21  Normalizat    .72423        .29783        .12002E-05    .73184E-04
  22  Prefactor     .86563        .27607       -.23334E-05    .82668E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 54.2079
  Prefactor  = 0.0001
  Prefactor  = 111.833
  norm       = 20.1268
  Prefactor  = 29.1701
  Prefactor  = 65.9234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 197.568
  norm       = 17.5519
  Prefactor  = 0.000100003
  Prefactor  = 0.000100219
  norm       = 0.0001
  norm       = 1.26296
  norm       = 10.6192
  Prefactor  = 0.0001
  Normalizat = 0.72423
  Prefactor  = 0.865629
 **********
 **   18 **HESSE 
 **********

 FCN=   1885.186     FROM HESSE     STATUS=OK           338 CALLS     2702 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5012        .51927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.9255        .72469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.6765        .69372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     54.208        226.03        .27216E-03   -1.4234    
   5  Prefactor     .10000E-03    28.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     111.83        83.496        .19020E-03   -1.3589    
   7  norm          20.127        21.628        .89269E-04   -1.4810    
   8  Prefactor     29.170        30.183        .74172E-04   -1.4627    
   9  Prefactor     65.923        65.526        .49436E-04   -1.4082    
  10  Prefactor     .10000E-03    3.7647        .82230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.6143        .80440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     197.57        93.062        .14373E-03   -1.2887    
  14  norm          17.552        6.9592        .69205E-04   -1.4870    
  15  Prefactor     .10000E-03    22.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10022E-03    64.479        .33642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    14.027        .15884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.2630        2.3041        .84896E-04   -1.5483    
  19  norm          10.619        9.0875        .11670E-03   -1.5056    
  20  Prefactor     .10000E-03    60.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .72423        .33286        .26650E-03   -1.0294    
  22  Prefactor     .86563        .31276        .23681E-03   -.97353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57249e-09
Minuit parameter uncertainties:
  1  9.90769e-07
  2  8.03089e-06
  3  1.86104e-06
  4  222.842
  5  4.01462e-05
  6  83.5844
  7  21.6365
  8  30.199
  9  65.5983
  10  3.78133e-05
  11  5.11279e-05
  12  3.43451e-05
  13  93.1319
  14  6.95957
  15  0.000525456
  16  0.00751568
  17  4.60184e-05
  18  2.30431
  19  9.08869
  20  4.47873e-05
  21  0.333794
  22  0.313413
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  5.113e-05  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.656e-01  3.134e-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:  7.242e-01  3.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507430/likelihoodResults_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.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) = 1885.18746977
delta logL = -0.00129883763611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1885.18617093
delta logL = 9.95896698441e-11

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1885.186     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      233 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    192.23        .80533E-03** at limit **
   2  Index         2.3171        8.8412        .50000        .96011E-05
   3  Normalizat    .72423        .55929E-01    .26650E-03    .46925E-06
   4  Prefactor     .86563        .54301E-01    .23681E-03    .32165E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100288
  Index      = 2.31714
  Normalizat = 0.72423
  Prefactor  = 0.865629
 **********
 **   18 **HESSE 
 **********

 FCN=   1885.186     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    626.40        .16107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3171        5.9837        .50000       -.56637    
   3  Normalizat    .72423        .13412        .10660E-04   -1.0294    
   4  Prefactor     .86563        .13013        .94725E-05   -.97353    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.30232e-08
Minuit parameter uncertainties:
  1  0.027134
  2  1622.96
  3  0.134182
  4  0.130174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507430': 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) = 1885.18617085
delta logL = 8.02656359156e-08

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.003e-04  2.713e-02  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.317e+00  1.623e+03  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:  8.656e-01  1.302e-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:  7.242e-01  1.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.001 -11.606

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/507430/cmap_HighResolution_435283201_435542401_4FGL_J0116.0-1136_daily_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-08-13 21:22:03.088295', job_id='507430', GAL2='0.87', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1628914923.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='8.03e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='756' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:22:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 507430: <4FGL_J0116.0-1136_daily_bin756> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin756 19.0006 -11.606 435283201 435542401 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 :                                   718.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             213.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            989 sec.

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

