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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1703
RA = 21.3474, Dec = -25.8074
tmin = 680745601, tmax = 681004801
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='302427', job_status='RUN', time_executed='2022-08-01 00:10:13.059706', time_epoch_executed='1659337813.06' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302427/ft1_4FGL_J0125.3-2548_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302427/ft1_4FGL_J0125.3-2548_daily_bin1703.fits outfile=/scratch/kocevski/302427/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1703.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=680745601.0 tmax=681004801.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.05
user 2.81
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.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/302427/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/302427/ltcube_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.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/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits
.....................!
real 19.06
user 18.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/302427/ltcube_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.fits outfile=/scratch/kocevski/302427/expmap_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.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/302427/ltcube_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.fits
.....................!
real 192.39
user 186.27
sys 4.53

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/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits scfile=/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits outfile=/scratch/kocevski/302427/cmap_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.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 1.10
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits scfile=/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits outfile=/scratch/kocevski/302427/cmap_HighResolution_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.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.57
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302427/Model_4FGL_J0125.3-2548_daily_bin1703.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/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits.....................!
real 51.19
user 49.85
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits', '/scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits', expMap='/scratch/kocevski/302427/expmap_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.fits', expCube='/scratch/kocevski/302427/ltcube_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/302427/Model_4FGL_J0125.3-2548_daily_bin1703.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/302427/ft1_filtered_4FGL_J0125.3-2548_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/302427/ft2_4FGL_J0125.3-2548_daily_bin1703.fits
Exposure map: /scratch/kocevski/302427/expmap_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.fits
Exposure cube: /scratch/kocevski/302427/ltcube_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/302427/Model_4FGL_J0125.3-2548_daily_bin1703.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) = 6163.03152638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2026       1.0000         .10000E-03   10000.    
     2 'Prefactor '    63.885       1.0000         .10000E-03   10000.    
     3 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2972       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8884       1.0000         .10000E-03   10000.    
     9 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0023       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.513       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12331E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5534       1.0000         .10000E-03   10000.    
    14 'norm      '    .56079       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5698       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6725       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.122       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8449       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88209       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97992       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=   6163.031     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2084 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2026        3.3031       -.22808E-06    .28796E-05
   2  Prefactor     63.364        85.083       -.87867E-06    .13944E-05
   3  norm          .10000E-03    4.0648        .22697E-06** at limit **
   4  norm          .10000E-03    1.5036       -.98145E-07** at limit **
   5  Prefactor     .10000E-03    1.9107        .27078E-07** at limit **
   6  Prefactor     .10000E-03    4.1812        .23257E-06** at limit **
   7  Prefactor     2.2955        1.4780        .19075E-06   -.21413E-02
   8  Prefactor     6.8912        7.1362        .37897E-06    .47395E-04
   9  norm          .10000E-03    1.1569       -.13465E-06** at limit **
  10  norm          6.0041        3.2751       -.13108E-06   -.19494E-04
  11  Prefactor     38.468        17.914       -.17578E-07    .40917E-05
  12  Prefactor     .10000E-03    2.3742       -.10537E-06** at limit **
  13  norm          2.5532        1.1394       -.62787E-07    .36765E-05
  14  norm          .56080        1.2350        .10171E-06   -.37176E-04
  15  Prefactor     9.5689        4.1902       -.21802E-05   -.15973E-03
  16  norm          2.6717        2.1441       -.57837E-07   -.95320E-03
  17  Prefactor     25.062        25.864        .53929E-07    .21152E-05
  18  Prefactor     9.8486        9.9747        .20396E-06    .19006E-05
  19  Normalizat    .88227        .15815        .10328E-05    .12766E-04
  20  Prefactor     .97989        .18593        .24549E-06    .59288E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.2026
  Prefactor  = 63.364
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.29551
  Prefactor  = 6.89123
  norm       = 0.0001
  norm       = 6.00412
  Prefactor  = 38.4683
  Prefactor  = 0.0001
  norm       = 2.55317
  norm       = 0.560798
  Prefactor  = 9.56894
  norm       = 2.67173
  Prefactor  = 25.0625
  Prefactor  = 9.8486
  Normalizat = 0.882271
  Prefactor  = 0.979891
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.031     FROM HESSE     STATUS=OK           301 CALLS     2385 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2026        3.3064        .14121E-03   -1.5350    
   2  Prefactor     63.364        85.221        .50207E-04   -1.4114    
   3  norm          .10000E-03    4.0676        .15455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5279        .18694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.9195        .10595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1879        .15674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2955        3.9430        .96138E-03   -1.5405    
   8  Prefactor     6.8912        7.0611        .15286E-03   -1.5183    
   9  norm          .10000E-03    1.1708        .16283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0041        3.2743        .96437E-04   -1.5218    
  11  Prefactor     38.468        17.858        .64585E-04   -1.4467    
  12  Prefactor     .10000E-03    2.4659        .23580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5532        1.1411        .53958E-04   -1.5388    
  14  norm          .56080        1.0113        .12287E-02   -1.5558    
  15  Prefactor     9.5689        4.1842        .10255E-03   -1.5089    
  16  norm          2.6717        2.1943        .50614E-03   -1.5381    
  17  Prefactor     25.062        25.872        .79922E-04   -1.4706    
  18  Prefactor     9.8486        9.9834        .12771E-03   -1.5080    
  19  Normalizat    .88227        .18826        .22820E-03   -.97086    
  20  Prefactor     .97989        .21940        .26123E-03   -.93403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47898e-09
Minuit parameter uncertainties:
  1  3.30662
  2  85.3861
  3  1.41202e-07
  4  1.23643e-05
  5  2.78233e-06
  6  2.89698e-06
  7  3.94342
  8  7.06196
  9  8.53755e-06
  10  3.27442
  11  17.86
  12  1.08416e-05
  13  1.14111
  14  1.01136
  15  4.18429
  16  2.1944
  17  25.8838
  18  9.98513
  19  0.188404
  20  0.2196
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  3.847e+01  1.786e+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:  9.799e-01  2.196e-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:  8.823e-01  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.99
Ra Dec: 21.347 -25.807
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 7.66e-08 +/- 3.55e-08
Energy Flux (Fixed Index): 3.30e-05 +/- 1.53e-05

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) = 6163.02517622
delta logL = 0.00628546134067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6163.02156182
delta logL = 0.00989986776676

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.989       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2783       1.0000          .0000       10.000    
     3 'Normalizat'    .87735       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98333       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=   6163.022     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      231 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.988        20.156        .65898E-04    .41805E-03
   2  Index         2.2783        .39964        .46548E-02    .12204E-03
   3  Normalizat    .87735        .18559        .22872E-03   -.62926E-04
   4  Prefactor     .98334        .21950        .26080E-03   -.57409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.9883
  Index      = 2.27833
  Normalizat = 0.877351
  Prefactor  = 0.983337
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.022     FROM HESSE     STATUS=OK            25 CALLS      256 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.988        19.586        .13180E-04   -1.4491    
   2  Index         2.2783        .38798        .18619E-03   -.57559    
   3  Normalizat    .87735        .18565        .91490E-05   -.97261    
   4  Prefactor     .98334        .21966        .10432E-04   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39131e-10
Minuit parameter uncertainties:
  1  19.5896
  2  0.388536
  3  0.18578
  4  0.219855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302427': 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) = 6163.02156181
delta logL = 0.00989987197227

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  3.699e+01  1.959e+01  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.278e+00  3.885e-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:  9.833e-01  2.199e-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:  8.774e-01  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.11
Ra Dec: 21.347 -25.807
Photon Index (Free Index): 2.28 +/- 0.39
Photon Flux (Free Index): 8.07e-08 +/- 4.53e-08
Energy Flux (Free Index): 3.16e-05 +/- 1.63e-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/302427/cmap_HighResolution_680745601_681004801_4FGL_J0125.3-2548_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.66e-08', energy_flux2='3.16e-05', photon_flux_error='3.55e-08', dlogl='9.90e-03', energy_flux='3.30e-05', photon_flux2='8.07e-08', job_status='DONE', time_completed='2022-08-01 00:19:30.454798', photon_index_error2='0.39', photon_index2='2.28', ts='16.99', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.63e-05', EG='0.88', time_epoch_completed='1659338370.45', return_code='0', job_id='302427', GAL2='0.98', EG2='0.88', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='4.53e-08', ts2='17.11', photon_index='2.22' WHERE bin_id='1703' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 00:19:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 302427: <4FGL_J0125.3-2548_daily_bin1703> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1703> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug  1 00:05:06 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 00:07:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 00:07:09 2022
Terminated at Mon Aug  1 00:19:31 2022
Results reported at Mon Aug  1 00:19:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1703 21.3474 -25.8074 680745601 681004801 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 :                                   558.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            865 sec.

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

