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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1600
RA = 23.5887, Dec = -38.7085
tmin = 654048001, tmax = 654307201
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='253389', job_status='RUN', time_executed='2021-09-26 00:05:12.539951', time_epoch_executed='1632639912.54' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253389

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253389/ft1_4FGL_J0134.3-3842_daily_bin1600.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253389/ft1_4FGL_J0134.3-3842_daily_bin1600.fits outfile=/scratch/kocevski/253389/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1600.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=654048001.0 tmax=654307201.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 3.56
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.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/253389/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1600.fits evtable="EVENTS" outfile="/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits" evtable="EVENTS" scfile=/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits sctable="SC_DATA" outfile=/scratch/kocevski/253389/ltcube_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.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/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits
.....................!
real 12.98
user 12.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits sctable="SC_DATA" expcube=/scratch/kocevski/253389/ltcube_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.fits outfile=/scratch/kocevski/253389/expmap_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.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/253389/ltcube_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.fits
.....................!
real 190.86
user 185.79
sys 4.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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 185 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0134.3-3842 @ 23.5887 -38.7085

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits scfile=/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits outfile=/scratch/kocevski/253389/cmap_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.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=23.5887 yref=-38.7085 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits scfile=/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits outfile=/scratch/kocevski/253389/cmap_HighResolution_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.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=23.5887 yref=-38.7085 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253389/Model_4FGL_J0134.3-3842_daily_bin1600.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits.....................!
real 85.13
user 83.77
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits', '/scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits', expMap='/scratch/kocevski/253389/expmap_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.fits', expCube='/scratch/kocevski/253389/ltcube_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253389/Model_4FGL_J0134.3-3842_daily_bin1600.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0134.3-3842'

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  3.272e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253389/ft1_filtered_4FGL_J0134.3-3842_daily_bin1600.fits
Spacecraft file(s): /scratch/kocevski/253389/ft2_4FGL_J0134.3-3842_daily_bin1600.fits
Exposure map: /scratch/kocevski/253389/expmap_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.fits
Exposure cube: /scratch/kocevski/253389/ltcube_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253389/Model_4FGL_J0134.3-3842_daily_bin1600.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) = 4517.07716311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    7.3997       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .99136       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10799E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.993       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.380       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8447       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.019       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.038       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.917       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10773E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3021       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .39125       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4991       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4517.068     FROM MIGRAD    STATUS=CONVERGED    370 CALLS     1867 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.492       -.22530E-04** at limit **
   2  Prefactor     7.4004        8.2982        .14536E-06   -.51525E-04
   3  norm          .10000E-03    8.9110       -.48795E-05** at limit **
   4  norm          .99138        2.5641       -.62883E-06   -.97435E-03
   5  Prefactor     .10000E-03    9.0439        .49802E-05** at limit **
   6  Prefactor     .10000E-03    1.5925       -.21960E-07** at limit **
   7  Prefactor     .10000E-03    42.884       -.13706E-04** at limit **
   8  Prefactor     58.994        38.404        .77841E-06    .31265E-05
   9  Prefactor     24.380        7.6945       -.10075E-06   -.11815E-04
  10  norm          2.8448        4.0958       -.82267E-06   -.37293E-03
  11  Prefactor     11.019        8.8633       -.11331E-06   -.95316E-05
  12  norm          .10000E-03    1.4620        .65212E-08** at limit **
  13  Prefactor     15.038        12.887       -.86831E-07   -.16921E-04
  14  Prefactor     .10000E-03    10.588        .72144E-06** at limit **
  15  Prefactor     14.910        16.272       -.18871E-05   -.54811E-03
  16  Prefactor     .10000E-03    23.689        .31499E-04** at limit **
  17  norm          4.3023        3.8432        .34593E-06   -.29625E-03
  18  Normalizat    .39119        .19340        .65162E-06    .55074E-04
  19  Prefactor     1.4991        .22140        .38419E-07    .69545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.4004
  norm       = 0.0001
  norm       = 0.991376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.9936
  Prefactor  = 24.3805
  norm       = 2.84475
  Prefactor  = 11.0187
  norm       = 0.0001
  Prefactor  = 15.0379
  Prefactor  = 0.0001
  Prefactor  = 14.9097
  Prefactor  = 0.0001
  norm       = 4.30229
  Normalizat = 0.391189
  Prefactor  = 1.49913
 **********
 **   18 **HESSE 
 **********

 FCN=   4517.068     FROM HESSE     STATUS=OK           268 CALLS     2135 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4004        8.2900        .14744E-03   -1.5164    
   3  norm          .10000E-03    8.9102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .99138        2.3262        .16835E-02   -1.5509    
   5  Prefactor     .10000E-03    9.0451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.6058        .82798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    43.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     58.994        38.369        .52235E-04   -1.4170    
   9  Prefactor     24.380        7.6875        .81127E-04   -1.4720    
  10  norm          2.8448        4.0886        .15567E-03   -1.5371    
  11  Prefactor     11.019        8.8574        .12069E-03   -1.5044    
  12  norm          .10000E-03    1.4637        .79352E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.038        12.881        .10329E-03   -1.4932    
  14  Prefactor     .10000E-03    10.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.910        16.340        .10370E-03   -1.4936    
  16  Prefactor     .10000E-03    23.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3023        3.8316        .11838E-03   -1.5293    
  18  Normalizat    .39119        .21219        .33735E-03   -1.1776    
  19  Prefactor     1.4991        .24703        .22008E-03   -.77564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.162e-09
Minuit parameter uncertainties:
  1  2.04791e-05
  2  8.29128
  3  7.84364e-07
  4  2.32638
  5  3.23659e-06
  6  9.2088e-07
  7  9.07355e-05
  8  38.3849
  9  7.68777
  10  4.08901
  11  8.85848
  12  2.15794e-07
  13  12.8833
  14  1.56866e-06
  15  16.3444
  16  6.42169e-05
  17  3.83183
  18  0.212625
  19  0.247227
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  5.899e+01  3.838e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.499e+00  2.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  3.912e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.20
Ra Dec: 23.589 -38.709
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 7.74e-08 +/- 5.03e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.48e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4516.93052003
delta logL = 0.13769110787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4516.92088272
delta logL = 0.147328424601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.533       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8813       1.0000          .0000       10.000    
     3 'Normalizat'    .36588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5191       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+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=   4516.921     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      298 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.499        50.070        .62201E-04   -.12257E-03
   2  Index         2.8819        .87372        .49439E-02   -.88817E-04
   3  Normalizat    .36560        .21005        .34829E-03    .35482E-04
   4  Prefactor     1.5200        .25013        .21878E-03    .28996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.4991
  Index      = 2.8819
  Normalizat = 0.365603
  Prefactor  = 1.52001
 **********
 **   18 **HESSE 
 **********

 FCN=   4516.921     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.499        44.374        .12440E-04   -1.4419    
   2  Index         2.8819        .77410        .19776E-03   -.43744    
   3  Normalizat    .36560        .20910        .13931E-04   -1.1912    
   4  Prefactor     1.5200        .24931        .87512E-05   -.76981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57928e-10
Minuit parameter uncertainties:
  1  44.4097
  2  0.777919
  3  0.209544
  4  0.249507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253389': 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) = 4516.92086766
delta logL = 0.147343484745

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  4.150e+01  4.441e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.882e+00  7.779e-01  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.520e+00  2.495e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  3.656e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.64
Ra Dec: 23.589 -38.709
Photon Index (Free Index): 2.88 +/- 0.78
Photon Flux (Free Index): 9.90e-08 +/- 6.80e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/253389/cmap_HighResolution_654048001_654307201_4FGL_J0134.3-3842_daily_bin1600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.74e-08', energy_flux2='2.11e-05', photon_flux_error='5.03e-08', dlogl='1.47e-01', energy_flux='2.27e-05', photon_flux2='9.90e-08', job_status='DONE', time_completed='2021-09-26 00:13:59.185360', photon_index_error2='0.78', photon_index2='2.88', ts='4.20', fit_tolerance='1e-08', GAL='1.50', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='0.39', time_epoch_completed='1632640439.19', return_code='0', job_id='253389', GAL2='1.52', EG2='0.37', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='6.80e-08', ts2='4.64', photon_index='2.49' WHERE bin_id='1600' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:13:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 253389: <4FGL_J0134.3-3842_daily_bin1600> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1600> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 26 00:00:33 2021
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:03:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:03:50 2021
Terminated at Sun Sep 26 00:14:00 2021
Results reported at Sun Sep 26 00:14:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1600 23.5887 -38.7085 654048001 654307201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0134.3-3842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   528.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            807 sec.

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

