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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1047
RA = 21.3474, Dec = -25.8074
tmin = 510710401, tmax = 510969601
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='561422', job_status='RUN', time_executed='2021-08-14 00:08:54.293829', time_epoch_executed='1628924934.29' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1047'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561422

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561422/ft1_4FGL_J0125.3-2548_daily_bin1047.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561422/ft1_4FGL_J0125.3-2548_daily_bin1047.fits outfile=/scratch/kocevski/561422/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1047.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=510710401.0 tmax=510969601.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 6.74
user 3.21
sys 3.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561422/ft1_filtered_4FGL_J0125.3-2548_daily_bin1047.fits" evtable="EVENTS" scfile=/scratch/kocevski/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits sctable="SC_DATA" outfile=/scratch/kocevski/561422/ltcube_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.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/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits
.....................!
real 16.47
user 12.37
sys 3.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561422/ft1_filtered_4FGL_J0125.3-2548_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits sctable="SC_DATA" expcube=/scratch/kocevski/561422/ltcube_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.fits outfile=/scratch/kocevski/561422/expmap_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.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/561422/ltcube_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.fits
.....................!
real 195.96
user 185.43
sys 9.89

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/561422/ft1_filtered_4FGL_J0125.3-2548_daily_bin1047.fits scfile=/scratch/kocevski/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits outfile=/scratch/kocevski/561422/cmap_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.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 3.76
user 0.38
sys 3.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561422/ft1_filtered_4FGL_J0125.3-2548_daily_bin1047.fits scfile=/scratch/kocevski/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits outfile=/scratch/kocevski/561422/cmap_HighResolution_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.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 3.74
user 0.37
sys 3.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561422/ft1_filtered_4FGL_J0125.3-2548_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/561422/ft2_4FGL_J0125.3-2548_daily_bin1047.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561422/Model_4FGL_J0125.3-2548_daily_bin1047.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/561422/ft1_filtered_4FGL_J0125.3-2548_daily_bin1047.fits.....................!
real 55.17
user 49.56
sys 5.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.9785       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.729       1.0000         .10000E-03   10000.    
     3 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4944       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.670       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3368       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3709       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8625       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5882       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1757       1.0000         .10000E-03   10000.    
    14 'norm      '    .11566E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.216       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2636       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.648       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.122       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76798       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0180       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=   6352.229     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1746 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.9787        4.7551       -.64574E-08    .89506E-08
   2  Prefactor     15.630        98.621       -.92818E-06   -.87994E-05
   3  norm          .10000E-03    7.7037       -.23171E-05** at limit **
   4  norm          1.4946        2.1291        .21738E-06    .13545E-04
   5  Prefactor     .10000E-03    5.9859       -.26969E-06** at limit **
   6  Prefactor     15.670        11.574       -.92801E-07   -.11492E-04
   7  Prefactor     6.3368        3.1650        .11579E-07    .36757E-05
   8  Prefactor     1.3817        13.876        .32989E-05    .25941E-04
   9  norm          1.8609        1.8661       -.32862E-06   -.34250E-03
  10  norm          1.5882        1.1198       -.20212E-07   -.12593E-04
  11  Prefactor     .10000E-03    2.9888        .63509E-07** at limit **
  12  Prefactor     .10000E-03    1.0598        .72656E-07** at limit **
  13  norm          2.1756        1.1981        .20635E-08   -.92661E-04
  14  norm          .10000E-03    .96062        .15491E-06** at limit **
  15  Prefactor     10.216        4.0912        .80307E-09   -.52649E-05
  16  norm          1.2635        1.4773        .74752E-07   -.28147E-04
  17  Prefactor     21.634        27.067       -.10385E-06   -.21893E-04
  18  Prefactor     10.122        9.8331        .17673E-07   -.72459E-05
  19  Normalizat    .76797        .14604        .39353E-06   -.11372E-03
  20  Prefactor     1.0180        .17143       -.83463E-06   -.30955E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.9787
  Prefactor  = 15.6296
  norm       = 0.0001
  norm       = 1.49458
  Prefactor  = 0.0001
  Prefactor  = 15.6696
  Prefactor  = 6.33678
  Prefactor  = 1.38172
  norm       = 1.86092
  norm       = 1.58816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.17562
  norm       = 0.0001
  Prefactor  = 10.216
  norm       = 1.26352
  Prefactor  = 21.6338
  Prefactor  = 10.1218
  Normalizat = 0.767971
  Prefactor  = 1.01801
 **********
 **   18 **HESSE 
 **********

 FCN=   6352.229     FROM HESSE     STATUS=OK           303 CALLS     2049 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.9787        4.7553        .11653E-03   -1.5076    
   2  Prefactor     15.630        99.501        .10099E-03   -1.4917    
   3  norm          .10000E-03    7.5350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4946        2.1041        .13435E-03   -1.5463    
   5  Prefactor     .10000E-03    6.0840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.670        11.573        .10118E-03   -1.4916    
   7  Prefactor     6.3368        3.1649        .96632E-04   -1.5204    
   8  Prefactor     1.3817        13.738        .37234E-03   -1.5473    
   9  norm          1.8609        1.8274        .84750E-04   -1.5435    
  10  norm          1.5882        1.1319        .68838E-04   -1.5456    
  11  Prefactor     .10000E-03    2.9913        .13455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.0645        .80024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1756        1.1951        .61616E-04   -1.5413    
  14  norm          .10000E-03    3.2998        .14990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.216        4.0933        .98549E-04   -1.5069    
  16  norm          1.2635        1.4530        .10105E-03   -1.5483    
  17  Prefactor     21.634        27.072        .86087E-04   -1.4777    
  18  Prefactor     10.122        9.8376        .12595E-03   -1.5072    
  19  Normalizat    .76797        .16870        .22575E-03   -1.0127    
  20  Prefactor     1.0180        .19763        .24195E-03   -.92132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74764e-10
Minuit parameter uncertainties:
  1  4.7555
  2  79.0646
  3  7.79068e-06
  4  2.10418
  5  2.41209e-06
  6  11.5749
  7  3.16497
  8  8.71589
  9  1.82741
  10  1.1319
  11  3.95853e-07
  12  1.81723e-06
  13  1.19514
  14  6.89007e-05
  15  4.09344
  16  1.45304
  17  27.0878
  18  9.83921
  19  0.168814
  20  0.197767
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  3.959e-07  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:  1.018e+00  1.978e-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.680e-01  1.688e-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: 3.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/561422/likelihoodResults_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.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) = 6352.23103992
delta logL = -0.00157999529256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6352.22945986
delta logL = 6.33272065897e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2062       1.0000          .0000       10.000    
     3 'Normalizat'    .76803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0179       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=   6352.229     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      243 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.319        .13620E-01** at limit **
   2  Index         1.7301        5.7177        .50000        .19504E-06
   3  Normalizat    .76797        .63293E-02    .22575E-03   -.34799E-03
   4  Prefactor     1.0180        .77566E-02    .24195E-03   -.32042E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.73015
  Normalizat = 0.767972
  Prefactor  = 1.01801
 **********
 **   18 **HESSE 
 **********

 FCN=   6352.229     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    150.12        .14839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7301        5.8533        .50000       -.71282    
   3  Normalizat    .76797        .23112E-01    .45150E-04   -1.0127    
   4  Prefactor     1.0180        .28324E-01    .48390E-04   -.92132    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.65448e-10
Minuit parameter uncertainties:
  1  0.000132916
  2  764.149
  3  0.0231124
  4  0.028324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561422': 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): 102
logL (Free Index) = 6352.22945696
delta logL = 2.96440612146e-06

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.329e-04  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  1.730e+00  7.641e+02  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.018e+00  2.832e-02  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.680e-01  2.311e-02  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/561422/cmap_HighResolution_510710401_510969601_4FGL_J0125.3-2548_daily_bin1047.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2021-08-14 00:19:33.683127', job_id='561422', GAL2='1.02', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1628925573.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1047' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:19:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0179>
Subject: Job 561422: <4FGL_J0125.3-2548_daily_bin1047> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1047> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 00:05:38 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:06:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 00:06:26 2021
Terminated at Sat Aug 14 00:19:35 2021
Results reported at Sat Aug 14 00:19:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1047 21.3474 -25.8074 510710401 510969601 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 :                                   683.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            837 sec.

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

