aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 = 17185
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1427.0+2348_weekly_bin76
RA = 216.756, Dec = 23.8013
tmin = 284947201, tmax = 285552001
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='364302', job_status='RUN', time_executed='2021-07-21 18:28:25.039573', time_epoch_executed='1626917305.04' WHERE source_name='4FGL J1427.0+2348' and cadence='weekly' and bin_id='76'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364302

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364302/ft1_4FGL_J1427.0+2348_weekly_bin76.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364302/ft2_4FGL_J1427.0+2348_weekly_bin76.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364302/ft1_4FGL_J1427.0+2348_weekly_bin76.fits outfile=/scratch/kocevski/364302/ft1_filteredMKT_4FGL_J1427.0+2348_weekly_bin76.fits ra=216.756 dec=23.8013 rad=12.0 tmin=284947201.0 tmax=285552001.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 7.53
user 7.17
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/364302/ft1_filtered_4FGL_J1427.0+2348_weekly_bin76.fits" evtable="EVENTS" scfile=/scratch/kocevski/364302/ft2_4FGL_J1427.0+2348_weekly_bin76.fits sctable="SC_DATA" outfile=/scratch/kocevski/364302/ltcube_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.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/364302/ft2_4FGL_J1427.0+2348_weekly_bin76.fits
.....................!
real 29.87
user 29.28
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364302/ft1_filtered_4FGL_J1427.0+2348_weekly_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/364302/ft2_4FGL_J1427.0+2348_weekly_bin76.fits sctable="SC_DATA" expcube=/scratch/kocevski/364302/ltcube_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.fits outfile=/scratch/kocevski/364302/expmap_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.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/364302/ltcube_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.fits
.....................!
real 191.23
user 185.96
sys 4.68

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/364302/ft1_filtered_4FGL_J1427.0+2348_weekly_bin76.fits scfile=/scratch/kocevski/364302/ft2_4FGL_J1427.0+2348_weekly_bin76.fits outfile=/scratch/kocevski/364302/cmap_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364302/ft1_filtered_4FGL_J1427.0+2348_weekly_bin76.fits scfile=/scratch/kocevski/364302/ft2_4FGL_J1427.0+2348_weekly_bin76.fits outfile=/scratch/kocevski/364302/cmap_HighResolution_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.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.59
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.077       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3282       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5333       1.0000         .10000E-03   10000.    
     6 'norm      '    6.9650       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .46291       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .92018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10806E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88848       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11723E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.569       1.0000         .10000E-03   10000.    
    16 'norm      '    13.113       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0171       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99928       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=   13131.38     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     1720 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .83197        .42654E-07** at limit **
   2  Prefactor     14.076        8.6215        .15320E-06   -.80974E-05
   3  Prefactor     3.3199        12.339        .13276E-05   -.56689E-05
   4  Prefactor     .10000E-03    .82026        .30635E-07** at limit **
   5  Prefactor     4.5335        2.8104        .14028E-06   -.12824E-02
   6  norm          6.9649        1.8165        .42985E-08    .10041E-04
   7  Prefactor     .46379        3.1882       -.18192E-06   -.43178E-03
   8  norm          .10000E-03    .52312       -.48550E-08** at limit **
   9  norm          .92101        1.7439        .95269E-07   -.53940E-04
  10  Prefactor     .10000E-03    9.0640       -.35748E-07** at limit **
  11  Prefactor     11.168        14.139        .33016E-05    .10897E-03
  12  Prefactor     .10000E-03    12.616        .95302E-08** at limit **
  13  Prefactor     .79435        10.418       -.78101E-06   -.12397E-03
  14  Prefactor     .10000E-03    23.886       -.12561E-05** at limit **
  15  Prefactor     16.569        6.1764       -.68192E-06   -.31081E-04
  16  norm          13.113        19.045        .27076E-07   -.83478E-05
  17  Prefactor     .10000E-03    2.6368        .12889E-07** at limit **
  18  Normalizat    1.0171        .11932       -.20424E-06    .55493E-04
  19  Prefactor     .99931        .10240       -.83181E-07    .79951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.076
  Prefactor  = 3.31987
  Prefactor  = 0.0001
  Prefactor  = 4.53353
  norm       = 6.96487
  Prefactor  = 0.463789
  norm       = 0.0001
  norm       = 0.921008
  Prefactor  = 0.0001
  Prefactor  = 11.1681
  Prefactor  = 0.0001
  Prefactor  = 0.794353
  Prefactor  = 0.0001
  Prefactor  = 16.5691
  norm       = 13.1129
  Prefactor  = 0.0001
  Normalizat = 1.01706
  Prefactor  = 0.999305
 **********
 **   18 **HESSE 
 **********

 FCN=   13131.38     FROM HESSE     STATUS=OK           290 CALLS     2010 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.2190        .38695E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.076        8.6270        .10676E-03   -1.4957    
   3  Prefactor     3.3199        12.335        .22187E-03   -1.5344    
   4  Prefactor     .10000E-03    1.8761        .20057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5335        4.6287        .94541E-03   -1.5282    
   6  norm          6.9649        1.8169        .76651E-04   -1.5180    
   7  Prefactor     .46379        3.6687        .40828E-02   -1.5572    
   8  norm          .10000E-03    .53190        .80899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .92101        1.4866        .20364E-02   -1.5516    
  10  Prefactor     .10000E-03    9.0949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.168        14.732        .11991E-03   -1.5039    
  12  Prefactor     .10000E-03    12.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .79435        101.05        .67529E-02   -1.5530    
  14  Prefactor     .10000E-03    23.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.569        6.1564        .98394E-04   -1.4894    
  16  norm          13.113        19.055        .55307E-03   -1.4984    
  17  Prefactor     .10000E-03    2.6565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0171        .13825        .24826E-03   -.92461    
  19  Prefactor     .99931        .12054        .21613E-03   -.92753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35815e-07
Minuit parameter uncertainties:
  1  2.34993e-05
  2  8.62771
  3  12.3444
  4  2.93379e-06
  5  4.62907
  6  1.81687
  7  2.60878
  8  7.43448e-07
  9  1.48666
  10  2.97275e-06
  11  14.7367
  12  1.67816e-05
  13  17.9487
  14  1.041e-05
  15  6.15663
  16  19.0639
  17  1.85157e-06
  18  0.138299
  19  0.120574
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.993e-01  1.206e-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.017e+00  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 111.35
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 5.82e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 7.52e-05 +/- 1.96e-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) = 13126.3004681
delta logL = 5.07579411542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13126.2850689
delta logL = 5.09119334134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9041       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0949       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0311       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0029       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=   13126.29     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      199 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9041        1.5043        .45407E-02    .22196E-02
   2  alpha         1.0949        .15348        .17349       -.73597E-04
   3  Normalizat    1.0311        .11669        .42058E-01    .45425E-04
   4  Prefactor     1.0029        .10141        .44707E-01   -.37734E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.90409
  alpha      = 1.09487
  Normalizat = 1.03108
  Prefactor  = 1.00288
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9041        1.8448        .68986E-04   -1.5265    
   2  alpha         1.0949        .19121        .75487E-03   -.59686    
   3  Normalizat    1.0311        .13570        .24681E-03   -.91996    
   4  Prefactor     1.0029        .11802        .21596E-03   -.92634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55616e-10
Minuit parameter uncertainties:
  1  1.84486
  2  0.191488
  3  0.13575
  4  0.118054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364302': 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) = 13126.2850689
delta logL = 5.09119335938

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  4.904e+00  1.845e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.095e+00  1.915e-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.003e+00  1.181e-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.031e+00  1.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 121.52
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.09 +/- 0.19
Photon Flux (Free Index): 3.06e-08 +/- 1.04e-08
Energy Flux (Free Index): 2.22e-04 +/- 9.38e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/364302/cmap_HighResolution_284947201_285552001_4FGL_J1427.0+2348_weekly_bin76.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.82e-08', energy_flux2='2.22e-04', photon_flux_error='1.52e-08', dlogl='5.09e+00', energy_flux='7.52e-05', photon_flux2='3.06e-08', job_status='DONE', time_completed='2021-07-21 18:41:10.964352', photon_index_error2='0.19', photon_index2='1.09', ts='111.35', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='9.38e-05', EG='1.02', time_epoch_completed='1626918070.96', return_code='0', job_id='364302', GAL2='1.00', EG2='1.03', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='1.04e-08', ts2='121.52', photon_index='1.71' WHERE bin_id='76' AND source_name='4FGL J1427.0+2348' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 18:41:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 364302: <4FGL_J1427.0+2348_weekly_bin76> in cluster <slac> Done

Job <4FGL_J1427.0+2348_weekly_bin76> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jul 21 18:26:17 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 18:28:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 18:28:13 2021
Terminated at Wed Jul 21 18:41:12 2021
Results reported at Wed Jul 21 18:41:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_weekly_bin76 216.756 23.8013 284947201 285552001 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 :                                   759.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             330.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            895 sec.

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

