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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin1763
RA = 21.7036, Dec = 24.21
tmin = 696297601, tmax = 696556801
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='266732', job_status='RUN', time_executed='2023-01-28 00:10:48.368029', time_epoch_executed='1674893448.37' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266732

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266732/ft1_4FGL_J0126.8+2412_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266732/ft1_4FGL_J0126.8+2412_daily_bin1763.fits outfile=/scratch/kocevski/266732/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1763.fits ra=21.7036 dec=24.21 rad=12.0 tmin=696297601.0 tmax=696556801.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.69
user 3.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.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/266732/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 702

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/266732/ltcube_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.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/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits
.....................!
real 16.27
user 15.74
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/266732/ltcube_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.fits outfile=/scratch/kocevski/266732/expmap_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.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/266732/ltcube_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.fits
.....................!
real 194.34
user 187.94
sys 5.75

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/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.fits scfile=/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits outfile=/scratch/kocevski/266732/cmap_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.fits scfile=/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits outfile=/scratch/kocevski/266732/cmap_HighResolution_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.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.56
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.fits', '/scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits', expMap='/scratch/kocevski/266732/expmap_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.fits', expCube='/scratch/kocevski/266732/ltcube_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266732/Model_4FGL_J0126.8+2412_daily_bin1763.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/266732/ft1_filtered_4FGL_J0126.8+2412_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/266732/ft2_4FGL_J0126.8+2412_daily_bin1763.fits
Exposure map: /scratch/kocevski/266732/expmap_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.fits
Exposure cube: /scratch/kocevski/266732/ltcube_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266732/Model_4FGL_J0126.8+2412_daily_bin1763.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) = 7593.59257001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76223       1.0000          .0000       .10000E+07
     2 'Prefactor '    .51204E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .31958E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .20213       1.0000          .0000       .10000E+07
     5 'norm      '    1.7191       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17593E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.5312       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23039E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    55.397       1.0000          .0000       .10000E+07
    11 'norm      '    .21634       1.0000          .0000       .10000E+07
    12 'Prefactor '    .96231E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .51688E-03   1.0000          .0000       .10000E+07
    14 'norm      '    10.788       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19806E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24672E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0946       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99253       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=   7593.578     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1370 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77323        5.6983       -.27940E-05   -.25167E-01
   2  Prefactor     .25535E-08    37.225        .11939E-05** at limit **
   3  Prefactor      .0000        2.9000        .19870E-06** at limit **
   4  norm          .20259        .49164        .83549E-07** at limit **
   5  norm          1.7191        1.0465        .10415E-06    .19066E-01
   6  Prefactor     .46074E-08    7.7983       -.55099E-08** at limit **
   7  Prefactor     7.8191        11.039        .23493E-05   -.69510E-01
   8  Prefactor     .98255E-08    15.656        .32058E-05** at limit **
   9  Prefactor     .64282E-07    14.538       -.23519E-05** at limit **
  10  Prefactor     55.323        1.3085        .83990E-08    .12156E-02
  11  norm          .21622        .54863        .13525E-07** at limit **
  12  Prefactor      .0000        5.8688        .36120E-06** at limit **
  13  Prefactor     .33307E-09    6.8619       -.85307E-09** at limit **
  14  norm          10.796        4.9086       -.82456E-07   -.69051E-02
  15  Prefactor     .65403E-06    96.791       -.10795E-04** at limit **
  16  Prefactor     .12251E-04    210.86        .39480E-05** at limit **
  17  Normalizat    1.0952        .20036       -.32860E-05   -.51991E-03
  18  Prefactor     .99250        .13188       -.97753E-06   -.13341E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.773225
  Prefactor  = 2.55351e-09
  Prefactor  = 0
  norm       = 0.202587
  norm       = 1.71914
  Prefactor  = 4.60743e-09
  Prefactor  = 7.81907
  Prefactor  = 9.82547e-09
  Prefactor  = 6.42819e-08
  Prefactor  = 55.3227
  norm       = 0.21622
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  norm       = 10.7963
  Prefactor  = 6.54032e-07
  Prefactor  = 1.22512e-05
  Normalizat = 1.0952
  Prefactor  = 0.992498
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.578     FROM HESSE     STATUS=OK           292 CALLS     1662 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77323        13.805        .55794E-03   -1.5690    
   2  Prefactor     .25535E-08    37.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.9162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .20259        .49742        .11738E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7191        1.0446        .80097E-04   -1.5682    
   6  Prefactor     .46074E-08    7.9335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8191        34.924        .34296E-03   -1.5652    
   8  Prefactor     .98255E-08    15.615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .64282E-07    14.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     55.323        45.661        .13436E-03   -1.5559    
  11  norm          .21622        .55069        .11492E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        5.8789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33307E-09    6.8832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.796        5.1448        .30479E-03   -1.5642    
  15  Prefactor     .65403E-06    3.8695        .10815E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12251E-04    2.9127        .55287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0952        .17478        .63933E-01   -.89906    
  18  Prefactor     .99250        .11330        .46174E-01   -.92980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44615e-07
Minuit parameter uncertainties:
  1  6.53433
  2  0.000613107
  3  9.14766e-06
  4  0.497417
  5  1.04457
  6  0.000382243
  7  33.0504
  8  0.00078419
  9  0.00194077
  10  45.661
  11  0.550694
  12  1.09127e-05
  13  9.93891e-05
  14  5.14485
  15  0.00318166
  16  0.0119472
  17  0.174869
  18  0.113332
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  6.428e-08  1.941e-03  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:  9.925e-01  1.133e-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:  1.095e+00  1.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.704 24.210
Photon Flux Upper Limit: 9.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266732/likelihoodResults_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.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): 102
logL (Free Index) = 7591.73672028
delta logL = 1.8411598956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7593.57788345
delta logL = -3.27665657096e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10225E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.9731       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99268       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=   7591.599     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      403 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13238E-01    .12487        .13426E-03** at limit **
   2  Index         8.4390        7.5227        .21778        .59007E-04
   3  Normalizat    .98190        .52152E-01    .66941E-01   -.18797E-03
   4  Prefactor     1.0381        .34280E-01    .46176E-01   -.21849E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0132377
  Index      = 8.43897
  Normalizat = 0.981903
  Prefactor  = 1.03807
 **********
 **   18 **HESSE 
 **********

 FCN=   7591.599     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      436 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13238E-01    .25812        .60833E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.4390        8.6627        .93432E-02    .75845    
   3  Normalizat    .98190        .16606        .29618E-03   -.93639    
   4  Prefactor     1.0381        .10677        .18928E-03   -.91471    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.4599e-11
Minuit parameter uncertainties:
  1  0.116909
  2  5.98433
  3  0.166148
  4  0.106797
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266732': 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): 102
logL (Free Index) = 7591.5988364
delta logL = 1.97904377607

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.324e-02  1.169e-01  0.000e+00  1.000e+06 ( 1.000e-12)
258        Index:  8.439e+00  5.984e+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.038e+00  1.068e-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:  9.819e-01  1.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.21
Ra Dec: 21.704 24.210
Photon Index (Free Index): 8.44 +/- 5.98
Photon Flux (Free Index): 9.03e-08 +/- 5.98e-08
Energy Flux (Free Index): 1.04e-05 +/- 7.58e-06

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/266732/cmap_HighResolution_696297601_696556801_4FGL_J0126.8+2412_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.79e-03', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='1.98e+00', photon_flux2='9.03e-08', job_status='DONE', time_completed='2023-01-28 00:21:01.167570', photon_index_error2='5.98', photon_index2='8.44', ts='-0.00', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='9.86e-08', energy_flux_error2='7.58e-06', EG='1.10', time_epoch_completed='1674894061.17', return_code='0', job_id='266732', GAL2='1.04', EG2='0.98', return_code2='102', photon_flux_error2='5.98e-08', ts2='4.21', photon_index='2.76' WHERE bin_id='1763' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:21:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 266732: <4FGL_J0126.8+2412_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1763> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan 28 00:05:04 2023
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:09:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:09:26 2023
Terminated at Sat Jan 28 00:21:01 2023
Results reported at Sat Jan 28 00:21:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1763 21.7036 24.21 696297601 696556801 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 :                                   609.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            957 sec.

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

