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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin1302
RA = 18.7119, Dec = 13.4342
tmin = 576806401, tmax = 577065601
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='474435', job_status='RUN', time_executed='2021-08-13 19:26:10.393223', time_epoch_executed='1628907970.39' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474435

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474435/ft1_4FGL_J0114.8+1326_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474435/ft1_4FGL_J0114.8+1326_daily_bin1302.fits outfile=/scratch/kocevski/474435/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1302.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=576806401.0 tmax=577065601.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 11.80
user 2.90
sys 8.85

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.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/474435/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1302.fits evtable="EVENTS" outfile="/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.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.13
user 0.35
sys 8.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/474435/ltcube_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.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/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits
.....................!
real 23.96
user 13.95
sys 9.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/474435/ltcube_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.fits outfile=/scratch/kocevski/474435/expmap_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.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/474435/ltcube_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.fits
.....................!
real 202.05
user 186.24
sys 15.19

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

Setting source of interest to:
4FGL J0114.8+1326 @ 18.7119 13.4342

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits scfile=/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits outfile=/scratch/kocevski/474435/cmap_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.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=18.7119 yref=13.4342 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.14
user 0.39
sys 7.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits scfile=/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits outfile=/scratch/kocevski/474435/cmap_HighResolution_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.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=18.7119 yref=13.4342 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.78
user 0.40
sys 8.34

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474435/Model_4FGL_J0114.8+1326_daily_bin1302.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/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits..........................!
real 33.64
user 19.13
sys 11.98

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits', '/scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits', expMap='/scratch/kocevski/474435/expmap_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.fits', expCube='/scratch/kocevski/474435/ltcube_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/474435/Model_4FGL_J0114.8+1326_daily_bin1302.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0114.8+1326'

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  5.554e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/474435/ft1_filtered_4FGL_J0114.8+1326_daily_bin1302.fits
Spacecraft file(s): /scratch/kocevski/474435/ft2_4FGL_J0114.8+1326_daily_bin1302.fits
Exposure map: /scratch/kocevski/474435/expmap_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.fits
Exposure cube: /scratch/kocevski/474435/ltcube_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/474435/Model_4FGL_J0114.8+1326_daily_bin1302.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) = 680.169172321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11236E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    191.12       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.206       1.0000         .10000E-03   10000.    
     4 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12821E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12300E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .18291E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.3207       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11038E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10478E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42413E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10786E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    144.01       1.0000         .10000E-03   10000.    
    18 'norm      '    .12033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.6034       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   678.1790     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2311 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    118.57        .32479E-05** at limit **
   2  Prefactor     190.75        173.02       -.43192E-05   -.22476E-04
   3  Prefactor     40.959        65.348       -.11802E-06   -.52443E-04
   4  norm          .10000E-03    24.027        .22784E-07** at limit **
   5  Prefactor     .10000E-03    29.226        .43795E-06** at limit **
   6  Prefactor     .10000E-03    33.755        .10848E-06** at limit **
   7  norm          .10002E-03    353.85        .14741E-04** at limit **
   8  Prefactor     .10001E-03    160.50        .16443E-05** at limit **
   9  Prefactor     .10000E-03    101.31        .56125E-06** at limit **
  10  norm          3.3247        5.0229        .27068E-06   -.22520E-03
  11  Prefactor     .10001E-03    624.15       -.10301E-05** at limit **
  12  norm          .10000E-03    51.771        .10491E-05** at limit **
  13  Prefactor     .10000E-03    73.963       -.15141E-05** at limit **
  14  Prefactor     .10000E-03    236.95        .16091E-05** at limit **
  15  Prefactor    10000.0        7335.9       -.10250E-04** at limit **
  16  Prefactor     .10000E-03    72.290       -.10292E-05** at limit **
  17  Prefactor    10000.0        9705.9       -.86485E-04** at limit **
  18  norm          .10000E-03    55.120        .28722E-05** at limit **
  19  Prefactor     .10000E-03    49.865       -.15259E-05** at limit **
  20  Normalizat    .10000E-01    .22806        .40906E-04** at limit **
  21  Prefactor     1.6031        .33251        .41663E-05   -.14954E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 190.753
  Prefactor  = 40.9586
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100021
  Prefactor  = 0.000100009
  Prefactor  = 0.000100001
  norm       = 3.32465
  Prefactor  = 0.000100012
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.60306
 **********
 **   18 **HESSE 
 **********

 FCN=   678.1790     FROM HESSE     STATUS=OK           305 CALLS     2616 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    119.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     190.75        173.77        .14607E-03   -1.2937    
   3  Prefactor     40.959        64.690        .62447E-04   -1.4427    
   4  norm          .10000E-03    24.272        .12536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.638        .13818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.222        .14892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10002E-03    470.69        .18228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    171.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    105.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3247        5.0443        .66873E-04   -1.5343    
  11  Prefactor     .10001E-03    623.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    52.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    76.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    261.64        .21237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor    10000.0        7332.3        .19990E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    74.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor    10000.0        9632.9        .16787E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    56.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    50.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .23490        .74601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.6031        .33426        .19382E-03   -.74693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96479e-10
Minuit parameter uncertainties:
  1  0.000394516
  2  174.241
  3  64.8011
  4  8.96975e-05
  5  0.000479827
  6  5.98253e-05
  7  0.00630726
  8  0.00242006
  9  0.000664758
  10  5.04491
  11  0.00555901
  12  7.49272e-05
  13  0.000281492
  14  0.000559841
  15  0.0353704
  16  0.000197095
  17  0.105041
  18  0.000120629
  19  5.38759e-05
  20  3.14101e-06
  21  0.334724
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  2.815e-04  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.603e+00  3.347e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.000e-02  3.141e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 1.17e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.84e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474435/likelihoodResults_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.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) = 678.179077826
delta logL = -6.21447305775e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 678.179016561
delta logL = -8.80261609382e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15263E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4665       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   678.1790     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      285 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10441E-03    48.986        .18142E-01** at limit **
   2  Index         2.3669        6.5148        .50000        .49872E-05
   3  Normalizat    .10000E-01    .40978E-03    .74582E-02** at limit **
   4  Prefactor     1.6031        .11630E-01    .19383E-03    .19202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104406
  Index      = 2.36686
  Normalizat = 0.01
  Prefactor  = 1.60306
 **********
 **   18 **HESSE 
 **********

 FCN=   678.1790     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10441E-03    434.82        .19157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3669        5.6851        .50000       -.55463    
   3  Normalizat    .10000E-01    .37373E-02    .14916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6031        .35121E-01    .77531E-05   -.74693    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44632e-09
Minuit parameter uncertainties:
  1  0.0881866
  2  674.714
  3  3.17701e-08
  4  0.0351213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474435': 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) = 678.179015947
delta logL = -2.65763219431e-07

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.044e-04  8.819e-02  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.367e+00  6.747e+02  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.603e+00  3.512e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.000e-02  3.177e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.712 13.434

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/474435/cmap_HighResolution_576806401_577065601_4FGL_J0114.8+1326_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-02', job_status='DONE', photon_flux_upper_limit='1.17e-06', time_completed='2021-08-13 19:34:21.823436', job_id='474435', GAL2='1.60', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1628908461.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.60', dlogl='-2.66e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1302' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:34:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 474435: <4FGL_J0114.8+1326_daily_bin1302> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin1302> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 19:20:30 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 19:21:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 19:21:52 2021
Terminated at Fri Aug 13 19:34:23 2021
Results reported at Fri Aug 13 19:34:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin1302 18.7119 13.4342 576806401 577065601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0114.8+1326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            833 sec.

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

