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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin251
RA = 18.7119, Dec = 13.4342
tmin = 304387201, tmax = 304646401
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='466178', job_status='RUN', time_executed='2021-08-13 18:53:38.100487', time_epoch_executed='1628906018.1' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/466178

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/466178/ft1_4FGL_J0114.8+1326_daily_bin251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/466178/ft1_4FGL_J0114.8+1326_daily_bin251.fits outfile=/scratch/kocevski/466178/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin251.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=304387201.0 tmax=304646401.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 13.62
user 3.88
sys 9.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.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/466178/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin251.fits evtable="EVENTS" outfile="/scratch/kocevski/466178/ft1_filtered_4FGL_J0114.8+1326_daily_bin251.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.21
user 0.33
sys 8.71

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/466178/ft1_filtered_4FGL_J0114.8+1326_daily_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.fits sctable="SC_DATA" expcube=/scratch/kocevski/466178/ltcube_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.fits outfile=/scratch/kocevski/466178/expmap_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.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/466178/ltcube_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.fits
.....................!
real 202.92
user 184.99
sys 15.60

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/466178/ft1_filtered_4FGL_J0114.8+1326_daily_bin251.fits scfile=/scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.fits outfile=/scratch/kocevski/466178/cmap_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.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 9.07
user 0.38
sys 8.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/466178/ft1_filtered_4FGL_J0114.8+1326_daily_bin251.fits scfile=/scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.fits outfile=/scratch/kocevski/466178/cmap_HighResolution_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.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 9.03
user 0.39
sys 8.40

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/466178/ft1_filtered_4FGL_J0114.8+1326_daily_bin251.fits', '/scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.fits', expMap='/scratch/kocevski/466178/expmap_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.fits', expCube='/scratch/kocevski/466178/ltcube_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/466178/Model_4FGL_J0114.8+1326_daily_bin251.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/466178/ft1_filtered_4FGL_J0114.8+1326_daily_bin251.fits
Spacecraft file(s): /scratch/kocevski/466178/ft2_4FGL_J0114.8+1326_daily_bin251.fits
Exposure map: /scratch/kocevski/466178/expmap_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.fits
Exposure cube: /scratch/kocevski/466178/ltcube_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/466178/Model_4FGL_J0114.8+1326_daily_bin251.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) = 6302.47605358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.687       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.6439       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12065E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10785E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0776       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.2398       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6779       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.194       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8132       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.456       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1712       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.9982       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2097       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70750       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=   6302.473     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2172 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.3832       -.66312E-07** at limit **
   2  Prefactor     32.693        32.317       -.39962E-05   -.13173E-04
   3  Prefactor     .10000E-03    8.3619       -.99000E-07** at limit **
   4  norm          .10000E-03    2.6008        .85231E-07** at limit **
   5  Prefactor     .10000E-03    1.9441       -.35263E-07** at limit **
   6  Prefactor     .10000E-03    25.119        .38191E-06** at limit **
   7  norm          6.6436        7.4341        .39108E-06    .10859E-04
   8  Prefactor     .10000E-03    22.240       -.19486E-07** at limit **
   9  Prefactor     .10000E-03    52.141       -.61353E-06** at limit **
  10  norm          6.0772        2.2609       -.25061E-07    .20959E-04
  11  Prefactor     .10000E-03    15.926       -.77545E-08** at limit **
  12  norm          2.2399        .77772       -.62305E-09   -.10473E-04
  13  Prefactor     2.6770        3.9797        .26816E-06   -.80267E-03
  14  Prefactor     .10000E-03    3.1873        .13590E-07** at limit **
  15  Prefactor     27.183        15.736       -.56205E-06   -.78182E-05
  16  Prefactor     1.6303        141.16       -.81759E-06   -.73344E-04
  17  Prefactor     18.490        39.505        .85772E-05    .10184E-04
  18  norm          5.1676        11.835       -.24643E-06   -.10228E-04
  19  Prefactor     7.9985        6.2544       -.58691E-07   -.14244E-05
  20  Normalizat    1.2096        .18006        .75574E-06   -.45204E-04
  21  Prefactor     .70756        .12514       -.51669E-06    .55974E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 32.6932
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.64361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.07718
  Prefactor  = 0.0001
  norm       = 2.23987
  Prefactor  = 2.67696
  Prefactor  = 0.0001
  Prefactor  = 27.1828
  Prefactor  = 1.63031
  Prefactor  = 18.4898
  norm       = 5.16758
  Prefactor  = 7.9985
  Normalizat = 1.2096
  Prefactor  = 0.70756
 **********
 **   18 **HESSE 
 **********

 FCN=   6302.473     FROM HESSE     STATUS=OK           319 CALLS     2491 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4010        .17987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.693        32.394        .70086E-04   -1.4564    
   3  Prefactor     .10000E-03    8.4184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.6033        .12504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.9516        .10809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.899        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.6436        7.4352        .15568E-03   -1.5192    
   8  Prefactor     .10000E-03    22.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    52.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0772        2.2669        .70204E-04   -1.5215    
  11  Prefactor     .10000E-03    15.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2399        .77723        .39627E-04   -1.5409    
  13  Prefactor     2.6770        7.4119        .12451E-02   -1.5381    
  14  Prefactor     .10000E-03    3.1936        .13839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.183        15.736        .76823E-04   -1.4665    
  16  Prefactor     1.6303        183.31        .15512E-02   -1.5453    
  17  Prefactor     18.490        39.541        .93230E-04   -1.4848    
  18  norm          5.1676        11.835        .17678E-03   -1.5253    
  19  Prefactor     7.9985        6.2563        .14177E-03   -1.5142    
  20  Normalizat    1.2096        .21038        .25053E-03   -.86307    
  21  Prefactor     .70756        .14618        .21934E-03   -1.0323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73397e-09
Minuit parameter uncertainties:
  1  7.59579e-06
  2  32.411
  3  4.75991e-06
  4  1.67449e-06
  5  5.38495e-07
  6  4.55694e-05
  7  7.43626
  8  9.6291e-07
  9  1.06768e-05
  10  2.26692
  11  1.05034e-06
  12  0.777234
  13  7.41444
  14  1.05202e-06
  15  15.7379
  16  34.6835
  17  39.5972
  18  11.8403
  19  6.25679
  20  0.210531
  21  0.14626
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  2.677e+00  7.414e+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

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  7.076e-01  1.463e-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.210e+00  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/466178/likelihoodResults_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.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) = 6302.47180443
delta logL = 0.00153737441997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6302.47157399
delta logL = 0.00176780865422

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8420       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0206       1.0000          .0000       10.000    
     3 'Normalizat'    1.2105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70731       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6302.472     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      289 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8450        8.2256        .12060E-02    .23155E-03
   2  Index         2.0156        1.4713        .60465E-02    .26887E-06
   3  Normalizat    1.2105        .20615        .25045E-03    .40854E-06
   4  Prefactor     .70717        .14243        .21939E-03    .36273E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84503
  Index      = 2.01558
  Normalizat = 1.21049
  Prefactor  = 0.707171
 **********
 **   18 **HESSE 
 **********

 FCN=   6302.472     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .19E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8450        8.1097        .24120E-03   -1.5371    
   2  Index         2.0156        1.4516        .24186E-03   -.63961    
   3  Normalizat    1.2105        .20631        .10018E-04   -.86279    
   4  Prefactor     .70717        .14254        .87757E-05   -1.0325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89312e-13
Minuit parameter uncertainties:
  1  8.11284
  2  1.48532
  3  0.206453
  4  0.142612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/466178': 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) = 6302.47156548
delta logL = 0.00177632282703

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  2.845e+00  8.113e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.016e+00  1.485e+00  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:  7.072e-01  1.426e-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.210e+00  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/466178/cmap_HighResolution_304387201_304646401_4FGL_J0114.8+1326_daily_bin251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.22e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-08-13 19:06:13.735180', job_id='466178', GAL2='0.71', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1628906773.74', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='1.78e-03', ts2='0.17', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='251' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:06:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 466178: <4FGL_J0114.8+1326_daily_bin251> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin251> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 18:50:27 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 18:51:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 18:51:17 2021
Terminated at Fri Aug 13 19:06:16 2021
Results reported at Fri Aug 13 19:06:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin251 18.7119 13.4342 304387201 304646401 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 :                                   866.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            949 sec.

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

