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


Performing analysis on: 4FGL_J0058.4+3315_daily_bin1723
RA = 14.6101, Dec = 33.2505
tmin = 685929601, tmax = 686188801
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='430137', job_status='RUN', time_executed='2022-09-30 00:08:43.246728', time_epoch_executed='1664521723.25' WHERE source_name='4FGL J0058.4+3315' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430137

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430137/ft1_4FGL_J0058.4+3315_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430137/ft1_4FGL_J0058.4+3315_daily_bin1723.fits outfile=/scratch/kocevski/430137/ft1_filteredMKT_4FGL_J0058.4+3315_daily_bin1723.fits ra=14.6101 dec=33.2505 rad=12.0 tmin=685929601.0 tmax=686188801.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.71
user 3.35
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.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/430137/ft1_filteredMKT_4FGL_J0058.4+3315_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.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.33
sys 0.16

Number of photons that the gtmktime cut: 729

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430137/ltcube_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.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/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits
.....................!
real 17.00
user 16.54
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430137/ltcube_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.fits outfile=/scratch/kocevski/430137/expmap_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.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/430137/ltcube_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.fits
.....................!
real 191.79
user 185.44
sys 5.96

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
Added 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0058.4+3315 @ 14.6101 33.2505

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits scfile=/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits outfile=/scratch/kocevski/430137/cmap_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.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=14.6101 yref=33.2505 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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits scfile=/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits outfile=/scratch/kocevski/430137/cmap_HighResolution_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.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=14.6101 yref=33.2505 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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430137/Model_4FGL_J0058.4+3315_daily_bin1723.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 GAL_V02
Working on...
/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits.....................!
real 75.16
user 73.33
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits', '/scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits', expMap='/scratch/kocevski/430137/expmap_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.fits', expCube='/scratch/kocevski/430137/ltcube_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430137/Model_4FGL_J0058.4+3315_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0058.4+3315'

4FGL J0058.4+3315
   Spectrum: PowerLaw
189    Prefactor:  1.596e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
190        Index:  2.343e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
191        Scale:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430137/ft1_filtered_4FGL_J0058.4+3315_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430137/ft2_4FGL_J0058.4+3315_daily_bin1723.fits
Exposure map: /scratch/kocevski/430137/expmap_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430137/ltcube_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430137/Model_4FGL_J0058.4+3315_daily_bin1723.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) = 7837.38951394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.771       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12562E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57909E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54052E-05   1.0000          .0000       .10000E+07
     5 'norm      '    6.1525       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1319       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22865E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.5980       1.0000          .0000       .10000E+07
     9 'Prefactor '    .50244       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6769       1.0000          .0000       .10000E+07
    11 'norm      '    2.4652       1.0000          .0000       .10000E+07
    12 'norm      '    3.1549       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19936E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14024E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.179       1.0000          .0000       .10000E+07
    16 'norm      '    1.4113       1.0000          .0000       .10000E+07
    17 'norm      '    .20556E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14166E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1250       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90201       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7837.347     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1519 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.773        1.1499       -.85434E-08    .41991E-04
   2  Prefactor      .0000        2.6270        .98244E-07** at limit **
   3  Prefactor     .42633E-07    11.119       -.41665E-06** at limit **
   4  Prefactor      .0000        8.2137       -.15599E-06** at limit **
   5  norm          6.1528        2.5938       -.34001E-07   -.16154E-03
   6  Prefactor     3.1309        6.6835        .22033E-06   -.12706E-01
   7  Prefactor      .0000        2.8506       -.13942E-07** at limit **
   8  Prefactor     2.6009        9.4896        .54241E-06   -.22852E-02
   9  Prefactor     .50108        3.0397       -.49573E-06   -.69102E-02
  10  Prefactor     4.6746        8.4650       -.50666E-06   -.14001E-01
  11  norm          2.4648        .78868       -.68398E-07   -.23587E-02
  12  norm          3.1550        1.4079       -.79373E-08   -.13345E-02
  13  Prefactor     .44409E-09    193.40        .25920E-05** at limit **
  14  Prefactor     .55511E-10    6.0666        .16009E-06** at limit **
  15  Prefactor     10.165        6.2735        .10235E-07   -.22457E-01
  16  norm          1.4114        1.0732       -.10140E-06   -.29125E-04
  17  norm           .0000        .64310        .92586E-07** at limit **
  18  Prefactor     .40135E-07    11.524        .37785E-06** at limit **
  19  Normalizat    1.1249        .20629       -.19675E-05   -.63167E-04
  20  Prefactor     .90196        .12893       -.17656E-05   -.90937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.7735
  Prefactor  = 0
  Prefactor  = 4.26326e-08
  Prefactor  = 0
  norm       = 6.15278
  Prefactor  = 3.13092
  Prefactor  = 0
  Prefactor  = 2.60087
  Prefactor  = 0.501084
  Prefactor  = 4.67464
  norm       = 2.4648
  norm       = 3.15503
  Prefactor  = 4.44089e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 10.1653
  norm       = 1.41139
  norm       = 0
  Prefactor  = 4.01346e-08
  Normalizat = 1.12494
  Prefactor  = 0.901956
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.347     FROM HESSE     STATUS=OK           339 CALLS     1858 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.773        13.386        .30502E-03   -1.5642    
   2  Prefactor      .0000        2.6204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .42633E-07    12.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        8.2344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.1528        2.5978        .40451E-03   -1.5658    
   6  Prefactor     3.1309        14.735        .57260E-03   -1.5673    
   7  Prefactor      .0000        2.8425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6009        9.6513        .63273E-03   -1.5676    
   9  Prefactor     .50108        4.3213        .78465E-02   -1.5694    
  10  Prefactor     4.6746        11.578        .46510E-03   -1.5665    
  11  norm          2.4648        .79241        .65105E-03   -1.5677    
  12  norm          3.1550        1.4131        .57040E-03   -1.5672    
  13  Prefactor     .44409E-09    192.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    6.0052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.165        14.123        .31381E-03   -1.5644    
  16  norm          1.4114        1.0731        .91149E-04   -1.5684    
  17  norm           .0000        .33423        .19510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .40135E-07    12.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1249        .18026        .63521E-01   -.88955    
  20  Prefactor     .90196        .10961        .45031E-01   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52092e-07
Minuit parameter uncertainties:
  1  13.3864
  2  2.66435e-06
  3  0.00144469
  4  5.87554e-06
  5  2.59784
  6  13.5846
  7  1.09842e-06
  8  9.65137
  9  2.94302
  10  11.5783
  11  0.792406
  12  1.41305
  13  0.000602153
  14  3.73379e-05
  15  14.1235
  16  1.0731
  17  5.22047e-07
  18  0.00142513
  19  0.18036
  20  0.109636
Done.

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

Extracting fit parameters...

4FGL J0058.4+3315
   Spectrum: PowerLaw
189    Prefactor:  2.601e+00  9.651e+00  0.000e+00  1.000e+06 ( 1.000e-13)
190        Index:  2.343e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
191        Scale:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.020e-01  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.125e+00  1.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 14.610 33.251
Photon Flux Upper Limit: 8.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430137/likelihoodResults_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.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) = 7837.31831825
delta logL = 0.0286165018024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7837.3156169
delta logL = 0.0313178482766

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0688       1.0000          .0000       .10000E+07
     2 'Index     '    2.7286       1.0000          .0000       10.000    
     3 'Normalizat'    1.1195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7837.316     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      256 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0557        16.003        .14359E-03   -.34551E-03
   2  Index         2.7336        2.3080        .12287E-01    .25511E-03
   3  Normalizat    1.1196        .20499        .28154E-03   -.41996E-05
   4  Prefactor     .90349        .12880        .19510E-03    .23832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.05571
  Index      = 2.73355
  Normalizat = 1.11959
  Prefactor  = 0.903487
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.316     FROM HESSE     STATUS=OK            27 CALLS      283 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0557        7.7578        .57437E-05   -1.5679    
   2  Index         2.7336        1.6057        .24574E-02   -.47045    
   3  Normalizat    1.1196        .20520        .11262E-04   -.89125    
   4  Prefactor     .90349        .12872        .78042E-05   -.96019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85882e-11
Minuit parameter uncertainties:
  1  7.7578
  2  1.64267
  3  0.205343
  4  0.128767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430137': 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) = 7837.31561071
delta logL = 0.0313240421838

Extracting fit parameters...

4FGL J0058.4+3315
   Spectrum: PowerLaw
189    Prefactor:  2.056e+00  7.758e+00  0.000e+00  1.000e+06 ( 1.000e-13)
190        Index:  2.734e+00  1.643e+00  0.000e+00  1.000e+01 (-1.000e+00)
191        Scale:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.035e-01  1.288e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.120e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 14.610 33.251

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/430137/cmap_HighResolution_685929601_686188801_4FGL_J0058.4+3315_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-03', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2022-09-30 00:19:03.069999', job_id='430137', GAL2='0.90', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1664522343.07', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.13e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1723' AND source_name='4FGL J0058.4+3315' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:19:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 430137: <4FGL_J0058.4+3315_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0058.4+3315_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:04:57 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:02 2022
Terminated at Fri Sep 30 00:19:04 2022
Results reported at Fri Sep 30 00:19:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0058.4+3315_daily_bin1723 14.6101 33.2505 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0058.4+3315 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   621.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            847 sec.

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

