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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1056
RA = 31.2637, Dec = -17.0022
tmin = 513043201, tmax = 513302401
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='90937', job_status='RUN', time_executed='2021-08-15 05:58:43.652104', time_epoch_executed='1629032323.65' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90937

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90937/ft1_4FGL_J0205.0-1700_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90937/ft1_4FGL_J0205.0-1700_daily_bin1056.fits outfile=/scratch/kocevski/90937/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1056.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=513043201.0 tmax=513302401.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.65
user 6.06
sys 2.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90937/ft1_filtered_4FGL_J0205.0-1700_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/90937/ltcube_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.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/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits
.....................!
real 16.93
user 13.92
sys 2.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90937/ft1_filtered_4FGL_J0205.0-1700_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/90937/ltcube_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.fits outfile=/scratch/kocevski/90937/expmap_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.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/90937/ltcube_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.fits
.....................!
real 196.44
user 188.10
sys 7.39

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/90937/ft1_filtered_4FGL_J0205.0-1700_daily_bin1056.fits scfile=/scratch/kocevski/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits outfile=/scratch/kocevski/90937/cmap_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.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 3.25
user 0.37
sys 2.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90937/ft1_filtered_4FGL_J0205.0-1700_daily_bin1056.fits scfile=/scratch/kocevski/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits outfile=/scratch/kocevski/90937/cmap_HighResolution_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.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 2.85
user 0.39
sys 2.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90937/ft1_filtered_4FGL_J0205.0-1700_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/90937/ft2_4FGL_J0205.0-1700_daily_bin1056.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90937/Model_4FGL_J0205.0-1700_daily_bin1056.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/90937/ft1_filtered_4FGL_J0205.0-1700_daily_bin1056.fits.....................!
real 42.20
user 37.72
sys 4.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2677       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3074       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    24.756       1.0000         .10000E-03   10000.    
     5 'norm      '    .28762E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10831E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.2787       1.0000         .10000E-03   10000.    
     9 'Prefactor '    114.91       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6348       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9893       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.480       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8194       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    27.748       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19244       1.0000         .10000E-03   10000.    
    19 'Prefactor '    140.58       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2121       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .68732       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=   3633.487     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2253 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2652        20.054       -.52962E-05   -.11812E-04
   2  norm          2.3062        3.6883        .54720E-06   -.17757E-03
   3  Prefactor     .10000E-03    2.3246       -.48715E-07** at limit **
   4  norm          24.754        26.934       -.42093E-05    .74751E-05
   5  norm          .10034E-03    .97858        .11644E-07** at limit **
   6  norm          .10000E-03    2.0979       -.79271E-07** at limit **
   7  norm          .10000E-03    5.2310        .53185E-06** at limit **
   8  norm          7.2778        5.7651       -.11389E-06    .34493E-04
   9  Prefactor     114.89        87.304       -.13839E-04    .27901E-04
  10  norm          4.6321        3.7226       -.14603E-05   -.11939E-03
  11  Prefactor     4.9878        5.9936       -.11721E-05   -.14175E-03
  12  Prefactor     15.479        13.993        .42452E-06    .66783E-04
  13  Prefactor     .10000E-03    5.3013       -.87985E-06** at limit **
  14  Prefactor     2.8179        5.7692        .11529E-05   -.57744E-05
  15  Prefactor     .10000E-03    8.6524        .79340E-05** at limit **
  16  Prefactor     .10000E-03    9.4429       -.89910E-05** at limit **
  17  norm          27.748        56.611       -.19676E-08   -.64445E-04
  18  Prefactor     .16287        6.7832       -.42351E-05    .89227E-03
  19  Prefactor     140.55        78.209       -.26280E-04   -.57581E-05
  20  Normalizat    1.2126        .23510        .63169E-05    .15976E-04
  21  Prefactor     .68681        .22996        .18008E-05    .24471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26517
  norm       = 2.30616
  Prefactor  = 0.0001
  norm       = 24.7539
  norm       = 0.000100335
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.27779
  Prefactor  = 114.894
  norm       = 4.63206
  Prefactor  = 4.9878
  Prefactor  = 15.4793
  Prefactor  = 0.0001
  Prefactor  = 2.81789
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 27.7478
  Prefactor  = 0.162866
  Prefactor  = 140.552
  Normalizat = 1.21262
  Prefactor  = 0.686811
 **********
 **   18 **HESSE 
 **********

 FCN=   3633.487     FROM HESSE     STATUS=OK           329 CALLS     2582 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2652        20.512        .16034E-03   -1.5207    
   2  norm          2.3062        3.7538        .11886E-03   -1.5404    
   3  Prefactor     .10000E-03    2.3287        .89726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.754        26.927        .80509E-04   -1.4712    
   5  norm          .10034E-03    21.873        .11319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.3090        .16778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.3253        .13451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.2778        5.7433        .12265E-03   -1.5168    
   9  Prefactor     114.89        87.187        .18766E-03   -1.3560    
  10  norm          4.6321        3.7396        .96471E-04   -1.5277    
  11  Prefactor     4.9878        5.9985        .15189E-03   -1.5261    
  12  Prefactor     15.479        13.986        .10180E-03   -1.4921    
  13  Prefactor     .10000E-03    5.3047        .13555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8179        5.7348        .19818E-03   -1.5372    
  15  Prefactor     .10000E-03    8.7538        .17364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.4445        .18092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          27.748        56.496        .76053E-04   -1.4654    
  18  Prefactor     .16287        36.651        .29964E-02   -1.5627    
  19  Prefactor     140.55        78.101        .16988E-03   -1.3331    
  20  Normalizat    1.2126        .27913        .22443E-03   -.86214    
  21  Prefactor     .68681        .27438        .30217E-03   -1.0405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82979e-08
Minuit parameter uncertainties:
  1  20.5349
  2  3.75421
  3  2.87362e-06
  4  26.9403
  5  0.00541991
  6  3.20075e-05
  7  1.79309e-05
  8  5.74371
  9  87.2849
  10  3.73975
  11  5.99918
  12  13.989
  13  5.54226e-06
  14  5.73595
  15  0.000149387
  16  6.04418e-06
  17  56.6056
  18  4.8879
  19  78.1586
  20  0.279473
  21  0.274917
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  4.632e+00  3.740e+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:  6.868e-01  2.749e-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.213e+00  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 8.79e-08 +/- 7.09e-08
Energy Flux (Fixed Index): 2.24e-05 +/- 1.81e-05

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

Saving results to:
/scratch/kocevski/90937/likelihoodResults_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.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) = 3632.95772928
delta logL = 0.529329006662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3632.9528011
delta logL = 0.534257188317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8890       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3995       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74021       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=   3632.953     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      259 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8952        59.231        .51150E-02    .21407E-03
   2  alpha         3.4010        3.2022        .35569        .15732E-04
   3  Normalizat    1.1411        .10350        .36517E-01    .34706E-05
   4  Prefactor     .74042        .12331        .65984E-01    .12157E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.89521
  alpha      = 3.40098
  Normalizat = 1.1411
  Prefactor  = 0.740419
 **********
 **   18 **HESSE 
 **********

 FCN=   3632.953     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8952        3.6144        .70928E-04   -1.5313    
   2  alpha         3.4010        .91385        .15286E-01    .36869    
   3  Normalizat    1.1411        .27831        .23002E-03   -.88443    
   4  Prefactor     .74042        .28090        .29193E-03   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61532e-10
Minuit parameter uncertainties:
  1  3.61458
  2  0.939018
  3  0.278667
  4  0.281441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90937': 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) = 3632.95279212
delta logL = 0.534266170444

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.895e+00  3.615e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  3.401e+00  9.390e-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.404e-01  2.814e-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.141e+00  2.787e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.36
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 3.40 +/- 0.94
Photon Flux (Free Index): 1.48e-07 +/- 1.02e-07
Energy Flux (Free Index): 2.56e-05 +/- 1.69e-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/90937/cmap_HighResolution_513043201_513302401_4FGL_J0205.0-1700_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-05', comment='SUCCESS', photon_flux='8.79e-08', energy_flux2='2.56e-05', photon_flux_error='7.09e-08', dlogl='5.34e-01', energy_flux='2.24e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-08-15 06:08:14.644044', photon_index_error2='0.94', photon_index2='3.40', ts='2.16', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='2.29e-07', energy_flux_error2='1.69e-05', EG='1.21', time_epoch_completed='1629032894.64', return_code='0', job_id='90937', GAL2='0.74', EG2='1.14', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='1.02e-07', ts2='3.36', photon_index='2.56' WHERE bin_id='1056' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:08:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 90937: <4FGL_J0205.0-1700_daily_bin1056> in cluster <slac> Done

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

Your job looked like:

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

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

