aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 3 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 = 17230
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0134.3-3842_weekly_bin106
RA = 23.5887, Dec = -38.7085
tmin = 303091201, tmax = 303696001
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='191280', job_status='RUN', time_executed='2021-07-03 22:34:54.457400', time_epoch_executed='1625376894.46' WHERE source_name='4FGL J0134.3-3842' and cadence='weekly' and bin_id='106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191280

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191280/ft1_4FGL_J0134.3-3842_weekly_bin106.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191280/ft1_4FGL_J0134.3-3842_weekly_bin106.fits outfile=/scratch/kocevski/191280/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin106.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=303091201.0 tmax=303696001.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 7.51
user 7.07
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.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/191280/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin106.fits evtable="EVENTS" outfile="/scratch/kocevski/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.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.69
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.fits" evtable="EVENTS" scfile=/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits sctable="SC_DATA" outfile=/scratch/kocevski/191280/ltcube_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.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/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits
.....................!
real 25.87
user 25.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.fits evtable="EVENTS" scfile=/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits sctable="SC_DATA" expcube=/scratch/kocevski/191280/ltcube_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.fits outfile=/scratch/kocevski/191280/expmap_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.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/191280/ltcube_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.fits
.....................!
real 192.38
user 185.84
sys 4.62

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/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.fits scfile=/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits outfile=/scratch/kocevski/191280/cmap_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.fits scfile=/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits outfile=/scratch/kocevski/191280/cmap_HighResolution_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.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.81
user 0.42
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.fits evtable="EVENTS" scfile=/scratch/kocevski/191280/ft2_4FGL_J0134.3-3842_weekly_bin106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191280/Model_4FGL_J0134.3-3842_weekly_bin106.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/191280/ft1_filtered_4FGL_J0134.3-3842_weekly_bin106.fits.....................!
real 200.21
user 196.50
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6000       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.263       1.0000         .10000E-03   10000.    
     3 'norm      '    6.5481       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7277       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.998       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .43265       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3864       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5555       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3353       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6230       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2334       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .51906       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=   11115.02     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1616 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5754        36.746       -.10425E-03   -.98440E-05
   2  Prefactor     18.263        6.8104        .98963E-06    .59112E-03
   3  norm          6.5468        11.166        .10192E-05    .22046E-03
   4  norm          .10000E-03    .74808       -.87555E-07** at limit **
   5  Prefactor     .10000E-03    9.1747        .31666E-05** at limit **
   6  Prefactor     1.7278        1.2857       -.71987E-07    .42696E-03
   7  Prefactor     .10000E-03    6.0913       -.33645E-05** at limit **
   8  Prefactor     11.992        15.690       -.74026E-05    .21301E-03
   9  Prefactor     .41623        1.3877       -.96553E-06    .62174E-03
  10  norm          1.3862        2.0138       -.10478E-05   -.16314E-02
  11  Prefactor     .10000E-03    1.7035        .57799E-07** at limit **
  12  norm          .10000E-03    .86511        .21524E-06** at limit **
  13  Prefactor     .10000E-03    4.2698        .10655E-05** at limit **
  14  Prefactor     1.5495        20.888       -.14963E-04   -.28238E-03
  15  Prefactor     .10000E-03    3.0156       -.13176E-06** at limit **
  16  Prefactor     3.3339        5.5252       -.42532E-06   -.16173E-03
  17  norm          2.6230        1.6659       -.43469E-06   -.62215E-03
  18  Normalizat    1.2334        .11407        .41451E-05    .10324E-02
  19  Prefactor     .51898        .12261        .14659E-06    .98351E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.57538
  Prefactor  = 18.2626
  norm       = 6.54683
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.72776
  Prefactor  = 0.0001
  Prefactor  = 11.9923
  Prefactor  = 0.416226
  norm       = 1.38621
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.54946
  Prefactor  = 0.0001
  Prefactor  = 3.33387
  norm       = 2.62299
  Normalizat = 1.23341
  Prefactor  = 0.518981
 **********
 **   18 **HESSE 
 **********

 FCN=   11115.02     FROM HESSE     STATUS=OK           272 CALLS     1888 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5754        37.073        .25302E-03   -1.5387    
   2  Prefactor     18.263        6.8138        .93720E-04   -1.4853    
   3  norm          6.5468        11.154        .15683E-03   -1.5196    
   4  norm          .10000E-03    .75944        .89029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7278        1.2895        .10007E-03   -1.5445    
   7  Prefactor     .10000E-03    6.1303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.992        15.663        .11565E-03   -1.5015    
   9  Prefactor     .41623        4.6066        .20242E-02   -1.5579    
  10  norm          1.3862        2.0069        .17334E-03   -1.5472    
  11  Prefactor     .10000E-03    1.7204        .13429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .86624        .95402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5495        21.232        .34135E-03   -1.5459    
  15  Prefactor     .10000E-03    3.0295        .17874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3339        5.5107        .22163E-03   -1.5343    
  17  norm          2.6230        1.6619        .10411E-03   -1.5384    
  18  Normalizat    1.2334        .13173        .18213E-03   -.85576    
  19  Prefactor     .51898        .14086        .30435E-03   -1.1111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91645e-09
Minuit parameter uncertainties:
  1  19.5567
  2  6.81413
  3  11.1572
  4  6.71074e-06
  5  3.58787e-05
  6  1.28948
  7  2.87622e-05
  8  15.6688
  9  2.76935
  10  2.00695
  11  3.52322e-06
  12  1.81251e-05
  13  2.73514e-05
  14  11.476
  15  7.55284e-06
  16  5.51154
  17  1.66197
  18  0.131769
  19  0.140954
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.199e+01  1.567e+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:  5.190e-01  1.410e-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.233e+00  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 23.589 -38.709
Photon Flux Upper Limit: 5.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191280/likelihoodResults_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.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) = 11115.0153162
delta logL = 0.000160164610861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11115.0152586
delta logL = 0.000217725895709

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.835       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5115       1.0000          .0000       10.000    
     3 'Normalizat'    1.2329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51928       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=   11115.02     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      270 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.826        18.024        .11645E-03    .39052E-06
   2  Index         2.5099        1.0112        .12734E-01    .12454E-04
   3  Normalizat    1.2330        .12631        .18216E-03   -.62411E-04
   4  Prefactor     .51931        .14089        .30426E-03    .33255E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.826
  Index      = 2.50989
  Normalizat = 1.23301
  Prefactor  = 0.519309
 **********
 **   18 **HESSE 
 **********

 FCN=   11115.02     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.826        17.031        .46579E-05   -1.5020    
   2  Index         2.5099        .95528        .50936E-03   -.52132    
   3  Normalizat    1.2330        .12625        .72864E-05   -.85589    
   4  Prefactor     .51931        .14081        .12170E-04   -1.1110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92785e-11
Minuit parameter uncertainties:
  1  17.0378
  2  0.963178
  3  0.12628
  4  0.140907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191280': 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) = 11115.0152554
delta logL = 0.000220936672122

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.183e+01  1.704e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.510e+00  9.632e-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:  5.193e-01  1.409e-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.233e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/191280/cmap_HighResolution_303091201_303696001_4FGL_J0134.3-3842_weekly_bin106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2021-07-03 22:50:56.291156', job_id='191280', GAL2='0.52', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1625377856.29', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.52', dlogl='2.21e-04', ts2='0.81', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='106' AND source_name='4FGL J0134.3-3842' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 22:50:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 191280: <4FGL_J0134.3-3842_weekly_bin106> in cluster <slac> Done

Job <4FGL_J0134.3-3842_weekly_bin106> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Jul  3 22:34:27 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 22:34:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 22:34:29 2021
Terminated at Sat Jul  3 22:50:57 2021
Results reported at Sat Jul  3 22:50:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_weekly_bin106 23.5887 -38.7085 303091201 303696001 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 :                                   936.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             364.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            990 sec.

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

