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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1461
RA = 216.756, Dec = 23.8013
tmin = 618019201, tmax = 618278401
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='478895', job_status='RUN', time_executed='2021-09-09 16:55:20.027624', time_epoch_executed='1631231720.03' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478895

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478895/ft1_4FGL_J1427.0+2348_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478895/ft2_4FGL_J1427.0+2348_daily_bin1461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478895/ft1_4FGL_J1427.0+2348_daily_bin1461.fits outfile=/scratch/kocevski/478895/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1461.fits ra=216.756 dec=23.8013 rad=12.0 tmin=618019201.0 tmax=618278401.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 5.11
user 4.84
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478895/ft1_filtered_4FGL_J1427.0+2348_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/478895/ft2_4FGL_J1427.0+2348_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/478895/ltcube_618019201_618278401_4FGL_J1427.0+2348_daily_bin1461.fits outfile=/scratch/kocevski/478895/expmap_618019201_618278401_4FGL_J1427.0+2348_daily_bin1461.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/478895/ltcube_618019201_618278401_4FGL_J1427.0+2348_daily_bin1461.fits
.....................!
real 191.21
user 185.26
sys 5.36

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/478895/ft1_filtered_4FGL_J1427.0+2348_daily_bin1461.fits scfile=/scratch/kocevski/478895/ft2_4FGL_J1427.0+2348_daily_bin1461.fits outfile=/scratch/kocevski/478895/cmap_618019201_618278401_4FGL_J1427.0+2348_daily_bin1461.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/478895/ft1_filtered_4FGL_J1427.0+2348_daily_bin1461.fits scfile=/scratch/kocevski/478895/ft2_4FGL_J1427.0+2348_daily_bin1461.fits outfile=/scratch/kocevski/478895/cmap_HighResolution_618019201_618278401_4FGL_J1427.0+2348_daily_bin1461.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.602       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3002       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.159       1.0000         .10000E-03   10000.    
     6 'norm      '    5.6614       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .91734E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .21521E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.759       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.230       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10773E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.488       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.168       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2799       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86919       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=   5553.815     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     1916 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4831       -.10467E-06** at limit **
   2  Prefactor     23.604        16.500       -.77514E-07   -.14208E-03
   3  Prefactor     24.310        36.942       -.16798E-04    .18982E-03
   4  Prefactor     7.2998        5.0152       -.92678E-06    .68475E-04
   5  Prefactor     14.181        11.484       -.57914E-05   -.76797E-03
   6  norm          5.6616        3.2767       -.19163E-06   -.69217E-04
   7  Prefactor     .10002E-03    7.3546        .49599E-05** at limit **
   8  norm          .92383E-02    1.7607       -.72249E-07   -.51074E-03
   9  norm          .10000E-03    1.9772       -.41658E-07** at limit **
  10  Prefactor     13.751        34.970       -.76182E-05    .57899E-04
  11  Prefactor     12.234        26.569       -.20975E-05   -.91209E-04
  12  Prefactor     .10000E-03    6.7852        .18854E-07** at limit **
  13  Prefactor     .10000E-03    34.374       -.38477E-05** at limit **
  14  Prefactor     34.479        35.314       -.30752E-05    .60318E-04
  15  Prefactor     .10000E-03    4.6092       -.68530E-08** at limit **
  16  norm          .10000E-03    18.921       -.58434E-07** at limit **
  17  Prefactor     15.165        13.119        .58894E-06   -.83587E-04
  18  Normalizat    1.2797        .22515        .11664E-05   -.53950E-03
  19  Prefactor     .86950        .17689        .22505E-05   -.55364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.6039
  Prefactor  = 24.3101
  Prefactor  = 7.29978
  Prefactor  = 14.181
  norm       = 5.66165
  Prefactor  = 0.000100022
  norm       = 0.00923827
  norm       = 0.0001
  Prefactor  = 13.7514
  Prefactor  = 12.2338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.4786
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.1654
  Normalizat = 1.27972
  Prefactor  = 0.869498
 **********
 **   18 **HESSE 
 **********

 FCN=   5553.815     FROM HESSE     STATUS=OK           274 CALLS     2190 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5231        .13577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.604        16.623        .82450E-04   -1.4736    
   3  Prefactor     24.310        36.084        .81092E-04   -1.4721    
   4  Prefactor     7.2998        5.0240        .13231E-03   -1.5168    
   5  Prefactor     14.181        11.272        .10645E-03   -1.4955    
   6  norm          5.6616        3.2783        .98892E-04   -1.5232    
   7  Prefactor     .10002E-03    47.144        .36065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .92383E-02    5.3273        .31482E-01   -1.5689    
   9  norm          .10000E-03    1.9843        .10232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.751        34.900        .10798E-03   -1.4966    
  11  Prefactor     12.234        26.570        .11455E-03   -1.5008    
  12  Prefactor     .10000E-03    6.7952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.479        35.280        .68237E-04   -1.4533    
  15  Prefactor     .10000E-03    4.6232        .15624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    18.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.165        13.128        .10284E-03   -1.4929    
  18  Normalizat    1.2797        .27188        .26480E-03   -.84174    
  19  Prefactor     .86950        .21416        .24806E-03   -.97215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9481e-09
Minuit parameter uncertainties:
  1  1.26547e-05
  2  16.6267
  3  36.1169
  4  5.02432
  5  11.2739
  6  3.27838
  7  0.00201772
  8  0.441322
  9  4.53483e-06
  10  34.9518
  11  26.596
  12  2.38187e-06
  13  0.00023745
  14  35.3014
  15  1.29737e-05
  16  5.71925e-08
  17  13.1304
  18  0.272187
  19  0.214363
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  5.662e+00  3.278e+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.695e-01  2.144e-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.280e+00  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.17
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 4.73e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 6.11e-05 +/- 3.54e-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) = 5553.73105101
delta logL = 0.0843457230631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5553.69850874
delta logL = 0.116887987707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6915       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4588       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87345       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=   5553.699     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6921        2.9437        .46447E-02   -.29917E-04
   2  alpha         1.4596        .36779        .27980       -.38864E-04
   3  Normalizat    1.2865        .21742        .59741E-01    .53906E-05
   4  Prefactor     .87363        .17269        .44666E-01   -.74189E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.69213
  alpha      = 1.45959
  Normalizat = 1.28653
  Prefactor  = 0.873627
 **********
 **   18 **HESSE 
 **********

 FCN=   5553.699     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6921        3.7562        .96279E-04   -1.5275    
   2  alpha         1.4596        .50028        .11513E-01   -.42922    
   3  Normalizat    1.2865        .26126        .26421E-03   -.83969    
   4  Prefactor     .87363        .20842        .24763E-03   -.97069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04707e-12
Minuit parameter uncertainties:
  1  3.75643
  2  0.504408
  3  0.261531
  4  0.208606
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478895': 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) = 5553.69850548
delta logL = 0.116891250053

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  4.692e+00  3.756e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.460e+00  5.044e-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.736e-01  2.086e-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.287e+00  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.38
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.46 +/- 0.50
Photon Flux (Free Index): 3.16e-08 +/- 3.29e-08
Energy Flux (Free Index): 8.11e-05 +/- 7.11e-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/478895/cmap_HighResolution_618019201_618278401_4FGL_J1427.0+2348_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.73e-08', energy_flux2='8.11e-05', photon_flux_error='2.74e-08', dlogl='1.17e-01', energy_flux='6.11e-05', photon_flux2='3.16e-08', job_status='DONE', time_completed='2021-09-09 17:03:48.809706', photon_index_error2='0.50', photon_index2='1.46', ts='21.17', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='7.11e-05', EG='1.28', time_epoch_completed='1631232228.81', return_code='0', job_id='478895', GAL2='0.87', EG2='1.29', return_code2='0', energy_flux_error='3.54e-05', photon_flux_error2='3.29e-08', ts2='21.38', photon_index='1.71' WHERE bin_id='1461' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 17:03:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 478895: <4FGL_J1427.0+2348_daily_bin1461> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1461> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:51:18 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:51:19 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:51:19 2021
Terminated at Thu Sep  9 17:03:49 2021
Results reported at Thu Sep  9 17:03:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1461 216.756 23.8013 618019201 618278401 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 :                                   491.00 sec.
    Max Memory :                                 1061 MB
    Average Memory :                             221.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

