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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1012
RA = 216.756, Dec = 23.8013
tmin = 501638401, tmax = 501897601
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='475710', job_status='RUN', time_executed='2021-09-09 16:45:12.888299', time_epoch_executed='1631231112.89' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475710/ft1_4FGL_J1427.0+2348_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475710/ft1_4FGL_J1427.0+2348_daily_bin1012.fits outfile=/scratch/kocevski/475710/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1012.fits ra=216.756 dec=23.8013 rad=12.0 tmin=501638401.0 tmax=501897601.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.49
user 3.27
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475710/ft1_filtered_4FGL_J1427.0+2348_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/475710/ltcube_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.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/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits
.....................!
real 12.39
user 12.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475710/ft1_filtered_4FGL_J1427.0+2348_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/475710/ltcube_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.fits outfile=/scratch/kocevski/475710/expmap_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.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/475710/ltcube_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.fits
.....................!
real 196.37
user 191.00
sys 5.00

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/475710/ft1_filtered_4FGL_J1427.0+2348_daily_bin1012.fits scfile=/scratch/kocevski/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits outfile=/scratch/kocevski/475710/cmap_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.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/475710/ft1_filtered_4FGL_J1427.0+2348_daily_bin1012.fits scfile=/scratch/kocevski/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits outfile=/scratch/kocevski/475710/cmap_HighResolution_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.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/475710/ft1_filtered_4FGL_J1427.0+2348_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/475710/ft2_4FGL_J1427.0+2348_daily_bin1012.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475710/Model_4FGL_J1427.0+2348_daily_bin1012.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/475710/ft1_filtered_4FGL_J1427.0+2348_daily_bin1012.fits.....................!
real 44.15
user 42.76
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0136       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11266E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.442       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3491       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24841E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    11.944       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9446       1.0000         .10000E-03   10000.    
     8 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8574       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .53256E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10762E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.476       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9508       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.441       1.0000         .10000E-03   10000.    
    16 'norm      '    .49983E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8396       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0248       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75215       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=   5299.468     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     1652 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0107        5.2343        .33375E-02   -.17303E-02
   2  Prefactor     .10000E-03    6.8562        .90712E-02** at limit **
   3  Prefactor     19.460        25.590        .22709E-02   -.16292E-03
   4  Prefactor     3.3510        3.1553        .55287E-02    .20512E-03
   5  Prefactor     .10000E-03    5.9760        .55742E-01** at limit **
   6  norm          11.944        3.8743        .28978E-02   -.72122E-04
   7  Prefactor     7.9388        6.8960        .35563E-02    .35006E-03
   8  norm          .10000E-03    1.3600        .33221E-01** at limit **
   9  norm          5.8574        3.7242        .41484E-02   -.94105E-04
  10  Prefactor     .10000E-03    12.403        .10563E-01** at limit **
  11  Prefactor     .10000E-03    6.8571        .90712E-02** at limit **
  12  Prefactor     .10000E-03    5.7413        .90712E-02** at limit **
  13  Prefactor     13.480        16.952        .27278E-02    .61360E-03
  14  Prefactor     5.0707        32.762        .45188E-02    .69420E-04
  15  Prefactor     19.432        11.186        .22710E-02   -.48245E-03
  16  norm          .10000E-03    18.280        .10579E-01** at limit **
  17  Prefactor     7.7920        10.982        .35803E-02    .23597E-03
  18  Normalizat    1.0248        .18546        .42721E-01    .84255E-05
  19  Prefactor     .75215        .15182        .43091E-01    .14983E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.01066
  Prefactor  = 0.000100003
  Prefactor  = 19.4596
  Prefactor  = 3.35101
  Prefactor  = 0.000100001
  norm       = 11.9436
  Prefactor  = 7.93876
  norm       = 0.0001
  norm       = 5.85736
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 13.4805
  Prefactor  = 5.07072
  Prefactor  = 19.4321
  norm       = 0.0001
  Prefactor  = 7.79198
  Normalizat = 1.02483
  Prefactor  = 0.752154
 **********
 **   18 **HESSE 
 **********

 FCN=   5299.468     FROM HESSE     STATUS=OK           278 CALLS     1930 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0107        5.2689        .12039E-03   -1.5108    
   2  Prefactor     .10000E-03    6.9150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.460        25.598        .90837E-04   -1.4825    
   4  Prefactor     3.3510        3.1608        .12033E-03   -1.5342    
   5  Prefactor     .10000E-03    6.1394        .54503E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.944        3.8756        .78614E-04   -1.5017    
   7  Prefactor     7.9388        6.8825        .14225E-03   -1.5144    
   8  norm          .10000E-03    2.2030        .16429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8574        3.7256        .10877E-03   -1.5224    
  10  Prefactor     .10000E-03    12.424        .21126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.8667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.7548        .17036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.480        16.941        .10911E-03   -1.4973    
  14  Prefactor     5.0707        32.743        .18075E-03   -1.5258    
  15  Prefactor     19.432        11.188        .90839E-04   -1.4826    
  16  norm          .10000E-03    18.282        .21158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.7920        10.978        .14321E-03   -1.5150    
  18  Normalizat    1.0248        .21754        .23446E-03   -.92203    
  19  Prefactor     .75215        .17743        .22520E-03   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98084e-09
Minuit parameter uncertainties:
  1  5.26915
  2  0.000270166
  3  25.6127
  4  3.16098
  5  0.000145221
  6  3.87568
  7  6.8832
  8  2.38249e-07
  9  3.7257
  10  7.71506e-05
  11  0.000275518
  12  6.87709e-06
  13  16.947
  14  25.7909
  15  11.1895
  16  6.11881e-05
  17  10.9811
  18  0.217725
  19  0.177563
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.194e+01  3.876e+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:  7.522e-01  1.776e-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.025e+00  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.46
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 9.98e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.29e-04 +/- 4.18e-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) = 5297.03269877
delta logL = 2.43557919046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5296.999739
delta logL = 2.4685389645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9815       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3396       1.0000          .0000       5.0000    
     3 'Normalizat'    .92635       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79379       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5297.000     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      269 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9813        3.7087        .54679E-04    .20070E-02
   2  alpha         2.3397        .29877        .50012E-02    .19397E-03
   3  Normalizat    .92598        .21141        .24389E-03   -.80641E-05
   4  Prefactor     .79402        .17451        .21893E-03   -.82308E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.98132
  alpha      = 2.33971
  Normalizat = 0.925978
  Prefactor  = 0.79402
 **********
 **   18 **HESSE 
 **********

 FCN=   5297.000     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9813        3.5789        .10936E-04   -1.5108    
   2  alpha         2.3397        .28825        .20005E-03   -.64160E-01
   3  Normalizat    .92598        .21134        .97558E-05   -.95553    
   4  Prefactor     .79402        .17454        .87571E-05   -.99949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75208e-10
Minuit parameter uncertainties:
  1  3.57903
  2  0.288898
  3  0.211526
  4  0.174663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475710': 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) = 5296.9997374
delta logL = 2.46854056642

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  8.981e+00  3.579e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.340e+00  2.889e-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.940e-01  1.747e-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:  9.260e-01  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.21
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.34 +/- 0.29
Photon Flux (Free Index): 1.85e-07 +/- 5.91e-08
Energy Flux (Free Index): 6.85e-05 +/- 2.22e-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/475710/cmap_HighResolution_501638401_501897601_4FGL_J1427.0+2348_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.98e-08', energy_flux2='6.85e-05', photon_flux_error='3.24e-08', dlogl='2.47e+00', energy_flux='1.29e-04', photon_flux2='1.85e-07', job_status='DONE', time_completed='2021-09-09 16:53:08.361575', photon_index_error2='0.29', photon_index2='2.34', ts='34.46', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.02', time_epoch_completed='1631231588.36', return_code='0', job_id='475710', GAL2='0.79', EG2='0.93', return_code2='0', energy_flux_error='4.18e-05', photon_flux_error2='5.91e-08', ts2='39.21', photon_index='1.71' WHERE bin_id='1012' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:53:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 475710: <4FGL_J1427.0+2348_daily_bin1012> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1012 216.756 23.8013 501638401 501897601 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 :                                   474.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

