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


Performing analysis on: 4FGL_J0028.4+2001_weekly_bin733
RA = 7.1222, Dec = 20.0311
tmin = 682300801, tmax = 682905601
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='12895', job_status='RUN', time_executed='2022-09-16 10:47:39.511271', time_epoch_executed='1663350459.51' WHERE source_name='4FGL J0028.4+2001' and cadence='weekly' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12895

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12895/ft1_4FGL_J0028.4+2001_weekly_bin733.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12895/ft1_4FGL_J0028.4+2001_weekly_bin733.fits outfile=/scratch/kocevski/12895/ft1_filteredMKT_4FGL_J0028.4+2001_weekly_bin733.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=682300801.0 tmax=682905601.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 8.22
user 7.59
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.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/12895/ft1_filteredMKT_4FGL_J0028.4+2001_weekly_bin733.fits evtable="EVENTS" outfile="/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.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.58
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1330

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/12895/ltcube_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.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/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits
.....................!
real 38.69
user 38.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/12895/ltcube_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.fits outfile=/scratch/kocevski/12895/expmap_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.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/12895/ltcube_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.fits
.....................!
real 191.53
user 186.19
sys 4.98

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

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits scfile=/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits outfile=/scratch/kocevski/12895/cmap_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.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=7.1222 yref=20.0311 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits scfile=/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits outfile=/scratch/kocevski/12895/cmap_HighResolution_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.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=7.1222 yref=20.0311 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.61
user 0.43
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12895/Model_4FGL_J0028.4+2001_weekly_bin733.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/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits.....................!
real 135.44
user 133.94
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits', '/scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits', expMap='/scratch/kocevski/12895/expmap_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.fits', expCube='/scratch/kocevski/12895/ltcube_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12895/Model_4FGL_J0028.4+2001_weekly_bin733.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12895/ft1_filtered_4FGL_J0028.4+2001_weekly_bin733.fits
Spacecraft file(s): /scratch/kocevski/12895/ft2_4FGL_J0028.4+2001_weekly_bin733.fits
Exposure map: /scratch/kocevski/12895/expmap_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.fits
Exposure cube: /scratch/kocevski/12895/ltcube_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12895/Model_4FGL_J0028.4+2001_weekly_bin733.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) = 14397.8513495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31348       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.954       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1177       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2765       1.0000          .0000       .10000E+07
     5 'norm      '    2.1294       1.0000          .0000       .10000E+07
     6 'Prefactor '    .70755E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.1995       1.0000          .0000       .10000E+07
     8 'norm      '    2.9190       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10196E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15703E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.9966       1.0000          .0000       .10000E+07
    13 'Prefactor '    .78322E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1397       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14397.82     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      796 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31486        2.0071       -.14854E-06    .72782E-04
   2  Prefactor     21.918        3.4412        .48795E-07   -.18834E-01
   3  Prefactor     4.0814        5.5725        .10288E-06    .35004E-02
   4  Prefactor     3.2759        1.9285       -.12307E-07   -.60526E-03
   5  norm          2.1201        3.2979        .16704E-06   -.15885E-04
   6  Prefactor      .0000        3.4406       -.18266E-06** at limit **
   7  Prefactor     4.2532        6.9468        .13031E-06   -.29440E-03
   8  norm          2.8835        3.9342        .15920E-06    .33405E-03
   9  Prefactor     .22204E-09    3.3012       -.16954E-06** at limit **
  10  Prefactor     .16653E-09    2.9383        .12520E-06** at limit **
  11  Prefactor      .0000        22.008        .63710E-06** at limit **
  12  norm          1.9968        .49595       -.18197E-07   -.61822E-03
  13  Prefactor      .0000        1.1381       -.51010E-07** at limit **
  14  Normalizat    1.1397        .14388        .42950E-06   -.47805E-04
  15  Prefactor     .85414        .98741E-01    .10008E-05   -.60139E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.314858
  Prefactor  = 21.9176
  Prefactor  = 4.08138
  Prefactor  = 3.27586
  norm       = 2.1201
  Prefactor  = 0
  Prefactor  = 4.25321
  norm       = 2.88351
  Prefactor  = 2.22045e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 1.99676
  Prefactor  = 0
  Normalizat = 1.13969
  Prefactor  = 0.854143
 **********
 **   18 **HESSE 
 **********

 FCN=   14397.82     FROM HESSE     STATUS=OK           220 CALLS     1016 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31486        .92440        .48854E-02   -1.5697    
   2  Prefactor     21.918        9.2679        .21348E-03   -1.5614    
   3  Prefactor     4.0814        6.6484        .49654E-03   -1.5668    
   4  Prefactor     3.2759        1.9326        .55916E-03   -1.5672    
   5  norm          2.1201        3.3128        .70629E-03   -1.5679    
   6  Prefactor      .0000        3.4684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2532        6.9470        .49153E-03   -1.5667    
   8  norm          2.8835        3.9379        .59437E-03   -1.5674    
   9  Prefactor     .22204E-09    3.4055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    3.0159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        22.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9968        .49772        .73277E-03   -1.5680    
  13  Prefactor      .0000        1.1431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1397        .12221        .58512E-01   -.88487    
  15  Prefactor     .85414        .83581E-01    .44417E-01   -.97762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53404e-08
Minuit parameter uncertainties:
  1  0.924402
  2  9.26788
  3  6.64842
  4  1.93263
  5  3.31279
  6  3.54321e-06
  7  6.94701
  8  3.93791
  9  5.71264e-05
  10  4.54428e-05
  11  3.95296e-05
  12  0.497716
  13  1.08751e-06
  14  0.122244
  15  0.0835938
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  3.276e+00  1.933e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.541e-01  8.359e-02  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.140e+00  1.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 2.05e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 6.60e-06

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) = 14397.7344416
delta logL = 0.0808116318985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14397.7259299
delta logL = 0.089323336686

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14397.73     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7379        43.118        .52194E-03    .55839E-02
   2  Index         2.2274        3.0922        .24624        .77245E-04
   3  Normalizat    1.1451        .52065E-01    .58393E-01    .21202E-04
   4  Prefactor     .85147        .31792E-01    .44384E-01    .20847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.73792
  Index      = 2.22744
  Normalizat = 1.14506
  Prefactor  = 0.851474
 **********
 **   18 **HESSE 
 **********

 FCN=   14397.73     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7379        2.3879        .13219E-04   -1.5669    
   2  Index         2.2274        .43179        .84170E-02   -.58778    
   3  Normalizat    1.1451        .14177        .25824E-03   -.88318    
   4  Prefactor     .85147        .98552E-01    .20461E-03   -.97858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45418e-12
Minuit parameter uncertainties:
  1  2.38792
  2  0.432568
  3  0.141813
  4  0.0985727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12895': 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) = 14397.7259285
delta logL = 0.089324765966

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  3.738e+00  2.388e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.227e+00  4.326e-01  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.515e-01  9.857e-02  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.145e+00  1.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.17
Ra Dec: 7.122 20.031
Photon Index (Free Index): 2.23 +/- 0.43
Photon Flux (Free Index): 3.10e-08 +/- 2.05e-08
Energy Flux (Free Index): 1.33e-05 +/- 9.98e-06

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/12895/cmap_HighResolution_682300801_682905601_4FGL_J0028.4+2001_weekly_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.33e-05', photon_flux_error='2.05e-08', dlogl='8.93e-02', energy_flux='1.12e-05', photon_flux2='3.10e-08', job_status='DONE', time_completed='2022-09-16 10:59:11.505011', photon_index_error2='0.43', photon_index2='2.23', ts='4.99', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='9.98e-06', EG='1.14', time_epoch_completed='1663351151.51', return_code='0', job_id='12895', GAL2='0.85', EG2='1.15', return_code2='0', energy_flux_error='6.60e-06', photon_flux_error2='2.05e-08', ts2='5.17', photon_index='2.41' WHERE bin_id='733' AND source_name='4FGL J0028.4+2001' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:59:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 12895: <4FGL_J0028.4+2001_weekly_bin733> in cluster <slac> Done

Job <4FGL_J0028.4+2001_weekly_bin733> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 10:45:41 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:46:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:46:50 2022
Terminated at Fri Sep 16 10:59:13 2022
Results reported at Fri Sep 16 10:59:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_weekly_bin733 7.1222 20.0311 682300801 682905601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0028.4+2001 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            812 sec.

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

