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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin650
RA = 18.7119, Dec = 13.4342
tmin = 407808001, tmax = 408067201
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='470229', job_status='RUN', time_executed='2021-08-13 19:10:42.325379', time_epoch_executed='1628907042.33' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/470229

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/470229/ft1_4FGL_J0114.8+1326_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/470229/ft2_4FGL_J0114.8+1326_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/470229/ft1_4FGL_J0114.8+1326_daily_bin650.fits outfile=/scratch/kocevski/470229/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin650.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=407808001.0 tmax=408067201.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 9.25
user 3.88
sys 5.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/470229/ft2_4FGL_J0114.8+1326_daily_bin650.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/470229/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin650.fits evtable="EVENTS" outfile="/scratch/kocevski/470229/ft1_filtered_4FGL_J0114.8+1326_daily_bin650.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 5.92
user 0.32
sys 5.55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/470229/ft1_filtered_4FGL_J0114.8+1326_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/470229/ft2_4FGL_J0114.8+1326_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/470229/ltcube_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.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/470229/ft2_4FGL_J0114.8+1326_daily_bin650.fits
.....................!
real 18.38
user 12.24
sys 6.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/470229/ft1_filtered_4FGL_J0114.8+1326_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/470229/ft2_4FGL_J0114.8+1326_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/470229/ltcube_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.fits outfile=/scratch/kocevski/470229/expmap_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.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/470229/ltcube_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.fits
.....................!
real 197.06
user 184.79
sys 11.75

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/470229/ft1_filtered_4FGL_J0114.8+1326_daily_bin650.fits scfile=/scratch/kocevski/470229/ft2_4FGL_J0114.8+1326_daily_bin650.fits outfile=/scratch/kocevski/470229/cmap_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.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 5.83
user 0.37
sys 5.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/470229/ft1_filtered_4FGL_J0114.8+1326_daily_bin650.fits scfile=/scratch/kocevski/470229/ft2_4FGL_J0114.8+1326_daily_bin650.fits outfile=/scratch/kocevski/470229/cmap_HighResolution_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.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 5.82
user 0.36
sys 5.43

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.077       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4629       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.925       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.011       1.0000         .10000E-03   10000.    
    12 'norm      '    .12230E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.600       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11811E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    62.463       1.0000         .10000E-03   10000.    
    18 'norm      '    18.343       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.552       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .44114       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3341       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=   3060.080     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2217 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.2459        .18204E-06** at limit **
   2  Prefactor     .10000E-03    31.283        .19118E-05** at limit **
   3  Prefactor     45.083        35.218        .35648E-06    .25310E-04
   4  norm          .10000E-03    8.9733        .51948E-06** at limit **
   5  Prefactor     8.4649        13.422        .53195E-06    .72479E-04
   6  Prefactor     24.924        18.196       -.30470E-06    .42221E-04
   7  norm          .10000E-03    13.605        .41237E-06** at limit **
   8  Prefactor     .10000E-03    23.826       -.37736E-07** at limit **
   9  Prefactor     .10000E-03    31.940        .18919E-06** at limit **
  10  norm          5.0456        3.2568        .12425E-06    .47002E-04
  11  Prefactor     35.883        53.407       -.37719E-05    .17127E-04
  12  norm          .10000E-03    3.2372       -.77515E-05** at limit **
  13  Prefactor     18.603        16.999        .65502E-06   -.16848E-04
  14  Prefactor     .10000E-03    4.0887        .22062E-06** at limit **
  15  Prefactor     .10000E-03    6.0947        .39819E-06** at limit **
  16  Prefactor     .10002E-03    150.60       -.24103E-05** at limit **
  17  Prefactor     62.466        43.221       -.29881E-06    .14733E-04
  18  norm          18.344        19.635        .26343E-06   -.17525E-05
  19  Prefactor     12.555        12.913        .50471E-06    .35934E-04
  20  Normalizat    .44092        .29431       -.47423E-05   -.44996E-04
  21  Prefactor     1.3341        .22128       -.56278E-06   -.37975E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 45.0828
  norm       = 0.0001
  Prefactor  = 8.46485
  Prefactor  = 24.9241
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.04557
  Prefactor  = 35.8834
  norm       = 0.0001
  Prefactor  = 18.603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 62.466
  norm       = 18.3436
  Prefactor  = 12.5554
  Normalizat = 0.440918
  Prefactor  = 1.3341
 **********
 **   18 **HESSE 
 **********

 FCN=   3060.080     FROM HESSE     STATUS=OK           315 CALLS     2532 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.2497        .13505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    31.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.083        35.076        .59716E-04   -1.4364    
   4  norm          .10000E-03    9.0123        .16193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4649        13.378        .13780E-03   -1.5126    
   6  Prefactor     24.924        18.187        .80236E-04   -1.4709    
   7  norm          .10000E-03    13.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0456        3.2555        .77693E-04   -1.5259    
  11  Prefactor     35.883        53.539        .66783E-04   -1.4509    
  12  norm          .10000E-03    3.2276        .83718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.603        16.995        .92869E-04   -1.4845    
  14  Prefactor     .10000E-03    4.0967        .10927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.1153        .13346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    150.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     62.466        43.217        .50772E-04   -1.4126    
  18  norm          18.344        19.633        .93517E-04   -1.4851    
  19  Prefactor     12.555        12.915        .11306E-03   -1.4999    
  20  Normalizat    .44092        .30995        .39522E-03   -1.1524    
  21  Prefactor     1.3341        .23554        .18134E-03   -.82299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2158e-10
Minuit parameter uncertainties:
  1  3.33767e-05
  2  0.000604079
  3  35.092
  4  0.000132957
  5  13.3823
  6  18.191
  7  0.000109863
  8  0.000128579
  9  9.64872e-05
  10  3.25557
  11  53.611
  12  1.25127e-05
  13  16.999
  14  4.22701e-06
  15  7.10756e-05
  16  0.00377084
  17  43.239
  18  19.6402
  19  12.9177
  20  0.311163
  21  0.235725
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.860e+01  1.700e+01  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.334e+00  2.357e-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:  4.409e-01  3.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.32
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.78e-08 +/- 4.36e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 2.36e-05

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) = 3060.03058908
delta logL = 0.0494204658012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3060.02600733
delta logL = 0.0540022141045

Fit tolerance = 1e-08

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

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

 FCN=   3060.026     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      238 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.082        855.11        .21809E-02   -.13494E-03
   2  Index         1.8256        6.5060        .15407       -.82618E-05
   3  Normalizat    .46185        .53744        .87201E-01    .63870E-04
   4  Prefactor     1.3252        .19638        .32185E-01    .26809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.0815
  Index      = 1.82556
  Normalizat = 0.461854
  Prefactor  = 1.32516
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.082        20.151        .87235E-04   -1.4789    
   2  Index         1.8256        .80866        .90734E-02   -.68786    
   3  Normalizat    .46185        .30840        .38632E-03   -1.1422    
   4  Prefactor     1.3252        .23517        .18183E-03   -.82562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25364e-10
Minuit parameter uncertainties:
  1  20.1575
  2  0.814682
  3  0.309546
  4  0.235357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/470229': 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) = 3060.02600728
delta logL = 0.0540022711666

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  2.108e+01  2.016e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.826e+00  8.147e-01  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.325e+00  2.354e-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:  4.619e-01  3.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.42
Ra Dec: 18.712 13.434
Photon Index (Free Index): 1.83 +/- 0.81
Photon Flux (Free Index): 3.40e-08 +/- 4.78e-08
Energy Flux (Free Index): 3.78e-05 +/- 6.23e-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/470229/cmap_HighResolution_407808001_408067201_4FGL_J0114.8+1326_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.78e-08', energy_flux2='3.78e-05', photon_flux_error='4.36e-08', dlogl='5.40e-02', energy_flux='2.58e-05', photon_flux2='3.40e-08', job_status='DONE', time_completed='2021-08-13 19:19:20.175035', photon_index_error2='0.81', photon_index2='1.83', ts='4.32', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', energy_flux_error2='6.23e-05', EG='0.44', time_epoch_completed='1628907560.18', return_code='0', job_id='470229', GAL2='1.33', EG2='0.46', return_code2='0', energy_flux_error='2.36e-05', photon_flux_error2='4.78e-08', ts2='4.42', photon_index='2.11' WHERE bin_id='650' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:19:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 470229: <4FGL_J0114.8+1326_daily_bin650> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin650> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 19:05:30 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 19:06:46 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:06:46 2021
Terminated at Fri Aug 13 19:19:22 2021
Results reported at Fri Aug 13 19:19:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin650 18.7119 13.4342 407808001 408067201 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 :                                   596.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             215.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            832 sec.

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

