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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1219
RA = 23.5887, Dec = -38.7085
tmin = 555292801, tmax = 555552001
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='659630', job_status='RUN', time_executed='2021-08-14 05:35:48.142115', time_epoch_executed='1628944548.14' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659630

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659630/ft1_4FGL_J0134.3-3842_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659630/ft1_4FGL_J0134.3-3842_daily_bin1219.fits outfile=/scratch/kocevski/659630/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1219.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=555292801.0 tmax=555552001.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 5.88
user 3.39
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.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/659630/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1219.fits evtable="EVENTS" outfile="/scratch/kocevski/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.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 4.55
user 0.35
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/659630/ltcube_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.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/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits
.....................!
real 18.64
user 12.23
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/659630/ltcube_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.fits outfile=/scratch/kocevski/659630/expmap_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.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/659630/ltcube_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.fits
.....................!
real 195.88
user 187.34
sys 5.24

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/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits scfile=/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits outfile=/scratch/kocevski/659630/cmap_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.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 1.18
user 0.38
sys 0.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits scfile=/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits outfile=/scratch/kocevski/659630/cmap_HighResolution_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.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 5.78
user 0.39
sys 0.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659630/Model_4FGL_J0134.3-3842_daily_bin1219.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/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits.............!
real 28.24
user 15.01
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits', '/scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits', expMap='/scratch/kocevski/659630/expmap_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.fits', expCube='/scratch/kocevski/659630/ltcube_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659630/Model_4FGL_J0134.3-3842_daily_bin1219.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/659630/ft1_filtered_4FGL_J0134.3-3842_daily_bin1219.fits
Spacecraft file(s): /scratch/kocevski/659630/ft2_4FGL_J0134.3-3842_daily_bin1219.fits
Exposure map: /scratch/kocevski/659630/expmap_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.fits
Exposure cube: /scratch/kocevski/659630/ltcube_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659630/Model_4FGL_J0134.3-3842_daily_bin1219.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 187.111607736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 186.530126744

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2897       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13952E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    7.7506       1.0000         .10000E-03   10000.    
     4 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15067E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11600E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6207       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0206       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .66588E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .13750E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2267       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5781       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3266       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4194       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0721       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5261       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0164       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10013E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2912       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   186.5001     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      365 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62267E-02    561.13        .48629E-02    .68434E-02
   2  Prefactor     .10000E-03    29.504        .90926E-02** at limit **
   3  norm          .99563E-03    260.72        .36009E-02** at limit **
   4  norm          .10000E-03    5.3167        .90712E-02** at limit **
   5  Prefactor     .10908E-03    153.21        .10234E-01** at limit **
   6  Prefactor     .10000E-03    12.857        .90712E-02** at limit **
   7  Prefactor     3.6207        1.0099         .0000         .0000    
   8  Prefactor     .10004E-03    .13243       -.49441E-04** at limit **
   9  Prefactor     .10000E-03    .27582        .18542E-05** at limit **
  10  norm          .10000E-03    .20571       -.55571E-05** at limit **
  11  Prefactor     1.2267        1.1254         .0000         .0000    
  12  norm          1.5781        1.0619         .0000         .0000    
  13  Prefactor     .20779E-03    .76958E-01    .69534E-03** at limit **
  14  Prefactor     3.4194        1.0111         .0000         .0000    
  15  Prefactor     2.0721        1.0326         .0000         .0000    
  16  Prefactor     2.5261        1.0211         .0000         .0000    
  17  norm          .10003E-03    .41754        .88536E-05** at limit **
  18  Normalizat    .10000E-01    .25505        .33743E-03** at limit **
  19  Prefactor     1.2927        1.0797       -.18038E-04    .73509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0062267
  Prefactor  = 0.0001
  norm       = 0.000995627
  norm       = 0.0001
  Prefactor  = 0.000109081
  Prefactor  = 0.0001
  Prefactor  = 3.6207
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.22674
  norm       = 1.57808
  Prefactor  = 0.000207792
  Prefactor  = 3.41935
  Prefactor  = 2.07212
  Prefactor  = 2.52608
  norm       = 0.000100028
  Normalizat = 0.01
  Prefactor  = 1.2927
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   186.5001     FROM HESSE     STATUS=FAILED        21 CALLS      386 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62267E-02    561.13        .48629E-02   -1.5692    
   2  Prefactor     .10000E-03    29.504        .90926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .99563E-03    260.72        .36009E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.3167        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10908E-03    153.21        .10234E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.857        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     546.56        542.87         .0000       -1.5327    
   8  Prefactor     .10004E-03    .13243       -.49441E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .27582        .18542E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .20571       -.55571E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2267        1.1254         .0000       -1.5486    
  12  norm          1.5781        1.0619         .0000       -1.5457    
  13  Prefactor     .20779E-03    .76958E-01    .69534E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4194        1.0111         .0000       -1.5338    
  15  Prefactor     2.0721        1.0326         .0000       -1.5420    
  16  Prefactor     2.5261        1.0211         .0000       -1.5390    
  17  norm          .10003E-03    .41754        .88536E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .10000E-01    .25505        .33743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2927        1.0797       -.18038E-04   -.83524    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.15707e-09
Minuit parameter uncertainties:
  1  3.74388
  2  7.61994e-05
  3  0.970706
  4  1.49688e-05
  5  0.0747908
  6  1.23269e-06
  7  1.00987
  8  0.000143654
  9  2.2283e-06
  10  2.5769e-06
  11  1.12539
  12  1.06191
  13  0.00576038
  14  1.01111
  15  1.03256
  16  1.02107
  17  0.000215562
  18  7.43955e-06
  19  1.09927
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 186.500141153

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.437e-04  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.293e+00  1.099e+00  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:  1.000e-02  7.440e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 23.589 -38.709
Photon Flux Upper Limit: 1.64e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659630/likelihoodResults_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.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) = 186.500164492
delta logL = -2.33392680116e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 186.500141531
delta logL = -3.77768799353e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11774E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0986       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2927       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=   186.5001     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      284 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11157E-03    241.60        .14407E-01** at limit **
   2  Index         2.8977        6.3832        .50000        .19327E-05
   3  Normalizat    .10000E-01    .48513E-02    .78924E-02** at limit **
   4  Prefactor     1.2927        .23859E-01    .16155E-03   -.13558E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000111566
  Index      = 2.89772
  Normalizat = 0.01
  Prefactor  = 1.2927
 **********
 **   18 **HESSE 
 **********

 FCN=   186.5001     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11157E-03    1873.9        .15871E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8977        8.4144        .50000       -.43395    
   3  Normalizat    .10000E-01    .40963E-01    .15785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2927        .69309E-01    .32309E-04   -.83524    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16932e-08
Minuit parameter uncertainties:
  1  0.304504
  2  2301.24
  3  1.01439e-06
  4  0.0693135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659630': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 186.500141308
delta logL = -1.54925857032e-07

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.116e-04  3.045e-01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.898e+00  2.301e+03  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.293e+00  6.931e-02  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:  1.000e-02  1.014e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 23.589 -38.709

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/659630/cmap_HighResolution_555292801_555552001_4FGL_J0134.3-3842_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-01', job_status='DONE', photon_flux_upper_limit='1.64e-06', time_completed='2021-08-14 05:42:10.421262', job_id='659630', GAL2='1.29', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1628944930.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.29', dlogl='-1.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1219' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 05:42:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 659630: <4FGL_J0134.3-3842_daily_bin1219> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1219> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 05:31:35 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 05:31:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 05:31:38 2021
Terminated at Sat Aug 14 05:42:11 2021
Results reported at Sat Aug 14 05:42:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1219 23.5887 -38.7085 555292801 555552001 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 :                                   330.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             226.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            636 sec.

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

