/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 149 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 = 7505
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1427.0+2348_daily_bin67
RA = 216.756, Dec = 23.8013
tmin = 256694401, tmax = 256953601
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='468357', job_status='RUN', time_executed='2021-09-09 16:18:47.119231', time_epoch_executed='1631229527.12' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='67'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468357/ft1_4FGL_J1427.0+2348_daily_bin67.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468357/ft1_4FGL_J1427.0+2348_daily_bin67.fits outfile=/scratch/kocevski/468357/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin67.fits ra=216.756 dec=23.8013 rad=12.0 tmin=256694401.0 tmax=256953601.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 1.43
user 1.26
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.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/468357/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin67.fits evtable="EVENTS" outfile="/scratch/kocevski/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.fits" evtable="EVENTS" scfile=/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits sctable="SC_DATA" outfile=/scratch/kocevski/468357/ltcube_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.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/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits
.....................!
real 12.87
user 12.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.fits evtable="EVENTS" scfile=/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits sctable="SC_DATA" expcube=/scratch/kocevski/468357/ltcube_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.fits outfile=/scratch/kocevski/468357/expmap_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.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/468357/ltcube_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.fits
.....................!
real 192.14
user 186.88
sys 4.85

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/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.fits scfile=/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits outfile=/scratch/kocevski/468357/cmap_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.fits scfile=/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits outfile=/scratch/kocevski/468357/cmap_HighResolution_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.fits', '/scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits', expMap='/scratch/kocevski/468357/expmap_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.fits', expCube='/scratch/kocevski/468357/ltcube_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/468357/Model_4FGL_J1427.0+2348_daily_bin67.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/468357/ft1_filtered_4FGL_J1427.0+2348_daily_bin67.fits
Spacecraft file(s): /scratch/kocevski/468357/ft2_4FGL_J1427.0+2348_daily_bin67.fits
Exposure map: /scratch/kocevski/468357/expmap_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.fits
Exposure cube: /scratch/kocevski/468357/ltcube_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/468357/Model_4FGL_J1427.0+2348_daily_bin67.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) = 8799.63297961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3419       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8518       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0305       1.0000         .10000E-03   10000.    
     6 'norm      '    11.954       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2476       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3312       1.0000         .10000E-03   10000.    
     9 'norm      '    1.5627       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9027       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5114       1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.513       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1176       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0274       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=   8799.632     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1862 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3426        2.7355        .59446E-07   -.47150E-04
   2  Prefactor     .10000E-03    9.8024       -.88588E-06** at limit **
   3  Prefactor     .10000E-03    9.6757        .85860E-06** at limit **
   4  Prefactor     5.8522        3.3360        .30955E-06    .29814E-03
   5  Prefactor     4.0305        6.5362       -.86361E-06   -.13255E-03
   6  norm          11.954        3.5668        .40936E-07    .62706E-04
   7  Prefactor     5.2473        4.8294        .26290E-05   -.16057E-02
   8  norm          2.3311        2.7969        .28334E-06    .71391E-04
   9  norm          1.5633        3.0084        .19518E-06   -.34722E-03
  10  Prefactor     .10000E-03    28.559        .10730E-05** at limit **
  11  Prefactor     6.9062        14.069        .14062E-05    .18240E-03
  12  Prefactor     .10000E-03    2.8870        .13738E-06** at limit **
  13  Prefactor     1.4856        54.090       -.17000E-04   -.22422E-03
  14  Prefactor     32.517        42.995        .17234E-05    .11285E-03
  15  Prefactor     .10000E-03    4.6579        .30204E-07** at limit **
  16  norm          .10000E-03    13.062       -.78697E-07** at limit **
  17  Prefactor     .10000E-03    2.9116       -.14692E-06** at limit **
  18  Normalizat    1.1174        .16241       -.10701E-05    .15467E-03
  19  Prefactor     1.0276        .13735        .29374E-06    .72559E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.85223
  Prefactor  = 4.03053
  norm       = 11.9536
  Prefactor  = 5.2473
  norm       = 2.3311
  norm       = 1.56327
  Prefactor  = 0.0001
  Prefactor  = 6.90624
  Prefactor  = 0.0001
  Prefactor  = 1.48556
  Prefactor  = 32.5171
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11737
  Prefactor  = 1.02759
 **********
 **   18 **HESSE 
 **********

 FCN=   8799.632     FROM HESSE     STATUS=OK           270 CALLS     2132 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3426        2.7385        .13593E-03   -1.5342    
   2  Prefactor     .10000E-03    10.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.7132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.8522        3.3460        .12409E-03   -1.5224    
   5  Prefactor     4.0305        6.5326        .20086E-03   -1.5306    
   6  norm          11.954        3.5666        .92736E-04   -1.5016    
   7  Prefactor     5.2473        5.2739        .87733E-03   -1.5250    
   8  norm          2.3311        2.7833        .16204E-03   -1.5403    
   9  norm          1.5633        3.0108        .21876E-03   -1.5458    
  10  Prefactor     .10000E-03    28.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9062        14.195        .15270E-03   -1.5182    
  12  Prefactor     .10000E-03    2.8903        .15570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4856        65.288        .34789E-03   -1.5464    
  14  Prefactor     32.517        43.232        .70274E-04   -1.4567    
  15  Prefactor     .10000E-03    4.7126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    13.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.9169        .15633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1174        .19230        .26445E-03   -.89196    
  19  Prefactor     1.0276        .16311        .22868E-03   -.91816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28058e-09
Minuit parameter uncertainties:
  1  2.73859
  2  7.01591e-05
  3  7.16466e-05
  4  3.34609
  5  6.53377
  6  3.56667
  7  5.27432
  8  2.78341
  9  3.01108
  10  0.000149559
  11  14.2023
  12  1.28444e-05
  13  19.719
  14  43.2733
  15  3.66329e-06
  16  5.82349e-06
  17  6.87935e-06
  18  0.192416
  19  0.163188
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.195e+01  3.567e+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.028e+00  1.632e-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:  1.117e+00  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.66
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 9.99e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.29e-04 +/- 3.85e-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) = 8796.05365902
delta logL = 3.5786530889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8796.01705892
delta logL = 3.61525318704

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7553       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4384       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0679       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=   8796.017     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7548        26.609        .33866E-02    .15201E-03
   2  alpha         2.4383        1.8207        .13217        .12702E-03
   3  Normalizat    1.0050        .13329        .46233E-01    .19073E-04
   4  Prefactor     1.0681        .75247E-01    .38961E-01    .89768E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.75485
  alpha      = 2.4383
  Normalizat = 1.00505
  Prefactor  = 1.06806
 **********
 **   18 **HESSE 
 **********

 FCN=   8796.017     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7548        3.4972        .62486E-04   -1.5116    
   2  alpha         2.4383        .28497        .55781E-02   -.24681E-01
   3  Normalizat    1.0050        .19334        .27581E-03   -.92862    
   4  Prefactor     1.0681        .15795        .22401E-03   -.90494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1083e-12
Minuit parameter uncertainties:
  1  3.49724
  2  0.285592
  3  0.193474
  4  0.158023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468357': 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) = 8796.0170575
delta logL = 3.61525461451

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  8.755e+00  3.497e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.438e+00  2.856e-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.068e+00  1.580e-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:  1.005e+00  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.70
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.44 +/- 0.29
Photon Flux (Free Index): 2.13e-07 +/- 6.29e-08
Energy Flux (Free Index): 7.01e-05 +/- 1.97e-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/468357/cmap_HighResolution_256694401_256953601_4FGL_J1427.0+2348_daily_bin67.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.99e-08', energy_flux2='7.01e-05', photon_flux_error='2.98e-08', dlogl='3.62e+00', energy_flux='1.29e-04', photon_flux2='2.13e-07', job_status='DONE', time_completed='2021-09-09 16:28:28.007283', photon_index_error2='0.29', photon_index2='2.44', ts='30.66', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.12', time_epoch_completed='1631230108.01', return_code='0', job_id='468357', GAL2='1.07', EG2='1.01', return_code2='0', energy_flux_error='3.85e-05', photon_flux_error2='6.29e-08', ts2='37.70', photon_index='1.71' WHERE bin_id='67' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:28:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 468357: <4FGL_J1427.0+2348_daily_bin67> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin67> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 16:16:09 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:16: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:16:10 2021
Terminated at Thu Sep  9 16:28:28 2021
Results reported at Thu Sep  9 16:28:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin67 216.756 23.8013 256694401 256953601 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 :                                   581.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

