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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1119
RA = 216.756, Dec = 23.8013
tmin = 529372801, tmax = 529632001
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='475879', job_status='RUN', time_executed='2021-09-09 16:43:51.361782', time_epoch_executed='1631231031.36' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475879/ft1_4FGL_J1427.0+2348_daily_bin1119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475879/ft1_4FGL_J1427.0+2348_daily_bin1119.fits outfile=/scratch/kocevski/475879/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1119.fits ra=216.756 dec=23.8013 rad=12.0 tmin=529372801.0 tmax=529632001.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.48
user 3.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.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/475879/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1119.fits evtable="EVENTS" outfile="/scratch/kocevski/475879/ft1_filtered_4FGL_J1427.0+2348_daily_bin1119.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/475879/ft1_filtered_4FGL_J1427.0+2348_daily_bin1119.fits" evtable="EVENTS" scfile=/scratch/kocevski/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.fits sctable="SC_DATA" outfile=/scratch/kocevski/475879/ltcube_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.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/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.fits
.....................!
real 15.33
user 14.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475879/ft1_filtered_4FGL_J1427.0+2348_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.fits sctable="SC_DATA" expcube=/scratch/kocevski/475879/ltcube_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.fits outfile=/scratch/kocevski/475879/expmap_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.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/475879/ltcube_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.fits
.....................!
real 190.32
user 185.05
sys 4.87

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/475879/ft1_filtered_4FGL_J1427.0+2348_daily_bin1119.fits scfile=/scratch/kocevski/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.fits outfile=/scratch/kocevski/475879/cmap_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475879/ft1_filtered_4FGL_J1427.0+2348_daily_bin1119.fits scfile=/scratch/kocevski/475879/ft2_4FGL_J1427.0+2348_daily_bin1119.fits outfile=/scratch/kocevski/475879/cmap_HighResolution_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.719       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.939       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33073E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    14.760       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18016E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    4.7806       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8564       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.686       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10663E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.274       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.923       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0782       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84191       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=   6246.239     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     1928 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5356        .25305E-07** at limit **
   2  Prefactor     .10000E-03    7.0219        .24614E-07** at limit **
   3  Prefactor     12.723        21.719        .23670E-05   -.17231E-05
   4  Prefactor     12.939        4.7095        .26881E-07   -.62898E-04
   5  Prefactor     .10003E-03    5.7558       -.78280E-07** at limit **
   6  norm          14.760        4.0335        .19055E-07    .13778E-04
   7  Prefactor     .10000E-03    3.1957       -.22377E-06** at limit **
   8  norm          4.7803        2.8403       -.58161E-07   -.90131E-04
   9  norm          3.8563        3.2438        .17817E-07   -.64415E-06
  10  Prefactor     .10000E-03    10.791        .80444E-09** at limit **
  11  Prefactor     15.675        28.526        .78305E-06   -.90957E-06
  12  Prefactor     .10000E-03    22.719       -.19732E-06** at limit **
  13  Prefactor     39.281        32.772        .63938E-05    .16546E-04
  14  Prefactor     14.893        37.841       -.15532E-04   -.83886E-05
  15  Prefactor     .10000E-03    2.5039       -.37158E-08** at limit **
  16  norm          .10000E-03    15.732       -.40198E-07** at limit **
  17  Prefactor     .10000E-03    3.2648        .11572E-08** at limit **
  18  Normalizat    1.0781        .17586       -.64584E-06    .60255E-04
  19  Prefactor     .84207        .14653        .12052E-06    .10794E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7227
  Prefactor  = 12.9394
  Prefactor  = 0.000100031
  norm       = 14.76
  Prefactor  = 0.000100002
  norm       = 4.78035
  norm       = 3.8563
  Prefactor  = 0.0001
  Prefactor  = 15.6754
  Prefactor  = 0.0001
  Prefactor  = 39.2809
  Prefactor  = 14.893
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07806
  Prefactor  = 0.842073
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.239     FROM HESSE     STATUS=OK           282 CALLS     2210 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5974        .24560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.0919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.723        21.694        .11232E-03   -1.4994    
   4  Prefactor     12.939        4.7322        .98264E-04   -1.4988    
   5  Prefactor     .10003E-03    6.7686        .55185E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.760        4.0336        .79952E-04   -1.4939    
   7  Prefactor     .10000E-03    73.436        .26110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7803        2.8340        .98303E-04   -1.5271    
   9  norm          3.8563        3.2431        .12669E-03   -1.5315    
  10  Prefactor     .10000E-03    10.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.675        28.385        .10113E-03   -1.4916    
  12  Prefactor     .10000E-03    23.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.281        32.745        .63959E-04   -1.4454    
  14  Prefactor     14.893        37.928        .10368E-03   -1.4936    
  15  Prefactor     .10000E-03    2.5092        .12213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    15.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2855        .13946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0781        .20124        .24376E-03   -.90459    
  19  Prefactor     .84207        .16827        .22915E-03   -.98196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67839e-11
Minuit parameter uncertainties:
  1  3.30385e-06
  2  3.97318e-06
  3  21.7071
  4  4.73231
  5  0.000920504
  6  4.03368
  7  0.000854454
  8  2.83411
  9  3.2432
  10  3.15261e-06
  11  28.4097
  12  0.000106058
  13  32.7596
  14  37.9891
  15  1.79226e-07
  16  1.47801e-06
  17  7.73677e-07
  18  0.201379
  19  0.168372
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.476e+01  4.034e+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:  8.421e-01  1.684e-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.078e+00  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 56.17
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 3.37e-08
Energy Flux (Fixed Index): 1.59e-04 +/- 4.35e-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) = 6245.07491966
delta logL = 1.16393110047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6245.03154981
delta logL = 1.20730094931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.595       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0425       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85165       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=   6245.032     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.596        47.084        .27158E-02   -.11503E-04
   2  alpha         2.0423        3.4534        .13100        .64370E-04
   3  Normalizat    1.0357        .31177        .41635E-01    .67708E-05
   4  Prefactor     .85164        .18168        .44386E-01    .72526E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 13.5958
  alpha      = 2.04235
  Normalizat = 1.03573
  Prefactor  = 0.851641
 **********
 **   18 **HESSE 
 **********

 FCN=   6245.032     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.596        3.8546        .69460E-04   -1.4970    
   2  alpha         2.0423        .21858        .55774E-02   -.18410    
   3  Normalizat    1.0357        .19720        .24750E-03   -.91843    
   4  Prefactor     .85164        .16460        .22736E-03   -.97852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71563e-12
Minuit parameter uncertainties:
  1  3.85469
  2  0.218869
  3  0.197335
  4  0.164696
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475879': 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) = 6245.03154965
delta logL = 1.207301112

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.360e+01  3.855e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.042e+00  2.189e-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:  8.516e-01  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:  1.036e+00  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 58.34
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.04 +/- 0.22
Photon Flux (Free Index): 1.75e-07 +/- 5.41e-08
Energy Flux (Free Index): 1.04e-04 +/- 3.59e-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/475879/cmap_HighResolution_529372801_529632001_4FGL_J1427.0+2348_daily_bin1119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='1.04e-04', photon_flux_error='3.37e-08', dlogl='1.21e+00', energy_flux='1.59e-04', photon_flux2='1.75e-07', job_status='DONE', time_completed='2021-09-09 16:55:34.207878', photon_index_error2='0.22', photon_index2='2.04', ts='56.17', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='3.59e-05', EG='1.08', time_epoch_completed='1631231734.21', return_code='0', job_id='475879', GAL2='0.85', EG2='1.04', return_code2='0', energy_flux_error='4.35e-05', photon_flux_error2='5.41e-08', ts2='58.34', photon_index='1.71' WHERE bin_id='1119' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:55:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 475879: <4FGL_J1427.0+2348_daily_bin1119> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1119> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:41:37 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:41:38 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:41:38 2021
Terminated at Thu Sep  9 16:55:34 2021
Results reported at Thu Sep  9 16:55:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1119 216.756 23.8013 529372801 529632001 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 :                                   520.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            837 sec.

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

