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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1763
RA = 23.5887, Dec = -38.7085
tmin = 696297601, tmax = 696556801
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='266743', job_status='RUN', time_executed='2023-01-28 00:10:00.180388', time_epoch_executed='1674893400.18' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266743

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266743/ft1_4FGL_J0134.3-3842_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266743/ft1_4FGL_J0134.3-3842_daily_bin1763.fits outfile=/scratch/kocevski/266743/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1763.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=696297601.0 tmax=696556801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.76
user 3.45
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 405

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266743/ft1_filtered_4FGL_J0134.3-3842_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/266743/ltcube_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.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/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits
.....................!
real 16.39
user 15.83
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266743/ft1_filtered_4FGL_J0134.3-3842_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/266743/ltcube_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.fits outfile=/scratch/kocevski/266743/expmap_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.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/266743/ltcube_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.fits
.....................!
real 193.38
user 187.48
sys 5.02

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/266743/ft1_filtered_4FGL_J0134.3-3842_daily_bin1763.fits scfile=/scratch/kocevski/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits outfile=/scratch/kocevski/266743/cmap_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266743/ft1_filtered_4FGL_J0134.3-3842_daily_bin1763.fits scfile=/scratch/kocevski/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits outfile=/scratch/kocevski/266743/cmap_HighResolution_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266743/ft1_filtered_4FGL_J0134.3-3842_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/266743/ft2_4FGL_J0134.3-3842_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266743/Model_4FGL_J0134.3-3842_daily_bin1763.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/266743/ft1_filtered_4FGL_J0134.3-3842_daily_bin1763.fits.....................!
real 88.38
user 86.80
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28789E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.685       1.0000          .0000       .10000E+07
     3 'norm      '    16.540       1.0000          .0000       .10000E+07
     4 'norm      '    .72858E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.220       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8288       1.0000          .0000       .10000E+07
     7 'Prefactor '    .48858E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .95457E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19486E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .78876       1.0000          .0000       .10000E+07
    11 'Prefactor '    .78283E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    19.032       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96019E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .30531E-08   1.0000          .0000       .10000E+07
    16 'Normalizat'    .70331       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.4610       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=   4602.300     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1245 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42966E-07    35.576        .96205E-06** at limit **
   2  Prefactor     12.726        10.617       -.16520E-06    .51180E-02
   3  norm          15.666        7.1876        .55103E-07   -.13275E-01
   4  norm           .0000        1.0740       -.61476E-07** at limit **
   5  Prefactor     12.248        5.7751       -.12637E-08    .14466E-02
   6  Prefactor     7.4909        3.8833        .85567E-07   -.50561E-01
   7  Prefactor     .41940E-05    7.6426        .11986E-05** at limit **
   8  norm          .41078E-08    6.1845       -.26002E-06** at limit **
   9  Prefactor     .44964E-08    11.233       -.23371E-06** at limit **
  10  norm          .55562        16.042        .21979E-05    .73284E-02
  11  Prefactor     .83267E-09    5.1027       -.14492E-07** at limit **
  12  Prefactor     21.210        41.407       -.21264E-05   -.30451E-02
  13  Prefactor     .61062E-09    8.4809       -.69094E-07** at limit **
  14  Prefactor     .89095E-07    23.615       -.46422E-06** at limit **
  15  norm           .0000        2.7358       -.48920E-08** at limit **
  16  Normalizat    .70126        .24013        .53882E-05    .58319E-05
  17  Prefactor     1.4629        .27525       -.15648E-05    .13648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.29656e-08
  Prefactor  = 12.7264
  norm       = 15.6657
  norm       = 0
  Prefactor  = 12.248
  Prefactor  = 7.49088
  Prefactor  = 4.19398e-06
  norm       = 4.10783e-09
  Prefactor  = 4.4964e-09
  norm       = 0.555616
  Prefactor  = 8.32667e-10
  Prefactor  = 21.2096
  Prefactor  = 6.10623e-10
  Prefactor  = 8.90954e-08
  norm       = 0
  Normalizat = 0.701257
  Prefactor  = 1.46287
 **********
 **   18 **HESSE 
 **********

 FCN=   4602.300     FROM HESSE     STATUS=OK           263 CALLS     1508 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42966E-07    38.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.726        10.623        .28100E-03   -1.5637    
   3  norm          15.666        29.199        .24600E-03   -1.5629    
   4  norm           .0000        1.0739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.248        5.7852        .28630E-03   -1.5638    
   6  Prefactor     7.4909        21.802        .35813E-03   -1.5653    
   7  Prefactor     .41940E-05    4.1575        .47927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .41078E-08    6.1370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44964E-08    11.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55562        19.439        .53776E-03   -1.5693    
  11  Prefactor     .83267E-09    5.1202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.210        46.034        .22930E-03   -1.5616    
  13  Prefactor     .61062E-09    8.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .89095E-07    23.984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.7298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .70126        .19956        .62293E-01   -1.0384    
  17  Prefactor     1.4629        .22627        .52894E-01   -.78585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90266e-07
Minuit parameter uncertainties:
  1  0.00258222
  2  10.6232
  3  29.199
  4  6.58444e-07
  5  5.78516
  6  21.8018
  7  0.0083514
  8  0.000317621
  9  0.000449513
  10  6.57282
  11  0.000130672
  12  46.0347
  13  0.000141156
  14  0.00292349
  15  1.33331e-06
  16  0.199771
  17  0.226427
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  7.491e+00  2.180e+01  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:  1.463e+00  2.264e-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:  7.013e-01  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/266743/likelihoodResults_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.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) = 4602.22375545
delta logL = 0.0759621555862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4602.2162331
delta logL = 0.0834845043009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.308       1.0000          .0000       .10000E+07
     2 'Index     '    1.8762       1.0000          .0000       10.000    
     3 'Normalizat'    .70947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4531       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=   4602.216     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      278 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.308        3016.9        .27431E-03    .64247E-03
   2  Index         1.8762        8.4473        .26554       -.17505E-04
   3  Normalizat    .70951        .19659        .61949E-01    .17412E-04
   4  Prefactor     1.4531        .23123        .53028E-01   -.26962E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3084
  Index      = 1.87619
  Normalizat = 0.709506
  Prefactor  = 1.45307
 **********
 **   18 **HESSE 
 **********

 FCN=   4602.216     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.308        27.334        .10973E-04   -1.5635    
   2  Index         1.8762        1.1171        .14879E-01   -.67483    
   3  Normalizat    .70951        .23056        .27404E-03   -1.0352    
   4  Prefactor     1.4531        .27329        .23444E-03   -.78863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82216e-10
Minuit parameter uncertainties:
  1  27.334
  2  1.13294
  3  0.230879
  4  0.273562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266743': 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) = 4602.21623309
delta logL = 0.0834845191266

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.331e+01  2.733e+01  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  1.876e+00  1.133e+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:  1.453e+00  2.736e-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:  7.095e-01  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/266743/cmap_HighResolution_696297601_696556801_4FGL_J0134.3-3842_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='9.05e-08', time_completed='2023-01-28 00:18:43.961193', job_id='266743', GAL2='1.45', fit_tolerance='1e-08', EG2='0.71', EG='0.70', time_epoch_completed='1674893923.96', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.46', dlogl='8.35e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1763' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:18:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 266743: <4FGL_J0134.3-3842_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1763> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan 28 00:05:04 2023
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:09:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:09:40 2023
Terminated at Sat Jan 28 00:18:45 2023
Results reported at Sat Jan 28 00:18:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1763 23.5887 -38.7085 696297601 696556801 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 :                                   525.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             347.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            821 sec.

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

