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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1748
RA = 21.3474, Dec = -25.8074
tmin = 692409601, tmax = 692668801
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='875574', job_status='RUN', time_executed='2022-12-14 00:06:28.905146', time_epoch_executed='1671005188.91' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875574/ft1_4FGL_J0125.3-2548_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875574/ft1_4FGL_J0125.3-2548_daily_bin1748.fits outfile=/scratch/kocevski/875574/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1748.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.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/875574/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.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: 367

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875574/ltcube_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.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/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits
.....................!
real 16.19
user 15.61
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875574/ltcube_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.fits outfile=/scratch/kocevski/875574/expmap_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.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/875574/ltcube_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.fits
.....................!
real 192.58
user 186.52
sys 4.94

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

Setting source of interest to:
4FGL J0125.3-2548 @ 21.3474 -25.8074

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits scfile=/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits outfile=/scratch/kocevski/875574/cmap_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.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.3474 yref=-25.8074 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits scfile=/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits outfile=/scratch/kocevski/875574/cmap_HighResolution_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.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.3474 yref=-25.8074 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875574/Model_4FGL_J0125.3-2548_daily_bin1748.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/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits.....................!
real 39.51
user 37.81
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits', '/scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits', expMap='/scratch/kocevski/875574/expmap_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.fits', expCube='/scratch/kocevski/875574/ltcube_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875574/Model_4FGL_J0125.3-2548_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0125.3-2548'

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  4.298e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  2.224e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/875574/ft1_filtered_4FGL_J0125.3-2548_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/875574/ft2_4FGL_J0125.3-2548_daily_bin1748.fits
Exposure map: /scratch/kocevski/875574/expmap_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.fits
Exposure cube: /scratch/kocevski/875574/ltcube_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875574/Model_4FGL_J0125.3-2548_daily_bin1748.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) = 4290.45945129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13600       1.0000          .0000       .10000E+07
     2 'norm      '    12.708       1.0000          .0000       .10000E+07
     3 'norm      '    .38366E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13375E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .47310E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .61808E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23855E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .65409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .73136E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12660E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14493E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.4972       1.0000          .0000       .10000E+07
    13 'norm      '    .35527E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13524E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .54289E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10772       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.953       1.0000          .0000       .10000E+07
    18 'Normalizat'    .78900       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2201       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4290.401     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1064 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15767        .58840        .32026E-06** at limit **
   2  norm          12.667        1.0233        .53906E-07   -.43413E-02
   3  norm          .11713E-07    1.4779       -.23104E-05** at limit **
   4  Prefactor     .10603E-07    1.5582        .16842E-05** at limit **
   5  Prefactor     .35527E-08    5.0264        .17198E-05** at limit **
   6  Prefactor     .65503E-08    1.1284        .11930E-05** at limit **
   7  Prefactor     .11102E-09    7.9284       -.11056E-05** at limit **
   8  norm          .55511E-10    .92444       -.40778E-07** at limit **
   9  norm           .0000        .88274        .48930E-08** at limit **
  10  Prefactor     .83267E-09    3.6205       -.29410E-05** at limit **
  11  Prefactor     .20206E-07    .98330       -.90492E-06** at limit **
  12  norm          1.4989        1.3632        .16944E-07    .19534E-01
  13  norm           .0000        .64949       -.60492E-07** at limit **
  14  Prefactor     .27756E-09    1.9436        .13625E-05** at limit **
  15  norm           .0000        1.3730       -.56331E-07** at limit **
  16  Prefactor     .16598E-07    .89116       -.67758E-06** at limit **
  17  Prefactor     17.361        1.3298       -.17789E-06    .24768E-01
  18  Normalizat    .78875        .20898        .59096E-05    .62065E-03
  19  Prefactor     1.2198        .25218       -.55297E-05    .52126E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.15767
  norm       = 12.6674
  norm       = 1.17129e-08
  Prefactor  = 1.06026e-08
  Prefactor  = 3.55271e-09
  Prefactor  = 6.55032e-09
  Prefactor  = 1.11022e-10
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 8.32667e-10
  Prefactor  = 2.02061e-08
  norm       = 1.49888
  norm       = 0
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 1.65978e-08
  Prefactor  = 17.3613
  Normalizat = 0.78875
  Prefactor  = 1.2198
 **********
 **   18 **HESSE 
 **********

 FCN=   4290.401     FROM HESSE     STATUS=OK           302 CALLS     1366 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15767        3.8854        .87794E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.667        12.281        .28074E-03   -1.5637    
   3  norm          .11713E-07    2.1803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10603E-07    2.7500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .35527E-08    5.0745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .65503E-08    2.6177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    7.9408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    .92571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .88288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .83267E-09    3.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20206E-07    2.4129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4989        1.3781        .87511E-03   -1.5683    
  13  norm           .0000        .64863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    1.9682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.3716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16598E-07    36.392        .13726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.361        12.899        .24298E-03   -1.5625    
  18  Normalizat    .78875        .17475        .43467E-01   -1.0049    
  19  Prefactor     1.2198        .21054        .52499E-01   -.85724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83107e-08
Minuit parameter uncertainties:
  1  1.5654
  2  12.2809
  3  0.000319802
  4  0.000341771
  5  0.000267579
  6  0.000261365
  7  5.54902e-05
  8  1.04074e-05
  9  2.57268e-06
  10  0.000111577
  11  0.000441798
  12  1.37815
  13  5.44123e-06
  14  4.55048e-05
  15  1.11458e-05
  16  0.00155341
  17  12.8987
  18  0.174873
  19  0.210684
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  8.327e-10  1.116e-04  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  2.224e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.220e+00  2.107e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  7.887e-01  1.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.347 -25.807
Photon Flux Upper Limit: 4.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875574/likelihoodResults_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.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) = 4290.40163982
delta logL = -0.00029286215613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4290.40134787
delta logL = -9.11703864404e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21311E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3712       1.0000          .0000       10.000    
     3 'Normalizat'    .78881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4290.401     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      266 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.4682       -.18702E-06** at limit **
   2  Index         2.3369        2.5242        .15953E-04     .0000    
   3  Normalizat    .78875        .20809       -.13135E-05    .26115E-04
   4  Prefactor     1.2198        .25211       -.23449E-06    .24218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.33693
  Normalizat = 0.788747
  Prefactor  = 1.2198
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4290.401     FROM HESSE     STATUS=FAILED        11 CALLS      277 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.4650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60996        1.8578        .15953E-04   -.56169    
   3  Normalizat    .78875        1.1278       -.13135E-05   -1.0049    
   4  Prefactor     1.2198        1.0968       -.23449E-06   -.85724    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.09388e-12
Minuit parameter uncertainties:
  1  7.09699e-06
  2  1.33183
  3  1.1641
  4  1.11848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875574': 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) = 4290.40134696
delta logL = 3.70164343622e-10

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  0.000e+00  7.097e-06  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  2.337e+00  1.332e+00  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.220e+00  1.118e+00  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  7.887e-01  1.164e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.347 -25.807

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/875574/cmap_HighResolution_692409601_692668801_4FGL_J0125.3-2548_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.11e-08', time_completed='2022-12-14 00:14:02.091532', job_id='875574', GAL2='1.22', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1671005642.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.70e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1748' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:14:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 875574: <4FGL_J0125.3-2548_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:51 2022
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:04:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:04:52 2022
Terminated at Wed Dec 14 00:14:02 2022
Results reported at Wed Dec 14 00:14:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1748 21.3474 -25.8074 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0125.3-2548 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   448.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            551 sec.

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

