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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin1764
RA = 21.7036, Dec = 24.21
tmin = 696556801, tmax = 696816001
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='434273', job_status='RUN', time_executed='2023-01-31 00:07:40.055672', time_epoch_executed='1675152460.06' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434273

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434273/ft1_4FGL_J0126.8+2412_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434273/ft2_4FGL_J0126.8+2412_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434273/ft1_4FGL_J0126.8+2412_daily_bin1764.fits outfile=/scratch/kocevski/434273/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1764.fits ra=21.7036 dec=24.21 rad=12.0 tmin=696556801.0 tmax=696816001.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.72
user 3.46
sys 0.23

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

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

Number of photons that the gtmktime cut: 715

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434273/ft1_filtered_4FGL_J0126.8+2412_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434273/ft2_4FGL_J0126.8+2412_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434273/ltcube_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.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/434273/ft2_4FGL_J0126.8+2412_daily_bin1764.fits
.....................!
real 13.92
user 13.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434273/ft1_filtered_4FGL_J0126.8+2412_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434273/ft2_4FGL_J0126.8+2412_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434273/ltcube_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.fits outfile=/scratch/kocevski/434273/expmap_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.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/434273/ltcube_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.fits
.....................!
real 193.09
user 187.05
sys 5.44

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/434273/ft1_filtered_4FGL_J0126.8+2412_daily_bin1764.fits scfile=/scratch/kocevski/434273/ft2_4FGL_J0126.8+2412_daily_bin1764.fits outfile=/scratch/kocevski/434273/cmap_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434273/ft1_filtered_4FGL_J0126.8+2412_daily_bin1764.fits scfile=/scratch/kocevski/434273/ft2_4FGL_J0126.8+2412_daily_bin1764.fits outfile=/scratch/kocevski/434273/cmap_HighResolution_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31874E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    17.579       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.602       1.0000          .0000       .10000E+07
     4 'norm      '    2.1264       1.0000          .0000       .10000E+07
     5 'norm      '    .88244       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10587E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.9561       1.0000          .0000       .10000E+07
     8 'Prefactor '    .59719E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .82296E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .58378E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .89536       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.6754       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99977E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .50324E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.6545       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.0179       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2396       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80251       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=   7609.805     FROM MIGRAD    STATUS=CONVERGED     91 CALLS     1035 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36082E-08    2.5435        .25206E-06** at limit **
   2  Prefactor     17.615        3.7466       -.90221E-07    .10470    
   3  Prefactor     14.616        1.1011        .20059E-08    .11753E-01
   4  norm          2.1260        .65833       -.10903E-06    .26061E-01
   5  norm          .88298        1.1194        .41881E-07   -.40450E-04
   6  Prefactor     .15399E-06    2.6444       -.47073E-06** at limit **
   7  Prefactor     6.2291        4.8343        .36218E-06   -.18517E-01
   8  Prefactor      .0000        4.3277       -.28708E-06** at limit **
   9  Prefactor     .11102E-09    1.6398       -.28242E-06** at limit **
  10  Prefactor     .11713E-07    17.544       -.16408E-05** at limit **
  11  norm          .89557        .55423        .96046E-07   -.48394E-02
  12  Prefactor     6.6952        1.5647       -.67130E-07   -.46581E-02
  13  Prefactor     .33640E-07    4.8107        .14656E-06** at limit **
  14  norm          .25357E-06    1.4671       -.30916E-06** at limit **
  15  Prefactor     9.6226        8.0965        .35255E-06    .31962E-02
  16  Prefactor     2.0881        5.2542       -.82012E-07    .50119E-03
  17  Normalizat    1.2396        .20088       -.40494E-05   -.83653E-04
  18  Prefactor     .80222        .12746        .95895E-05   -.17316E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60822e-09
  Prefactor  = 17.615
  Prefactor  = 14.6162
  norm       = 2.12605
  norm       = 0.882984
  Prefactor  = 1.53988e-07
  Prefactor  = 6.22914
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 1.17129e-08
  norm       = 0.895573
  Prefactor  = 6.69523
  Prefactor  = 3.36398e-08
  norm       = 2.53575e-07
  Prefactor  = 9.62256
  Prefactor  = 2.08813
  Normalizat = 1.23956
  Prefactor  = 0.802215
 **********
 **   18 **HESSE 
 **********

 FCN=   7609.805     FROM HESSE     STATUS=OK           282 CALLS     1317 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36082E-08    2.5760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.615        12.944        .23861E-03   -1.5624    
   3  Prefactor     14.616        10.677        .26185E-03   -1.5632    
   4  norm          2.1260        .66128        .70684E-03   -1.5679    
   5  norm          .88298        1.1313        .46982E-03   -1.5689    
   6  Prefactor     .15399E-06    4.7680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2291        20.095        .41121E-03   -1.5658    
   8  Prefactor      .0000        4.3553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    5.1090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11713E-07    18.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .89557        .55672        .46081E-03   -1.5689    
  12  Prefactor     6.6952        9.9121        .38814E-03   -1.5656    
  13  Prefactor     .33640E-07    5.4215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .25357E-06    6.7223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.6226        8.1921        .32227E-03   -1.5646    
  16  Prefactor     2.0881        5.2508        .72830E-03   -1.5679    
  17  Normalizat    1.2396        .17627        .59935E-01   -.85389    
  18  Prefactor     .80222        .11023        .43750E-01   -.99647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12679e-07
Minuit parameter uncertainties:
  1  0.000192599
  2  12.9438
  3  10.6769
  4  0.661278
  5  1.13128
  6  0.00171385
  7  20.0951
  8  8.37935e-06
  9  5.06465e-05
  10  0.000932438
  11  0.556716
  12  9.9121
  13  0.000853908
  14  0.00261116
  15  8.19212
  16  5.25083
  17  0.176356
  18  0.110262
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.110e-10  5.065e-05  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:  8.022e-01  1.103e-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.240e+00  1.764e-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: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434273/likelihoodResults_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.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) = 7609.80612689
delta logL = -0.000952901692472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7609.80517402
delta logL = -3.10737959808e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .77531       1.0000          .0000       10.000    
     3 'Normalizat'    1.2395       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80222       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7609.805     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      267 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3004        .42118E-03** at limit **
   2  Index         4.3527        2.0846        .36031E-03     .0000    
   3  Normalizat    1.2396        1.0941       -.20721E-04    .15460E-03
   4  Prefactor     .80222        1.1508        .15695E-04    .24859E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.3527
  Normalizat = 1.23955
  Prefactor  = 0.802216
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7609.805     FROM HESSE     STATUS=FAILED         9 CALLS      276 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0147        2.3980        .36031E-03   -.12982    
   3  Normalizat    1.2396        1.0941       -.20721E-04   -.85389    
   4  Prefactor     .80222        1.1508        .15695E-04   -.99647    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.9624e-11
Minuit parameter uncertainties:
  1  2.28804e-06
  2  2.15149
  3  1.11543
  4  1.1883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434273': 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): 101
logL (Free Index) = 7609.80517399
delta logL = 2.72848410532e-12

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  0.000e+00  2.288e-06  0.000e+00  1.000e+06 ( 1.000e-12)
258        Index:  4.353e+00  2.151e+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:  8.022e-01  1.188e+00  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.240e+00  1.115e+00  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/434273/cmap_HighResolution_696556801_696816001_4FGL_J0126.8+2412_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2023-01-31 00:17:05.026758', job_id='434273', GAL2='0.80', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1675153025.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.73e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1764' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:17:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 434273: <4FGL_J0126.8+2412_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:43 2023
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:06:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:06:44 2023
Terminated at Tue Jan 31 00:17:05 2023
Results reported at Tue Jan 31 00:17:05 2023

Your job looked like:

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

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

