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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1484
RA = 31.2637, Dec = -17.0022
tmin = 623980801, tmax = 624240001
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='92719', job_status='RUN', time_executed='2021-08-15 06:03:04.506991', time_epoch_executed='1629032584.51' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92719

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92719/ft1_4FGL_J0205.0-1700_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92719/ft1_4FGL_J0205.0-1700_daily_bin1484.fits outfile=/scratch/kocevski/92719/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1484.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=623980801.0 tmax=624240001.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.28
user 3.79
sys 4.35

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.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/92719/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1484.fits evtable="EVENTS" outfile="/scratch/kocevski/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.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 4.89
user 0.36
sys 4.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/92719/ltcube_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.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/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits
.....................!
real 18.52
user 13.45
sys 4.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/92719/ltcube_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.fits outfile=/scratch/kocevski/92719/expmap_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.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/92719/ltcube_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.fits
.....................!
real 197.15
user 185.79
sys 10.77

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/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits scfile=/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits outfile=/scratch/kocevski/92719/cmap_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.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 4.57
user 0.38
sys 4.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits scfile=/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits outfile=/scratch/kocevski/92719/cmap_HighResolution_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.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 4.60
user 0.40
sys 4.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92719/Model_4FGL_J0205.0-1700_daily_bin1484.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/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits.....................!
real 49.32
user 42.29
sys 6.58

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits', '/scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits', expMap='/scratch/kocevski/92719/expmap_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.fits', expCube='/scratch/kocevski/92719/ltcube_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/92719/Model_4FGL_J0205.0-1700_daily_bin1484.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/92719/ft1_filtered_4FGL_J0205.0-1700_daily_bin1484.fits
Spacecraft file(s): /scratch/kocevski/92719/ft2_4FGL_J0205.0-1700_daily_bin1484.fits
Exposure map: /scratch/kocevski/92719/expmap_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.fits
Exposure cube: /scratch/kocevski/92719/ltcube_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/92719/Model_4FGL_J0205.0-1700_daily_bin1484.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) = 4353.98215836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.399       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6657       1.0000         .10000E-03   10000.    
     4 'norm      '    .10680E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4726       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2917       1.0000         .10000E-03   10000.    
     7 'norm      '    16.950       1.0000         .10000E-03   10000.    
     8 'norm      '    3.8137       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.2313       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9822       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2408       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.121       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2968       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84287       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96444       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=   4353.922     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     1846 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.401        17.709       -.69518E-06    .18526E-04
   2  norm          .10000E-03    1.3532       -.10685E-06** at limit **
   3  Prefactor     3.6661        5.1321        .26608E-05   -.13066E-02
   4  norm          .10001E-03    49.528       -.65386E-05** at limit **
   5  norm          2.4725        2.0611        .10409E-05   -.21954E-02
   6  norm          3.2925        3.3084       -.42289E-06   -.31983E-03
   7  norm          16.942        7.5508       -.18058E-06   -.14817E-03
   8  norm          3.8141        3.4900        .21426E-06    .18256E-03
   9  Prefactor     .10003E-03    24.216       -.92339E-05** at limit **
  10  norm          4.2320        2.7074        .79736E-07   -.56801E-04
  11  Prefactor     .10000E-03    2.4392        .14464E-06** at limit **
  12  Prefactor     8.9835        10.228        .91795E-07    .46642E-05
  13  Prefactor     .10000E-03    6.2209        .75295E-07** at limit **
  14  Prefactor     1.2415        4.2238        .68220E-06   -.12334E-03
  15  Prefactor     10.124        10.955        .14247E-05   -.42939E-03
  16  Prefactor     .10000E-03    11.035        .26248E-06** at limit **
  17  norm          .10002E-03    28.706        .85239E-05** at limit **
  18  Prefactor     1.2979        8.9843        .12213E-05   -.28117E-03
  19  Prefactor     .10001E-03    28.610        .45995E-05** at limit **
  20  Normalizat    .84274        .20476       -.16525E-05   -.45539E-04
  21  Prefactor     .96451        .20179       -.57279E-06   -.62929E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.4014
  norm       = 0.0001
  Prefactor  = 3.66609
  norm       = 0.000100012
  norm       = 2.47248
  norm       = 3.29248
  norm       = 16.942
  norm       = 3.81406
  Prefactor  = 0.000100028
  norm       = 4.23197
  Prefactor  = 0.0001
  Prefactor  = 8.98348
  Prefactor  = 0.0001
  Prefactor  = 1.24146
  Prefactor  = 10.124
  Prefactor  = 0.0001
  norm       = 0.000100023
  Prefactor  = 1.29793
  Prefactor  = 0.000100007
  Normalizat = 0.842735
  Prefactor  = 0.964512
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.922     FROM HESSE     STATUS=OK           317 CALLS     2163 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.401        17.752        .77968E-04   -1.4680    
   2  norm          .10000E-03    1.3555        .74914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6661        5.3476        .85403E-03   -1.5325    
   4  norm          .10001E-03    50.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4725        2.1361        .40855E-03   -1.5393    
   6  norm          3.2925        3.3114        .10790E-03   -1.5345    
   7  norm          16.942        7.5547        .97282E-04   -1.4885    
   8  norm          3.8141        3.4902        .11213E-03   -1.5317    
   9  Prefactor     .10003E-03    26.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.2320        2.7098        .81408E-04   -1.5297    
  11  Prefactor     .10000E-03    2.4652        .10060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9835        10.214        .13373E-03   -1.5108    
  13  Prefactor     .10000E-03    6.2327        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2415        4.1511        .23585E-03   -1.5485    
  15  Prefactor     10.124        11.038        .62977E-03   -1.5071    
  16  Prefactor     .10000E-03    11.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10002E-03    30.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2979        9.2567        .36667E-03   -1.5480    
  19  Prefactor     .10001E-03    29.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .84274        .24145        .24258E-03   -.98503    
  21  Prefactor     .96451        .23684        .24684E-03   -.93922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15627e-09
Minuit parameter uncertainties:
  1  17.7555
  2  5.20055e-06
  3  5.34828
  4  0.00155853
  5  2.13615
  6  3.31163
  7  7.55509
  8  3.49039
  9  0.00170343
  10  2.70984
  11  7.09268e-06
  12  10.2164
  13  5.45103e-06
  14  4.15203
  15  11.0398
  16  3.00742e-05
  17  0.00168678
  18  6.93367
  19  0.000876153
  20  0.241761
  21  0.237093
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  4.232e+00  2.710e+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:  9.645e-01  2.371e-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.427e-01  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.75
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 8.03e-08 +/- 5.14e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.31e-05

TS (Fixed Index): 3.75
Ra Dec: 31.264 -17.002
Photon Flux Upper Limit: 1.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92719/likelihoodResults_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.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) = 4353.87882932
delta logL = 0.0434416888347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4353.86840688
delta logL = 0.0538641303328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8633       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8373       1.0000          .0000       5.0000    
     3 'Normalizat'    .82725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97858       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=   4353.868     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      230 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8634        2.9359        .76008E-04   -.70343E-03
   2  alpha         2.8377        .87195        .16375E-01   -.34870E-04
   3  Normalizat    .82708        .21963        .24465E-03    .48468E-04
   4  Prefactor     .97873        .23442        .24529E-03    .77587E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.86342
  alpha      = 2.83769
  Normalizat = 0.827077
  Prefactor  = 0.978733
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.868     FROM HESSE     STATUS=OK            25 CALLS      255 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8634        2.8556        .30403E-05   -1.5315    
   2  alpha         2.8377        .84847        .65500E-03    .13549    
   3  Normalizat    .82708        .21976        .97859E-05   -.99072    
   4  Prefactor     .97873        .23444        .98115E-05   -.93442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45131e-10
Minuit parameter uncertainties:
  1  2.85572
  2  0.866
  3  0.219994
  4  0.234683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92719': 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) = 4353.86840651
delta logL = 0.0538645016704

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.863e+00  2.856e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.838e+00  8.660e-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:  9.787e-01  2.347e-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.271e-01  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.86
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.84 +/- 0.87
Photon Flux (Free Index): 9.00e-08 +/- 6.19e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.25e-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/92719/cmap_HighResolution_623980801_624240001_4FGL_J0205.0-1700_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-05', comment='SUCCESS', photon_flux='8.03e-08', energy_flux2='1.94e-05', photon_flux_error='5.14e-08', dlogl='5.39e-02', energy_flux='2.05e-05', photon_flux2='9.00e-08', job_status='DONE', time_completed='2021-08-15 06:13:54.632812', photon_index_error2='0.87', photon_index2='2.84', ts='3.75', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.84e-07', energy_flux_error2='1.25e-05', EG='0.84', time_epoch_completed='1629033234.63', return_code='0', job_id='92719', GAL2='0.98', EG2='0.83', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='6.19e-08', ts2='3.86', photon_index='2.56' WHERE bin_id='1484' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:13:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 92719: <4FGL_J0205.0-1700_daily_bin1484> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1484> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 15 06:00:30 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 06:01:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 06:01:04 2021
Terminated at Sun Aug 15 06:13:56 2021
Results reported at Sun Aug 15 06:13:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1484 31.2637 -17.0022 623980801 624240001 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 :                                   642.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            806 sec.

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

