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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1516
RA = 23.5887, Dec = -38.7085
tmin = 632275201, tmax = 632534401
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='662086', job_status='RUN', time_executed='2021-08-14 05:42:31.669737', time_epoch_executed='1628944951.67' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/662086

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/662086/ft1_4FGL_J0134.3-3842_daily_bin1516.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/662086/ft1_4FGL_J0134.3-3842_daily_bin1516.fits outfile=/scratch/kocevski/662086/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1516.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=632275201.0 tmax=632534401.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.90
user 3.53
sys 1.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits" evtable="EVENTS" scfile=/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits sctable="SC_DATA" outfile=/scratch/kocevski/662086/ltcube_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.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/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits
.....................!
real 14.42
user 12.59
sys 1.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits sctable="SC_DATA" expcube=/scratch/kocevski/662086/ltcube_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.fits outfile=/scratch/kocevski/662086/expmap_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.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/662086/ltcube_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.fits
.....................!
real 192.98
user 184.91
sys 7.32

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/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits scfile=/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits outfile=/scratch/kocevski/662086/cmap_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.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 2.40
user 0.37
sys 1.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits scfile=/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits outfile=/scratch/kocevski/662086/cmap_HighResolution_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.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 2.19
user 0.38
sys 1.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/662086/Model_4FGL_J0134.3-3842_daily_bin1516.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/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits.....................!
real 71.46
user 67.41
sys 2.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits', '/scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits', expMap='/scratch/kocevski/662086/expmap_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.fits', expCube='/scratch/kocevski/662086/ltcube_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/662086/Model_4FGL_J0134.3-3842_daily_bin1516.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/662086/ft1_filtered_4FGL_J0134.3-3842_daily_bin1516.fits
Spacecraft file(s): /scratch/kocevski/662086/ft2_4FGL_J0134.3-3842_daily_bin1516.fits
Exposure map: /scratch/kocevski/662086/expmap_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.fits
Exposure cube: /scratch/kocevski/662086/ltcube_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/662086/Model_4FGL_J0134.3-3842_daily_bin1516.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) = 3317.52137936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.369       1.0000         .10000E-03   10000.    
     3 'norm      '    15.286       1.0000         .10000E-03   10000.    
     4 'norm      '    .13230E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.745       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.036       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .33679       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .73968       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=   3317.504     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1878 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    70.266        .11041E-05** at limit **
   2  Prefactor     13.373        12.332       -.20855E-05   -.10774E-03
   3  norm          15.332        42.791        .79399E-04   -.75411E-05
   4  norm          .10000E-03    7.3996        .76950E-06** at limit **
   5  Prefactor     .10000E-03    10.188        .52680E-06** at limit **
   6  Prefactor     .10000E-03    2.5662        .67172E-07** at limit **
   7  Prefactor     .10000E-03    13.862        .51494E-05** at limit **
   8  Prefactor     .10000E-03    19.110        .43563E-05** at limit **
   9  Prefactor     .10000E-03    7.1060       -.72447E-06** at limit **
  10  norm          .10001E-03    4.8553        .28564E-06** at limit **
  11  Prefactor     25.748        13.605        .22086E-06   -.40917E-04
  12  norm          .10000E-03    3.7465        .88885E-07** at limit **
  13  Prefactor     .10000E-03    7.3712        .12576E-05** at limit **
  14  Prefactor     .10000E-03    17.841       -.33474E-05** at limit **
  15  Prefactor     12.030        18.762        .15455E-05    .18332E-04
  16  Prefactor     .10000E-03    16.145       -.53156E-05** at limit **
  17  norm          .34461        3.0736        .12823E-05   -.48098E-03
  18  Normalizat    1.1434        .21465       -.55287E-05   -.13425E-03
  19  Prefactor     .73969        .22839       -.15253E-05   -.26798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Prefactor  = 13.3727
  norm       = 15.3322
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100011
  Prefactor  = 25.7479
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0305
  Prefactor  = 0.0001
  norm       = 0.344613
  Normalizat = 1.14336
  Prefactor  = 0.739691
 **********
 **   18 **HESSE 
 **********

 FCN=   3317.504     FROM HESSE     STATUS=OK           264 CALLS     2142 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    70.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.373        12.331        .10955E-03   -1.4976    
   3  norm          15.332        42.760        .10244E-03   -1.4925    
   4  norm          .10000E-03    7.7238        .30566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.191        .17957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5836        .90070E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2846        .29927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10001E-03    9.9451        .24458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.748        13.590        .78950E-04   -1.4693    
  12  norm          .10000E-03    3.7815        .10873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.3861        .15274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.030        18.746        .11547E-03   -1.5014    
  16  Prefactor     .10000E-03    16.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .34461        12.714        .18907E-02   -1.5591    
  18  Normalizat    1.1434        .25046        .20553E-03   -.88371    
  19  Prefactor     .73969        .26717        .27584E-03   -1.0199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85851e-09
Minuit parameter uncertainties:
  1  0.00243736
  2  12.3338
  3  42.8454
  4  0.000110729
  5  3.62586e-05
  6  1.28261e-05
  7  2.57573e-05
  8  5.08103e-05
  9  0.000126882
  10  0.000658665
  11  13.5918
  12  1.66773e-05
  13  2.83816e-05
  14  4.76703e-05
  15  18.7547
  16  7.10405e-06
  17  4.18676
  18  0.250726
  19  0.267639
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  5.081e-05  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:  7.397e-01  2.676e-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:  1.143e+00  2.507e-01  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.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/662086/likelihoodResults_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.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) = 3317.504211
delta logL = -0.000248870396717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3317.50396218
delta logL = -5.87365320825e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3933       1.0000          .0000       10.000    
     3 'Normalizat'    1.1434       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73971       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.

 FCN=   3317.504     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      234 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6539.9        .90712E-02** at limit **
   2  Index         2.3980        6.1980        .50000       -.21936E-05
   3  Normalizat    1.1434        .10181        .36458E-01   -.94365E-05
   4  Prefactor     .73970        .11246        .62359E-01    .94778E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.398
  Normalizat = 1.14336
  Prefactor  = 0.739696
 **********
 **   18 **HESSE 
 **********

 FCN=   3317.504     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3980        6.1941        .50000       -.54732    
   3  Normalizat    1.1434        .23895        .20553E-03   -.88372    
   4  Prefactor     .73970        .26421        .27584E-03   -1.0199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63269e-12
Minuit parameter uncertainties:
  1  2.23704e-05
  2  4.63678
  3  0.239176
  4  0.264664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/662086': 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) = 3317.50396217
delta logL = -4.52778294857e-08

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  2.237e-05  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.398e+00  4.637e+00  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:  7.397e-01  2.647e-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:  1.143e+00  2.392e-01  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/662086/cmap_HighResolution_632275201_632534401_4FGL_J0134.3-3842_daily_bin1516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.91e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-08-14 05:51:15.685636', job_id='662086', GAL2='0.74', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1628945475.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-4.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1516' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 05:51:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 662086: <4FGL_J0134.3-3842_daily_bin1516> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1516> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 05:40:24 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 05:40:27 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:40:27 2021
Terminated at Sat Aug 14 05:51:16 2021
Results reported at Sat Aug 14 05:51:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1516 23.5887 -38.7085 632275201 632534401 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 :                                   532.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            652 sec.

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

