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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1005
RA = 31.2637, Dec = -17.0022
tmin = 499824001, tmax = 500083201
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='90863', job_status='RUN', time_executed='2021-08-15 05:59:44.382285', time_epoch_executed='1629032384.38' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90863/ft1_4FGL_J0205.0-1700_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90863/ft1_4FGL_J0205.0-1700_daily_bin1005.fits outfile=/scratch/kocevski/90863/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1005.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=499824001.0 tmax=500083201.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.34
user 4.95
sys 1.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.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/90863/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1005.fits evtable="EVENTS" outfile="/scratch/kocevski/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.68
user 0.35
sys 1.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/90863/ltcube_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.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/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits
.....................!
real 16.63
user 14.90
sys 1.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/90863/ltcube_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.fits outfile=/scratch/kocevski/90863/expmap_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.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/90863/ltcube_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.fits
.....................!
real 195.50
user 187.06
sys 6.35

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/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits scfile=/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits outfile=/scratch/kocevski/90863/cmap_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=31.2637 yref=-17.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.54
user 0.38
sys 1.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits scfile=/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits outfile=/scratch/kocevski/90863/cmap_HighResolution_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=31.2637 yref=-17.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.56
user 0.40
sys 1.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/90863/ft2_4FGL_J0205.0-1700_daily_bin1005.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90863/Model_4FGL_J0205.0-1700_daily_bin1005.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/90863/ft1_filtered_4FGL_J0205.0-1700_daily_bin1005.fits......................!
real 32.10
user 28.99
sys 2.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .93686E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.9558       1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.654       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.031       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.499       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1585       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0428       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    73.888       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0506       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .45405       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=   2225.727     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2187 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.177        .19364E-05** at limit **
   2  norm          .10000E-03    2.7396        .93452E-07** at limit **
   3  Prefactor     .10000E-03    64.021        .83247E-05** at limit **
   4  norm          .10000E-03    20.993       -.35016E-05** at limit **
   5  norm          4.9555        2.8700       -.60453E-07    .14105E-03
   6  norm          .10000E-03    2.7993        .22191E-06** at limit **
   7  norm          13.656        9.2732       -.48339E-06   -.96542E-05
   8  norm          .10000E-03    2.7882        .12561E-06** at limit **
   9  Prefactor     .10000E-03    92.835        .89813E-05** at limit **
  10  norm          .10000E-03    4.8668        .12831E-06** at limit **
  11  Prefactor     34.032        11.267       -.12227E-06    .52662E-04
  12  Prefactor     .10000E-03    41.881        .27692E-05** at limit **
  13  Prefactor     19.504        24.892        .12883E-05    .26683E-04
  14  Prefactor     9.1604        9.9619       -.92794E-07    .71520E-05
  15  Prefactor     8.0390        12.065       -.16017E-05   -.31484E-04
  16  Prefactor     .10000E-03    28.455        .29300E-05** at limit **
  17  norm          .10000E-03    50.176       -.27147E-05** at limit **
  18  Prefactor     .10000E-03    5.0138        .12128E-06** at limit **
  19  Prefactor     73.894        75.863       -.11673E-05    .58178E-06
  20  Normalizat    1.0502        .27191        .31623E-05   -.23862E-04
  21  Prefactor     .45421        .26028       -.24689E-05    .58988E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.95545
  norm       = 0.0001
  norm       = 13.6558
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 34.0324
  Prefactor  = 0.0001
  Prefactor  = 19.5041
  Prefactor  = 9.16041
  Prefactor  = 8.03895
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.8938
  Normalizat = 1.05019
  Prefactor  = 0.454209
 **********
 **   18 **HESSE 
 **********

 FCN=   2225.727     FROM HESSE     STATUS=OK           311 CALLS     2498 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.7424        .76224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    63.298        .25732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    21.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.9555        2.8677        .57533E-04   -1.5263    
   6  norm          .10000E-03    2.8324        .76886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.656        9.2700        .10840E-03   -1.4969    
   8  norm          .10000E-03    2.7929        .76918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    93.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.0520        .20246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.032        11.282        .68693E-04   -1.4541    
  12  Prefactor     .10000E-03    42.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.504        24.889        .90702E-04   -1.4824    
  14  Prefactor     9.1604        10.014        .13243E-03   -1.5103    
  15  Prefactor     8.0390        12.073        .14138E-03   -1.5141    
  16  Prefactor     .10000E-03    28.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    50.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0215        .10314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     73.894        75.756        .46708E-04   -1.3987    
  20  Normalizat    1.0502        .29913        .20914E-03   -.91367    
  21  Prefactor     .45421        .28957        .31231E-03   -1.1413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29583e-10
Minuit parameter uncertainties:
  1  3.17633e-05
  2  1.41868e-06
  3  3.41245e-05
  4  8.7801e-05
  5  2.86782
  6  7.93157e-06
  7  9.271
  8  2.7394e-06
  9  0.000353744
  10  9.01179e-06
  11  11.2831
  12  6.2279e-05
  13  24.9025
  14  10.0159
  15  12.0765
  16  2.5513e-05
  17  2.09711e-05
  18  3.57696e-06
  19  75.8548
  20  0.299612
  21  0.290514
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.000e-04  9.012e-06  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:  4.542e-01  2.905e-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.050e+00  2.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/90863/likelihoodResults_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.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): 102
logL (Free Index) = 2225.72751678
delta logL = -0.000944244521179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2225.5431326
delta logL = 0.1834399409

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36273       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .97282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50548       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=   2225.543     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      292 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36224        41.153        .99968E-02    .20804E-03
   2  alpha         5.0000        3.4066        .46333    ** at limit **
   3  Normalizat    .97282        .22032        .45825E-01   -.39145E-04
   4  Prefactor     .50542        .12823        .67114E-01    .35735E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.362238
  alpha      = 5
  Normalizat = 0.972824
  Prefactor  = 0.505415
 **********
 **   18 **HESSE 
 **********

 FCN=   2225.543     FROM HESSE     STATUS=OK            31 CALLS      323 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36224        .64221        .44725E-04   -1.5588    
   2  alpha         5.0000        4.4490        .84661E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .97282        .30859        .21602E-03   -.93946    
   4  Prefactor     .50542        .29987        .29708E-03   -1.1173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18298e-11
Minuit parameter uncertainties:
  1  0.642224
  2  4.16081e-07
  3  0.309152
  4  0.300811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90863': 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) = 2225.54313189
delta logL = 0.18344064279

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.622e-01  6.422e-01  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  5.000e+00  4.161e-07  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:  5.054e-01  3.008e-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.728e-01  3.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 31.264 -17.002

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/90863/cmap_HighResolution_499824001_500083201_4FGL_J0205.0-1700_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-05', job_status='DONE', photon_flux_upper_limit='1.76e-07', time_completed='2021-08-15 06:07:31.485442', job_id='90863', GAL2='0.51', fit_tolerance='1e-08', EG2='0.97', EG='1.05', time_epoch_completed='1629032851.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='1.83e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1005' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:07:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 90863: <4FGL_J0205.0-1700_daily_bin1005> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1005> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 05:55:19 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:55:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 05:55:30 2021
Terminated at Sun Aug 15 06:07:32 2021
Results reported at Sun Aug 15 06:07:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1005 31.2637 -17.0022 499824001 500083201 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 :                                   472.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             230.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            733 sec.

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

