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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1670
RA = 31.6018, Dec = -11.8576
tmin = 672192001, tmax = 672451201
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='862418', job_status='RUN', time_executed='2022-04-24 00:16:16.981953', time_epoch_executed='1650784576.98' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862418

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862418/ft1_4FGL_J0206.4-1151_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862418/ft1_4FGL_J0206.4-1151_daily_bin1670.fits outfile=/scratch/kocevski/862418/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1670.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.18
user 4.88
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.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/862418/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 363

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862418/ltcube_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.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/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits
.....................!
real 14.88
user 14.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862418/ltcube_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.fits outfile=/scratch/kocevski/862418/expmap_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.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/862418/ltcube_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.fits
.....................!
real 191.53
user 186.05
sys 5.11

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 J0206.4-1151 @ 31.6018 -11.8576

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits scfile=/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits outfile=/scratch/kocevski/862418/cmap_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.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.6018 yref=-11.8576 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits scfile=/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits outfile=/scratch/kocevski/862418/cmap_HighResolution_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.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.6018 yref=-11.8576 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862418/Model_4FGL_J0206.4-1151_daily_bin1670.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/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits.....................!
real 47.80
user 45.81
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits', '/scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits', expMap='/scratch/kocevski/862418/expmap_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.fits', expCube='/scratch/kocevski/862418/ltcube_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862418/Model_4FGL_J0206.4-1151_daily_bin1670.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0206.4-1151'

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  3.081e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.399e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  7.401e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/862418/ft1_filtered_4FGL_J0206.4-1151_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862418/ft2_4FGL_J0206.4-1151_daily_bin1670.fits
Exposure map: /scratch/kocevski/862418/expmap_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862418/ltcube_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862418/Model_4FGL_J0206.4-1151_daily_bin1670.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) = 4196.623979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6097       1.0000         .10000E-03   10000.    
     4 'norm      '    17.133       1.0000         .10000E-03   10000.    
     5 'Prefactor '    68.560       1.0000         .10000E-03   10000.    
     6 'norm      '    6.9368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6615       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10348E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24765E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.034       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2489       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4196.607     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1631 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.525        .25498E-06** at limit **
   2  norm          .10000E-03    90.065        .40397E-05** at limit **
   3  norm          1.6097        1.4147        .95215E-07   -.14122E-03
   4  norm          17.133        9.2059       -.13475E-05   -.98282E-04
   5  Prefactor     68.614        150.75        .57274E-04   -.68040E-05
   6  norm          6.9368        3.4779        .35408E-06   -.10426E-03
   7  Prefactor     .10000E-03    3.8145        .14885E-07** at limit **
   8  Prefactor     .10000E-03    10.303       -.30665E-06** at limit **
   9  Prefactor     .10000E-03    4.4693        .38048E-07** at limit **
  10  Prefactor     8.6457        16.655        .68818E-06    .23531E-04
  11  Prefactor     .10000E-03    10.654        .20164E-06** at limit **
  12  norm          .10000E-03    390.83       -.83634E-05** at limit **
  13  Prefactor     .10000E-03    56.647       -.16361E-04** at limit **
  14  Prefactor     .10033E-03    12.838        .37901E-05** at limit **
  15  Prefactor     13.037        19.162        .46994E-06   -.14608E-03
  16  Normalizat    1.2490        .23298       -.12760E-05   -.15559E-03
  17  Prefactor     .95367        .22864       -.15631E-05   -.19708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 1.60966
  norm       = 17.1331
  Prefactor  = 68.6139
  norm       = 6.93675
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.64571
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100333
  Prefactor  = 13.037
  Normalizat = 1.24898
  Prefactor  = 0.95367
 **********
 **   18 **HESSE 
 **********

 FCN=   4196.607     FROM HESSE     STATUS=OK           217 CALLS     1848 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.441        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    91.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6097        1.4142        .69423E-04   -1.5454    
   4  norm          17.133        9.2086        .96761E-04   -1.4880    
   5  Prefactor     68.614        151.05        .48477E-04   -1.4049    
   6  norm          6.9368        3.4818        .80421E-04   -1.5181    
   7  Prefactor     .10000E-03    3.8657        .12349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.5081        .13374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6457        16.558        .13620E-03   -1.5120    
  11  Prefactor     .10000E-03    10.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    393.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10033E-03    54.611        .43689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.037        19.109        .11095E-03   -1.4986    
  16  Normalizat    1.2490        .27376        .24759E-03   -.85102    
  17  Prefactor     .95367        .26727        .28007E-03   -.94290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.08549e-09
Minuit parameter uncertainties:
  1  0.000367434
  2  0.000261891
  3  1.41425
  4  9.20936
  5  151.908
  6  3.48187
  7  7.34027e-07
  8  4.47153e-06
  9  7.0541e-06
  10  16.5672
  11  3.07499e-06
  12  0.00048927
  13  7.515e-05
  14  0.00853237
  15  19.1175
  16  0.274078
  17  0.267638
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  7.340e-07  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.399e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  7.401e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.537e-01  2.676e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.249e+00  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 31.602 -11.858
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862418/likelihoodResults_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4196.60869193
delta logL = -0.00123058740519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4196.60746139
delta logL = -4.05152604799e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3930       1.0000          .0000       10.000    
     3 'Normalizat'    1.2490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4196.607     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      185 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0676        .90712E-02** at limit **
   2  Index         2.3868        6.1932        .23931        .14369E-04
   3  Normalizat    1.2490        .22376        .55990E-01   -.10006E-03
   4  Prefactor     .95367        .22564        .45686E-01   -.53155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3868
  Normalizat = 1.24898
  Prefactor  = 0.953672
 **********
 **   18 **HESSE 
 **********

 FCN=   4196.607     FROM HESSE     STATUS=OK            25 CALLS      210 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8729        .12369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3868        6.1929        .95722E-02   -.54994    
   3  Normalizat    1.2490        .26190        .24759E-03   -.85103    
   4  Prefactor     .95367        .26417        .28007E-03   -.94290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29345e-10
Minuit parameter uncertainties:
  1  1.20661e-05
  2  4.26333
  3  0.262175
  4  0.26453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862418': 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) = 4196.6074613
delta logL = 4.06562321587e-08

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.207e-05  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.387e+00  4.263e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  7.401e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.537e-01  2.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.249e+00  2.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 31.602 -11.858

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/862418/cmap_HighResolution_672192001_672451201_4FGL_J0206.4-1151_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.13e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2022-04-24 00:24:24.739340', job_id='862418', GAL2='0.95', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1650785064.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1670' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:24:24 PDT 2022

CCESS', return_code='0', GAL='0.95', dlogl='4.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1670' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:20:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 862364: <4FGL_J0206.4-1151_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:27 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:12:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:12:09 2022
Terminated at Sun Apr 24 00:21:00 2022
Results reported at Sun Apr 24 00:21:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1670 31.6018 -11.8576 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0206.4-1151 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   479.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            753 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 862418: <4FGL_J0206.4-1151_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:29 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:12:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:12:28 2022
Terminated at Sun Apr 24 00:24:25 2022
Results reported at Sun Apr 24 00:24:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1670 31.6018 -11.8576 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0206.4-1151 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   487.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            956 sec.

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

