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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1135
RA = 216.756, Dec = 23.8013
tmin = 533520001, tmax = 533779201
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='475905', job_status='RUN', time_executed='2021-09-09 16:44:41.209980', time_epoch_executed='1631231081.21' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1135'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475905

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475905/ft1_4FGL_J1427.0+2348_daily_bin1135.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475905/ft1_4FGL_J1427.0+2348_daily_bin1135.fits outfile=/scratch/kocevski/475905/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1135.fits ra=216.756 dec=23.8013 rad=12.0 tmin=533520001.0 tmax=533779201.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.50
user 3.29
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.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/475905/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1135.fits evtable="EVENTS" outfile="/scratch/kocevski/475905/ft1_filtered_4FGL_J1427.0+2348_daily_bin1135.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/475905/ft1_filtered_4FGL_J1427.0+2348_daily_bin1135.fits" evtable="EVENTS" scfile=/scratch/kocevski/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.fits sctable="SC_DATA" outfile=/scratch/kocevski/475905/ltcube_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.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/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.fits
.....................!
real 12.03
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475905/ft1_filtered_4FGL_J1427.0+2348_daily_bin1135.fits evtable="EVENTS" scfile=/scratch/kocevski/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.fits sctable="SC_DATA" expcube=/scratch/kocevski/475905/ltcube_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.fits outfile=/scratch/kocevski/475905/expmap_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.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/475905/ltcube_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.fits
.....................!
real 190.98
user 185.67
sys 4.97

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/475905/ft1_filtered_4FGL_J1427.0+2348_daily_bin1135.fits scfile=/scratch/kocevski/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.fits outfile=/scratch/kocevski/475905/cmap_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475905/ft1_filtered_4FGL_J1427.0+2348_daily_bin1135.fits scfile=/scratch/kocevski/475905/ft2_4FGL_J1427.0+2348_daily_bin1135.fits outfile=/scratch/kocevski/475905/cmap_HighResolution_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.560       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59239       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9580       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5793       1.0000         .10000E-03   10000.    
     8 'norm      '    10.351       1.0000         .10000E-03   10000.    
     9 'norm      '    7.5091       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.637       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.667       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.795       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2468       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84997       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=   6084.804     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1647 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4114        .44163E-06** at limit **
   2  Prefactor     .10000E-03    8.4471       -.10695E-05** at limit **
   3  Prefactor     14.564        18.395        .33941E-06    .52470E-04
   4  Prefactor     .10001E-03    1.5941        .38096E-06** at limit **
   5  Prefactor     .60253        7.1073       -.77552E-06   -.22165E-03
   6  norm          3.9580        2.3717       -.18913E-09   -.33019E-04
   7  Prefactor     7.5869        6.9386        .16891E-05   -.11666E-02
   8  norm          10.350        4.2447       -.96144E-07   -.25981E-04
   9  norm          7.5089        4.7746       -.16317E-06   -.26404E-03
  10  Prefactor     16.635        22.931       -.38601E-06   -.66650E-04
  11  Prefactor     .10000E-03    8.9260        .75012E-06** at limit **
  12  Prefactor     .10000E-03    9.5217       -.96577E-06** at limit **
  13  Prefactor     40.678        23.948        .27772E-05    .57405E-03
  14  Prefactor     .10000E-03    55.849        .12295E-05** at limit **
  15  Prefactor     .10000E-03    5.3469       -.34199E-06** at limit **
  16  norm          .10000E-03    18.325        .62964E-06** at limit **
  17  Prefactor     20.794        12.475        .14898E-06    .23507E-04
  18  Normalizat    1.2469        .18405       -.11327E-06   -.99282E-04
  19  Prefactor     .84991        .15520       -.66977E-06   -.57245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5642
  Prefactor  = 0.000100005
  Prefactor  = 0.602527
  norm       = 3.95796
  Prefactor  = 7.5869
  norm       = 10.3503
  norm       = 7.50888
  Prefactor  = 16.6347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.6784
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.7945
  Normalizat = 1.24689
  Prefactor  = 0.84991
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.804     FROM HESSE     STATUS=OK           270 CALLS     1917 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4822        .23692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.5883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.564        18.397        .10497E-03   -1.4945    
   4  Prefactor     .10001E-03    8.9808        .18817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60253        18.407        .36842E-02   -1.5553    
   6  norm          3.9580        2.3726        .90314E-04   -1.5310    
   7  Prefactor     7.5869        8.2318        .72834E-03   -1.5157    
   8  norm          10.350        4.2554        .97245E-04   -1.5064    
   9  norm          7.5089        4.7866        .13166E-03   -1.5160    
  10  Prefactor     16.635        22.991        .98195E-04   -1.4892    
  11  Prefactor     .10000E-03    8.9389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.6553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.678        25.550        .62857E-04   -1.4432    
  14  Prefactor     .10000E-03    56.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4039        .17619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    18.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.794        12.473        .87833E-04   -1.4796    
  18  Normalizat    1.2469        .21415        .24308E-03   -.85166    
  19  Prefactor     .84991        .18064        .24240E-03   -.97914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37257e-09
Minuit parameter uncertainties:
  1  2.16749e-05
  2  9.1651e-05
  3  18.4037
  4  0.000444012
  5  6.66231
  6  2.37264
  7  8.23302
  8  4.25548
  9  4.78687
  10  23.0032
  11  5.69646e-05
  12  0.00012407
  13  25.5564
  14  3.92215e-06
  15  2.25352e-05
  16  8.83477e-05
  17  12.4743
  18  0.214304
  19  0.180762
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  3.958e+00  2.373e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  8.499e-01  1.808e-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.247e+00  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.68
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 3.31e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 4.27e-05 +/- 2.56e-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) = 6084.51550738
delta logL = 0.288302295745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6084.50616281
delta logL = 0.297646867647

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7361       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2263       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85889       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=   6084.506     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      244 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7365        2.4266        .76690E-04    .11641E-02
   2  alpha         2.2275        .65916        .12744E-01    .81517E-04
   3  Normalizat    1.2173        .21729        .24538E-03    .21367E-03
   4  Prefactor     .85896        .17919        .24105E-03    .30753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.7365
  alpha      = 2.22747
  Normalizat = 1.21734
  Prefactor  = 0.858959
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.506     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7365        2.3349        .30676E-05   -1.5321    
   2  alpha         2.2275        .63359        .50976E-03   -.10923    
   3  Normalizat    1.2173        .21687        .49076E-04   -.86069    
   4  Prefactor     .85896        .17917        .48209E-04   -.97590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18288e-10
Minuit parameter uncertainties:
  1  2.33493
  2  0.640666
  3  0.217027
  4  0.179295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475905': 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) = 6084.50616014
delta logL = 0.297649536852

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  3.737e+00  2.335e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.227e+00  6.407e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  8.590e-01  1.793e-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.217e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.23
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.23 +/- 0.64
Photon Flux (Free Index): 6.40e-08 +/- 5.58e-08
Energy Flux (Free Index): 2.77e-05 +/- 1.65e-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/475905/cmap_HighResolution_533520001_533779201_4FGL_J1427.0+2348_daily_bin1135.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.31e-08', energy_flux2='2.77e-05', photon_flux_error='1.98e-08', dlogl='2.98e-01', energy_flux='4.27e-05', photon_flux2='6.40e-08', job_status='DONE', time_completed='2021-09-09 16:54:11.045590', photon_index_error2='0.64', photon_index2='2.23', ts='9.68', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='1.25', time_epoch_completed='1631231651.05', return_code='0', job_id='475905', GAL2='0.86', EG2='1.22', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='5.58e-08', ts2='10.23', photon_index='1.71' WHERE bin_id='1135' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:54:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 475905: <4FGL_J1427.0+2348_daily_bin1135> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1135 216.756 23.8013 533520001 533779201 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 :                                   493.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

