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 121 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1697
RA = 31.2637, Dec = -17.0022
tmin = 679190401, tmax = 679449601
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='883308', job_status='RUN', time_executed='2022-07-14 02:22:32.167201', time_epoch_executed='1657790552.17' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883308

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883308/ft1_4FGL_J0205.0-1700_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883308/ft1_4FGL_J0205.0-1700_daily_bin1697.fits outfile=/scratch/kocevski/883308/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1697.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=679190401.0 tmax=679449601.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.45
user 3.25
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.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/883308/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1697.fits evtable="EVENTS" outfile="/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.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.55
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/883308/ltcube_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.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/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits
.....................!
real 12.62
user 12.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/883308/ltcube_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.fits outfile=/scratch/kocevski/883308/expmap_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.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/883308/ltcube_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.fits
.....................!
real 190.99
user 185.86
sys 4.50

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

Setting source of interest to:
4FGL J0205.0-1700 @ 31.2637 -17.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits scfile=/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits outfile=/scratch/kocevski/883308/cmap_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.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=31.2637 yref=-17.0022 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits scfile=/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits outfile=/scratch/kocevski/883308/cmap_HighResolution_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.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=31.2637 yref=-17.0022 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883308/Model_4FGL_J0205.0-1700_daily_bin1697.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/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits.....................!
real 53.89
user 52.40
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits', '/scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits', expMap='/scratch/kocevski/883308/expmap_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.fits', expCube='/scratch/kocevski/883308/ltcube_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/883308/Model_4FGL_J0205.0-1700_daily_bin1697.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0205.0-1700'

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.877e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/883308/ft1_filtered_4FGL_J0205.0-1700_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/883308/ft2_4FGL_J0205.0-1700_daily_bin1697.fits
Exposure map: /scratch/kocevski/883308/expmap_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.fits
Exposure cube: /scratch/kocevski/883308/ltcube_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/883308/Model_4FGL_J0205.0-1700_daily_bin1697.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) = 5936.69579159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34503       1.0000         .10000E-03   10000.    
     2 'norm      '    .12166E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12110E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9831       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.737       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2432       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.032       1.0000         .10000E-03   10000.    
    10 'norm      '    5.0579       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6390       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5794       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2367       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14110E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8814       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4180       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90334       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84504       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5936.649     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     1927 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21974        9.5967        .43775E-05   -.82953E-03
   2  norm          .10000E-03    1.6363        .65763E-07** at limit **
   3  Prefactor     .10000E-03    .96419        .40308E-07** at limit **
   4  norm          .10000E-03    19.468       -.25064E-06** at limit **
   5  norm          1.9830        .94407        .79752E-07   -.45724E-03
   6  norm          .10000E-03    .44359        .25273E-07** at limit **
   7  norm          14.726        6.6890        .57805E-06   -.40119E-05
   8  norm          1.2424        1.8927        .22073E-06   -.67902E-06
   9  Prefactor     17.026        18.995        .16317E-06   -.17822E-04
  10  norm          5.0571        2.3417        .21131E-06   -.66018E-03
  11  Prefactor     1.6342        3.5374        .76257E-06    .85567E-05
  12  Prefactor     3.5810        8.1146       -.96584E-07   -.25968E-04
  13  Prefactor     .10000E-03    6.0722        .98658E-07** at limit **
  14  Prefactor     2.5955        4.9245        .34176E-05    .11921E-03
  15  Prefactor     9.2400        7.0748       -.13215E-05   -.80234E-03
  16  Prefactor     .10000E-03    6.3770       -.25322E-07** at limit **
  17  norm          .10000E-03    32.651       -.38412E-06** at limit **
  18  Prefactor     3.8779        5.5097        .20148E-05    .22958E-03
  19  Prefactor     1.3318        232.76        .35637E-04   -.28405E-04
  20  Normalizat    .90367        .16073       -.27402E-05   -.75081E-03
  21  Prefactor     .84516        .16561       -.10982E-05   -.78414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.219735
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.98301
  norm       = 0.0001
  norm       = 14.7263
  norm       = 1.24242
  Prefactor  = 17.0256
  norm       = 5.05709
  Prefactor  = 1.63418
  Prefactor  = 3.58097
  Prefactor  = 0.0001
  Prefactor  = 2.59546
  Prefactor  = 9.24003
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 3.87791
  Prefactor  = 1.33176
  Normalizat = 0.903666
  Prefactor  = 0.845157
 **********
 **   18 **HESSE 
 **********

 FCN=   5936.649     FROM HESSE     STATUS=OK           325 CALLS     2252 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21974        130.41        .38775E-02   -1.5614    
   2  norm          .10000E-03    2.7905        .18059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    .96778        .73852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    19.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9830        .94649        .49932E-04   -1.5426    
   6  norm          .10000E-03    .44764        .50096E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.726        6.6990        .10433E-03   -1.4940    
   8  norm          1.2424        1.8559        .12670E-03   -1.5485    
   9  Prefactor     17.026        18.996        .97047E-04   -1.4882    
  10  norm          5.0571        2.3467        .37350E-03   -1.5258    
  11  Prefactor     1.6342        3.5232        .20025E-03   -1.5452    
  12  Prefactor     3.5810        8.1072        .21360E-03   -1.5329    
  13  Prefactor     .10000E-03    6.1055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5955        4.9287        .10791E-02   -1.5386    
  15  Prefactor     9.2400        7.1331        .13187E-03   -1.5100    
  16  Prefactor     .10000E-03    6.3890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    32.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8779        5.4724        .10095E-02   -1.5314    
  19  Prefactor     1.3318        237.15        .36343E-02   -1.5477    
  20  Normalizat    .90367        .19079        .21611E-03   -.96331    
  21  Prefactor     .84516        .19648        .24888E-03   -.98085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29848e-08
Minuit parameter uncertainties:
  1  10.7275
  2  0.000102466
  3  2.11035e-07
  4  9.74794e-06
  5  0.946496
  6  1.34326e-06
  7  6.69933
  8  1.85597
  9  19.0025
  10  2.34678
  11  3.52361
  12  8.10973
  13  1.58686e-05
  14  4.92945
  15  7.13372
  16  5.73858e-06
  17  0.000291758
  18  5.47311
  19  35.6863
  20  0.190932
  21  0.196646
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  5.057e+00  2.347e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.452e-01  1.966e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.037e-01  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.32
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 9.60e-08 +/- 4.45e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.13e-05

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) = 5936.54881451
delta logL = 0.100352438596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5936.54638288
delta logL = 0.102784064587

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5107       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8384       1.0000          .0000       5.0000    
     3 'Normalizat'    .88478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+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.

 FCN=   5936.546     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      270 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5106        2.7597        .68986E-04    .12511E-02
   2  alpha         2.8384        .67093        .13420E-01    .61252E-04
   3  Normalizat    .88471        .18162        .21811E-03   -.27887E-04
   4  Prefactor     .86378        .20056        .24659E-03   -.14158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.51061
  alpha      = 2.83844
  Normalizat = 0.884708
  Prefactor  = 0.863775
 **********
 **   18 **HESSE 
 **********

 FCN=   5936.546     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5106        2.6519        .27594E-05   -1.5283    
   2  alpha         2.8384        .64500        .53680E-03    .13579    
   3  Normalizat    .88471        .18176        .87243E-05   -.97000    
   4  Prefactor     .86378        .20052        .98637E-05   -.97419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17446e-10
Minuit parameter uncertainties:
  1  2.65194
  2  0.652517
  3  0.181889
  4  0.200691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883308': 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) = 5936.54638278
delta logL = 0.102784168364

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  4.511e+00  2.652e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.838e+00  6.525e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.638e-01  2.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.847e-01  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.55
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.84 +/- 0.65
Photon Flux (Free Index): 1.05e-07 +/- 4.98e-08
Energy Flux (Free Index): 2.26e-05 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/883308/cmap_HighResolution_679190401_679449601_4FGL_J0205.0-1700_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.60e-08', energy_flux2='2.26e-05', photon_flux_error='4.45e-08', dlogl='1.03e-01', energy_flux='2.44e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2022-07-14 02:31:31.008683', photon_index_error2='0.65', photon_index2='2.84', ts='7.32', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='0.90', time_epoch_completed='1657791091.01', return_code='0', job_id='883308', GAL2='0.86', EG2='0.88', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='4.98e-08', ts2='7.55', photon_index='2.56' WHERE bin_id='1697' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 02:31:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 883308: <4FGL_J0205.0-1700_daily_bin1697> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1697> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jul 14 02:20:15 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 02:20:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 02:20:16 2022
Terminated at Thu Jul 14 02:31:31 2022
Results reported at Thu Jul 14 02:31:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1697 31.2637 -17.0022 679190401 679449601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0205.0-1700 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   540.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            676 sec.

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

