aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 35 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0134.3-3842_weekly_bin732
RA = 23.5887, Dec = -38.7085
tmin = 681696001, tmax = 682300801
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='30131', job_status='RUN', time_executed='2022-09-16 11:47:36.705126', time_epoch_executed='1663354056.71' WHERE source_name='4FGL J0134.3-3842' and cadence='weekly' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/30131

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/30131/ft1_4FGL_J0134.3-3842_weekly_bin732.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/30131/ft1_4FGL_J0134.3-3842_weekly_bin732.fits outfile=/scratch/kocevski/30131/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin732.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=681696001.0 tmax=682300801.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 9.63
user 9.22
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.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/30131/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.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.55
user 0.40
sys 0.15

Number of photons that the gtmktime cut: 842

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/30131/ltcube_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.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/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits
.....................!
real 33.59
user 33.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/30131/ltcube_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.fits outfile=/scratch/kocevski/30131/expmap_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.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/30131/ltcube_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.fits
.....................!
real 192.97
user 187.90
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_8years/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/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits scfile=/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits outfile=/scratch/kocevski/30131/cmap_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits scfile=/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits outfile=/scratch/kocevski/30131/cmap_HighResolution_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/30131/Model_4FGL_J0134.3-3842_weekly_bin732.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/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits.....................!
real 167.88
user 166.24
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits', '/scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits', expMap='/scratch/kocevski/30131/expmap_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.fits', expCube='/scratch/kocevski/30131/ltcube_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/30131/Model_4FGL_J0134.3-3842_weekly_bin732.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  0.000e+00  1.000e+06 ( 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/30131/ft1_filtered_4FGL_J0134.3-3842_weekly_bin732.fits
Spacecraft file(s): /scratch/kocevski/30131/ft2_4FGL_J0134.3-3842_weekly_bin732.fits
Exposure map: /scratch/kocevski/30131/expmap_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.fits
Exposure cube: /scratch/kocevski/30131/ltcube_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/30131/Model_4FGL_J0134.3-3842_weekly_bin732.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) = 9516.62144351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.862       1.0000          .0000       .10000E+07
     2 'Prefactor '    .55308       1.0000          .0000       .10000E+07
     3 'norm      '    .23232E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .16860E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .70797E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33900       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.9926       1.0000          .0000       .10000E+07
     8 'norm      '    2.0582       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23050E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .10242E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17817E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.263       1.0000          .0000       .10000E+07
    13 'Prefactor '    .45117E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26858E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .93355       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1088       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .92056       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9516.499     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1017 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.170        18.911       -.19689E-06    .46951E-01
   2  Prefactor     .54952        7.0047        .18645E-06   -.30551E-03
   3  norm          .73275E-08    11.499       -.66204E-06** at limit **
   4  norm           .0000        .85818        .25004E-06** at limit **
   5  Prefactor     .19540E-07    9.7135        .33110E-06** at limit **
   6  Prefactor     .41598        8.7024       -.20275E-06   -.11715E-02
   7  Prefactor     8.0089        3.6375        .36027E-07    .16967E-03
   8  norm          2.0564        2.3705       -.48114E-07    .93312E-03
   9  Prefactor      .0000        2.3264       -.18533E-07** at limit **
  10  norm           .0000        2.3692       -.21405E-06** at limit **
  11  Prefactor     .16653E-09    5.3491       -.63204E-07** at limit **
  12  Prefactor     23.379        8.8135       -.19301E-07   -.13134    
  13  Prefactor     .11102E-09    63.808       -.11906E-05** at limit **
  14  Prefactor     .14988E-08    68.430        .23328E-06** at limit **
  15  norm          .93194        1.6460       -.59254E-07    .33788E-03
  16  Normalizat    1.1084        .15218        .62844E-05    .21111E-03
  17  Prefactor     .92073        .16940       -.12451E-04    .23988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1703
  Prefactor  = 0.549522
  norm       = 7.32747e-09
  norm       = 0
  Prefactor  = 1.95399e-08
  Prefactor  = 0.415976
  Prefactor  = 8.00892
  norm       = 2.05637
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 23.3791
  Prefactor  = 1.11022e-10
  Prefactor  = 1.4988e-09
  norm       = 0.931942
  Normalizat = 1.10842
  Prefactor  = 0.920728
 **********
 **   18 **HESSE 
 **********

 FCN=   9516.499     FROM HESSE     STATUS=OK           267 CALLS     1284 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.170        22.880        .27905E-03   -1.5635    
   2  Prefactor     .54952        6.8312        .73540E-03   -1.5693    
   3  norm          .73275E-08    11.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .85455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19540E-07    1.3501        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41598        7.6439        .14428E-01   -1.5695    
   7  Prefactor     8.0089        3.6797        .35442E-03   -1.5651    
   8  norm          2.0564        2.3884        .72008E-03   -1.5679    
   9  Prefactor      .0000        2.3318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.3425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    5.3485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.379        16.780        .20738E-03   -1.5611    
  13  Prefactor     .11102E-09    63.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14988E-08    10.020        .10966E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93194        1.6564        .43468E-03   -1.5689    
  16  Normalizat    1.1084        .13180        .37651E-01   -.89482    
  17  Prefactor     .92073        .14576        .45267E-01   -.95421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71159e-06
Minuit parameter uncertainties:
  1  22.8805
  2  3.87501
  3  0.000581295
  4  6.08117e-06
  5  0.000324804
  6  3.56633
  7  3.67967
  8  2.38838
  9  8.24379e-06
  10  1.22612e-07
  11  6.38541e-05
  12  16.7804
  13  0.000181031
  14  0.000244835
  15  1.65636
  16  0.131835
  17  0.145823
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  4.160e-01  3.566e+00  0.000e+00  1.000e+06 ( 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:  9.207e-01  1.458e-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.108e+00  1.318e-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: 5.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/30131/likelihoodResults_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.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) = 9516.49341577
delta logL = 0.00608419548189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9516.47106886
delta logL = 0.0284311088617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1754       1.0000          .0000       .10000E+07
     2 'Index     '    1.9450       1.0000          .0000       10.000    
     3 'Normalizat'    1.1093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91828       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=   9516.471     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      292 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1780        15.797        .22738E-04   -.71177E-02
   2  Index         1.9449        1.5540        .18955E-01   -.25945E-03
   3  Normalizat    1.1093        .14892        .21559E-03    .70866E-03
   4  Prefactor     .91810        .16938        .26522E-03    .72663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17799
  Index      = 1.94489
  Normalizat = 1.10932
  Prefactor  = 0.918104
 **********
 **   18 **HESSE 
 **********

 FCN=   9516.471     FROM HESSE     STATUS=OK            23 CALLS      315 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1780        15.889        .90954E-06   -1.5672    
   2  Index         1.9449        1.5597        .75820E-03   -.65735    
   3  Normalizat    1.1093        .14904        .43119E-04   -.89453    
   4  Prefactor     .91810        .16951        .53044E-04   -.95511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57827e-08
Minuit parameter uncertainties:
  1  14.2118
  2  1.60318
  3  0.149101
  4  0.169611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/30131': 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) = 9516.47106652
delta logL = 0.028433450856

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  3.178e+00  1.421e+01  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  1.945e+00  1.603e+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:  9.181e-01  1.696e-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.109e+00  1.491e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/30131/cmap_HighResolution_681696001_682300801_4FGL_J0134.3-3842_weekly_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.09e-08', time_completed='2022-09-16 12:00:20.785684', job_id='30131', GAL2='0.92', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1663354820.79', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.84e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='732' AND source_name='4FGL J0134.3-3842' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 12:00:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 30131: <4FGL_J0134.3-3842_weekly_bin732> in cluster <slac> Done

Job <4FGL_J0134.3-3842_weekly_bin732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 11:45:32 2022
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:46:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:46:50 2022
Terminated at Fri Sep 16 12:00:21 2022
Results reported at Fri Sep 16 12:00:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_weekly_bin732 23.5887 -38.7085 681696001 682300801 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 :                                   763.21 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             350.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            889 sec.

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

