/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 3 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 = 7409
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0125.3-2548_daily_bin326
RA = 21.3474, Dec = -25.8074
tmin = 323827201, tmax = 324086401
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='558158', job_status='RUN', time_executed='2021-08-13 23:59:53.372428', time_epoch_executed='1628924393.37' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/558158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/558158/ft1_4FGL_J0125.3-2548_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/558158/ft1_4FGL_J0125.3-2548_daily_bin326.fits outfile=/scratch/kocevski/558158/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin326.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=323827201.0 tmax=324086401.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 12.99
user 3.18
sys 9.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.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/558158/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin326.fits evtable="EVENTS" outfile="/scratch/kocevski/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.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 10.02
user 0.34
sys 9.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/558158/ltcube_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.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/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits
.....................!
real 24.74
user 13.23
sys 11.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/558158/ltcube_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.fits outfile=/scratch/kocevski/558158/expmap_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.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/558158/ltcube_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.fits
.....................!
real 204.02
user 186.03
sys 17.35

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/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.fits scfile=/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits outfile=/scratch/kocevski/558158/cmap_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.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 9.62
user 0.40
sys 9.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.fits scfile=/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits outfile=/scratch/kocevski/558158/cmap_HighResolution_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.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 9.78
user 0.42
sys 9.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/558158/ft2_4FGL_J0125.3-2548_daily_bin326.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/558158/Model_4FGL_J0125.3-2548_daily_bin326.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/558158/ft1_filtered_4FGL_J0125.3-2548_daily_bin326.fits.....................!
real 58.35
user 44.08
sys 13.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4293       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0299       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0191       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.326       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.2161       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .72984E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0608       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6675       1.0000         .10000E-03   10000.    
    14 'norm      '    2.2176       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4060       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.853       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.620       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99421       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .79859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5027.298     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1765 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0819        .17863E-05** at limit **
   2  Prefactor     .10000E-03    41.178        .25318E-05** at limit **
   3  norm          1.4305        3.2645        .13018E-04    .77013E-03
   4  norm          .10000E-03    .66208       -.20410E-08** at limit **
   5  Prefactor     3.0304        1.6411        .23901E-05    .16004E-02
   6  Prefactor     .10000E-03    3.1334        .91589E-06** at limit **
   7  Prefactor     3.0190        2.8979        .12336E-06   -.62718E-03
   8  Prefactor     11.326        8.5019        .12588E-04   -.13204E-02
   9  norm          .10000E-03    1.8526       -.16389E-07** at limit **
  10  norm          1.2163        1.2213       -.13676E-06   -.34889E-03
  11  Prefactor     .10010E-03    220.28       -.34573E-04** at limit **
  12  Prefactor     8.0623        5.4822       -.28004E-05   -.92046E-03
  13  norm          3.6675        1.5813       -.30995E-07   -.16134E-03
  14  norm          2.2193        2.5578       -.56718E-07   -.10980E-03
  15  Prefactor     1.4061        3.3931       -.93954E-06   -.10130E-03
  16  norm          .10000E-03    1.0288       -.11346E-06** at limit **
  17  Prefactor     17.849        1.2202       -.98567E-07   -.30158E-03
  18  Prefactor     23.620        1.0060       -.73252E-07   -.35806E-03
  19  Normalizat    .99422        .19785       -.47793E-05   -.47174E-03
  20  Prefactor     .79859        .22254       -.36218E-06   -.33724E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.43053
  norm       = 0.0001
  Prefactor  = 3.03036
  Prefactor  = 0.0001
  Prefactor  = 3.01901
  Prefactor  = 11.3263
  norm       = 0.0001
  norm       = 1.21625
  Prefactor  = 0.000100099
  Prefactor  = 8.06234
  norm       = 3.66748
  norm       = 2.21927
  Prefactor  = 1.40609
  norm       = 0.0001
  Prefactor  = 17.8489
  Prefactor  = 23.6202
  Normalizat = 0.994221
  Prefactor  = 0.79859
 **********
 **   18 **HESSE 
 **********

 FCN=   5027.298     FROM HESSE     STATUS=OK           349 CALLS     2114 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1903        .41222E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    41.152        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4305        12.588        .90351E-02   -1.5469    
   4  norm          .10000E-03    .66126        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0304        5.5496        .58282E-02   -1.5360    
   6  Prefactor     .10000E-03    3.1300        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0190        2.9080        .58391E-02   -1.5360    
   8  Prefactor     11.326        9.4971        .29761E-02   -1.5035    
   9  norm          .10000E-03    1.2303        .30064E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2163        1.1960        .10239E-01   -1.5487    
  11  Prefactor     .10010E-03    13.068        .93158E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0623        5.7186        .35304E-02   -1.5140    
  13  norm          3.6675        1.5844        .52729E-02   -1.5325    
  14  norm          2.2193        2.6456        .69041E-02   -1.5410    
  15  Prefactor     1.4061        3.4345        .91406E-02   -1.5471    
  16  norm          .10000E-03    1.0215        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.849        27.944        .23698E-02   -1.4863    
  18  Prefactor     23.620        13.709        .20605E-02   -1.4736    
  19  Normalizat    .99422        .16914        .46094E-01   -.93224    
  20  Prefactor     .79859        .18985        .43699E-01   -.99780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47969e-08
Minuit parameter uncertainties:
  1  2.94343e-05
  2  0.000224245
  3  8.4892
  4  6.54229e-06
  5  5.55056
  6  2.41722e-05
  7  2.90817
  8  9.49832
  9  1.77813e-06
  10  1.19605
  11  0.00227954
  12  5.71899
  13  1.58446
  14  2.64574
  15  3.43496
  16  9.25637e-06
  17  27.9641
  18  13.7106
  19  0.169231
  20  0.190006
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.001e-04  2.280e-03  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:  7.986e-01  1.900e-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.942e-01  1.692e-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: 7.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/558158/likelihoodResults_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.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) = 5027.29761953
delta logL = -2.18599252548e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5027.29761952
delta logL = -2.18478498937e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96363E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2237       1.0000          .0000       10.000    
     3 'Normalizat'    .99422       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79859       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.

 FCN=   5027.138     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      325 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8685        111.20        .90712E-02    .66167E-03
   2  Index         3.2221        6.5904        .14875        .94523E-04
   3  Normalizat    .96805        .37971E-01    .46094E-01    .37213E-05
   4  Prefactor     .81341        .44221E-01    .43699E-01    .10995E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86849
  Index      = 3.22209
  Normalizat = 0.968054
  Prefactor  = 0.813414
 **********
 **   18 **HESSE 
 **********

 FCN=   5027.138     FROM HESSE     STATUS=OK            33 CALLS      358 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8685        10.504        .17145E-03   -1.5435    
   2  Index         3.2221        2.0999        .87470E-02   -.36354    
   3  Normalizat    .96805        .19450        .21165E-03   -.94108    
   4  Prefactor     .81341        .22329        .26727E-03   -.99236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16383e-11
Minuit parameter uncertainties:
  1  8.86233
  2  2.17791
  3  0.194639
  4  0.223541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/558158': 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) = 5027.13773691
delta logL = 0.159860758437

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.868e+00  8.862e+00  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  3.222e+00  2.178e+00  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.134e-01  2.235e-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.681e-01  1.946e-01  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/558158/cmap_HighResolution_323827201_324086401_4FGL_J0125.3-2548_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', job_status='DONE', photon_flux_upper_limit='7.34e-08', time_completed='2021-08-14 00:11:20.611993', job_id='558158', GAL2='0.81', fit_tolerance='1e-08', EG2='0.97', EG='0.99', time_epoch_completed='1628925080.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.60e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='326' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:11:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 558158: <4FGL_J0125.3-2548_daily_bin326> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin326> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 23:55:40 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:57:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 23:57:13 2021
Terminated at Sat Aug 14 00:11:22 2021
Results reported at Sat Aug 14 00:11:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin326 21.3474 -25.8074 323827201 324086401 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 :                                   829.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            942 sec.

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

