/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 9 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0205.0-1700_daily_bin373
RA = 31.2637, Dec = -17.0022
tmin = 336009601, tmax = 336268801
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='86450', job_status='RUN', time_executed='2021-08-15 05:43:28.615147', time_epoch_executed='1629031408.62' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86450/ft1_4FGL_J0205.0-1700_daily_bin373.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86450/ft1_4FGL_J0205.0-1700_daily_bin373.fits outfile=/scratch/kocevski/86450/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin373.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=336009601.0 tmax=336268801.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 6.91
user 3.09
sys 3.73

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86450/ft1_filtered_4FGL_J0205.0-1700_daily_bin373.fits" evtable="EVENTS" scfile=/scratch/kocevski/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits sctable="SC_DATA" outfile=/scratch/kocevski/86450/ltcube_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.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/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits
.....................!
real 17.34
user 12.95
sys 4.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86450/ft1_filtered_4FGL_J0205.0-1700_daily_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits sctable="SC_DATA" expcube=/scratch/kocevski/86450/ltcube_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.fits outfile=/scratch/kocevski/86450/expmap_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.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/86450/ltcube_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.fits
.....................!
real 197.98
user 186.64
sys 10.56

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/86450/ft1_filtered_4FGL_J0205.0-1700_daily_bin373.fits scfile=/scratch/kocevski/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits outfile=/scratch/kocevski/86450/cmap_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.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.00
user 0.39
sys 3.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86450/ft1_filtered_4FGL_J0205.0-1700_daily_bin373.fits scfile=/scratch/kocevski/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits outfile=/scratch/kocevski/86450/cmap_HighResolution_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.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.01
user 0.39
sys 3.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86450/ft1_filtered_4FGL_J0205.0-1700_daily_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/86450/ft2_4FGL_J0205.0-1700_daily_bin373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86450/Model_4FGL_J0205.0-1700_daily_bin373.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/86450/ft1_filtered_4FGL_J0205.0-1700_daily_bin373.fits....................!
real 57.37
user 51.35
sys 5.76

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86688E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8257       1.0000         .10000E-03   10000.    
     4 'norm      '    36.283       1.0000         .10000E-03   10000.    
     5 'norm      '    .17326E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    17.843       1.0000         .10000E-03   10000.    
     8 'norm      '    4.2066       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4055       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4549       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17256E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.1101       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10888E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9653       1.0000         .10000E-03   10000.    
    19 'Prefactor '    37.016       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .67335       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1557       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=   5810.530     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2233 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6.3162       -.23043E-06** at limit **
   2  norm          .10000E-03    1.0867       -.71672E-07** at limit **
   3  Prefactor     1.8234        2.5034        .25127E-05   -.12592E-02
   4  norm          36.277        31.606       -.12164E-05   -.14161E-03
   5  norm          .19213E-01    .51666       -.21050E-06    .60711E-03
   6  norm          .10000E-03    1.0197       -.31517E-06** at limit **
   7  norm          17.843        8.2226        .12858E-06    .83457E-04
   8  norm          4.2023        3.6426       -.22448E-06   -.11203E-03
   9  Prefactor     .10000E-03    8.1119        .74772E-07** at limit **
  10  norm          2.4055        1.7987        .34662E-07    .13747E-03
  11  Prefactor     .10000E-03    1.6240        .77132E-07** at limit **
  12  Prefactor     .10000E-03    2.6065        .10565E-06** at limit **
  13  Prefactor     3.4563        8.0886        .29719E-06   -.45744E-04
  14  Prefactor     .10009E-03    2.5613       -.12095E-05** at limit **
  15  Prefactor     6.1094        7.0066        .39048E-06    .38849E-04
  16  Prefactor     .10000E-03    12.758        .14201E-05** at limit **
  17  norm          .10000E-03    24.893       -.90362E-06** at limit **
  18  Prefactor     4.9737        5.8494        .19726E-06    .30968E-03
  19  Prefactor     36.991        35.479       -.53727E-05   -.54376E-03
  20  Normalizat    .67343        .16515        .13782E-05    .38346E-03
  21  Prefactor     1.1556        .17588       -.91589E-06    .41098E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100015
  norm       = 0.0001
  Prefactor  = 1.82341
  norm       = 36.2774
  norm       = 0.0192134
  norm       = 0.0001
  norm       = 17.8429
  norm       = 4.20226
  Prefactor  = 0.0001
  norm       = 2.40548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.45633
  Prefactor  = 0.000100091
  Prefactor  = 6.10944
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 4.97374
  Prefactor  = 36.9913
  Normalizat = 0.67343
  Prefactor  = 1.1556
 **********
 **   18 **HESSE 
 **********

 FCN=   5810.530     FROM HESSE     STATUS=OK           321 CALLS     2554 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    31.185        .37119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.0984        .77495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8234        2.6183        .72090E-03   -1.5438    
   4  norm          36.277        31.764        .66534E-04   -1.4503    
   5  norm          .19213E-01    22.651        .10221E-02   -1.5680    
   6  norm          .10000E-03    1.6083        .14654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.843        8.2251        .94817E-04   -1.4863    
   8  norm          4.2023        3.6214        .12633E-03   -1.5298    
   9  Prefactor     .10000E-03    8.1126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4055        1.7911        .83592E-04   -1.5398    
  11  Prefactor     .10000E-03    1.6551        .94798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6257        .12019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4563        8.0772        .21758E-03   -1.5336    
  14  Prefactor     .10009E-03    12.159        .22037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.1094        6.9990        .16242E-03   -1.5214    
  16  Prefactor     .10000E-03    12.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    24.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9737        5.7737        .18048E-03   -1.5262    
  19  Prefactor     36.991        38.304        .65874E-04   -1.4491    
  20  Normalizat    .67343        .18820        .24730E-03   -1.0495    
  21  Prefactor     1.1556        .20059        .22338E-03   -.87709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33022e-08
Minuit parameter uncertainties:
  1  0.0013637
  2  6.20353e-06
  3  2.61846
  4  31.7787
  5  1.31647
  6  1.76078e-05
  7  8.22559
  8  3.62157
  9  9.14815e-06
  10  1.79115
  11  2.73186e-06
  12  8.774e-06
  13  8.07972
  14  0.00209953
  15  6.99992
  16  0.000204375
  17  3.12209e-05
  18  5.77437
  19  38.3291
  20  0.188378
  21  0.200717
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  2.405e+00  1.791e+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:  1.156e+00  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:  6.734e-01  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.50
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.57e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 8.66e-06

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

Saving results to:
/scratch/kocevski/86450/likelihoodResults_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.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) = 5810.52754543
delta logL = 0.00197741093234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5810.52712937
delta logL = 0.00239347468505

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4514       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5062       1.0000          .0000       5.0000    
     3 'Normalizat'    .67563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1534       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=   5810.527     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      222 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4513        1.9386        .84542E-04   -.20306E-04
   2  alpha         2.5062        .81962        .19140E-01    .17145E-04
   3  Normalizat    .67563        .17434        .24693E-03   -.40930E-04
   4  Prefactor     1.1534        .20042        .22355E-03   -.66416E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.45134
  alpha      = 2.50619
  Normalizat = 0.675632
  Prefactor  = 1.1534
 **********
 **   18 **HESSE 
 **********

 FCN=   5810.527     FROM HESSE     STATUS=OK            23 CALLS      245 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4513        1.9080        .33817E-05   -1.5395    
   2  alpha         2.5062        .80690        .76562E-03    .24767E-02
   3  Normalizat    .67563        .17445        .98771E-05   -1.0486    
   4  Prefactor     1.1534        .20046        .44711E-04   -.87777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70924e-11
Minuit parameter uncertainties:
  1  1.90808
  2  0.82161
  3  0.174591
  4  0.200587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86450': 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) = 5810.52712937
delta logL = 0.0023934756573

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  2.451e+00  1.908e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.506e+00  8.216e-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:  1.153e+00  2.006e-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:  6.756e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.51 +/- 0.82
Photon Flux (Free Index): 4.47e-08 +/- 3.61e-08
Energy Flux (Free Index): 1.19e-05 +/- 9.60e-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/86450/cmap_HighResolution_336009601_336268801_4FGL_J0205.0-1700_daily_bin373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-05', comment='SUCCESS', photon_flux='4.57e-08', energy_flux2='1.19e-05', photon_flux_error='3.40e-08', dlogl='2.39e-03', energy_flux='1.16e-05', photon_flux2='4.47e-08', job_status='DONE', time_completed='2021-08-15 05:54:31.896908', photon_index_error2='0.82', photon_index2='2.51', ts='2.50', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='9.60e-06', EG='0.67', time_epoch_completed='1629032071.9', return_code='0', job_id='86450', GAL2='1.15', EG2='0.68', return_code2='0', energy_flux_error='8.66e-06', photon_flux_error2='3.61e-08', ts2='2.50', photon_index='2.56' WHERE bin_id='373' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 05:54:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 86450: <4FGL_J0205.0-1700_daily_bin373> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin373> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 15 05:40:48 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:42:13 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:42:13 2021
Terminated at Sun Aug 15 05:54:33 2021
Results reported at Sun Aug 15 05:54:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin373 31.2637 -17.0022 336009601 336268801 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 :                                   714.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            825 sec.

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

