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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin1738
RA = 21.7036, Dec = 24.21
tmin = 689817601, tmax = 690076801
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='398162', job_status='RUN', time_executed='2022-11-14 00:07:29.505018', time_epoch_executed='1668413249.51' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='1738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/398162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/398162/ft1_4FGL_J0126.8+2412_daily_bin1738.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/398162/ft1_4FGL_J0126.8+2412_daily_bin1738.fits outfile=/scratch/kocevski/398162/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1738.fits ra=21.7036 dec=24.21 rad=12.0 tmin=689817601.0 tmax=690076801.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 5.21
user 3.85
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.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/398162/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1738.fits evtable="EVENTS" outfile="/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 708

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits" evtable="EVENTS" scfile=/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits sctable="SC_DATA" outfile=/scratch/kocevski/398162/ltcube_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.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/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits
.....................!
real 16.68
user 15.68
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits sctable="SC_DATA" expcube=/scratch/kocevski/398162/ltcube_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.fits outfile=/scratch/kocevski/398162/expmap_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.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/398162/ltcube_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.fits
.....................!
real 192.59
user 186.42
sys 5.03

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

Setting source of interest to:
4FGL J0126.8+2412 @ 21.7036 24.21

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits scfile=/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits outfile=/scratch/kocevski/398162/cmap_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.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=21.7036 yref=24.21 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits scfile=/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits outfile=/scratch/kocevski/398162/cmap_HighResolution_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.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=21.7036 yref=24.21 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.69
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/398162/Model_4FGL_J0126.8+2412_daily_bin1738.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/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits.....................!
real 82.88
user 79.86
sys 1.65

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits', '/scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits', expMap='/scratch/kocevski/398162/expmap_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.fits', expCube='/scratch/kocevski/398162/ltcube_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/398162/Model_4FGL_J0126.8+2412_daily_bin1738.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.8+2412'

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  2.716e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
258        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/398162/ft1_filtered_4FGL_J0126.8+2412_daily_bin1738.fits
Spacecraft file(s): /scratch/kocevski/398162/ft2_4FGL_J0126.8+2412_daily_bin1738.fits
Exposure map: /scratch/kocevski/398162/expmap_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.fits
Exposure cube: /scratch/kocevski/398162/ltcube_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/398162/Model_4FGL_J0126.8+2412_daily_bin1738.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) = 7881.35078758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44986E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    19.132       1.0000          .0000       .10000E+07
     3 'Prefactor '    26.020       1.0000          .0000       .10000E+07
     4 'norm      '    2.8188       1.0000          .0000       .10000E+07
     5 'norm      '    12.223       1.0000          .0000       .10000E+07
     6 'Prefactor '    .89101       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4352       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33666E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.7979       1.0000          .0000       .10000E+07
    10 'Prefactor '    53.893       1.0000          .0000       .10000E+07
    11 'norm      '    1.1010       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.976       1.0000          .0000       .10000E+07
    13 'Prefactor '    48.637       1.0000          .0000       .10000E+07
    14 'norm      '    .25174E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14798E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1112       1.0000          .0000       .10000E+07
    17 'Normalizat'    .59398       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7881.345     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1869 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    4.1032       -.95197E-08** at limit **
   2  Prefactor     19.346        14.530       -.19979E-05    .63616E-01
   3  Prefactor     26.008        11.053        .23195E-05    .10105    
   4  norm          2.8186        .84928        .42737E-07    .17508E-01
   5  norm          12.228        2.4843       -.11648E-06    .10371E-01
   6  Prefactor     1.3599        43.157       -.53447E-05   -.27625E-02
   7  Prefactor     3.6135        28.211        .46151E-05   -.83906E-02
   8  Prefactor      .0000        2.7682       -.68718E-06** at limit **
   9  Prefactor     2.8395        15.259       -.61354E-05   -.15629E-02
  10  Prefactor     54.363        49.212        .71214E-05   -.24670E-01
  11  norm          1.1020        .70821       -.86713E-07   -.39659E-01
  12  Prefactor     15.975        13.494       -.32564E-05   -.60018E-02
  13  Prefactor     48.693        8.1854        .58848E-06    .87344E-01
  14  norm          .11102E-09    1.5906        .26705E-06** at limit **
  15  Prefactor     .10547E-08    3.4916       -.63778E-06** at limit **
  16  Prefactor     1.0991        6.1607       -.33464E-06    .68953E-03
  17  Normalizat    .59238        .25467        .36525E-04    .21640E-03
  18  Prefactor     1.3197        .16053       -.79468E-05    .35123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  Prefactor  = 19.3462
  Prefactor  = 26.0079
  norm       = 2.81857
  norm       = 12.2283
  Prefactor  = 1.35994
  Prefactor  = 3.61354
  Prefactor  = 0
  Prefactor  = 2.83953
  Prefactor  = 54.3632
  norm       = 1.10204
  Prefactor  = 15.975
  Prefactor  = 48.6932
  norm       = 1.11022e-10
  Prefactor  = 1.05471e-09
  Prefactor  = 1.09912
  Normalizat = 0.592378
  Prefactor  = 1.31966
 **********
 **   18 **HESSE 
 **********

 FCN=   7881.345     FROM HESSE     STATUS=OK           288 CALLS     2157 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    4.0930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.346        18.065        .22870E-03   -1.5620    
   3  Prefactor     26.008        16.236        .19608E-03   -1.5606    
   4  norm          2.8186        .85000        .60555E-03   -1.5674    
   5  norm          12.228        2.4952        .28627E-03   -1.5638    
   6  Prefactor     1.3599        43.767        .46383E-03   -1.5685    
   7  Prefactor     3.6135        31.328        .54548E-03   -1.5670    
   8  Prefactor      .0000        2.7566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8395        15.588        .60797E-03   -1.5674    
  10  Prefactor     54.363        50.831        .13623E-03   -1.5560    
  11  norm          1.1020        .70946        .11317E-02   -1.5687    
  12  Prefactor     15.975        13.533        .25031E-03   -1.5628    
  13  Prefactor     48.693        31.540        .14340E-03   -1.5568    
  14  norm          .11102E-09    1.5881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10547E-08    3.4744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0991        6.0779        .11196E-02   -1.5687    
  17  Normalizat    .59238        .24512        .99108E-01   -1.0831    
  18  Prefactor     1.3197        .14902        .32275E-01   -.82724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83142e-07
Minuit parameter uncertainties:
  1  8.62903e-05
  2  18.0646
  3  16.2357
  4  0.849999
  5  2.49523
  6  15.43
  7  21.2798
  8  5.58309e-06
  9  13.3062
  10  50.8319
  11  0.709461
  12  13.5328
  13  31.5402
  14  2.74643e-05
  15  0.000120681
  16  5.16927
  17  0.245573
  18  0.149072
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  2.840e+00  1.331e+01  0.000e+00  1.000e+06 ( 1.000e-12)
258        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.320e+00  1.491e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  5.924e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 21.704 24.210
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/398162/likelihoodResults_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.txt

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) = 7881.34479398
delta logL = 0.000523359361068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7881.34468139
delta logL = 0.000635946509647

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9679       1.0000          .0000       .10000E+07
     2 'Index     '    2.6882       1.0000          .0000       10.000    
     3 'Normalizat'    .59310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7881.345     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      240 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9846        1067.6        .58914E-03    .12901E-02
   2  Index         2.6885        5.3525        .36606        .69397E-05
   3  Normalizat    .59295        .51676E-01    .99063E-01    .61643E-04
   4  Prefactor     1.3193        .35483E-01    .32280E-01    .38299E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9846
  Index      = 2.68848
  Normalizat = 0.592947
  Prefactor  = 1.31931
 **********
 **   18 **HESSE 
 **********

 FCN=   7881.345     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9846        17.535        .23566E-04   -1.5673    
   2  Index         2.6885        1.9738        .23318E-01   -.48059    
   3  Normalizat    .59295        .24342        .43907E-03   -1.0828    
   4  Prefactor     1.3193        .15736        .19635E-03   -.82735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68797e-10
Minuit parameter uncertainties:
  1  14.4688
  2  2.04556
  3  0.243858
  4  0.157413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/398162': 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) = 7881.34467902
delta logL = 0.000638315163087

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  2.985e+00  1.447e+01  0.000e+00  1.000e+06 ( 1.000e-12)
258        Index:  2.688e+00  2.046e+00  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.319e+00  1.574e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  5.929e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 21.704 24.210

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/398162/cmap_HighResolution_689817601_690076801_4FGL_J0126.8+2412_daily_bin1738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2022-11-14 00:18:14.111718', job_id='398162', GAL2='1.32', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1668413894.11', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='6.38e-04', ts2='0.05', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1738' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 00:18:14 PST 2022

'SUCCESS', return_code='0', GAL='1.32', dlogl='6.38e-04', ts2='0.05', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1738' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 00:17:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 398141: <4FGL_J0126.8+2412_daily_bin1738> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1738> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Nov 14 00:05:20 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:05:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:05:55 2022
Terminated at Mon Nov 14 00:17:49 2022
Results reported at Mon Nov 14 00:17:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1738 21.7036 24.21 689817601 690076801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0126.8+2412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            749 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 398162: <4FGL_J0126.8+2412_daily_bin1738> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1738> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Nov 14 00:05:21 2022
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:06:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:06:05 2022
Terminated at Mon Nov 14 00:18:14 2022
Results reported at Mon Nov 14 00:18:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1738 21.7036 24.21 689817601 690076801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0126.8+2412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   641.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            773 sec.

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

