/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 6 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 = 7485
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1427.0+2348_daily_bin271
RA = 216.756, Dec = 23.8013
tmin = 309571201, tmax = 309830401
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='469994', job_status='RUN', time_executed='2021-09-09 16:21:45.568130', time_epoch_executed='1631229705.57' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='271'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469994/ft1_4FGL_J1427.0+2348_daily_bin271.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469994/ft2_4FGL_J1427.0+2348_daily_bin271.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469994/ft1_4FGL_J1427.0+2348_daily_bin271.fits outfile=/scratch/kocevski/469994/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin271.fits ra=216.756 dec=23.8013 rad=12.0 tmin=309571201.0 tmax=309830401.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.28
user 5.99
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469994/ft1_filtered_4FGL_J1427.0+2348_daily_bin271.fits" evtable="EVENTS" scfile=/scratch/kocevski/469994/ft2_4FGL_J1427.0+2348_daily_bin271.fits sctable="SC_DATA" outfile=/scratch/kocevski/469994/ltcube_309571201_309830401_4FGL_J1427.0+2348_daily_bin271.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/469994/ft2_4FGL_J1427.0+2348_daily_bin271.fits
.....................!
real 12.28
user 11.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469994/ft1_filtered_4FGL_J1427.0+2348_daily_bin271.fits evtable="EVENTS" scfile=/scratch/kocevski/469994/ft2_4FGL_J1427.0+2348_daily_bin271.fits sctable="SC_DATA" expcube=/scratch/kocevski/469994/ltcube_309571201_309830401_4FGL_J1427.0+2348_daily_bin271.fits outfile=/scratch/kocevski/469994/expmap_309571201_309830401_4FGL_J1427.0+2348_daily_bin271.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/469994/ltcube_309571201_309830401_4FGL_J1427.0+2348_daily_bin271.fits
.....................!
real 190.80
user 185.03
sys 5.20

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/469994/ft1_filtered_4FGL_J1427.0+2348_daily_bin271.fits scfile=/scratch/kocevski/469994/ft2_4FGL_J1427.0+2348_daily_bin271.fits outfile=/scratch/kocevski/469994/cmap_309571201_309830401_4FGL_J1427.0+2348_daily_bin271.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.35
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.019       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18777E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    64.940       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4601       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.754       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5096       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5826       1.0000         .10000E-03   10000.    
     9 'norm      '    3.1379       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.488       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1571       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .99587       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1843       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=   5845.154     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     1907 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.013        6.2629        .29609E-07   -.47189E-04
   2  Prefactor     .10022E-03    43.527        .22272E-04** at limit **
   3  Prefactor     64.938        38.846        .21002E-05    .94969E-04
   4  Prefactor     1.4566        4.0011        .87158E-06    .41165E-03
   5  Prefactor     .10000E-03    2.6732       -.15721E-07** at limit **
   6  norm          13.754        3.8785        .19623E-07   -.57525E-04
   7  Prefactor     6.5083        6.2624        .32489E-05    .21973E-02
   8  norm          3.5832        3.1011       -.94552E-07    .66735E-04
   9  norm          3.1380        3.4484        .35894E-07   -.13091E-04
  10  Prefactor     22.358        46.507        .35093E-05    .30088E-04
  11  Prefactor     .10000E-03    23.785       -.78737E-06** at limit **
  12  Prefactor     17.266        21.731        .21572E-05    .96606E-04
  13  Prefactor     .10000E-03    9.5880       -.17101E-06** at limit **
  14  Prefactor     .10000E-03    15.429        .12094E-06** at limit **
  15  Prefactor     .10000E-03    12.304       -.38782E-07** at limit **
  16  norm          .10000E-03    45.437        .93337E-05** at limit **
  17  Prefactor     5.1609        10.754        .64523E-06    .61850E-04
  18  Normalizat    .99681        .21673       -.92824E-06   -.18454E-04
  19  Prefactor     1.1836        .17607       -.50163E-06   -.11526E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.0133
  Prefactor  = 0.000100219
  Prefactor  = 64.9384
  Prefactor  = 1.4566
  Prefactor  = 0.0001
  norm       = 13.754
  Prefactor  = 6.50831
  norm       = 3.58319
  norm       = 3.13795
  Prefactor  = 22.3581
  Prefactor  = 0.0001
  Prefactor  = 17.2658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 5.16094
  Normalizat = 0.996808
  Prefactor  = 1.18355
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.154     FROM HESSE     STATUS=OK           272 CALLS     2179 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.013        6.3078        .97085E-04   -1.4883    
   2  Prefactor     .10022E-03    58.138        .37742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     64.938        38.843        .49800E-04   -1.4095    
   4  Prefactor     1.4566        4.0494        .24071E-03   -1.5467    
   5  Prefactor     .10000E-03    2.6779        .12209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.754        3.8790        .77701E-04   -1.4966    
   7  Prefactor     6.5083        7.7834        .78649E-03   -1.5198    
   8  norm          3.5832        3.1003        .11993E-03   -1.5329    
   9  norm          3.1380        3.4473        .14453E-03   -1.5354    
  10  Prefactor     22.358        47.009        .84467E-04   -1.4762    
  11  Prefactor     .10000E-03    23.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.266        21.740        .96382E-04   -1.4877    
  13  Prefactor     .10000E-03    9.5938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    45.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.1609        10.772        .17703E-03   -1.5254    
  18  Normalizat    .99681        .25554        .28728E-03   -.93137    
  19  Prefactor     1.1836        .20802        .22928E-03   -.86839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44024e-09
Minuit parameter uncertainties:
  1  6.30809
  2  0.00714463
  3  38.858
  4  4.05014
  5  1.15657e-05
  6  3.87904
  7  7.78465
  8  3.10041
  9  3.44748
  10  47.0874
  11  0.00016236
  12  21.7496
  13  4.92516e-05
  14  2.72523e-05
  15  3.07762e-05
  16  0.000673128
  17  10.7759
  18  0.255855
  19  0.20816
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.375e+01  3.879e+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.184e+00  2.082e-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.968e-01  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 73.36
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 3.24e-08
Energy Flux (Fixed Index): 1.48e-04 +/- 4.19e-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) = 5840.67883972
delta logL = 4.4751930105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5840.46828944
delta logL = 4.68574329516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.848       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0980       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1870       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=   5840.468     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.847        3.5174        .30411E-02   -.10438E-03
   2  alpha         1.0979        .16847        .12596       -.33999E-04
   3  Normalizat    1.0202        .19641        .64325E-01    .13611E-04
   4  Prefactor     1.1870        .17009        .51849E-01    .36085E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8468
  alpha      = 1.0979
  Normalizat = 1.02024
  Prefactor  = 1.18698
 **********
 **   18 **HESSE 
 **********

 FCN=   5840.468     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .29E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.847        4.0858        .72376E-04   -1.5049    
   2  alpha         1.0979        .19742        .55240E-03   -.59540    
   3  Normalizat    1.0202        .23257        .28451E-03   -.92356    
   4  Prefactor     1.1870        .20170        .22923E-03   -.86733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89561e-14
Minuit parameter uncertainties:
  1  4.0859
  2  0.197722
  3  0.232807
  4  0.201829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469994': 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) = 5840.46828938
delta logL = 4.685743359

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.085e+01  4.086e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.098e+00  1.977e-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.187e+00  2.018e-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.020e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 82.66
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.10 +/- 0.20
Photon Flux (Free Index): 6.77e-08 +/- 2.33e-08
Energy Flux (Free Index): 4.87e-04 +/- 2.24e-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/469994/cmap_HighResolution_309571201_309830401_4FGL_J1427.0+2348_daily_bin271.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='4.87e-04', photon_flux_error='3.24e-08', dlogl='4.69e+00', energy_flux='1.48e-04', photon_flux2='6.77e-08', job_status='DONE', time_completed='2021-09-09 16:30:31.307580', photon_index_error2='0.20', photon_index2='1.10', ts='73.36', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='2.24e-04', EG='1.00', time_epoch_completed='1631230231.31', return_code='0', job_id='469994', GAL2='1.19', EG2='1.02', return_code2='0', energy_flux_error='4.19e-05', photon_flux_error2='2.33e-08', ts2='82.66', photon_index='1.71' WHERE bin_id='271' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:30:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 469994: <4FGL_J1427.0+2348_daily_bin271> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin271 216.756 23.8013 309571201 309830401 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 :                                   514.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   542 sec.
    Turnaround time :                            544 sec.

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

