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


Performing analysis on: 4FGL_J0058.4+3315_daily_bin1754
RA = 14.6101, Dec = 33.2505
tmin = 693964801, tmax = 694224001
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='624443', job_status='RUN', time_executed='2023-01-01 00:08:15.296072', time_epoch_executed='1672560495.3' WHERE source_name='4FGL J0058.4+3315' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624443/ft1_4FGL_J0058.4+3315_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624443/ft1_4FGL_J0058.4+3315_daily_bin1754.fits outfile=/scratch/kocevski/624443/ft1_filteredMKT_4FGL_J0058.4+3315_daily_bin1754.fits ra=14.6101 dec=33.2505 rad=12.0 tmin=693964801.0 tmax=694224001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.04
user 3.69
sys 0.24

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

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

Number of photons that the gtmktime cut: 852

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/624443/ltcube_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.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/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits
.....................!
real 15.73
user 15.19
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/624443/ltcube_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.fits outfile=/scratch/kocevski/624443/expmap_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.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/624443/ltcube_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.fits
.....................!
real 192.09
user 185.62
sys 5.18

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/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits scfile=/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits outfile=/scratch/kocevski/624443/cmap_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits scfile=/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits outfile=/scratch/kocevski/624443/cmap_HighResolution_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/624443/Model_4FGL_J0058.4+3315_daily_bin1754.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/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits.....................!
real 88.98
user 86.55
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits', '/scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits', expMap='/scratch/kocevski/624443/expmap_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.fits', expCube='/scratch/kocevski/624443/ltcube_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/624443/Model_4FGL_J0058.4+3315_daily_bin1754.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/624443/ft1_filtered_4FGL_J0058.4+3315_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/624443/ft2_4FGL_J0058.4+3315_daily_bin1754.fits
Exposure map: /scratch/kocevski/624443/expmap_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.fits
Exposure cube: /scratch/kocevski/624443/ltcube_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/624443/Model_4FGL_J0058.4+3315_daily_bin1754.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) = 9265.9940707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0384       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90238       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11502       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26257E-07   1.0000          .0000       .10000E+07
     5 'norm      '    1.8972       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.482       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16864E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .21693       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36183E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.077       1.0000          .0000       .10000E+07
    11 'norm      '    .95858       1.0000          .0000       .10000E+07
    12 'norm      '    14.883       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33406E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.2710       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10981E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.9827       1.0000          .0000       .10000E+07
    17 'norm      '    1.4221       1.0000          .0000       .10000E+07
    18 'Prefactor '    26.980       1.0000          .0000       .10000E+07
    19 'Normalizat'    .72315       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2228       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=   9265.964     FROM MIGRAD    STATUS=CONVERGED     88 CALLS     1157 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0697        1.3819       -.12293E-06    .27549E-02
   2  Prefactor     .90567        .89164       -.19279E-07   -.26163E-02
   3  Prefactor     .23315E-08    42.207       -.29954E-05** at limit **
   4  Prefactor     .29421E-08    16.340       -.69113E-06** at limit **
   5  norm          1.8975        1.3842        .36872E-07   -.16021E-02
   6  Prefactor     16.730        5.6302       -.18648E-06   -.61090E-02
   7  Prefactor     .55511E-10    1.6819       -.14418E-06** at limit **
   8  Prefactor     .20203        .66492       -.37468E-06** at limit **
   9  Prefactor      .0000        8.8431       -.29918E-06** at limit **
  10  Prefactor     11.897        2.2242        .47284E-07    .12854E-02
  11  norm          .95786        .60989        .78839E-07    .10641E-01
  12  norm          14.884        2.3952       -.94137E-07   -.84713E-02
  13  Prefactor      .0000        82.056        .14974E-04** at limit **
  14  Prefactor     5.2792        5.0507        .52407E-07   -.14326E-02
  15  Prefactor     .18319E-08    12.724        .82867E-06** at limit **
  16  norm          1.9826        1.1701       -.35964E-07   -.67823E-02
  17  norm          1.4223        .75984       -.19351E-07    .69021E-02
  18  Prefactor     27.198        1.6859        .15905E-06   -.17887E-01
  19  Normalizat    .72287        .21715       -.42244E-05   -.42304E-03
  20  Prefactor     1.2229        .13799        .15772E-05   -.64733E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.06965
  Prefactor  = 0.905672
  Prefactor  = 2.33147e-09
  Prefactor  = 2.94209e-09
  norm       = 1.8975
  Prefactor  = 16.7302
  Prefactor  = 5.55112e-11
  Prefactor  = 0.202033
  Prefactor  = 0
  Prefactor  = 11.8971
  norm       = 0.957862
  norm       = 14.8841
  Prefactor  = 0
  Prefactor  = 5.27918
  Prefactor  = 1.83187e-09
  norm       = 1.9826
  norm       = 1.42229
  Prefactor  = 27.1981
  Normalizat = 0.722869
  Prefactor  = 1.22293
 **********
 **   18 **HESSE 
 **********

 FCN=   9265.964     FROM HESSE     STATUS=OK           345 CALLS     1502 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0697        19.634        .37789E-03   -1.5655    
   2  Prefactor     .90567        18.652        .45596E-03   -1.5689    
   3  Prefactor     .23315E-08    9.8816        .13542E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .29421E-08    16.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8975        1.3798        .75492E-03   -1.5680    
   6  Prefactor     16.730        10.993        .24643E-03   -1.5626    
   7  Prefactor     .55511E-10    1.6822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .20203        5.3738        .11482E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        8.8492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.897        19.008        .28801E-03   -1.5639    
  11  norm          .95786        .61449        .42293E-03   -1.5688    
  12  norm          14.884        2.4351        .25936E-03   -1.5631    
  13  Prefactor      .0000        83.431        .16276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.2792        5.0795        .43756E-03   -1.5662    
  15  Prefactor     .18319E-08    12.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9826        1.1718        .73573E-03   -1.5680    
  17  norm          1.4223        .76690        .90664E-03   -1.5684    
  18  Prefactor     27.198        15.277        .19256E-03   -1.5604    
  19  Normalizat    .72287        .20570        .86191E-01   -1.0300    
  20  Prefactor     1.2229        .12256        .34112E-01   -.85629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15118e-08
Minuit parameter uncertainties:
  1  19.6342
  2  8.22013
  3  0.000302942
  4  0.000442214
  5  1.37979
  6  10.9926
  7  1.64508e-05
  8  2.08393
  9  1.93503e-06
  10  19.0082
  11  0.614489
  12  2.43512
  13  1.51282e-05
  14  5.07948
  15  0.000307191
  16  1.17183
  17  0.766901
  18  15.2769
  19  0.205924
  20  0.122585
Done.

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

Extracting fit parameters...

4FGL J0058.4+3315
   Spectrum: PowerLaw
189    Prefactor:  2.020e-01  2.084e+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:  1.223e+00  1.226e-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:  7.229e-01  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/624443/likelihoodResults_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.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) = 9265.96406628
delta logL = 8.27467829367e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9265.96165407
delta logL = 0.00249496028118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48817       1.0000          .0000       .10000E+07
     2 'Index     '    2.6341       1.0000          .0000       10.000    
     3 'Normalizat'    .72154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2231       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.

 FCN=   9265.962     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      254 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48820        7.9208        .79909E-02   -.14901E-01
   2  Index         2.6327        .67657        .50000        .24311E-05
   3  Normalizat    .72161        .65397E-02    .86257E-01    .68738E-04
   4  Prefactor     1.2230        .41747E-02    .34107E-01   -.76317E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.488203
  Index      = 2.63272
  Normalizat = 0.721614
  Prefactor  = 1.22303
 **********
 **   18 **HESSE 
 **********

 FCN=   9265.962     FROM HESSE     STATUS=OK            35 CALLS      289 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48820        56.863        .37833E-03   -1.5694    
   2  Index         2.6327        6.2994        .10367E-01   -.49321    
   3  Normalizat    .72161        .21588        .38204E-03   -1.0305    
   4  Prefactor     1.2230        .13752        .19127E-03   -.85626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.62705e-08
Minuit parameter uncertainties:
  1  10.5378
  2  5.25863
  3  0.216136
  4  0.137556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624443': 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) = 9265.96165393
delta logL = 0.00249509926289

Extracting fit parameters...

4FGL J0058.4+3315
   Spectrum: PowerLaw
189    Prefactor:  4.882e-01  1.054e+01  0.000e+00  1.000e+06 ( 1.000e-13)
190        Index:  2.633e+00  5.259e+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:  1.223e+00  1.376e-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:  7.216e-01  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/624443/cmap_HighResolution_693964801_694224001_4FGL_J0058.4+3315_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.86e-08', time_completed='2023-01-01 00:18:55.568723', job_id='624443', GAL2='1.22', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1672561135.57', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.50e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1754' AND source_name='4FGL J0058.4+3315' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 00:18:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 624443: <4FGL_J0058.4+3315_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0058.4+3315_daily_bin1754> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan  1 00:04:40 2023
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:07:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:07:58 2023
Terminated at Sun Jan  1 00:18:56 2023
Results reported at Sun Jan  1 00:18:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0058.4+3315_daily_bin1754 14.6101 33.2505 693964801 694224001 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 :                                   636.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             362.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            856 sec.

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

