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


Performing analysis on: 4FGL_J0005.9+3824_daily_bin1719
RA = 1.4986, Dec = 38.401
tmin = 684892801, tmax = 685152001
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='643944', job_status='RUN', time_executed='2022-09-18 00:05:05.399666', time_epoch_executed='1663484705.4' WHERE source_name='4FGL J0005.9+3824' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643944/ft1_4FGL_J0005.9+3824_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643944/ft1_4FGL_J0005.9+3824_daily_bin1719.fits outfile=/scratch/kocevski/643944/ft1_filteredMKT_4FGL_J0005.9+3824_daily_bin1719.fits ra=1.4986 dec=38.401 rad=12.0 tmin=684892801.0 tmax=685152001.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.28
user 2.95
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.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/643944/ft1_filteredMKT_4FGL_J0005.9+3824_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.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.60
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1202

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/643944/ltcube_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.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/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits
.....................!
real 17.60
user 16.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/643944/ltcube_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.fits outfile=/scratch/kocevski/643944/expmap_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.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/643944/ltcube_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.fits
.....................!
real 193.01
user 186.93
sys 5.41

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 158 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 J0005.9+3824 @ 1.4986 38.401

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits scfile=/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits outfile=/scratch/kocevski/643944/cmap_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.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=1.4986 yref=38.401 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.68
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits scfile=/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits outfile=/scratch/kocevski/643944/cmap_HighResolution_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.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=1.4986 yref=38.401 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643944/Model_4FGL_J0005.9+3824_daily_bin1719.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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits.....................!
real 136.79
user 133.73
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits', '/scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits', expMap='/scratch/kocevski/643944/expmap_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.fits', expCube='/scratch/kocevski/643944/ltcube_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643944/Model_4FGL_J0005.9+3824_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0005.9+3824'

4FGL J0005.9+3824
   Spectrum: LogParabola
23          norm:  7.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
24         alpha:  2.552e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
25          beta:  1.899e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
26            Eb:  4.501e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643944/ft1_filtered_4FGL_J0005.9+3824_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/643944/ft2_4FGL_J0005.9+3824_daily_bin1719.fits
Exposure map: /scratch/kocevski/643944/expmap_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.fits
Exposure cube: /scratch/kocevski/643944/ltcube_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643944/Model_4FGL_J0005.9+3824_daily_bin1719.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) = 13014.1947955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11419E-02   1.0000          .0000       .10000E+07
     2 'norm      '    2.4351       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.3459       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58024       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32381E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .93440E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.889       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10503       1.0000          .0000       .10000E+07
     9 'norm      '    .25786       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28049E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12631E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7038       1.0000          .0000       .10000E+07
    13 'Prefactor '    38.125       1.0000          .0000       .10000E+07
    14 'norm      '    1.4644       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.989       1.0000          .0000       .10000E+07
    16 'norm      '    6.3396       1.0000          .0000       .10000E+07
    17 'norm      '    7.4859       1.0000          .0000       .10000E+07
    18 'Prefactor '    .45032       1.0000          .0000       .10000E+07
    19 'norm      '    .35324       1.0000          .0000       .10000E+07
    20 'Prefactor '    .62764E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .19052E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .58444E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .17334E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1455       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86405       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13014.16     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1740 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73830E-08    5.4689       -.14201E-06** at limit **
   2  norm          2.5251        6.0745        .14538E-05    .32753E-01
   3  Prefactor     6.3418        4.7697       -.52200E-07   -.57701E-02
   4  Prefactor     .58304        15.833       -.22560E-05   -.13420E-02
   5  Prefactor     .37854E-05    11.504       -.39197E-05** at limit **
   6  Prefactor     .13375E-05    11.851        .43501E-06** at limit **
   7  Prefactor     18.839        2.1025        .19732E-07    .54112E-02
   8  Prefactor     .10547E-07    34.433       -.26004E-05** at limit **
   9  norm          .25916        1.2702        .24780E-06   -.22876E-03
  10  Prefactor     .66613E-09    1.5395        .29878E-07** at limit **
  11  Prefactor     .13323E-08    4.1310       -.52250E-07** at limit **
  12  Prefactor     5.7007        7.8879       -.10521E-05   -.11502E-01
  13  Prefactor     38.085        1.9799        .84959E-07    .12220E-01
  14  norm          1.4624        1.4316        .18270E-06   -.29363E-03
  15  Prefactor     12.957        9.2680       -.17019E-05   -.36640E-01
  16  norm          6.4523        4.8652        .36668E-07   -.42476E-02
  17  norm          7.4828        6.4149        .89345E-07    .16159E-02
  18  Prefactor     .17923E-03    100.60       -.13453E-04** at limit **
  19  norm          .35573        1.2189       -.35230E-06    .26935E-02
  20  Prefactor     .14725E-05    9.4810       -.21580E-05** at limit **
  21  Prefactor     .44667E-05    41.316        .27844E-05** at limit **
  22  Prefactor     .44692E-06    12.861        .20288E-05** at limit **
  23  Prefactor     .17208E-08    2.4764        .65853E-07** at limit **
  24  Normalizat    1.1461        .18503        .63003E-05    .46943E-04
  25  Prefactor     .86394        .84980E-01    .20862E-05    .13884E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.38298e-09
  norm       = 2.52514
  Prefactor  = 6.34181
  Prefactor  = 0.583044
  Prefactor  = 3.78536e-06
  Prefactor  = 1.33749e-06
  Prefactor  = 18.8392
  Prefactor  = 1.05471e-08
  norm       = 0.259158
  Prefactor  = 6.66134e-10
  Prefactor  = 1.33227e-09
  Prefactor  = 5.70072
  Prefactor  = 38.0845
  norm       = 1.46239
  Prefactor  = 12.9568
  norm       = 6.45229
  norm       = 7.48278
  Prefactor  = 0.000179234
  norm       = 0.355731
  Prefactor  = 1.47249e-06
  Prefactor  = 4.4667e-06
  Prefactor  = 4.4692e-07
  Prefactor  = 1.72085e-09
  Normalizat = 1.14613
  Prefactor  = 0.863937
 **********
 **   18 **HESSE 
 **********

 FCN=   13014.16     FROM HESSE     STATUS=OK           489 CALLS     2229 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73830E-08    5.5053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5251        14.778        .65545E-03   -1.5676    
   3  Prefactor     6.3418        4.9637        .39821E-03   -1.5658    
   4  Prefactor     .58304        20.536        .71017E-03   -1.5693    
   5  Prefactor     .37854E-05    1.4210        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13375E-05    18.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.839        18.678        .23017E-03   -1.5621    
   8  Prefactor     .10547E-07    33.969        .13796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .25916        1.2267        .10825E-02   -1.5698    
  10  Prefactor     .66613E-09    1.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13323E-08    4.1393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7007        8.0281        .42034E-03   -1.5660    
  13  Prefactor     38.085        20.113        .16197E-03   -1.5585    
  14  norm          1.4624        1.4571        .88839E-03   -1.5684    
  15  Prefactor     12.957        9.3631        .27767E-03   -1.5636    
  16  norm          6.4523        5.2334        .39841E-03   -1.5657    
  17  norm          7.4828        6.4182        .36632E-03   -1.5653    
  18  Prefactor     .17923E-03    13.594        .11159E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .35573        1.2500        .95117E-03   -1.5696    
  20  Prefactor     .14725E-05    15.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .44667E-05    44.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .44692E-06    13.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .17208E-08    2.4811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1461        .16753        .72330E-01   -.88284    
  25  Prefactor     .86394        .71970E-01    .44545E-01   -.97413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03112e-06
Minuit parameter uncertainties:
  1  0.00040369
  2  12.2177
  3  4.96374
  4  6.92048
  5  0.00463851
  6  0.00989569
  7  18.678
  8  0.00119734
  9  1.12767
  10  6.31069e-05
  11  0.000148281
  12  8.02809
  13  20.1131
  14  1.45706
  15  9.36315
  16  5.23335
  17  6.4182
  18  0.098721
  19  1.24997
  20  0.00958716
  21  0.0282412
  22  0.00490623
  23  0.000129978
  24  0.167606
  25  0.0719777
Done.

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

Extracting fit parameters...

4FGL J0005.9+3824
   Spectrum: LogParabola
23          norm:  2.525e+00  1.222e+01  0.000e+00  1.000e+06 ( 1.000e-12)
24         alpha:  2.552e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
25          beta:  1.899e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
26            Eb:  4.501e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  8.639e-01  7.198e-02  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.146e+00  1.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 1.499 38.401
Photon Flux Upper Limit: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/643944/likelihoodResults_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.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) = 13013.7677363
delta logL = 0.393667727374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13013.7413285
delta logL = 0.420075472906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9802       1.0000          .0000       .10000E+07
     2 'alpha     '    4.0553       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13013.74     FROM MIGRAD    STATUS=FAILED       103 CALLS      271 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9923        238.91        .10106E-03   -.11411E-02
   2  alpha         4.0530        2.6084        .52657E-01    .29575E-03
   3  Normalizat    1.0977        .17876        .16309E-02   -.31675E-04
   4  Prefactor     .87679        .84364E-01    .16746E-03    .67887E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13013.74     FROM SIMPLEX   STATUS=UNCHANGED     82 CALLS      353 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9923        238.91        .11494E-04   -.11411E-02
   2  alpha         4.0530        2.6084        .29832E-02    .29575E-03
   3  Normalizat    1.0977        .17876        .17117E-03   -.31675E-04
   4  Prefactor     .87679        .84364E-01    .68149E-04    .67887E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13013.74     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      388 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9923        8.5390        .40425E-05   -.14624E-02
   2  alpha         4.0530        1.5118        .10531E-01   -.55141E-05
   3  Normalizat    1.0977        .19019        .65237E-04   -.32902E-04
   4  Prefactor     .87679        .85948E-01    .66985E-05    .67887E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99234
  alpha      = 4.05304
  Normalizat = 1.09766
  Prefactor  = 0.876794
 **********
 **   18 **HESSE 
 **********

 FCN=   13013.74     FROM HESSE     STATUS=OK            25 CALLS      413 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9923        7.8949        .16170E-06   -1.5668    
   2  alpha         4.0530        1.4252        .42126E-03    .67029    
   3  Normalizat    1.0977        .19031        .13047E-04   -.89827    
   4  Prefactor     .87679        .85974E-01    .13397E-05   -.96957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16755e-11
Minuit parameter uncertainties:
  1  7.89492
  2  1.5959
  3  0.190433
  4  0.0859872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643944': 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) = 13013.741327
delta logL = 0.420077027558

Extracting fit parameters...

4FGL J0005.9+3824
   Spectrum: LogParabola
23          norm:  3.992e+00  7.895e+00  0.000e+00  1.000e+06 ( 1.000e-12)
24         alpha:  4.053e+00  1.596e+00  0.000e+00  5.000e+00 ( 1.000e+00)
25          beta:  1.899e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
26            Eb:  4.501e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  8.768e-01  8.599e-02  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.098e+00  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 1.499 38.401

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/643944/cmap_HighResolution_684892801_685152001_4FGL_J0005.9+3824_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-05', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2022-09-18 00:20:23.140166', job_id='643944', GAL2='0.88', fit_tolerance='1e-08', EG2='1.10', EG='1.15', time_epoch_completed='1663485623.14', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.20e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1719' AND source_name='4FGL J0005.9+3824' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:20:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 643944: <4FGL_J0005.9+3824_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0005.9+3824_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:35 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:04:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:04:36 2022
Terminated at Sun Sep 18 00:20:24 2022
Results reported at Sun Sep 18 00:20:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0005.9+3824_daily_bin1719 1.4986 38.401 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0005.9+3824 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   915.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            949 sec.

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

