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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1205
RA = 216.756, Dec = 23.8013
tmin = 551664001, tmax = 551923201
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='477343', job_status='RUN', time_executed='2021-09-09 16:49:29.026516', time_epoch_executed='1631231369.03' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477343

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477343/ft1_4FGL_J1427.0+2348_daily_bin1205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477343/ft1_4FGL_J1427.0+2348_daily_bin1205.fits outfile=/scratch/kocevski/477343/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1205.fits ra=216.756 dec=23.8013 rad=12.0 tmin=551664001.0 tmax=551923201.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.73
user 3.52
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.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/477343/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1205.fits evtable="EVENTS" outfile="/scratch/kocevski/477343/ft1_filtered_4FGL_J1427.0+2348_daily_bin1205.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477343/ft1_filtered_4FGL_J1427.0+2348_daily_bin1205.fits" evtable="EVENTS" scfile=/scratch/kocevski/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.fits sctable="SC_DATA" outfile=/scratch/kocevski/477343/ltcube_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.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/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.fits
.....................!
real 11.66
user 11.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477343/ft1_filtered_4FGL_J1427.0+2348_daily_bin1205.fits evtable="EVENTS" scfile=/scratch/kocevski/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.fits sctable="SC_DATA" expcube=/scratch/kocevski/477343/ltcube_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.fits outfile=/scratch/kocevski/477343/expmap_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.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/477343/ltcube_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.fits
.....................!
real 190.39
user 185.27
sys 4.76

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/477343/ft1_filtered_4FGL_J1427.0+2348_daily_bin1205.fits scfile=/scratch/kocevski/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.fits outfile=/scratch/kocevski/477343/cmap_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477343/ft1_filtered_4FGL_J1427.0+2348_daily_bin1205.fits scfile=/scratch/kocevski/477343/ft2_4FGL_J1427.0+2348_daily_bin1205.fits outfile=/scratch/kocevski/477343/cmap_HighResolution_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    45.706       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12653E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    42.705       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.525       1.0000         .10000E-03   10000.    
     9 'norm      '    .10320E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    580.93       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11254E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    164.16       1.0000         .10000E-03   10000.    
    13 'Prefactor '    136.76       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .98420E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    89.899       1.0000         .10000E-03   10000.    
    16 'norm      '    .10566E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .34316       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .81261       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   196.9388     FROM MIGRAD    STATUS=CONVERGED     56 CALLS     1525 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10523E-03    31.045        .28833E-04** at limit **
   2  Prefactor     45.689        4.4291       -.48729E-05    .50867E-02
   3  Prefactor     .10407E-03    30.385        .34146E-04** at limit **
   4  Prefactor     .10502E-03    34.124        .54680E-04** at limit **
   5  Prefactor     .10034E-03    31.255        .64785E-04** at limit **
   6  norm          42.722        2.9198        .27747E-05   -.14277E-02
   7  Prefactor     .10027E-03    31.072       -.50516E-04** at limit **
   8  norm          17.533        1.1146       -.21752E-06    .32005E-03
   9  norm          .10246E-03    62.600       -.39814E-04** at limit **
  10  Prefactor     580.93        1.4461        .34330E-06   -.44432E-02
  11  Prefactor     .11045E-03    40.598       -.38835E-05** at limit **
  12  Prefactor     164.16        1.0853       -.24577E-06    .88777E-03
  13  Prefactor     136.77        2.8575        .17690E-05   -.55896E-02
  14  Prefactor     .57646E-03    3.5564       -.27174E-04** at limit **
  15  Prefactor     89.921        5.1055        .39929E-05   -.76776E-02
  16  norm          .12667E-03    147.13       -.13985E-03** at limit **
  17  Prefactor     .10655E-03    32.107        .40969E-04** at limit **
  18  Normalizat    .34156        1.1531        .22798E-03    .23946E-04
  19  Prefactor     .81319        .82364       -.92539E-04    .46676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010523
  Prefactor  = 45.6885
  Prefactor  = 0.000104074
  Prefactor  = 0.000105023
  Prefactor  = 0.000100343
  norm       = 42.7221
  Prefactor  = 0.00010027
  norm       = 17.533
  norm       = 0.000102457
  Prefactor  = 580.929
  Prefactor  = 0.000110446
  Prefactor  = 164.156
  Prefactor  = 136.766
  Prefactor  = 0.000576462
  Prefactor  = 89.9209
  norm       = 0.000126672
  Prefactor  = 0.000106546
  Normalizat = 0.341564
  Prefactor  = 0.813188
 **********
 **   18 **HESSE 
 **********

 FCN=   196.9388     FROM HESSE     STATUS=OK           292 CALLS     1817 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10523E-03    128.71        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.689        163.52        .14826E-02   -1.4355    
   3  Prefactor     .10407E-03    125.77        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10502E-03    91.461        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10034E-03    31.733        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          42.722        42.122        .15336E-02   -1.4400    
   7  Prefactor     .10027E-03    31.494        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.533        27.481        .23918E-02   -1.4870    
   9  norm          .10246E-03    66.966        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     580.93        781.36        .42750E-03   -1.0840    
  11  Prefactor     .11045E-03    145.68        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     164.16        185.58        .78698E-03   -1.3138    
  13  Prefactor     136.77        236.26        .86104E-03   -1.3364    
  14  Prefactor     .57646E-03    1896.5        .10386E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     89.921        97.154        .10595E-02   -1.3809    
  16  norm          .12667E-03    250.72        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10655E-03    85.087        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .34156        5.3598        .12400       -1.2044    
  19  Prefactor     .81319        .98208        .43881E-01   -.99244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04304e-06
Minuit parameter uncertainties:
  1  0.0520031
  2  165.17
  3  0.045366
  4  0.0429312
  5  0.00659824
  6  42.1515
  7  0.00583169
  8  27.5009
  9  0.0256833
  10  796.67
  11  0.0782081
  12  186.246
  13  237.918
  14  1.96705
  15  97.326
  16  0.164242
  17  0.0472682
  18  1.84382
  19  1.00454
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  4.272e+01  4.215e+01  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.132e-01  1.005e+00  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:  3.416e-01  1.844e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.52
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 3.57e-07 +/- 3.52e-07
Energy Flux (Fixed Index): 4.61e-04 +/- 4.55e-04

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) = 196.586293732
delta logL = 0.352486405327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 196.442828416
delta logL = 0.495951722246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.075       1.0000         .10000E-03   10000.    
     2 'alpha     '    .92285       1.0000          .0000       5.0000    
     3 'Normalizat'    .61329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72098       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=   196.4428     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.116        28.440        .21313E-02   -.97494E-05
   2  alpha         .92302        .60496        .66794E-01   -.74894E-06
   3  Normalizat    .61352        1.1218        .92231E-01    .20048E-05
   4  Prefactor     .72116        .77022        .42680E-01    .17352E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 22.1164
  alpha      = 0.923024
  Normalizat = 0.613523
  Prefactor  = 0.721155
 **********
 **   18 **HESSE 
 **********

 FCN=   196.4428     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.116        32.291        .64553E-04   -1.4767    
   2  alpha         .92302        .68447        .33794E-03   -.68257    
   3  Normalizat    .61352        1.1808        .40872E-03   -1.0741    
   4  Prefactor     .72116        .81495        .25223E-03   -1.0270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15052e-13
Minuit parameter uncertainties:
  1  32.3162
  2  0.699535
  3  1.23554
  4  0.829066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477343': 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) = 196.44282688
delta logL = 0.495953257414

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  2.212e+01  3.232e+01  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  9.230e-01  6.995e-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:  7.212e-01  8.291e-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:  6.135e-01  1.236e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.36
Ra Dec: 216.756 23.801
Photon Index (Free Index): 0.92 +/- 0.70
Photon Flux (Free Index): 1.52e-07 +/- 1.69e-07
Energy Flux (Free Index): 1.70e-03 +/- 2.63e-03

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/477343/cmap_HighResolution_551664001_551923201_4FGL_J1427.0+2348_daily_bin1205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-07', energy_flux2='1.70e-03', photon_flux_error='3.52e-07', dlogl='4.96e-01', energy_flux='4.61e-04', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-09-09 16:55:06.174603', photon_index_error2='0.70', photon_index2='0.92', ts='9.52', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='2.63e-03', EG='0.34', time_epoch_completed='1631231706.17', return_code='0', job_id='477343', GAL2='0.72', EG2='0.61', return_code2='0', energy_flux_error='4.55e-04', photon_flux_error2='1.69e-07', ts2='10.36', photon_index='1.71' WHERE bin_id='1205' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:55:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 477343: <4FGL_J1427.0+2348_daily_bin1205> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1205> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 16:46:15 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:46:17 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:17 2021
Terminated at Thu Sep  9 16:55:06 2021
Results reported at Thu Sep  9 16:55:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1205 216.756 23.8013 551664001 551923201 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 :                                   320.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   529 sec.
    Turnaround time :                            531 sec.

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

