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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1129
RA = 31.2637, Dec = -17.0022
tmin = 531964801, tmax = 532224001
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='91043', job_status='RUN', time_executed='2021-08-15 05:59:50.467214', time_epoch_executed='1629032390.47' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91043/ft1_4FGL_J0205.0-1700_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91043/ft1_4FGL_J0205.0-1700_daily_bin1129.fits outfile=/scratch/kocevski/91043/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1129.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=531964801.0 tmax=532224001.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 11.69
user 3.29
sys 8.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91043/ft1_filtered_4FGL_J0205.0-1700_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/91043/ltcube_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.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/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits
.....................!
real 24.53
user 14.69
sys 9.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91043/ft1_filtered_4FGL_J0205.0-1700_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/91043/ltcube_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.fits outfile=/scratch/kocevski/91043/expmap_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.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/91043/ltcube_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.fits
.....................!
real 206.68
user 187.25
sys 15.68

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/91043/ft1_filtered_4FGL_J0205.0-1700_daily_bin1129.fits scfile=/scratch/kocevski/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits outfile=/scratch/kocevski/91043/cmap_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.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 8.50
user 0.39
sys 8.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91043/ft1_filtered_4FGL_J0205.0-1700_daily_bin1129.fits scfile=/scratch/kocevski/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits outfile=/scratch/kocevski/91043/cmap_HighResolution_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.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 8.45
user 0.39
sys 8.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91043/ft1_filtered_4FGL_J0205.0-1700_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/91043/ft2_4FGL_J0205.0-1700_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91043/Model_4FGL_J0205.0-1700_daily_bin1129.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/91043/ft1_filtered_4FGL_J0205.0-1700_daily_bin1129.fits.....................!
real 50.24
user 38.42
sys 11.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5569       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .68646       1.0000         .10000E-03   10000.    
     6 'norm      '    12.200       1.0000         .10000E-03   10000.    
     7 'norm      '    10.780       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3294       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.969       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.0886       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7553       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.017       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.621       1.0000         .10000E-03   10000.    
    17 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.830       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .98159       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79873       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=   3812.190     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2298 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7111       -.57590E-07** at limit **
   2  norm          .10000E-03    1.0606        .47878E-07** at limit **
   3  Prefactor     1.5573        3.8595       -.23343E-06   -.37563E-03
   4  norm          .10000E-03    13.491        .99724E-07** at limit **
   5  norm          .68659        1.2283       -.86566E-07   -.54407E-03
   6  norm          12.199        4.3512       -.14391E-06    .22290E-05
   7  norm          10.781        6.7530        .51976E-05    .14363E-04
   8  norm          1.1366        3.8183       -.38370E-06   -.64039E-03
   9  Prefactor     .10000E-03    29.088       -.77529E-06** at limit **
  10  norm          1.3295        1.8022        .91150E-08   -.12144E-03
  11  Prefactor     17.969        7.4705        .16464E-06   -.34991E-04
  12  Prefactor     9.0881        10.210       -.88049E-07   -.15914E-04
  13  Prefactor     5.7450        14.510       -.42968E-05   -.70174E-04
  14  Prefactor     .10000E-03    2.8832        .16746E-08** at limit **
  15  Prefactor     13.017        12.396       -.50015E-06    .10561E-04
  16  Prefactor     14.626        39.967        .55543E-05    .27517E-05
  17  norm          .10000E-03    153.67       -.57078E-05** at limit **
  18  Prefactor     21.829        10.862       -.36915E-06   -.17627E-04
  19  Prefactor     .10000E-03    48.219        .14012E-05** at limit **
  20  Normalizat    .98160        .22342       -.72525E-06    .20320E-04
  21  Prefactor     .79875        .22350       -.39977E-06   -.73814E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.5573
  norm       = 0.0001
  norm       = 0.686588
  norm       = 12.1993
  norm       = 10.7806
  norm       = 1.13655
  Prefactor  = 0.0001
  norm       = 1.32952
  Prefactor  = 17.9691
  Prefactor  = 9.08808
  Prefactor  = 5.74504
  Prefactor  = 0.0001
  Prefactor  = 13.0169
  Prefactor  = 14.6261
  norm       = 0.0001
  Prefactor  = 21.8293
  Prefactor  = 0.0001
  Normalizat = 0.981598
  Prefactor  = 0.798745
 **********
 **   18 **HESSE 
 **********

 FCN=   3812.190     FROM HESSE     STATUS=OK           325 CALLS     2623 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7118        .13089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.0612        .62091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.5573        3.8137        .18436E-03   -1.5458    
   4  norm          .10000E-03    13.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .68659        1.0619        .87588E-03   -1.5542    
   6  norm          12.199        4.3437        .72208E-04   -1.5009    
   7  norm          10.781        6.6879        .12174E-03   -1.5051    
   8  norm          1.1366        3.8114        .21217E-03   -1.5495    
   9  Prefactor     .10000E-03    29.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3295        1.7736        .92562E-04   -1.5477    
  11  Prefactor     17.969        7.4830        .94485E-04   -1.4860    
  12  Prefactor     9.0881        10.208        .13295E-03   -1.5105    
  13  Prefactor     5.7450        14.497        .16742E-03   -1.5229    
  14  Prefactor     .10000E-03    2.8918        .10236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.017        12.379        .11102E-03   -1.4986    
  16  Prefactor     14.626        39.821        .10475E-03   -1.4943    
  17  norm          .10000E-03    153.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.829        10.873        .85729E-04   -1.4773    
  19  Prefactor     .10000E-03    48.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .98160        .25999        .23902E-03   -.93649    
  21  Prefactor     .79875        .26028        .27462E-03   -.99775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47676e-10
Minuit parameter uncertainties:
  1  1.66524e-06
  2  8.5222e-07
  3  3.81425
  4  2.58569e-05
  5  1.0619
  6  4.34382
  7  6.68832
  8  3.8122
  9  1.49337e-05
  10  1.77365
  11  7.48334
  12  10.2097
  13  14.5058
  14  4.98941e-06
  15  12.3815
  16  39.8931
  17  0.000445632
  18  10.8737
  19  5.58266e-05
  20  0.260326
  21  0.260679
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.330e+00  1.774e+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:  7.987e-01  2.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.816e-01  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 6.43e-06 +/- 8.57e-06

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

Saving results to:
/scratch/kocevski/91043/likelihoodResults_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.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) = 3811.80666393
delta logL = 0.38346161762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3811.73146042
delta logL = 0.458665125449

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75815       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4511       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77998       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=   3811.731     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75764        .96527        .12283E-01   -.11096E-03
   2  alpha         1.4510        .57955        .40008       -.25157E-04
   3  Normalizat    1.0056        .20741        .46237E-01    .55501E-05
   4  Prefactor     .77993        .21815        .62756E-01    .10397E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.757642
  alpha      = 1.45104
  Normalizat = 1.00563
  Prefactor  = 0.77993
 **********
 **   18 **HESSE 
 **********

 FCN=   3811.731     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75764        1.1860        .62970E-04   -1.5534    
   2  alpha         1.4510        .86698        .14683E-01   -.43299    
   3  Normalizat    1.0056        .24574        .23642E-03   -.92842    
   4  Prefactor     .77993        .25820        .27758E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55869e-09
Minuit parameter uncertainties:
  1  1.18601
  2  0.889588
  3  0.246017
  4  0.258601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91043': 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) = 3811.73146025
delta logL = 0.458665301618

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  7.576e-01  1.186e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  1.451e+00  8.896e-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:  7.799e-01  2.586e-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:  1.006e+00  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.03
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 1.45 +/- 0.89
Photon Flux (Free Index): 9.60e-09 +/- 1.40e-08
Energy Flux (Free Index): 1.38e-05 +/- 2.51e-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/91043/cmap_HighResolution_531964801_532224001_4FGL_J0205.0-1700_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='1.38e-05', photon_flux_error='3.36e-08', dlogl='4.59e-01', energy_flux='6.43e-06', photon_flux2='9.60e-09', job_status='DONE', time_completed='2021-08-15 06:11:16.598943', photon_index_error2='0.89', photon_index2='1.45', ts='1.11', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.51e-05', EG='0.98', time_epoch_completed='1629033076.6', return_code='0', job_id='91043', GAL2='0.78', EG2='1.01', return_code2='0', energy_flux_error='8.57e-06', photon_flux_error2='1.40e-08', ts2='2.03', photon_index='2.56' WHERE bin_id='1129' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:11:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 91043: <4FGL_J0205.0-1700_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1129> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 05:55:31 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:56:36 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:56:36 2021
Terminated at Sun Aug 15 06:11:18 2021
Results reported at Sun Aug 15 06:11:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1129 31.2637 -17.0022 531964801 532224001 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 :                                   758.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            947 sec.

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

