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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1010
RA = 21.3474, Dec = -25.8074
tmin = 501120001, tmax = 501379201
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='561368', job_status='RUN', time_executed='2021-08-14 00:08:45.470940', time_epoch_executed='1628924925.47' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561368

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561368/ft1_4FGL_J0125.3-2548_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561368/ft1_4FGL_J0125.3-2548_daily_bin1010.fits outfile=/scratch/kocevski/561368/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1010.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=501120001.0 tmax=501379201.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 11.16
user 3.28
sys 7.80

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561368/ft1_filtered_4FGL_J0125.3-2548_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/561368/ltcube_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.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/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits
.....................!
real 23.48
user 13.87
sys 9.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561368/ft1_filtered_4FGL_J0125.3-2548_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/561368/ltcube_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.fits outfile=/scratch/kocevski/561368/expmap_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.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/561368/ltcube_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.fits
.....................!
real 204.72
user 188.96
sys 15.26

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/561368/ft1_filtered_4FGL_J0125.3-2548_daily_bin1010.fits scfile=/scratch/kocevski/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits outfile=/scratch/kocevski/561368/cmap_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.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 8.15
user 0.40
sys 7.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561368/ft1_filtered_4FGL_J0125.3-2548_daily_bin1010.fits scfile=/scratch/kocevski/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits outfile=/scratch/kocevski/561368/cmap_HighResolution_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.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 8.07
user 0.40
sys 7.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561368/ft1_filtered_4FGL_J0125.3-2548_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/561368/ft2_4FGL_J0125.3-2548_daily_bin1010.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561368/Model_4FGL_J0125.3-2548_daily_bin1010.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/561368/ft1_filtered_4FGL_J0125.3-2548_daily_bin1010.fits.....................!
real 59.15
user 47.74
sys 11.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.463       1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.996       1.0000         .10000E-03   10000.    
     3 'norm      '    .10503E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .48348       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11093E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6701       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4158       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4481       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19423E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8151       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4482       1.0000         .10000E-03   10000.    
    16 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12049E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6239       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0972       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .66045       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=   5526.543     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2014 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.465        6.3005        .93261E-07    .96972E-04
   2  Prefactor     74.863        93.411       -.15200E-03    .10677E-04
   3  norm          .10000E-03    4.5159        .40810E-05** at limit **
   4  norm          .48326        1.5725       -.29440E-06   -.14569E-02
   5  Prefactor     .10000E-03    1.6192        .22936E-06** at limit **
   6  Prefactor     6.6316        8.5758       -.16566E-05    .28257E-04
   7  Prefactor     2.4154        2.3400       -.12592E-05   -.19802E-03
   8  Prefactor     .10000E-03    7.0618       -.12363E-06** at limit **
   9  norm          1.4486        1.4881        .16726E-06    .33042E-03
  10  norm          2.1345        1.8445       -.23515E-06    .82781E-04
  11  Prefactor     .10000E-03    4.8349       -.38017E-05** at limit **
  12  Prefactor     .10000E-03    3.0197       -.24456E-06** at limit **
  13  norm          .10000E-03    .48931       -.16936E-06** at limit **
  14  norm          3.8150        2.3992       -.73367E-06    .31549E-04
  15  Prefactor     6.4473        4.0787       -.80928E-06   -.60681E-04
  16  norm          .10000E-03    .96664       -.19013E-06** at limit **
  17  Prefactor     .10000E-03    10.159        .41334E-05** at limit **
  18  Prefactor     3.5975        8.0892       -.14971E-05   -.22739E-03
  19  Normalizat    1.0974        .15226        .80953E-05   -.29863E-03
  20  Prefactor     .66042        .17203        .56118E-06    .38622E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4651
  Prefactor  = 74.8626
  norm       = 0.000100001
  norm       = 0.483263
  Prefactor  = 0.0001
  Prefactor  = 6.63164
  Prefactor  = 2.41538
  Prefactor  = 0.0001
  norm       = 1.44859
  norm       = 2.13452
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.81503
  Prefactor  = 6.44734
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.59749
  Normalizat = 1.09735
  Prefactor  = 0.660419
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.543     FROM HESSE     STATUS=OK           295 CALLS     2309 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.465        6.3035        .10532E-03   -1.4947    
   2  Prefactor     74.863        93.510        .23182E-03   -1.3975    
   3  norm          .10000E-03    4.5274        .15443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .48326        1.6576        .16254E-02   -1.5569    
   5  Prefactor     .10000E-03    1.6225        .92373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.6316        8.5670        .15537E-03   -1.5193    
   7  Prefactor     2.4154        2.3315        .10836E-03   -1.5397    
   8  Prefactor     .10000E-03    7.1301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4486        1.4627        .88584E-04   -1.5467    
  10  norm          2.1345        1.8381        .90547E-04   -1.5416    
  11  Prefactor     .10000E-03    4.8425        .15962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.1116        .25165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .51279        .10143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.8150        2.4021        .85406E-04   -1.5317    
  15  Prefactor     6.4473        4.0800        .11476E-03   -1.5200    
  16  norm          .10000E-03    .98964        .14260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.160        .20635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5975        8.0847        .21223E-03   -1.5329    
  19  Normalizat    1.0974        .17751        .19304E-03   -.89837    
  20  Prefactor     .66042        .20007        .28335E-03   -1.0510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9803e-09
Minuit parameter uncertainties:
  1  6.30383
  2  93.6943
  3  0.00016483
  4  1.65777
  5  2.37962e-05
  6  8.56855
  7  2.33158
  8  5.8526e-05
  9  1.46269
  10  1.83815
  11  1.01572e-05
  12  1.73058e-05
  13  1.08231e-05
  14  2.40213
  15  4.08013
  16  1.45952e-05
  17  2.08859e-05
  18  8.08712
  19  0.177609
  20  0.200283
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.016e-05  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:  6.604e-01  2.003e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.097e+00  1.776e-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: 4.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/561368/likelihoodResults_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.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) = 5526.54400582
delta logL = -0.000981518458502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5526.5430243
delta logL = 1.31785782287e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2202       1.0000          .0000       10.000    
     3 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66041       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=   5526.543     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1090.8        .90712E-02** at limit **
   2  Index         2.2166        6.8827        .50000        .59649E-05
   3  Normalizat    1.0974        .11348        .38109E-01   -.21484E-05
   4  Prefactor     .66041        .13204        .64045E-01    .22988E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.21664
  Normalizat = 1.09736
  Prefactor  = 0.66041
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.543     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.646        .15971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2166        5.5586        .50000       -.59038    
   3  Normalizat    1.0974        .16886        .19304E-03   -.89837    
   4  Prefactor     .66041        .19736        .28335E-03   -1.0510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78798e-10
Minuit parameter uncertainties:
  1  1.89104e-06
  2  9.18577
  3  0.16894
  4  0.197565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561368': 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) = 5526.54302429
delta logL = 1.14378053695e-08

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.891e-06  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.217e+00  9.186e+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:  6.604e-01  1.976e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.097e+00  1.689e-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/561368/cmap_HighResolution_501120001_501379201_4FGL_J0125.3-2548_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-03', job_status='DONE', photon_flux_upper_limit='4.53e-08', time_completed='2021-08-14 00:20:20.964251', job_id='561368', GAL2='0.66', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1628925620.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1010' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:20:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0014>
Subject: Job 561368: <4FGL_J0125.3-2548_daily_bin1010> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1010> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 00:05:33 2021
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:06:13 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:13 2021
Terminated at Sat Aug 14 00:20:23 2021
Results reported at Sat Aug 14 00:20:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1010 21.3474 -25.8074 501120001 501379201 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 :                                   809.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            890 sec.

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

