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


Performing analysis on: 4FGL_J0126.0-2221_daily_bin1750
RA = 21.5204, Dec = -22.361
tmin = 692928001, tmax = 693187201
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='997017', job_status='RUN', time_executed='2022-12-20 00:05:22.774860', time_epoch_executed='1671523522.77' WHERE source_name='4FGL J0126.0-2221' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/997017

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/997017/ft1_4FGL_J0126.0-2221_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/997017/ft1_4FGL_J0126.0-2221_daily_bin1750.fits outfile=/scratch/kocevski/997017/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin1750.fits ra=21.5204 dec=-22.361 rad=12.0 tmin=692928001.0 tmax=693187201.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.53
user 3.19
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.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/997017/ft1_filteredMKT_4FGL_J0126.0-2221_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.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.56
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 478

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/997017/ltcube_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.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/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits
.....................!
real 14.25
user 13.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/997017/ltcube_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.fits outfile=/scratch/kocevski/997017/expmap_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.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/997017/ltcube_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.fits
.....................!
real 192.54
user 187.02
sys 4.90

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

Setting source of interest to:
4FGL J0126.0-2221 @ 21.5204 -22.361

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits scfile=/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits outfile=/scratch/kocevski/997017/cmap_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.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.5204 yref=-22.361 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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits scfile=/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits outfile=/scratch/kocevski/997017/cmap_HighResolution_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.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.5204 yref=-22.361 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/997017/Model_4FGL_J0126.0-2221_daily_bin1750.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/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits.....................!
real 47.07
user 45.58
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits', '/scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits', expMap='/scratch/kocevski/997017/expmap_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.fits', expCube='/scratch/kocevski/997017/ltcube_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/997017/Model_4FGL_J0126.0-2221_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.0-2221'

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  1.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/997017/ft1_filtered_4FGL_J0126.0-2221_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/997017/ft2_4FGL_J0126.0-2221_daily_bin1750.fits
Exposure map: /scratch/kocevski/997017/expmap_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.fits
Exposure cube: /scratch/kocevski/997017/ltcube_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/997017/Model_4FGL_J0126.0-2221_daily_bin1750.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) = 5164.04538984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3255       1.0000          .0000       .10000E+07
     2 'norm      '    9.9146       1.0000          .0000       .10000E+07
     3 'norm      '    5.9165       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5482       1.0000          .0000       .10000E+07
     5 'Prefactor '    .69145E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3553       1.0000          .0000       .10000E+07
     7 'Prefactor '    .19521E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.1081       1.0000          .0000       .10000E+07
     9 'norm      '    2.3992       1.0000          .0000       .10000E+07
    10 'Prefactor '    .51352E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .78882E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.3408       1.0000          .0000       .10000E+07
    13 'norm      '    .24114E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.4573       1.0000          .0000       .10000E+07
    15 'Prefactor '    .66262E-02   1.0000          .0000       .10000E+07
    16 'norm      '    4.4929       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.701       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3117       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .38461       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5163.929     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1139 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3197        5.2157        .87955E-07    .28021E-03
   2  norm          9.9812        11.146       -.17852E-06    .11065E-03
   3  norm          5.9187        4.5597       -.53390E-07   -.12008E-03
   4  Prefactor     8.5912        7.0783        .37636E-06    .16272E-03
   5  Prefactor     .11102E-09    28.669        .27585E-06** at limit **
   6  Prefactor     2.3416        3.7981        .16804E-07   -.18753E-03
   7  Prefactor      .0000        7.9733       -.33693E-07** at limit **
   8  norm          1.1080        1.4630       -.37182E-07    .16814E-03
   9  norm          2.3983        1.7849        .64376E-07    .52268E-03
  10  Prefactor      .0000        3.5041        .27901E-06** at limit **
  11  Prefactor      .0000        1.2569        .13631E-06** at limit **
  12  norm          1.3409        1.2011       -.11137E-06   -.11742E-03
  13  norm           .0000        .82692       -.38015E-07** at limit **
  14  norm          2.4611        2.4710       -.13493E-06   -.75495E-03
  15  Prefactor      .0000        37.727        .28045E-08** at limit **
  16  norm          4.4940        2.0973       -.76035E-07    .12654E-02
  17  Prefactor     15.627        9.6319       -.12583E-06   -.11272E-03
  18  Normalizat    1.3116        .18867        .35295E-05    .30070E-04
  19  Prefactor     .38459        .20405       -.99692E-05    .18545E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.31973
  norm       = 9.9812
  norm       = 5.91867
  Prefactor  = 8.59118
  Prefactor  = 1.11022e-10
  Prefactor  = 2.34158
  Prefactor  = 0
  norm       = 1.10797
  norm       = 2.3983
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.3409
  norm       = 0
  norm       = 2.46112
  Prefactor  = 0
  norm       = 4.49404
  Prefactor  = 15.6267
  Normalizat = 1.31161
  Prefactor  = 0.384586
 **********
 **   18 **HESSE 
 **********

 FCN=   5163.929     FROM HESSE     STATUS=OK           310 CALLS     1449 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3197        5.2154        .39886E-03   -1.5658    
   2  norm          9.9812        11.152        .31799E-03   -1.5645    
   3  norm          5.9187        4.5585        .41261E-03   -1.5659    
   4  Prefactor     8.5912        7.0722        .34262E-03   -1.5649    
   5  Prefactor     .11102E-09    28.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3416        3.8116        .66758E-03   -1.5677    
   7  Prefactor      .0000        7.9527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1080        1.5017        .11231E-02   -1.5687    
   9  norm          2.3983        1.7825        .66082E-03   -1.5677    
  10  Prefactor      .0000        3.5070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.2593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3409        1.2169        .94621E-03   -1.5685    
  13  norm           .0000        .81881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4611        2.4733        .65219E-03   -1.5677    
  15  Prefactor      .0000        37.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.4940        2.0968        .47477E-03   -1.5666    
  17  Prefactor     15.627        9.6248        .25250E-03   -1.5629    
  18  Normalizat    1.3116        .17328        .32599E-01   -.83220    
  19  Prefactor     .38459        .19028        .80992E-01   -1.1760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66079e-10
Minuit parameter uncertainties:
  1  5.21544
  2  11.152
  3  4.55853
  4  7.07226
  5  0.000106075
  6  3.81157
  7  1.06373e-06
  8  1.5017
  9  1.78249
  10  2.41172e-07
  11  3.77595e-06
  12  1.21688
  13  9.52407e-07
  14  2.4733
  15  2.44563e-05
  16  2.09677
  17  9.62483
  18  0.173354
  19  0.190595
Done.

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

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  3.776e-06  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  3.846e-01  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.312e+00  1.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 21.520 -22.361
Photon Flux Upper Limit: 5.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/997017/likelihoodResults_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.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) = 5163.93114183
delta logL = -0.00256001132129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5163.92859183
delta logL = -1.00199695225e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5163.929     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      246 TOTAL
                     EDM=   .87E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1564        .42118E-03** at limit **
   2  Index         2.8561        1.9226       -.13048E-04     .0000    
   3  Normalizat    1.3116        1.0769       -.32411E-05    .56993E-05
   4  Prefactor     .38459        .71385        .66613E-05   -.24189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.8561
  Normalizat = 1.31161
  Prefactor  = 0.384586
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5163.929     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .87E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .92381        2.1362       -.13048E-04   -.44314    
   3  Normalizat    1.3116        1.0769       -.32411E-05   -.83220    
   4  Prefactor     .38459        .71385        .66613E-05   -1.1760    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.74089e-12
Minuit parameter uncertainties:
  1  5.744e-06
  2  1.98592
  3  1.09619
  4  0.731351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/997017': 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) = 5163.92858181
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J0126.0-2221
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  5.744e-06  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.856e+00  1.986e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  3.846e-01  7.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.312e+00  1.096e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 21.520 -22.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/997017/cmap_HighResolution_692928001_693187201_4FGL_J0126.0-2221_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2022-12-20 00:13:54.720380', job_id='997017', GAL2='0.38', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1671524034.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.38', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1750' AND source_name='4FGL J0126.0-2221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:13:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 997017: <4FGL_J0126.0-2221_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0126.0-2221_daily_bin1750> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Dec 20 00:04:52 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:04:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:04:54 2022
Terminated at Tue Dec 20 00:13:55 2022
Results reported at Tue Dec 20 00:13:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.0-2221_daily_bin1750 21.5204 -22.361 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0126.0-2221 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   480.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   541 sec.
    Turnaround time :                            543 sec.

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

