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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1607
RA = 21.3474, Dec = -25.8074
tmin = 655862401, tmax = 656121601
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='139467', job_status='RUN', time_executed='2021-12-07 12:07:00.174447', time_epoch_executed='1638907620.17' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/139467

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/139467/ft1_4FGL_J0125.3-2548_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/139467/ft1_4FGL_J0125.3-2548_daily_bin1607.fits outfile=/scratch/kocevski/139467/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1607.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=655862401.0 tmax=656121601.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 4.60
user 4.32
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/139467/ft1_filtered_4FGL_J0125.3-2548_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/139467/ltcube_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.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/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits
.....................!
real 13.33
user 12.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/139467/ft1_filtered_4FGL_J0125.3-2548_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/139467/ltcube_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.fits outfile=/scratch/kocevski/139467/expmap_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.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/139467/ltcube_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.fits
.....................!
real 191.56
user 185.96
sys 5.10

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/139467/ft1_filtered_4FGL_J0125.3-2548_daily_bin1607.fits scfile=/scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits outfile=/scratch/kocevski/139467/cmap_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/139467/ft1_filtered_4FGL_J0125.3-2548_daily_bin1607.fits scfile=/scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits outfile=/scratch/kocevski/139467/cmap_HighResolution_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.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.38
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/139467/ft1_filtered_4FGL_J0125.3-2548_daily_bin1607.fits', '/scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits', expMap='/scratch/kocevski/139467/expmap_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.fits', expCube='/scratch/kocevski/139467/ltcube_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/139467/Model_4FGL_J0125.3-2548_daily_bin1607.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/139467/ft1_filtered_4FGL_J0125.3-2548_daily_bin1607.fits
Spacecraft file(s): /scratch/kocevski/139467/ft2_4FGL_J0125.3-2548_daily_bin1607.fits
Exposure map: /scratch/kocevski/139467/expmap_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.fits
Exposure cube: /scratch/kocevski/139467/ltcube_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/139467/Model_4FGL_J0125.3-2548_daily_bin1607.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3826.00450051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.119       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12426       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .47758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .95762       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2624       1.0000         .10000E-03   10000.    
    11 'Prefactor '    63.515       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10319E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1477       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.663       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99076       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96002       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=   3825.936     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     1848 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.118        8.8022       -.27532E-06   -.49414E-04
   2  Prefactor     .10000E-03    38.498       -.21481E-05** at limit **
   3  norm          .10000E-03    7.2905       -.36757E-05** at limit **
   4  norm          .11700        2.5877        .18933E-06   -.37939E-03
   5  Prefactor     .10000E-03    4.2495        .41697E-06** at limit **
   6  Prefactor     .10000E-03    6.2651        .73163E-05** at limit **
   7  Prefactor     .47070        3.2638       -.87676E-06    .96962E-04
   8  Prefactor     .10000E-03    4.2514        .11282E-05** at limit **
   9  norm          .95467        1.8760       -.38600E-07   -.11707E-03
  10  norm          1.2626        2.9134       -.11877E-06   -.54753E-03
  11  Prefactor     63.513        30.137       -.11074E-05    .59190E-04
  12  Prefactor     .10000E-03    5.3811       -.47207E-05** at limit **
  13  norm          .10000E-03    .69067       -.12471E-07** at limit **
  14  norm          2.1484        2.7648        .11668E-07   -.13087E-03
  15  Prefactor     .10000E-03    3.5862       -.60269E-06** at limit **
  16  norm          .10000E-03    3.1595        .94569E-07** at limit **
  17  Prefactor     .10000E-03    21.386        .12287E-05** at limit **
  18  Prefactor     22.661        16.395       -.94849E-06   -.71456E-06
  19  Normalizat    .99052        .20441        .77459E-06    .13571E-03
  20  Prefactor     .96038        .22845        .73824E-07    .13461E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1182
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.117002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.470705
  Prefactor  = 0.0001
  norm       = 0.954672
  norm       = 1.26263
  Prefactor  = 63.5135
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.14842
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6615
  Normalizat = 0.990525
  Prefactor  = 0.960384
 **********
 **   18 **HESSE 
 **********

 FCN=   3825.936     FROM HESSE     STATUS=OK           293 CALLS     2141 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.118        8.8129        .12596E-03   -1.5072    
   2  Prefactor     .10000E-03    38.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.2986        .16312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11700        33.433        .19022E-02   -1.5640    
   5  Prefactor     .10000E-03    4.2882        .12449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.2727        .15113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .47070        11.626        .20788E-02   -1.5571    
   8  Prefactor     .10000E-03    4.2587        .12452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .95467        1.5732        .11444E-02   -1.5513    
  10  norm          1.2626        2.8662        .14647E-03   -1.5483    
  11  Prefactor     63.513        29.743        .50352E-04   -1.4112    
  12  Prefactor     .10000E-03    5.4338        .27690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.1537        .99952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1484        2.7429        .10901E-03   -1.5415    
  15  Prefactor     .10000E-03    3.7045        .22866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2589        .21432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.661        16.458        .84139E-04   -1.4756    
  19  Normalizat    .99052        .24168        .22367E-03   -.93349    
  20  Prefactor     .96038        .27156        .26065E-03   -.94062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15767e-09
Minuit parameter uncertainties:
  1  8.814
  2  1.97372e-06
  3  1.51476e-07
  4  3.95616
  5  1.83035e-06
  6  8.49688e-07
  7  4.67908
  8  2.06252e-06
  9  1.57325
  10  2.86649
  11  29.7497
  12  4.17733e-05
  13  2.09835e-06
  14  2.74306
  15  1.98008e-06
  16  4.88741e-07
  17  2.75239e-06
  18  16.4617
  19  0.241943
  20  0.271942
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  6.351e+01  2.975e+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.604e-01  2.719e-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:  9.905e-01  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.46
Ra Dec: 21.347 -25.807
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 5.92e-08
Energy Flux (Fixed Index): 5.44e-05 +/- 2.55e-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) = 3825.91346714
delta logL = 0.0229973613141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3825.91283528
delta logL = 0.0236292173117

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.910       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3041       1.0000          .0000       10.000    
     3 'Normalizat'    .98139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96759       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=   3825.913     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      287 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.938        34.855        .52272E-04    .16964E-04
   2  Index         2.3045        .38806        .36060E-02    .15146E-04
   3  Normalizat    .98137        .23775        .22452E-03   -.20178E-04
   4  Prefactor     .96746        .27024        .25980E-03    .30741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.9382
  Index      = 2.30446
  Normalizat = 0.981374
  Prefactor  = 0.967463
 **********
 **   18 **HESSE 
 **********

 FCN=   3825.913     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.938        33.792        .20909E-05   -1.4171    
   2  Index         2.3045        .37603        .14424E-03   -.56938    
   3  Normalizat    .98137        .23784        .89809E-05   -.93657    
   4  Prefactor     .96746        .27038        .10392E-04   -.93822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89242e-11
Minuit parameter uncertainties:
  1  33.8033
  2  0.376532
  3  0.238096
  4  0.270758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/139467': 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) = 3825.91283233
delta logL = 0.02363216812

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  5.894e+01  3.380e+01  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.304e+00  3.765e-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.675e-01  2.708e-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:  9.814e-01  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.58
Ra Dec: 21.347 -25.807
Photon Index (Free Index): 2.30 +/- 0.38
Photon Flux (Free Index): 1.34e-07 +/- 6.76e-08
Energy Flux (Free Index): 5.05e-05 +/- 2.72e-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/139467/cmap_HighResolution_655862401_656121601_4FGL_J0125.3-2548_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='5.05e-05', photon_flux_error='5.92e-08', dlogl='2.36e-02', energy_flux='5.44e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-12-07 12:14:39.608688', photon_index_error2='0.38', photon_index2='2.30', ts='11.46', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.72e-05', EG='0.99', time_epoch_completed='1638908079.61', return_code='0', job_id='139467', GAL2='0.97', EG2='0.98', return_code2='0', energy_flux_error='2.55e-05', photon_flux_error2='6.76e-08', ts2='11.58', photon_index='2.22' WHERE bin_id='1607' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:14:39 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 139467: <4FGL_J0125.3-2548_daily_bin1607> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1607> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 12:05:19 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:06:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:06:12 2021
Terminated at Tue Dec  7 12:14:40 2021
Results reported at Tue Dec  7 12:14:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1607 21.3474 -25.8074 655862401 656121601 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 :                                   457.07 sec.
    Max Memory :                                 1229 MB
    Average Memory :                             342.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   507 sec.
    Turnaround time :                            561 sec.

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

