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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1714
RA = 228.07, Dec = 2.0403
tmin = 683596801, tmax = 683856001
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='158189', job_status='RUN', time_executed='2022-09-16 18:58:35.826736', time_epoch_executed='1663379915.83' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158189

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158189/ft1_4FGL_J1512.2+0202_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158189/ft1_4FGL_J1512.2+0202_daily_bin1714.fits outfile=/scratch/kocevski/158189/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1714.fits ra=228.07 dec=2.0403 rad=12.0 tmin=683596801.0 tmax=683856001.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.49
user 3.25
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.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/158189/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.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.34
sys 0.15

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/158189/ltcube_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.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/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits
.....................!
real 13.68
user 13.26
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/158189/ltcube_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.fits outfile=/scratch/kocevski/158189/expmap_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.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/158189/ltcube_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.fits
.....................!
real 190.63
user 186.17
sys 4.13

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1512.2+0202 @ 228.07 2.0403

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits scfile=/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits outfile=/scratch/kocevski/158189/cmap_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.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=228.07 yref=2.0403 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits scfile=/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits outfile=/scratch/kocevski/158189/cmap_HighResolution_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.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=228.07 yref=2.0403 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158189/Model_4FGL_J1512.2+0202_daily_bin1714.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/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits.....................!
real 64.56
user 63.20
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits', '/scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits', expMap='/scratch/kocevski/158189/expmap_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.fits', expCube='/scratch/kocevski/158189/ltcube_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158189/Model_4FGL_J1512.2+0202_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.2+0202'

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  2.359e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  1.575e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158189/ft1_filtered_4FGL_J1512.2+0202_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/158189/ft2_4FGL_J1512.2+0202_daily_bin1714.fits
Exposure map: /scratch/kocevski/158189/expmap_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.fits
Exposure cube: /scratch/kocevski/158189/ltcube_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158189/Model_4FGL_J1512.2+0202_daily_bin1714.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) = 7880.2689453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14305       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.752       1.0000          .0000       .10000E+07
     3 'norm      '    .95234E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    28.305       1.0000          .0000       .10000E+07
     5 'norm      '    .22837       1.0000          .0000       .10000E+07
     6 'norm      '    4.5165       1.0000          .0000       .10000E+07
     7 'norm      '    .18991E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .10373E-05   1.0000          .0000       .10000E+07
     9 'norm      '    11.412       1.0000          .0000       .10000E+07
    10 'norm      '    .16937       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0297       1.0000          .0000       .10000E+07
    12 'Prefactor '    18.659       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.473       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56877       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14984E-04   1.0000          .0000       .10000E+07
    16 'norm      '    3.1884       1.0000          .0000       .10000E+07
    17 'Normalizat'    .68854       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7880.248     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1341 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        28.786        .84992E-06** at limit **
   2  Prefactor     26.581        32.857       -.24294E-07   -.12854E-03
   3  norm           .0000        10.738       -.17175E-05** at limit **
   4  Prefactor     28.724        25.622        .65363E-06   -.23476E-04
   5  norm          .22813        .18626       -.47473E-07** at limit **
   6  norm          4.5077        2.9596       -.27440E-07    .22187E-03
   7  norm           .0000        3.4874        .31546E-06** at limit **
   8  norm           .0000        3.7728        .72067E-06** at limit **
   9  norm          11.484        5.4491       -.18535E-06    .24637E-03
  10  norm          .16919        .86833E-01    .37210E-07** at limit **
  11  Prefactor     4.1024        6.8791       -.80637E-06    .42909E-03
  12  Prefactor     18.559        6.5317        .10419E-06    .26578E-03
  13  Prefactor     12.478        17.786       -.13663E-05    .29203E-04
  14  Prefactor     .88818E-09    309.00       -.69116E-05** at limit **
  15  Prefactor      .0000        10.523        .18420E-06** at limit **
  16  norm          3.2059        2.8438       -.99468E-07    .88565E-03
  17  Normalizat    .68671        .27342        .13583E-04   -.42654E-05
  18  Prefactor     1.2376        .12480       -.55537E-05   -.53096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 26.5813
  norm       = 0
  Prefactor  = 28.7243
  norm       = 0.228126
  norm       = 4.50766
  norm       = 0
  norm       = 0
  norm       = 11.4844
  norm       = 0.169193
  Prefactor  = 4.10241
  Prefactor  = 18.559
  Prefactor  = 12.4781
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  norm       = 3.2059
  Normalizat = 0.686708
  Prefactor  = 1.2376
 **********
 **   18 **HESSE 
 **********

 FCN=   7880.248     FROM HESSE     STATUS=OK           286 CALLS     1627 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        28.770        .12893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.581        32.825        .19710E-03   -1.5605    
   3  norm           .0000        10.726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.724        25.655        .18799E-03   -1.5601    
   5  norm          .22813        .19721        .73254E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.5077        2.9760        .47349E-03   -1.5666    
   7  norm           .0000        3.4861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.7438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.484        5.4532        .29631E-03   -1.5640    
  10  norm          .16919        .86722E-01    .39261E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1024        6.8657        .50210E-03   -1.5667    
  12  Prefactor     18.559        6.5362        .23159E-03   -1.5622    
  13  Prefactor     12.478        17.797        .28338E-03   -1.5637    
  14  Prefactor     .88818E-09    306.58        .72073E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        10.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.2059        2.8399        .56723E-03   -1.5672    
  17  Normalizat    .68671        .25755        .10501       -1.0442    
  18  Prefactor     1.2376        .11539        .33809E-01   -.85182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05381e-10
Minuit parameter uncertainties:
  1  3.23275e-05
  2  32.8249
  3  3.02499e-05
  4  25.6548
  5  0.197209
  6  2.97602
  7  4.12115e-07
  8  6.76506e-07
  9  5.45316
  10  0.0867222
  11  6.8657
  12  6.53619
  13  17.797
  14  0.00104332
  15  2.97051e-05
  16  2.83994
  17  0.258001
  18  0.115417
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.148e+01  5.453e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  1.575e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.238e+00  1.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  6.867e-01  2.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.78
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.94e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 4.96e-05 +/- 2.36e-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) = 7880.02346644
delta logL = 0.224169014558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7880.0185952
delta logL = 0.229040259765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.041       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6273       1.0000          .0000       5.0000    
     3 'Normalizat'    .70376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7880.019     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.035        7.3156        .30127E-03    .23548E-03
   2  alpha         1.6263        .52456        .39735       -.17658E-04
   3  Normalizat    .70406        .23815        .10389        .42063E-04
   4  Prefactor     1.2362        .11384        .33824E-01   -.11500E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0347
  alpha      = 1.62634
  Normalizat = 0.704056
  Prefactor  = 1.23624
 **********
 **   18 **HESSE 
 **********

 FCN=   7880.019     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.035        5.9786        .12051E-04   -1.5642    
   2  alpha         1.6263        .51173        .14526E-01   -.35700    
   3  Normalizat    .70406        .25256        .46054E-03   -1.0373    
   4  Prefactor     1.2362        .12237        .17157E-03   -.85223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5864e-13
Minuit parameter uncertainties:
  1  5.97858
  2  0.515894
  3  0.252976
  4  0.122396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158189': 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) = 7880.01859267
delta logL = 0.229042784017

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.103e+01  5.979e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        alpha:  1.626e+00  5.159e-01  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  1.575e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.236e+00  1.224e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.041e-01  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.25
Ra Dec: 228.070 2.040
Photon Index (Free Index): 1.63 +/- 0.52
Photon Flux (Free Index): 5.47e-08 +/- 4.30e-08
Energy Flux (Free Index): 6.20e-05 +/- 3.99e-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/158189/cmap_HighResolution_683596801_683856001_4FGL_J1512.2+0202_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.94e-08', energy_flux2='6.20e-05', photon_flux_error='3.77e-08', dlogl='2.29e-01', energy_flux='4.96e-05', photon_flux2='5.47e-08', job_status='DONE', time_completed='2022-09-16 19:07:07.117316', photon_index_error2='0.52', photon_index2='1.63', ts='19.78', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='3.99e-05', EG='0.69', time_epoch_completed='1663380427.12', return_code='0', job_id='158189', GAL2='1.24', EG2='0.70', return_code2='0', energy_flux_error='2.36e-05', photon_flux_error2='4.30e-08', ts2='20.25', photon_index='1.97' WHERE bin_id='1714' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:07:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 158189: <4FGL_J1512.2+0202_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:55:28 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:56:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:56:50 2022
Terminated at Fri Sep 16 19:07:08 2022
Results reported at Fri Sep 16 19:07:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1714 228.07 2.0403 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1512.2+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            700 sec.

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

