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 55 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1670
RA = 21.3474, Dec = -25.8074
tmin = 672192001, tmax = 672451201
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='862233', job_status='RUN', time_executed='2022-04-24 00:12:45.495600', time_epoch_executed='1650784365.5' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862233

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862233/ft1_4FGL_J0125.3-2548_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862233/ft1_4FGL_J0125.3-2548_daily_bin1670.fits outfile=/scratch/kocevski/862233/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1670.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.15
user 4.81
sys 0.26

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

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

Number of photons that the gtmktime cut: 390

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862233/ltcube_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.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/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits
.....................!
real 13.80
user 13.40
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862233/ltcube_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.fits outfile=/scratch/kocevski/862233/expmap_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.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/862233/ltcube_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.fits
.....................!
real 191.79
user 186.04
sys 5.38

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/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits scfile=/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits outfile=/scratch/kocevski/862233/cmap_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.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.59
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits scfile=/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits outfile=/scratch/kocevski/862233/cmap_HighResolution_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862233/Model_4FGL_J0125.3-2548_daily_bin1670.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/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits.....................!
real 40.65
user 39.31
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits', '/scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits', expMap='/scratch/kocevski/862233/expmap_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.fits', expCube='/scratch/kocevski/862233/ltcube_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862233/Model_4FGL_J0125.3-2548_daily_bin1670.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  1.000e-04  1.000e+04 ( 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/862233/ft1_filtered_4FGL_J0125.3-2548_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862233/ft2_4FGL_J0125.3-2548_daily_bin1670.fits
Exposure map: /scratch/kocevski/862233/expmap_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862233/ltcube_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862233/Model_4FGL_J0125.3-2548_daily_bin1670.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) = 4343.06118838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7464       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8662       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6862       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6699       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8785       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.912       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.2215       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.857       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5737       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.635       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0789       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4343.058     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2015 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7466        7.7178        .20379E-06   -.12349E-03
   2  Prefactor     .10000E-03    87.974       -.10062E-05** at limit **
   3  norm          .10000E-03    9.3926        .31352E-07** at limit **
   4  norm          .10000E-03    1.5038        .30730E-07** at limit **
   5  Prefactor     2.8699        2.8929       -.33987E-08   -.39566E-03
   6  Prefactor     8.6798        15.761        .41615E-05    .30126E-05
   7  Prefactor     1.6703        3.5040        .54943E-07   -.20754E-04
   8  Prefactor     .10000E-03    3.5332        .46926E-09** at limit **
   9  norm          .10000E-03    .84990       -.99802E-08** at limit **
  10  norm          2.8790        2.5019       -.21725E-06   -.55760E-04
  11  Prefactor     14.910        16.145        .13803E-05   -.56876E-05
  12  Prefactor     .10000E-03    3.5642       -.61439E-07** at limit **
  13  norm          2.2216        1.6133        .42716E-07   -.15628E-04
  14  norm          .10000E-03    .59699       -.10470E-07** at limit **
  15  Prefactor     12.858        6.6713        .54236E-07   -.14513E-04
  16  norm          1.5742        2.8189        .48251E-07   -.28514E-04
  17  Prefactor     .10000E-03    15.294       -.80505E-08** at limit **
  18  Prefactor     25.636        15.010       -.68188E-06   -.60331E-05
  19  Normalizat    1.0788        .19371       -.79895E-06    .90119E-05
  20  Prefactor     .80514        .21324       -.17735E-06   -.27183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.7466
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.86993
  Prefactor  = 8.67983
  Prefactor  = 1.67027
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.87896
  Prefactor  = 14.9101
  Prefactor  = 0.0001
  norm       = 2.22157
  norm       = 0.0001
  Prefactor  = 12.8583
  norm       = 1.57422
  Prefactor  = 0.0001
  Prefactor  = 25.636
  Normalizat = 1.07878
  Prefactor  = 0.805137
 **********
 **   18 **HESSE 
 **********

 FCN=   4343.058     FROM HESSE     STATUS=OK           295 CALLS     2310 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7466        7.8368        .72038E-03   -1.5151    
   2  Prefactor     .10000E-03    88.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.4538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5563        .15781E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8699        8.4389        .12005E-02   -1.5369    
   6  Prefactor     8.6798        17.033        .13601E-03   -1.5119    
   7  Prefactor     1.6703        3.5056        .16964E-03   -1.5449    
   8  Prefactor     .10000E-03    3.5425        .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .85881        .59312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8790        2.5000        .92520E-04   -1.5369    
  11  Prefactor     14.910        16.126        .10372E-03   -1.4936    
  12  Prefactor     .10000E-03    3.6355        .12141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2216        1.6142        .68283E-04   -1.5410    
  14  norm          .10000E-03    .60039        .49707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.858        6.6889        .11171E-03   -1.4991    
  16  norm          1.5742        2.8050        .14107E-03   -1.5457    
  17  Prefactor     .10000E-03    15.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.636        15.025        .79120E-04   -1.4695    
  19  Normalizat    1.0788        .23261        .21392E-03   -.90436    
  20  Prefactor     .80514        .25164        .28134E-03   -.99539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10609e-10
Minuit parameter uncertainties:
  1  7.83782
  2  1.42711e-05
  3  2.7072e-06
  4  1.12441e-06
  5  8.44237
  6  17.0427
  7  3.50602
  8  2.75808e-06
  9  1.58703e-06
  10  2.50008
  11  16.1306
  12  1.28578e-05
  13  1.61423
  14  7.52274e-07
  15  6.68926
  16  2.80519
  17  4.50512e-06
  18  15.0274
  19  0.232829
  20  0.251999
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.491e+01  1.613e+01  1.000e-04  1.000e+04 ( 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:  8.051e-01  2.520e-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:  1.079e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.62
Ra Dec: 21.347 -25.807
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.38e-05

TS (Fixed Index): 1.62
Ra Dec: 21.347 -25.807
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862233/likelihoodResults_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.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) = 4342.94645941
delta logL = 0.111841787942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4342.94285784
delta logL = 0.115443358784

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.035       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6706       1.0000          .0000       10.000    
     3 'Normalizat'    1.0545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82200       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4342.943     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      294 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.034        17.664        .12061E-03    .72771E-04
   2  Index         2.6703        1.0590        .68196E-02    .29594E-04
   3  Normalizat    1.0546        .22521        .21598E-03   -.12740E-03
   4  Prefactor     .82194        .25385        .27869E-03   -.12417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.034
  Index      = 2.67026
  Normalizat = 1.05462
  Prefactor  = 0.821944
 **********
 **   18 **HESSE 
 **********

 FCN=   4342.943     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.034        15.462        .48242E-05   -1.5043    
   2  Index         2.6703        .92717        .27278E-03   -.48471    
   3  Normalizat    1.0546        .22433        .43195E-04   -.91222    
   4  Prefactor     .82194        .25333        .11148E-04   -.98924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9195e-11
Minuit parameter uncertainties:
  1  15.4671
  2  0.934095
  3  0.224528
  4  0.253692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862233': 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): 0
logL (Free Index) = 4342.94285757
delta logL = 0.115443628571

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.103e+01  1.547e+01  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.670e+00  9.341e-01  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:  8.219e-01  2.537e-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:  1.055e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.86
Ra Dec: 21.347 -25.807
Photon Index (Free Index): 2.67 +/- 0.93
Photon Flux (Free Index): 4.86e-08 +/- 5.56e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.10e-05

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/862233/cmap_HighResolution_672192001_672451201_4FGL_J0125.3-2548_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.28e-03', comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='1.20e-05', photon_flux_error='3.21e-08', dlogl='1.15e-01', energy_flux='1.28e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2022-04-24 00:21:29.519560', photon_index_error2='0.93', photon_index2='2.67', ts='1.62', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.10e-05', EG='1.08', time_epoch_completed='1650784889.52', return_code='0', job_id='862233', GAL2='0.82', EG2='1.05', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='5.56e-08', ts2='1.86', photon_index='2.22' WHERE bin_id='1670' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:21:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 862313: <4FGL_J0125.3-2548_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:25 2022
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:54 2022
Terminated at Sun Apr 24 00:20:07 2022
Results reported at Sun Apr 24 00:20:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1670 21.3474 -25.8074 672192001 672451201 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 :                                   429.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             274.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   494 sec.
    Turnaround time :                            702 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 862233: <4FGL_J0125.3-2548_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:21 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:31 2022
Terminated at Sun Apr 24 00:21:30 2022
Results reported at Sun Apr 24 00:21:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1670 21.3474 -25.8074 672192001 672451201 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 :                                   526.59 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            789 sec.

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

