/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 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 = 7370
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1034
RA = 21.3474, Dec = -25.8074
tmin = 507340801, tmax = 507600001
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='561402', job_status='RUN', time_executed='2021-08-14 00:07:40.512683', time_epoch_executed='1628924860.51' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1034'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561402

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561402/ft1_4FGL_J0125.3-2548_daily_bin1034.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561402/ft1_4FGL_J0125.3-2548_daily_bin1034.fits outfile=/scratch/kocevski/561402/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1034.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=507340801.0 tmax=507600001.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.18
user 3.30
sys 0.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561402/ft1_filtered_4FGL_J0125.3-2548_daily_bin1034.fits" evtable="EVENTS" scfile=/scratch/kocevski/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits sctable="SC_DATA" outfile=/scratch/kocevski/561402/ltcube_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.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/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits
.....................!
real 13.05
user 12.06
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561402/ft1_filtered_4FGL_J0125.3-2548_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits sctable="SC_DATA" expcube=/scratch/kocevski/561402/ltcube_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.fits outfile=/scratch/kocevski/561402/expmap_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.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/561402/ltcube_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.fits
.....................!
real 193.33
user 187.43
sys 5.47

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/561402/ft1_filtered_4FGL_J0125.3-2548_daily_bin1034.fits scfile=/scratch/kocevski/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits outfile=/scratch/kocevski/561402/cmap_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=21.3474 yref=-25.8074 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.13
user 0.38
sys 0.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561402/ft1_filtered_4FGL_J0125.3-2548_daily_bin1034.fits scfile=/scratch/kocevski/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits outfile=/scratch/kocevski/561402/cmap_HighResolution_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.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 1.15
user 0.37
sys 0.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561402/ft1_filtered_4FGL_J0125.3-2548_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/561402/ft2_4FGL_J0125.3-2548_daily_bin1034.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561402/Model_4FGL_J0125.3-2548_daily_bin1034.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/561402/ft1_filtered_4FGL_J0125.3-2548_daily_bin1034.fits.....................!
real 46.75
user 44.69
sys 1.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6414       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .39366       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0069       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .47520E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7485       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3731       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4456       1.0000         .10000E-03   10000.    
    10 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5380       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .78014       1.0000         .10000E-03   10000.    
    14 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0022       1.0000         .10000E-03   10000.    
    16 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.406       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94799       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86395       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=   5370.764     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1485 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6395        4.5008       -.45961E-05   -.79187E-02
   2  Prefactor     .10032E-03    63.360        .11338E-04** at limit **
   3  norm          .39034        1.0199       -.38217E-05    .96108E-04
   4  norm          4.0075        2.8925        .86166E-07   -.14836E-03
   5  Prefactor     .11809        55.635        .13089E-04    .80110E-03
   6  Prefactor     3.7117        7.5612        .79116E-05   -.96932E-03
   7  Prefactor     2.3739        2.6924        .45399E-07    .17569E-05
   8  Prefactor     .10000E-03    9.8550       -.50350E-06** at limit **
   9  norm          1.4467        1.6184       -.73420E-07    .37826E-03
  10  norm          .10000E-03    .68844       -.49629E-07** at limit **
  11  Prefactor     1.4962        11.127        .35685E-05   -.68430E-03
  12  Prefactor     .10000E-03    2.3825       -.10278E-06** at limit **
  13  norm          .78087        1.1316        .11860E-06    .14566E-03
  14  norm          .10000E-03    .91760       -.20355E-06** at limit **
  15  Prefactor     9.0034        4.4355        .25191E-05    .23337E-02
  16  norm          .10000E-03    1.6614        .12494E-06** at limit **
  17  Prefactor     11.359        7.6987       -.63090E-05    .75387E-02
  18  Prefactor     .10000E-03    9.2494       -.46918E-06** at limit **
  19  Normalizat    .94781        .17816       -.83259E-06   -.17194E-03
  20  Prefactor     .86391        .21179       -.16835E-06   -.88478E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.63947
  Prefactor  = 0.00010032
  norm       = 0.390338
  norm       = 4.00748
  Prefactor  = 0.118087
  Prefactor  = 3.71166
  Prefactor  = 2.37392
  Prefactor  = 0.000100003
  norm       = 1.44665
  norm       = 0.0001
  Prefactor  = 1.49621
  Prefactor  = 0.0001
  norm       = 0.780867
  norm       = 0.0001
  Prefactor  = 9.00343
  norm       = 0.0001
  Prefactor  = 11.3588
  Prefactor  = 0.000100003
  Normalizat = 0.947811
  Prefactor  = 0.863909
 **********
 **   18 **HESSE 
 **********

 FCN=   5370.764     FROM HESSE     STATUS=OK           347 CALLS     1832 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6395        5.7519        .32265E-02   -1.5087    
   2  Prefactor     .10032E-03    64.856        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39034        6.6376        .69270E-01   -1.5583    
   4  norm          4.0075        2.8932        .50368E-02   -1.5308    
   5  Prefactor     .11809        3.2526        .73213E-01   -1.5639    
   6  Prefactor     3.7117        9.5476        .52135E-02   -1.5323    
   7  Prefactor     2.3739        2.7043        .66490E-02   -1.5400    
   8  Prefactor     .10000E-03    9.8444        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4467        1.6545        .89640E-02   -1.5467    
  10  norm          .10000E-03    .68402        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4962        12.551        .85971E-02   -1.5463    
  12  Prefactor     .10000E-03    2.3401        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .78087        1.1317        .12366E-02   -1.5531    
  14  norm          .10000E-03    .87970        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.0034        4.4518        .33396E-02   -1.5108    
  16  norm          .10000E-03    1.6077        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.359        37.331        .29655E-02   -1.5034    
  18  Prefactor     .10000E-03    9.2308        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94781        .15218        .45512E-01   -.94800    
  20  Prefactor     .86391        .17896        .44544E-01   -.97414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24502e-06
Minuit parameter uncertainties:
  1  5.75226
  2  0.00911612
  3  3.21927
  4  2.89328
  5  1.23904
  6  9.55149
  7  2.70443
  8  0.000344006
  9  1.65455
  10  1.8283e-05
  11  8.66899
  12  4.07152e-08
  13  1.1317
  14  2.64396e-05
  15  4.45196
  16  2.0437e-05
  17  37.4082
  18  0.000319039
  19  0.152254
  20  0.179079
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.496e+00  8.669e+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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.639e-01  1.791e-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.478e-01  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 21.347 -25.807
Photon Flux Upper Limit: 5.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/561402/likelihoodResults_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.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): 0
logL (Free Index) = 5370.75364379
delta logL = 0.0100955288144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5370.75334358
delta logL = 0.0103957343617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3782       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4884       1.0000          .0000       10.000    
     3 'Normalizat'    .94641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86458       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=   5370.753     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      254 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3789        10.591        .37091E-03    .13762E-03
   2  Index         2.4876        1.8931        .83655E-02    .61759E-04
   3  Normalizat    .94653        .17599        .20351E-03    .58319E-03
   4  Prefactor     .86443        .21033        .25293E-03    .41325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37894
  Index      = 2.48761
  Normalizat = 0.946531
  Prefactor  = 0.864433
 **********
 **   18 **HESSE 
 **********

 FCN=   5370.753     FROM HESSE     STATUS=OK            23 CALLS      277 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3789        9.2658        .14836E-04   -1.5473    
   2  Index         2.4876        1.7791        .33462E-03   -.52646    
   3  Normalizat    .94653        .17616        .40702E-04   -.94844    
   4  Prefactor     .86443        .21050        .50587E-04   -.97395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37876e-10
Minuit parameter uncertainties:
  1  7.15031
  2  1.83363
  3  0.176264
  4  0.210697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561402': 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) = 5370.75334322
delta logL = 0.010396093292

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.379e+00  7.150e+00  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.488e+00  1.834e+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.644e-01  2.107e-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.465e-01  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/561402/cmap_HighResolution_507340801_507600001_4FGL_J0125.3-2548_daily_bin1034.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2021-08-14 00:16:46.343953', job_id='561402', GAL2='0.86', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1628925406.34', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.04e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1034' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:16:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0145>
Subject: Job 561402: <4FGL_J0125.3-2548_daily_bin1034> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1034 21.3474 -25.8074 507340801 507600001 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 :                                   550.69 sec.
    Max Memory :                                 627 MB
    Average Memory :                             281.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            671 sec.

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

