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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin24
RA = 216.756, Dec = 23.8013
tmin = 245548801, tmax = 245808001
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='467079', job_status='RUN', time_executed='2021-09-09 16:14:54.207223', time_epoch_executed='1631229294.21' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='24'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467079/ft1_4FGL_J1427.0+2348_daily_bin24.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467079/ft2_4FGL_J1427.0+2348_daily_bin24.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467079/ft1_4FGL_J1427.0+2348_daily_bin24.fits outfile=/scratch/kocevski/467079/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin24.fits ra=216.756 dec=23.8013 rad=12.0 tmin=245548801.0 tmax=245808001.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.48
user 1.26
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467079/ft1_filtered_4FGL_J1427.0+2348_daily_bin24.fits evtable="EVENTS" scfile=/scratch/kocevski/467079/ft2_4FGL_J1427.0+2348_daily_bin24.fits sctable="SC_DATA" expcube=/scratch/kocevski/467079/ltcube_245548801_245808001_4FGL_J1427.0+2348_daily_bin24.fits outfile=/scratch/kocevski/467079/expmap_245548801_245808001_4FGL_J1427.0+2348_daily_bin24.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/467079/ltcube_245548801_245808001_4FGL_J1427.0+2348_daily_bin24.fits
.....................!
real 188.16
user 183.85
sys 3.98

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/467079/ft1_filtered_4FGL_J1427.0+2348_daily_bin24.fits scfile=/scratch/kocevski/467079/ft2_4FGL_J1427.0+2348_daily_bin24.fits outfile=/scratch/kocevski/467079/cmap_245548801_245808001_4FGL_J1427.0+2348_daily_bin24.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.756 yref=23.8013 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467079/ft1_filtered_4FGL_J1427.0+2348_daily_bin24.fits scfile=/scratch/kocevski/467079/ft2_4FGL_J1427.0+2348_daily_bin24.fits outfile=/scratch/kocevski/467079/cmap_HighResolution_245548801_245808001_4FGL_J1427.0+2348_daily_bin24.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .38163E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    71.657       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5942       1.0000         .10000E-03   10000.    
     6 'norm      '    4.6924       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4717       1.0000         .10000E-03   10000.    
     8 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.0882       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11673E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.713       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7284       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2222       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96903       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=   8661.654     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     1932 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5122       -.22196E-06** at limit **
   2  Prefactor     .10135E-03    5.7872       -.23224E-05** at limit **
   3  Prefactor     71.638        33.232       -.11019E-04    .83775E-04
   4  Prefactor     1.0354        2.2394       -.10400E-05   -.19369E-02
   5  Prefactor     2.5964        9.0965        .21946E-06   -.18506E-03
   6  norm          4.6922        2.1131       -.93810E-07    .51593E-04
   7  Prefactor     3.4772        8.4311       -.23143E-05   -.31570E-03
   8  norm          .10000E-03    .86965       -.45983E-07** at limit **
   9  norm          2.0881        2.1288       -.37332E-07    .16696E-03
  10  Prefactor     .10000E-03    36.099        .40365E-05** at limit **
  11  Prefactor     .10000E-03    52.637        .99581E-05** at limit **
  12  Prefactor     .10000E-03    17.759       -.71114E-05** at limit **
  13  Prefactor     .10000E-03    14.087        .85081E-05** at limit **
  14  Prefactor     30.706        29.494       -.49164E-05   -.64990E-05
  15  Prefactor     5.7278        5.4622       -.45788E-05    .48894E-04
  16  norm          .10000E-03    12.107       -.37760E-05** at limit **
  17  Prefactor     .10000E-03    3.0188       -.21800E-07** at limit **
  18  Normalizat    1.2222        .16384        .23152E-05    .46865E-03
  19  Prefactor     .96911        .13231        .10746E-05    .50044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000101352
  Prefactor  = 71.6376
  Prefactor  = 1.03538
  Prefactor  = 2.59641
  norm       = 4.69224
  Prefactor  = 3.47719
  norm       = 0.0001
  norm       = 2.08808
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.7058
  Prefactor  = 5.72781
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22217
  Prefactor  = 0.969112
 **********
 **   18 **HESSE 
 **********

 FCN=   8661.654     FROM HESSE     STATUS=OK           272 CALLS     2204 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0030        .22236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10135E-03    72.714        .42175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     71.638        32.757        .47425E-04   -1.4013    
   4  Prefactor     1.0354        2.0437        .19929E-02   -1.5504    
   5  Prefactor     2.5964        8.6345        .25333E-03   -1.5386    
   6  norm          4.6922        2.1135        .88124E-04   -1.5275    
   7  Prefactor     3.4772        8.0456        .21703E-03   -1.5335    
   8  norm          .10000E-03    1.4773        .16816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0881        2.1342        .13339E-03   -1.5419    
  10  Prefactor     .10000E-03    36.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    53.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.706        29.502        .72298E-04   -1.4599    
  15  Prefactor     5.7278        5.4513        .16782E-03   -1.5229    
  16  norm          .10000E-03    12.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.0268        .15791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2222        .19166        .25294E-03   -.85920    
  19  Prefactor     .96911        .15738        .23075E-03   -.93766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90462e-08
Minuit parameter uncertainties:
  1  3.82758e-05
  2  0.0198519
  3  32.7651
  4  2.04387
  5  8.63869
  6  2.1135
  7  8.0481
  8  3.14445e-06
  9  2.13427
  10  0.000154966
  11  0.000140294
  12  5.01328e-05
  13  1.53061e-06
  14  29.5159
  15  5.45177
  16  5.73352e-07
  17  4.40536e-06
  18  0.191766
  19  0.157452
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  4.692e+00  2.113e+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:  9.691e-01  1.575e-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.222e+00  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.74
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 3.92e-08 +/- 1.77e-08
Energy Flux (Fixed Index): 5.06e-05 +/- 2.28e-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) = 8661.52051794
delta logL = 0.133550593018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8661.51322994
delta logL = 0.140838594785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7423       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5447       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2255       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96859       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=   8661.513     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7423        2.5841        .46192E-02   -.20892E-02
   2  alpha         1.5447        .32586        .26249       -.21003E-04
   3  Normalizat    1.2255        .15843        .57132E-01    .56906E-04
   4  Prefactor     .96858        .13121        .45873E-01   -.10332E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.74231
  alpha      = 1.54469
  Normalizat = 1.22549
  Prefactor  = 0.968585
 **********
 **   18 **HESSE 
 **********

 FCN=   8661.513     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7423        2.1632        .89532E-04   -1.5272    
   2  alpha         1.5447        .29617        .10689E-01   -.39209    
   3  Normalizat    1.2255        .18853        .25265E-03   -.85819    
   4  Prefactor     .96858        .15635        .23081E-03   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5992e-10
Minuit parameter uncertainties:
  1  2.16322
  2  0.296991
  3  0.18863
  4  0.156427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467079': 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) = 8661.51322993
delta logL = 0.1408386109

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  4.742e+00  2.163e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.545e+00  2.970e-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:  9.686e-01  1.564e-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.225e+00  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.02
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.54 +/- 0.30
Photon Flux (Free Index): 3.40e-08 +/- 1.81e-08
Energy Flux (Free Index): 6.83e-05 +/- 4.96e-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/467079/cmap_HighResolution_245548801_245808001_4FGL_J1427.0+2348_daily_bin24.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.92e-08', energy_flux2='6.83e-05', photon_flux_error='1.77e-08', dlogl='1.41e-01', energy_flux='5.06e-05', photon_flux2='3.40e-08', job_status='DONE', time_completed='2021-09-09 16:24:27.117450', photon_index_error2='0.30', photon_index2='1.54', ts='14.74', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.96e-05', EG='1.22', time_epoch_completed='1631229867.12', return_code='0', job_id='467079', GAL2='0.97', EG2='1.23', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='1.81e-08', ts2='15.02', photon_index='1.71' WHERE bin_id='24' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:24:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 467079: <4FGL_J1427.0+2348_daily_bin24> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin24> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:11:32 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:11:33 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:11:33 2021
Terminated at Thu Sep  9 16:24:27 2021
Results reported at Thu Sep  9 16:24:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin24 216.756 23.8013 245548801 245808001 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 :                                   571.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            775 sec.

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

