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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1147
RA = 216.756, Dec = 23.8013
tmin = 536630401, tmax = 536889601
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='477260', job_status='RUN', time_executed='2021-09-09 16:48:16.043657', time_epoch_executed='1631231296.04' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1147'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477260

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477260/ft1_4FGL_J1427.0+2348_daily_bin1147.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477260/ft1_4FGL_J1427.0+2348_daily_bin1147.fits outfile=/scratch/kocevski/477260/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1147.fits ra=216.756 dec=23.8013 rad=12.0 tmin=536630401.0 tmax=536889601.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 3.57
user 3.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.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/477260/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1147.fits evtable="EVENTS" outfile="/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.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 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits" evtable="EVENTS" scfile=/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits sctable="SC_DATA" outfile=/scratch/kocevski/477260/ltcube_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.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/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits
.....................!
real 12.24
user 11.84
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits evtable="EVENTS" scfile=/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits sctable="SC_DATA" expcube=/scratch/kocevski/477260/ltcube_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.fits outfile=/scratch/kocevski/477260/expmap_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.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/477260/ltcube_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.fits
.....................!
real 190.51
user 185.76
sys 4.38

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

Setting source of interest to:
4FGL J1427.0+2348 @ 216.756 23.8013

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits scfile=/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits outfile=/scratch/kocevski/477260/cmap_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.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=216.756 yref=23.8013 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 0.55
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits scfile=/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits outfile=/scratch/kocevski/477260/cmap_HighResolution_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.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=216.756 yref=23.8013 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 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits evtable="EVENTS" scfile=/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/477260/Model_4FGL_J1427.0+2348_daily_bin1147.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/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits.....................!
real 58.52
user 57.16
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits', '/scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits', expMap='/scratch/kocevski/477260/expmap_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.fits', expCube='/scratch/kocevski/477260/ltcube_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/477260/Model_4FGL_J1427.0+2348_daily_bin1147.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1427.0+2348'

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  7.035e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/477260/ft1_filtered_4FGL_J1427.0+2348_daily_bin1147.fits
Spacecraft file(s): /scratch/kocevski/477260/ft2_4FGL_J1427.0+2348_daily_bin1147.fits
Exposure map: /scratch/kocevski/477260/expmap_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.fits
Exposure cube: /scratch/kocevski/477260/ltcube_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/477260/Model_4FGL_J1427.0+2348_daily_bin1147.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) = 7851.29177994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3375       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.803       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.589       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0791       1.0000         .10000E-03   10000.    
     6 'norm      '    10.582       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7376       1.0000         .10000E-03   10000.    
     8 'norm      '    .10718E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10546E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.938       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .46751E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10860E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.749       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6102       1.0000         .10000E-03   10000.    
    16 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .88686       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2022       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7851.290     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1879 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6613        .58827E-07** at limit **
   2  Prefactor     7.3346        11.658        .25804E-05   -.92872E-04
   3  Prefactor     21.828        31.501        .24842E-04    .21890E-04
   4  Prefactor     16.585        5.4992       -.13675E-05   -.24621E-04
   5  Prefactor     2.0839        5.4010       -.48658E-05   -.91604E-03
   6  norm          10.583        3.3538       -.11128E-06   -.44268E-04
   7  Prefactor     8.7414        6.1260       -.36852E-07   -.55825E-04
   8  norm          .10000E-03    1.3144        .84986E-07** at limit **
   9  norm          .10000E-03    1.6079        .51488E-07** at limit **
  10  Prefactor     .10000E-03    15.868       -.11679E-04** at limit **
  11  Prefactor     21.951        20.436        .91615E-06   -.21685E-04
  12  Prefactor     .10015E-03    10.845       -.97677E-06** at limit **
  13  Prefactor     .10000E-03    17.743        .77442E-05** at limit **
  14  Prefactor     15.759        36.291        .15130E-04   -.37691E-05
  15  Prefactor     3.6093        5.4158       -.13346E-06   -.20623E-03
  16  norm          .10000E-03    13.442        .38179E-05** at limit **
  17  Prefactor     .10000E-03    1.8482        .30143E-07** at limit **
  18  Normalizat    .88722        .18059        .10632E-06   -.11405E-04
  19  Prefactor     1.2021        .14751       -.17400E-05    .17192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.33462
  Prefactor  = 21.8277
  Prefactor  = 16.5852
  Prefactor  = 2.08389
  norm       = 10.583
  Prefactor  = 8.74143
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.9515
  Prefactor  = 0.000100152
  Prefactor  = 0.0001
  Prefactor  = 15.7594
  Prefactor  = 3.60931
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.887224
  Prefactor  = 1.20206
 **********
 **   18 **HESSE 
 **********

 FCN=   7851.290     FROM HESSE     STATUS=OK           274 CALLS     2153 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6835        .11149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.3346        11.671        .14807E-03   -1.5166    
   3  Prefactor     21.828        31.474        .85781E-04   -1.4773    
   4  Prefactor     16.585        5.5555        .98337E-04   -1.4893    
   5  Prefactor     2.0839        5.4718        .28641E-03   -1.5419    
   6  norm          10.583        3.3534        .88126E-04   -1.5057    
   7  Prefactor     8.7414        6.0930        .13560E-03   -1.5117    
   8  norm          .10000E-03    2.4673        .19592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6213        .10970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.951        20.305        .85518E-04   -1.4771    
  12  Prefactor     .10015E-03    98.655        .55457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.759        35.923        .10093E-03   -1.4914    
  15  Prefactor     3.6093        5.4102        .21265E-03   -1.5328    
  16  norm          .10000E-03    13.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.8490        .11764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .88722        .20876        .29745E-03   -.96911    
  19  Prefactor     1.2021        .16989        .21813E-03   -.86268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87141e-09
Minuit parameter uncertainties:
  1  5.17048e-06
  2  11.6748
  3  31.4982
  4  5.55564
  5  5.47311
  6  3.35348
  7  6.09347
  8  1.42685e-05
  9  4.59342e-06
  10  4.56302e-05
  11  20.3118
  12  0.0077622
  13  0.000129465
  14  35.9723
  15  5.41089
  16  3.30644e-06
  17  1.0906e-06
  18  0.208954
  19  0.169966
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.058e+01  3.353e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.202e+00  1.700e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.872e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.82
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 8.84e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.14e-04 +/- 3.62e-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) = 7850.67230026
delta logL = 0.617664787637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7850.66600899
delta logL = 0.623956062185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.241       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0087       1.0000          .0000       5.0000    
     3 'Normalizat'    .85721       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7850.666     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.241        40.685        .31302E-02    .83686E-04
   2  alpha         2.0088        3.4995        .19385        .63133E-04
   3  Normalizat    .85723        .22365        .68219E-01    .25832E-04
   4  Prefactor     1.2081        .10696        .34442E-01   -.22426E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2406
  alpha      = 2.00876
  Normalizat = 0.857226
  Prefactor  = 1.20808
 **********
 **   18 **HESSE 
 **********

 FCN=   7850.666     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.241        3.2674        .79401E-04   -1.5068    
   2  alpha         2.0088        .27604        .78189E-02   -.19778    
   3  Normalizat    .85723        .19731        .30182E-03   -.97980    
   4  Prefactor     1.2081        .16467        .21738E-03   -.86083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79076e-12
Minuit parameter uncertainties:
  1  3.26746
  2  0.27663
  3  0.197474
  4  0.164743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477260': 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) = 7850.66600898
delta logL = 0.623956069529

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.024e+01  3.267e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.009e+00  2.766e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.208e+00  1.647e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.572e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.91
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.01 +/- 0.28
Photon Flux (Free Index): 1.26e-07 +/- 4.96e-08
Energy Flux (Free Index): 8.00e-05 +/- 3.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/477260/cmap_HighResolution_536630401_536889601_4FGL_J1427.0+2348_daily_bin1147.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.84e-08', energy_flux2='8.00e-05', photon_flux_error='2.80e-08', dlogl='6.24e-01', energy_flux='1.14e-04', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-09 16:58:09.074911', photon_index_error2='0.28', photon_index2='2.01', ts='34.82', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='3.27e-05', EG='0.89', time_epoch_completed='1631231889.07', return_code='0', job_id='477260', GAL2='1.21', EG2='0.86', return_code2='0', energy_flux_error='3.62e-05', photon_flux_error2='4.96e-08', ts2='35.91', photon_index='1.71' WHERE bin_id='1147' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:58:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 477260: <4FGL_J1427.0+2348_daily_bin1147> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1147> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 16:46:09 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:46:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 16:46:10 2021
Terminated at Thu Sep  9 16:58:09 2021
Results reported at Thu Sep  9 16:58:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1147 216.756 23.8013 536630401 536889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1427.0+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   555.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            720 sec.

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

