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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin616
RA = 216.756, Dec = 23.8013
tmin = 398995201, tmax = 399254401
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='472761', job_status='RUN', time_executed='2021-09-09 16:31:45.425956', time_epoch_executed='1631230305.43' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='616'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472761/ft1_4FGL_J1427.0+2348_daily_bin616.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472761/ft2_4FGL_J1427.0+2348_daily_bin616.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472761/ft1_4FGL_J1427.0+2348_daily_bin616.fits outfile=/scratch/kocevski/472761/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin616.fits ra=216.756 dec=23.8013 rad=12.0 tmin=398995201.0 tmax=399254401.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 6.14
user 5.13
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472761/ft1_filtered_4FGL_J1427.0+2348_daily_bin616.fits evtable="EVENTS" scfile=/scratch/kocevski/472761/ft2_4FGL_J1427.0+2348_daily_bin616.fits sctable="SC_DATA" expcube=/scratch/kocevski/472761/ltcube_398995201_399254401_4FGL_J1427.0+2348_daily_bin616.fits outfile=/scratch/kocevski/472761/expmap_398995201_399254401_4FGL_J1427.0+2348_daily_bin616.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/472761/ltcube_398995201_399254401_4FGL_J1427.0+2348_daily_bin616.fits
.....................!
real 191.22
user 185.02
sys 5.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/472761/ft1_filtered_4FGL_J1427.0+2348_daily_bin616.fits scfile=/scratch/kocevski/472761/ft2_4FGL_J1427.0+2348_daily_bin616.fits outfile=/scratch/kocevski/472761/cmap_398995201_399254401_4FGL_J1427.0+2348_daily_bin616.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472761/ft1_filtered_4FGL_J1427.0+2348_daily_bin616.fits scfile=/scratch/kocevski/472761/ft2_4FGL_J1427.0+2348_daily_bin616.fits outfile=/scratch/kocevski/472761/cmap_HighResolution_398995201_399254401_4FGL_J1427.0+2348_daily_bin616.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2745       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3360       1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.130       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5398       1.0000         .10000E-03   10000.    
     6 'norm      '    8.9852       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .82879       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5497       1.0000         .10000E-03   10000.    
     9 'norm      '    .45853E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.054       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0608       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.532       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11175E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.759       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0900       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0561       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=   4742.035     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     1928 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2784        6.8550        .56237E-06   -.22963E-04
   2  Prefactor     2.3341        35.024        .10060E-04   -.73408E-05
   3  Prefactor     52.131        33.786        .29912E-07    .74272E-05
   4  Prefactor     3.1959        4.3659        .17100E-06    .38955E-05
   5  Prefactor     4.5416        6.9653       -.84754E-06   -.28120E-04
   6  norm          8.9850        4.0704        .53369E-07    .50389E-04
   7  Prefactor     .82662        7.6929        .21429E-05    .12453E-03
   8  norm          3.5498        2.7474        .13402E-07   -.41391E-05
   9  norm          .10035E-03    4.0239       -.62646E-06** at limit **
  10  Prefactor     37.905        63.947        .35124E-06    .12759E-04
  11  Prefactor     12.046        27.722        .30787E-06    .15069E-04
  12  Prefactor     3.0407        30.440       -.72616E-06    .79646E-05
  13  Prefactor     27.526        38.639        .61708E-06    .41043E-04
  14  Prefactor     .10000E-03    42.262       -.89263E-07** at limit **
  15  Prefactor     .10000E-03    21.937       -.46224E-06** at limit **
  16  norm          .10000E-03    24.904        .53578E-06** at limit **
  17  Prefactor     18.757        19.245        .36618E-06    .26710E-04
  18  Normalizat    1.0893        .24904       -.50554E-06    .13107E-03
  19  Prefactor     1.0567        .19281       -.88423E-06    .49983E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.27841
  Prefactor  = 2.33407
  Prefactor  = 52.1314
  Prefactor  = 3.19586
  Prefactor  = 4.54161
  norm       = 8.98496
  Prefactor  = 0.826616
  norm       = 3.54982
  norm       = 0.000100346
  Prefactor  = 37.9047
  Prefactor  = 12.0462
  Prefactor  = 3.0407
  Prefactor  = 27.5258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.7575
  Normalizat = 1.08933
  Prefactor  = 1.05675
 **********
 **   18 **HESSE 
 **********

 FCN=   4742.035     FROM HESSE     STATUS=OK           286 CALLS     2214 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2784        6.9424        .19487E-03   -1.5294    
   2  Prefactor     2.3341        35.849        .13414E-02   -1.5402    
   3  Prefactor     52.131        33.782        .55548E-04   -1.4263    
   4  Prefactor     3.1959        4.3682        .16084E-03   -1.5350    
   5  Prefactor     4.5416        6.9714        .18894E-03   -1.5282    
   6  norm          8.9850        4.0713        .90182E-04   -1.5108    
   7  Prefactor     .82662        7.8453        .36454E-03   -1.5526    
   8  norm          3.5498        2.7463        .97246E-04   -1.5331    
   9  norm          .10035E-03    7.8719        .44975E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.905        64.915        .65103E-04   -1.4476    
  11  Prefactor     12.046        27.684        .11538E-03   -1.5014    
  12  Prefactor     3.0407        30.238        .23188E-03   -1.5359    
  13  Prefactor     27.526        38.491        .76351E-04   -1.4658    
  14  Prefactor     .10000E-03    42.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    24.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.757        19.262        .92474E-04   -1.4841    
  18  Normalizat    1.0893        .30024        .28216E-03   -.90095    
  19  Prefactor     1.0567        .22873        .23371E-03   -.90861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56356e-10
Minuit parameter uncertainties:
  1  6.94366
  2  18.3075
  3  33.794
  4  4.3686
  5  6.97269
  6  4.07138
  7  5.09373
  8  2.74639
  9  0.00330104
  10  65.0364
  11  27.7136
  12  19.1899
  13  38.5259
  14  7.84827e-05
  15  1.2745e-05
  16  2.44266e-05
  17  19.2688
  18  0.300708
  19  0.228942
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  8.985e+00  4.071e+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:  1.057e+00  2.289e-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.089e+00  3.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.06
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 7.51e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 9.70e-05 +/- 4.39e-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) = 4741.65573738
delta logL = 0.379742345702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4741.54308857
delta logL = 0.492391155461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6094       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3012       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0636       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=   4741.543     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6132        3.5810        .39023E-02   -.62281E-04
   2  alpha         1.3018        .30718        .20035       -.32290E-04
   3  Normalizat    1.1063        .22750        .63370E-01    .78277E-05
   4  Prefactor     1.0635        .18725        .39171E-01    .42837E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.61325
  alpha      = 1.30181
  Normalizat = 1.10633
  Prefactor  = 1.06346
 **********
 **   18 **HESSE 
 **********

 FCN=   4741.543     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .94E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6132        4.5520        .85144E-04   -1.5194    
   2  alpha         1.3018        .40133        .85942E-02   -.49983    
   3  Normalizat    1.1063        .26587        .28031E-03   -.89549    
   4  Prefactor     1.0635        .21952        .23333E-03   -.90643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.42526e-13
Minuit parameter uncertainties:
  1  4.55225
  2  0.403598
  3  0.266189
  4  0.219707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472761': 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) = 4741.54308721
delta logL = 0.492392515314

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  6.613e+00  4.552e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.302e+00  4.036e-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:  1.063e+00  2.197e-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.106e+00  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.02
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.30 +/- 0.40
Photon Flux (Free Index): 4.13e-08 +/- 3.19e-08
Energy Flux (Free Index): 1.68e-04 +/- 1.27e-04

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/472761/cmap_HighResolution_398995201_399254401_4FGL_J1427.0+2348_daily_bin616.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.51e-08', energy_flux2='1.68e-04', photon_flux_error='3.40e-08', dlogl='4.92e-01', energy_flux='9.70e-05', photon_flux2='4.13e-08', job_status='DONE', time_completed='2021-09-09 16:39:40.361017', photon_index_error2='0.40', photon_index2='1.30', ts='25.06', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.27e-04', EG='1.09', time_epoch_completed='1631230780.36', return_code='0', job_id='472761', GAL2='1.06', EG2='1.11', return_code2='0', energy_flux_error='4.39e-05', photon_flux_error2='3.19e-08', ts2='26.02', photon_index='1.71' WHERE bin_id='616' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:39:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 472761: <4FGL_J1427.0+2348_daily_bin616> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin616> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 16:31:29 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:31:31 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:31:31 2021
Terminated at Thu Sep  9 16:39:41 2021
Results reported at Thu Sep  9 16:39:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin616 216.756 23.8013 398995201 399254401 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 :                                   469.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   489 sec.
    Turnaround time :                            492 sec.

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

