aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 12 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17370
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1427.0+2348_weekly_bin761
RA = 216.756, Dec = 23.8013
tmin = 699235201, tmax = 699840001
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='489590', job_status='RUN', time_executed='2023-03-07 01:15:49.461374', time_epoch_executed='1678180549.46' WHERE source_name='4FGL J1427.0+2348' and cadence='weekly' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/489590

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/489590/ft1_4FGL_J1427.0+2348_weekly_bin761.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/489590/ft1_4FGL_J1427.0+2348_weekly_bin761.fits outfile=/scratch/kocevski/489590/ft1_filteredMKT_4FGL_J1427.0+2348_weekly_bin761.fits ra=216.756 dec=23.8013 rad=12.0 tmin=699235201.0 tmax=699840001.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 8.69
user 8.35
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.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/489590/ft1_filteredMKT_4FGL_J1427.0+2348_weekly_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.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.56
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1363

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/489590/ltcube_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.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/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits
.....................!
real 29.27
user 28.67
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/489590/ltcube_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.fits outfile=/scratch/kocevski/489590/expmap_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.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/489590/ltcube_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.fits
.....................!
real 191.38
user 185.81
sys 5.10

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/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.fits scfile=/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits outfile=/scratch/kocevski/489590/cmap_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.fits scfile=/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits outfile=/scratch/kocevski/489590/cmap_HighResolution_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.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.61
user 0.43
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.fits', '/scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits', expMap='/scratch/kocevski/489590/expmap_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.fits', expCube='/scratch/kocevski/489590/ltcube_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/489590/Model_4FGL_J1427.0+2348_weekly_bin761.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  0.000e+00  1.000e+06 ( 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 -5.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/489590/ft1_filtered_4FGL_J1427.0+2348_weekly_bin761.fits
Spacecraft file(s): /scratch/kocevski/489590/ft2_4FGL_J1427.0+2348_weekly_bin761.fits
Exposure map: /scratch/kocevski/489590/expmap_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.fits
Exposure cube: /scratch/kocevski/489590/ltcube_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/489590/Model_4FGL_J1427.0+2348_weekly_bin761.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) = 15089.5083728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4090       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.783       1.0000          .0000       .10000E+07
     3 'Prefactor '    62.312       1.0000          .0000       .10000E+07
     4 'Prefactor '    19.450       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5563       1.0000          .0000       .10000E+07
     6 'norm      '    2.9922       1.0000          .0000       .10000E+07
     7 'norm      '    .40579E-07   1.0000          .0000       .10000E+07
     8 'norm      '    3.4731       1.0000          .0000       .10000E+07
     9 'Prefactor '    183.29       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.662       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10086E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.4720       1.0000          .0000       .10000E+07
    13 'norm      '    .10365E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0714       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .86444       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15089.51     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     1095 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4087        2.3145        .12835E-06   -.10798E-02
   2  Prefactor     14.717        8.8143        .13189E-07    .45061E-02
   3  Prefactor     62.287        2.1837       -.11413E-07    .13177    
   4  Prefactor     19.450        3.6370       -.49209E-07    .30611E-02
   5  Prefactor     3.5966        3.8878        .21752E-07   -.46506E-03
   6  norm          2.9920        1.3960       -.86888E-07    .54596E-02
   7  norm           .0000        .87455       -.30049E-06** at limit **
   8  norm          3.4732        2.5143       -.10445E-06    .24304E-02
   9  Prefactor     183.30        1.5048       -.46023E-08    .17315    
  10  Prefactor     14.616        12.239       -.19381E-06   -.13162E-01
  11  Prefactor     .17208E-08    16.582        .58071E-06** at limit **
  12  Prefactor     8.4489        5.6802       -.15521E-06    .22230E-02
  13  norm          .22204E-09    6.4811       -.32343E-06** at limit **
  14  Normalizat    1.0715        .14914        .83421E-06    .12343E-03
  15  Prefactor     .86444        .11809       -.17418E-05    .17225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.40869
  Prefactor  = 14.7175
  Prefactor  = 62.2868
  Prefactor  = 19.4504
  Prefactor  = 3.59656
  norm       = 2.99195
  norm       = 0
  norm       = 3.47316
  Prefactor  = 183.3
  Prefactor  = 14.6162
  Prefactor  = 1.72085e-09
  Prefactor  = 8.44887
  norm       = 2.22045e-10
  Normalizat = 1.07145
  Prefactor  = 0.864442
 **********
 **   18 **HESSE 
 **********

 FCN=   15089.51     FROM HESSE     STATUS=OK           216 CALLS     1311 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4087        2.3405        .91256E-03   -1.5684    
   2  Prefactor     14.717        8.8166        .26024E-03   -1.5631    
   3  Prefactor     62.287        22.729        .12669E-03   -1.5550    
   4  Prefactor     19.450        3.6264        .22682E-03   -1.5620    
   5  Prefactor     3.5966        3.9303        .53570E-03   -1.5670    
   6  norm          2.9920        1.3959        .58660E-03   -1.5673    
   7  norm           .0000        .86559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4732        2.5179        .54236E-03   -1.5671    
   9  Prefactor     183.30        34.317        .73870E-04   -1.5437    
  10  Prefactor     14.616        12.265        .26131E-03   -1.5632    
  11  Prefactor     .17208E-08    16.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.4489        5.6857        .34417E-03   -1.5650    
  13  norm          .22204E-09    6.5080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0715        .12766        .60650E-01   -.90674    
  15  Prefactor     .86444        .99468E-01    .44550E-01   -.97395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35872e-07
Minuit parameter uncertainties:
  1  2.3405
  2  8.81662
  3  22.729
  4  3.62643
  5  3.93026
  6  1.39587
  7  9.27904e-06
  8  2.51795
  9  34.3166
  10  12.2654
  11  0.000340176
  12  5.68567
  13  7.91763e-05
  14  0.127693
  15  0.0994887
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  2.992e+00  1.396e+00  0.000e+00  1.000e+06 ( 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 -5.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.644e-01  9.949e-02  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.071e+00  1.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.14
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 3.23e-05 +/- 1.51e-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) = 15089.4664399
delta logL = 0.0417712069157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15089.4640384
delta logL = 0.0441727547477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9062       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6031       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0731       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86482       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=   15089.46     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9060        2.5453        .59576E-03    .17529E-03
   2  alpha         1.6029        .50758        .38103       -.29108E-04
   3  Normalizat    1.0731        .12264        .60609E-01    .11699E-03
   4  Prefactor     .86484        .98048E-01    .44555E-01    .83018E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.90603
  alpha      = 1.60295
  Normalizat = 1.07307
  Prefactor  = 0.864841
 **********
 **   18 **HESSE 
 **********

 FCN=   15089.46     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9060        1.4262        .96301E-05   -1.5674    
   2  alpha         1.6029        .34004        .14090E-01   -.36701    
   3  Normalizat    1.0731        .14370        .26806E-03   -.90621    
   4  Prefactor     .86484        .11563        .23587E-03   -.97381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3247e-10
Minuit parameter uncertainties:
  1  1.4262
  2  0.341259
  3  0.143752
  4  0.115662
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/489590': 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) = 15089.4640382
delta logL = 0.0441729051781

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  2.906e+00  1.426e+00  0.000e+00  1.000e+06 ( 1.000e-12)
267        alpha:  1.603e+00  3.413e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  5.813e-02  0.000e+00 -5.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.648e-01  1.157e-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.073e+00  1.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.21
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.60 +/- 0.34
Photon Flux (Free Index): 2.19e-08 +/- 1.42e-08
Energy Flux (Free Index): 3.74e-05 +/- 2.59e-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/489590/cmap_HighResolution_699235201_699840001_4FGL_J1427.0+2348_weekly_bin761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='3.74e-05', photon_flux_error='1.17e-08', dlogl='4.42e-02', energy_flux='3.23e-05', photon_flux2='2.19e-08', job_status='DONE', time_completed='2023-03-07 01:27:26.177042', photon_index_error2='0.34', photon_index2='1.60', ts='13.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.07', time_epoch_completed='1678181246.18', return_code='0', job_id='489590', GAL2='0.86', EG2='1.07', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='1.42e-08', ts2='13.21', photon_index='1.71' WHERE bin_id='761' AND source_name='4FGL J1427.0+2348' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar  7 01:27:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 489590: <4FGL_J1427.0+2348_weekly_bin761> in cluster <slac> Done

Job <4FGL_J1427.0+2348_weekly_bin761> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Mar  7 01:15:27 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar  7 01:15:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar  7 01:15:28 2023
Terminated at Tue Mar  7 01:27:27 2023
Results reported at Tue Mar  7 01:27:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_weekly_bin761 216.756 23.8013 699235201 699840001 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 :                                   697.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

