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


Performing analysis on: 4FGL_J0126.8+2412_weekly_bin733
RA = 21.7036, Dec = 24.21
tmin = 682300801, tmax = 682905601
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='28705', job_status='RUN', time_executed='2022-09-16 11:43:25.969429', time_epoch_executed='1663353805.97' WHERE source_name='4FGL J0126.8+2412' and cadence='weekly' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28705

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28705/ft1_4FGL_J0126.8+2412_weekly_bin733.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28705/ft2_4FGL_J0126.8+2412_weekly_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28705/ft1_4FGL_J0126.8+2412_weekly_bin733.fits outfile=/scratch/kocevski/28705/ft1_filteredMKT_4FGL_J0126.8+2412_weekly_bin733.fits ra=21.7036 dec=24.21 rad=12.0 tmin=682300801.0 tmax=682905601.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 6.47
user 6.17
sys 0.27

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

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

Number of photons that the gtmktime cut: 1587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28705/ft1_filtered_4FGL_J0126.8+2412_weekly_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/28705/ft2_4FGL_J0126.8+2412_weekly_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/28705/ltcube_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.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/28705/ft2_4FGL_J0126.8+2412_weekly_bin733.fits
.....................!
real 23.39
user 23.04
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28705/ft1_filtered_4FGL_J0126.8+2412_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/28705/ft2_4FGL_J0126.8+2412_weekly_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/28705/ltcube_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.fits outfile=/scratch/kocevski/28705/expmap_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.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/28705/ltcube_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.fits
.....................!
real 154.37
user 150.17
sys 3.91

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/28705/ft1_filtered_4FGL_J0126.8+2412_weekly_bin733.fits scfile=/scratch/kocevski/28705/ft2_4FGL_J0126.8+2412_weekly_bin733.fits outfile=/scratch/kocevski/28705/cmap_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.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.52
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28705/ft1_filtered_4FGL_J0126.8+2412_weekly_bin733.fits scfile=/scratch/kocevski/28705/ft2_4FGL_J0126.8+2412_weekly_bin733.fits outfile=/scratch/kocevski/28705/cmap_HighResolution_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.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.52
user 0.35
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3350       1.0000          .0000       .10000E+07
     2 'Prefactor '    .29744E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2444       1.0000          .0000       .10000E+07
     4 'norm      '    1.8309       1.0000          .0000       .10000E+07
     5 'norm      '    3.2360       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.4883       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.648       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30569E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36571E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .42205E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .52013       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.7260       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47580E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .43867E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5951       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31652E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .93098       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1102       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=   17070.21     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1291 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3475        3.8553        .15679E-07    .29885E-02
   2  Prefactor     .11102E-09    3.0316        .41223E-07** at limit **
   3  Prefactor     4.2508        2.7461        .45491E-06    .96320E-03
   4  norm          1.8304        .47900       -.10023E-07   -.25011E-01
   5  norm          3.2352        1.0418        .86684E-08    .19904E-01
   6  Prefactor     6.4849        5.6574       -.38423E-06    .10309E-02
   7  Prefactor     18.678        20.243        .12770E-06   -.72838E-03
   8  Prefactor     .46074E-08    10.852        .51640E-06** at limit **
   9  Prefactor      .0000        2.5352        .12776E-07** at limit **
  10  Prefactor     .48461E-07    1.2844       -.54928E-06** at limit **
  11  norm          .52012        .30881       -.15651E-07   -.27908E-01
  12  Prefactor     4.7191        5.4279       -.81889E-06    .20733E-02
  13  Prefactor     .55511E-10    3.4639       -.81969E-07** at limit **
  14  norm          .11102E-09    1.2315       -.10633E-06** at limit **
  15  Prefactor     2.5919        3.6065       -.49268E-08    .18629E-02
  16  Prefactor      .0000        1.1531       -.18035E-07** at limit **
  17  Normalizat    .93076        .14268        .35669E-05    .14579E-03
  18  Prefactor     1.1104        .93565E-01   -.11441E-05   -.39478E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.34745
  Prefactor  = 1.11022e-10
  Prefactor  = 4.25079
  norm       = 1.8304
  norm       = 3.23523
  Prefactor  = 6.48494
  Prefactor  = 18.6785
  Prefactor  = 4.60743e-09
  Prefactor  = 0
  Prefactor  = 4.84612e-08
  norm       = 0.520116
  Prefactor  = 4.71914
  Prefactor  = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 2.59194
  Prefactor  = 0
  Normalizat = 0.930756
  Prefactor  = 1.1104
 **********
 **   18 **HESSE 
 **********

 FCN=   17070.21     FROM HESSE     STATUS=OK           290 CALLS     1581 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3475        3.8817        .67078E-03   -1.5677    
   2  Prefactor     .11102E-09    3.0319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2508        6.1490        .48884E-03   -1.5667    
   4  norm          1.8304        .48259        .77099E-03   -1.5681    
   5  norm          3.2352        1.0445        .56283E-04   -1.5672    
   6  Prefactor     6.4849        5.6820        .39376E-03   -1.5657    
   7  Prefactor     18.678        21.228        .23166E-03   -1.5622    
   8  Prefactor     .46074E-08    1.4808        .56329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.5433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48461E-07    36.942        .15866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .52012        .31412        .76709E-03   -1.5694    
  12  Prefactor     4.7191        6.0688        .46262E-03   -1.5665    
  13  Prefactor     .55511E-10    3.4643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    1.2198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5919        3.6191        .63310E-03   -1.5676    
  16  Prefactor      .0000        1.1534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .93076        .12453        .70203E-01   -.95388    
  18  Prefactor     1.1104        .81165E-01    .37211E-01   -.89135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14093e-09
Minuit parameter uncertainties:
  1  3.88172
  2  3.40181e-05
  3  6.14904
  4  0.482594
  5  1.04454
  6  5.68202
  7  21.2276
  8  0.000165561
  9  8.87911e-06
  10  0.00267532
  11  0.314118
  12  6.06882
  13  2.08822e-05
  14  2.02585e-05
  15  3.61908
  16  8.51634e-06
  17  0.124569
  18  0.0811739
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  0.000e+00  8.879e-06  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.110e+00  8.117e-02  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.308e-01  1.246e-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: 4.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28705/likelihoodResults_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.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) = 17070.2119104
delta logL = -0.000612216324953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17070.2112982
delta logL = -9.10949893296e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28311E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.3599       1.0000          .0000       10.000    
     3 'Normalizat'    .93075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1104       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=   17070.21     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      286 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .17414E-04    .31198E-02** at limit **
   2  Index         5.0168        7.1220        .50000        .18190E-09
   3  Normalizat    .93075        .32126E-04    .70203E-01    .74751E-04
   4  Prefactor     1.1104        .21321E-04    .37204E-01    .14621E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 5.0168
  Normalizat = 0.930755
  Prefactor  = 1.1104
 **********
 **   18 **HESSE 
 **********

 FCN=   17070.21     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      321 TOTAL
                     EDM=   .85E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .12734E-01    .10420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.0168        7.3710        .50000        .33609E-02
   3  Normalizat    .93075        .34353E-03    .31060E-03   -.95388    
   4  Prefactor     1.1104        .22835E-03    .18960E-03   -.89135    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.48738e-13
Minuit parameter uncertainties:
  1  1.41893e-06
  2  7121.98
  3  0.000343527
  4  0.000228348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28705': 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) = 17070.2112981
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  5.551e-11  1.419e-06  0.000e+00  1.000e+06 ( 1.000e-12)
258        Index:  5.017e+00  7.122e+03  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.110e+00  2.283e-04  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.308e-01  3.435e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/28705/cmap_HighResolution_682300801_682905601_4FGL_J0126.8+2412_weekly_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.27e-08', time_completed='2022-09-16 11:56:31.828384', job_id='28705', GAL2='1.11', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1663354591.83', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='733' AND source_name='4FGL J0126.8+2412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:56:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 28705: <4FGL_J0126.8+2412_weekly_bin733> in cluster <slac> Done

Job <4FGL_J0126.8+2412_weekly_bin733> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 16 11:40:35 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:43:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:43:08 2022
Terminated at Fri Sep 16 11:56:32 2022
Results reported at Fri Sep 16 11:56:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_weekly_bin733 21.7036 24.21 682300801 682905601 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 :                                   785.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             341.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            957 sec.

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

