/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 8 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 = 7660
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0205.0-1700_daily_bin873
RA = 31.2637, Dec = -17.0022
tmin = 465609601, tmax = 465868801
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='89619', job_status='RUN', time_executed='2021-08-15 05:53:08.922677', time_epoch_executed='1629031988.92' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89619

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89619/ft1_4FGL_J0205.0-1700_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89619/ft1_4FGL_J0205.0-1700_daily_bin873.fits outfile=/scratch/kocevski/89619/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin873.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=465609601.0 tmax=465868801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.90
user 3.33
sys 1.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.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/89619/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.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 1.90
user 0.34
sys 1.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/89619/ltcube_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.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/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits
.....................!
real 14.77
user 12.77
sys 1.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/89619/ltcube_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.fits outfile=/scratch/kocevski/89619/expmap_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.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/89619/ltcube_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.fits
.....................!
real 193.41
user 186.41
sys 6.52

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/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits scfile=/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits outfile=/scratch/kocevski/89619/cmap_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.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 1.83
user 0.39
sys 1.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits scfile=/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits outfile=/scratch/kocevski/89619/cmap_HighResolution_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.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 1.86
user 0.40
sys 1.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/89619/Model_4FGL_J0205.0-1700_daily_bin873.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/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits.....................!
real 52.54
user 49.10
sys 2.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits', '/scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits', expMap='/scratch/kocevski/89619/expmap_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.fits', expCube='/scratch/kocevski/89619/ltcube_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/89619/Model_4FGL_J0205.0-1700_daily_bin873.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/89619/ft1_filtered_4FGL_J0205.0-1700_daily_bin873.fits
Spacecraft file(s): /scratch/kocevski/89619/ft2_4FGL_J0205.0-1700_daily_bin873.fits
Exposure map: /scratch/kocevski/89619/expmap_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.fits
Exposure cube: /scratch/kocevski/89619/ltcube_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/89619/Model_4FGL_J0205.0-1700_daily_bin873.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5537.05457405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6503       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11246E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.1324       1.0000         .10000E-03   10000.    
     5 'norm      '    4.3614       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4128       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0475       1.0000         .10000E-03   10000.    
     8 'norm      '    .18310       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .98682       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0864       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8972       1.0000         .10000E-03   10000.    
    19 'Prefactor '    88.506       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .82553       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82443       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=   5537.048     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2194 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9448        .86589E-06** at limit **
   2  norm          1.6491        2.0564       -.12709E-06   -.78324E-03
   3  Prefactor     .10000E-03    2.8199        .17762E-05** at limit **
   4  norm          9.1344        22.800        .35331E-05   -.20025E-04
   5  norm          4.3615        1.3533        .15145E-07   -.11180E-03
   6  norm          2.4122        1.8960       -.60384E-08   -.37955E-03
   7  norm          5.0476        4.8033       -.34185E-06   -.22895E-03
   8  norm          .18864        1.4082       -.28917E-06   -.22504E-03
   9  Prefactor     .10000E-03    9.6181        .30764E-05** at limit **
  10  norm          .98676        1.3902       -.29313E-06   -.96937E-03
  11  Prefactor     .10000E-03    1.6011       -.11103E-06** at limit **
  12  Prefactor     .10000E-03    2.9392       -.28419E-05** at limit **
  13  Prefactor     .10000E-03    3.9282       -.42902E-06** at limit **
  14  Prefactor     4.0862        5.0848       -.32875E-06   -.36068E-03
  15  Prefactor     .10000E-03    2.9108        .12858E-05** at limit **
  16  Prefactor     .10000E-03    8.2159       -.23477E-05** at limit **
  17  norm          .10000E-03    18.413       -.30893E-06** at limit **
  18  Prefactor     4.8977        4.4261        .35566E-08   -.86803E-04
  19  Prefactor     88.509        38.996        .27661E-05    .23070E-05
  20  Normalizat    .82545        .15379       -.53734E-07   -.10640E-04
  21  Prefactor     .82450        .16422       -.62337E-06   -.36444E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.64913
  Prefactor  = 0.0001
  norm       = 9.13435
  norm       = 4.36147
  norm       = 2.41217
  norm       = 5.04757
  norm       = 0.188641
  Prefactor  = 0.0001
  norm       = 0.986763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.08621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.89766
  Prefactor  = 88.509
  Normalizat = 0.825445
  Prefactor  = 0.824504
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.048     FROM HESSE     STATUS=OK           321 CALLS     2515 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9534        .16149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6491        2.0419        .11581E-03   -1.5451    
   3  Prefactor     .10000E-03    2.9139        .24232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.1344        22.642        .13262E-03   -1.5103    
   5  norm          4.3615        1.3573        .46119E-04   -1.5290    
   6  norm          2.4122        1.8830        .85478E-04   -1.5397    
   7  norm          5.0476        4.8103        .15018E-03   -1.5259    
   8  norm          .18864        5.7173        .16827E-02   -1.5621    
   9  Prefactor     .10000E-03    9.5850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .98676        1.2656        .10010E-02   -1.5509    
  11  Prefactor     .10000E-03    1.6332        .91877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.8965        .12359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.9365        .14400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.0862        5.1250        .17537E-03   -1.5304    
  15  Prefactor     .10000E-03    2.9071        .12368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.1972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    18.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8977        4.4221        .14285E-03   -1.5265    
  19  Prefactor     88.509        38.924        .42708E-04   -1.3824    
  20  Normalizat    .82545        .18185        .21329E-03   -.99132    
  21  Prefactor     .82450        .19418        .24051E-03   -.98831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73775e-10
Minuit parameter uncertainties:
  1  1.06094e-06
  2  2.04197
  3  7.0345e-06
  4  22.6629
  5  1.3573
  6  1.88303
  7  4.81063
  8  2.07669
  9  2.3449e-06
  10  1.26559
  11  2.67357e-06
  12  2.73256e-06
  13  1.99852e-06
  14  5.12555
  15  3.75853e-06
  16  2.60026e-06
  17  2.29819e-05
  18  4.42243
  19  38.9352
  20  0.181989
  21  0.194345
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  9.868e-01  1.266e+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.245e-01  1.943e-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.254e-01  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.87e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 4.77e-06 +/- 6.12e-06

TS (Fixed Index): 1.01
Ra Dec: 31.264 -17.002
Photon Flux Upper Limit: 8.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89619/likelihoodResults_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.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) = 5536.92334344
delta logL = 0.124298114072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5536.92322434
delta logL = 0.124417216865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99296       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9537       1.0000          .0000       5.0000    
     3 'Normalizat'    .83835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81215       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.

 FCN=   5536.923     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99276        1.4874        .20232E-01    .41785E-03
   2  alpha         1.9545        .80280        .42468       -.32999E-04
   3  Normalizat    .83833        .14502        .44109E-01    .11652E-04
   4  Prefactor     .81217        .16447        .43875E-01    .13657E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.992763
  alpha      = 1.9545
  Normalizat = 0.838326
  Prefactor  = 0.812173
 **********
 **   18 **HESSE 
 **********

 FCN=   5536.923     FROM HESSE     STATUS=OK            35 CALLS      246 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99276        1.2577        .95963E-03   -1.5509    
   2  alpha         1.9545        .97908        .21763E-01   -.21997    
   3  Normalizat    .83833        .17129        .21176E-03   -.98662    
   4  Prefactor     .81217        .19372        .24208E-03   -.99281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31408e-12
Minuit parameter uncertainties:
  1  1.25769
  2  1.00746
  3  0.171397
  4  0.193881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89619': 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) = 5536.9232239
delta logL = 0.124417657946

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  9.928e-01  1.258e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  1.954e+00  1.007e+00  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.122e-01  1.939e-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.383e-01  1.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.26
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 1.95 +/- 1.01
Photon Flux (Free Index): 1.34e-08 +/- 1.92e-08
Energy Flux (Free Index): 6.72e-06 +/- 9.76e-06

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/89619/cmap_HighResolution_465609601_465868801_4FGL_J0205.0-1700_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-05', comment='SUCCESS', photon_flux='1.87e-08', energy_flux2='6.72e-06', photon_flux_error='2.40e-08', dlogl='1.24e-01', energy_flux='4.77e-06', photon_flux2='1.34e-08', job_status='DONE', time_completed='2021-08-15 06:03:29.061211', photon_index_error2='1.01', photon_index2='1.95', ts='1.01', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='9.76e-06', EG='0.83', time_epoch_completed='1629032609.06', return_code='0', job_id='89619', GAL2='0.81', EG2='0.84', return_code2='0', energy_flux_error='6.12e-06', photon_flux_error2='1.92e-08', ts2='1.26', photon_index='2.56' WHERE bin_id='873' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:03:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 89619: <4FGL_J0205.0-1700_daily_bin873> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin873> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 05:50:57 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:52:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 05:52:30 2021
Terminated at Sun Aug 15 06:03:30 2021
Results reported at Sun Aug 15 06:03:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin873 31.2637 -17.0022 465609601 465868801 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 :                                   633.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            753 sec.

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

