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


Performing analysis on: 4FGL_J0210.7-5101_daily_bin1164
RA = 32.6946, Dec = -51.0218
tmin = 541036801, tmax = 541296001
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='181515', job_status='RUN', time_executed='2021-08-15 10:40:51.936988', time_epoch_executed='1629049251.94' WHERE source_name='4FGL J0210.7-5101' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181515/ft1_4FGL_J0210.7-5101_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181515/ft1_4FGL_J0210.7-5101_daily_bin1164.fits outfile=/scratch/kocevski/181515/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1164.fits ra=32.6946 dec=-51.0218 rad=12.0 tmin=541036801.0 tmax=541296001.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 3.66
user 3.44
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.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/181515/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1164.fits evtable="EVENTS" outfile="/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.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 0.55
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/181515/ltcube_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.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/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits
.....................!
real 13.34
user 12.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/181515/ltcube_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.fits outfile=/scratch/kocevski/181515/expmap_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.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/181515/ltcube_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.fits
.....................!
real 190.84
user 185.44
sys 4.83

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 188 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0210.7-5101 @ 32.6946 -51.0218

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits scfile=/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits outfile=/scratch/kocevski/181515/cmap_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.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=32.6946 yref=-51.0218 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 0.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits scfile=/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits outfile=/scratch/kocevski/181515/cmap_HighResolution_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.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=32.6946 yref=-51.0218 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 0.65
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181515/Model_4FGL_J0210.7-5101_daily_bin1164.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits.....................!
real 110.51
user 108.94
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits', '/scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits', expMap='/scratch/kocevski/181515/expmap_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.fits', expCube='/scratch/kocevski/181515/ltcube_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/181515/Model_4FGL_J0210.7-5101_daily_bin1164.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0210.7-5101'

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  4.294e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.239e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
283         beta:  8.525e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
284           Eb:  4.766e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/181515/ft1_filtered_4FGL_J0210.7-5101_daily_bin1164.fits
Spacecraft file(s): /scratch/kocevski/181515/ft2_4FGL_J0210.7-5101_daily_bin1164.fits
Exposure map: /scratch/kocevski/181515/expmap_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.fits
Exposure cube: /scratch/kocevski/181515/ltcube_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/181515/Model_4FGL_J0210.7-5101_daily_bin1164.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) = 5675.28767834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.586       1.0000         .10000E-03   10000.    
     2 'norm      '    9.7727       1.0000         .10000E-03   10000.    
     3 'Prefactor '    153.22       1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.496       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.1545       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4183       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .50417       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.926       1.0000         .10000E-03   10000.    
    13 'norm      '    10.310       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.056       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.334       1.0000         .10000E-03   10000.    
    17 'norm      '    19.976       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    47.737       1.0000         .10000E-03   10000.    
    21 'norm      '    .61021       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.166       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.460       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    18.750       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .59153       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .97407       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5675.281     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     3696 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.540        84.513        .10534E-04   -.87150E-04
   2  norm          9.7717        8.4644       -.73340E-06   -.34876E-04
   3  Prefactor     153.21        107.54       -.24624E-06   -.21805E-04
   4  Prefactor     38.489        32.197        .17793E-06   -.19917E-03
   5  norm          .10000E-03    3.1861       -.21142E-06** at limit **
   6  Prefactor     8.1527        7.7658       -.91740E-06    .16390E-03
   7  Prefactor     7.4132        10.267        .24998E-05   -.41576E-03
   8  norm          .10000E-03    16.980       -.11640E-05** at limit **
   9  norm          .10000E-03    3.0067       -.51788E-06** at limit **
  10  Prefactor     .37101        19.717        .18737E-04    .12120E-03
  11  Prefactor     .93254        290.08       -.10182E-03    .40848E-04
  12  Prefactor     10.926        6.4052       -.15440E-06   -.73485E-04
  13  norm          10.309        2.6978       -.63765E-09   -.61520E-03
  14  Prefactor     19.046        44.435        .22837E-05   -.31703E-04
  15  Prefactor     .10000E-03    7.3405        .18643E-06** at limit **
  16  Prefactor     18.335        17.933        .65227E-06   -.70124E-04
  17  norm          19.976        3.9891       -.23488E-06   -.11725E-03
  18  Prefactor     .10000E-03    7.4202       -.36718E-06** at limit **
  19  Prefactor     .10000E-03    1.7715       -.33040E-06** at limit **
  20  Prefactor     47.736        27.588       -.71751E-07   -.48876E-04
  21  norm          .61062        1.0112       -.29690E-05   -.20108E-02
  22  Prefactor     10.159        44.654        .17573E-05   -.10901E-04
  23  Prefactor     12.459        7.1875       -.45946E-06   -.49632E-04
  24  Prefactor     .10000E-03    12.045       -.11800E-06** at limit **
  25  Prefactor     18.745        15.552        .82227E-06   -.46042E-03
  26  Prefactor     .10000E-03    27.904        .21335E-05** at limit **
  27  Prefactor     .58928        8.1019       -.18191E-05   -.12285E-03
  28  Normalizat    .97401        .22696        .86550E-05   -.34031E-03
  29  Prefactor     1.0764        .22207       -.15327E-05   -.68882E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.5395
  norm       = 9.77172
  Prefactor  = 153.213
  Prefactor  = 38.4892
  norm       = 0.0001
  Prefactor  = 8.15272
  Prefactor  = 7.41321
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.371014
  Prefactor  = 0.932537
  Prefactor  = 10.9261
  norm       = 10.3092
  Prefactor  = 19.0455
  Prefactor  = 0.0001
  Prefactor  = 18.3346
  norm       = 19.9758
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 47.7357
  norm       = 0.610622
  Prefactor  = 10.159
  Prefactor  = 12.4593
  Prefactor  = 0.0001
  Prefactor  = 18.7455
  Prefactor  = 0.000100001
  Prefactor  = 0.589282
  Normalizat = 0.974012
  Prefactor  = 1.07638
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.281     FROM HESSE     STATUS=OK           557 CALLS     4253 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.540        84.973        .55839E-04   -1.4271    
   2  norm          9.7717        8.4649        .12818E-03   -1.5083    
   3  Prefactor     153.21        107.62        .16283E-03   -1.3226    
   4  Prefactor     38.489        32.433        .64599E-04   -1.4466    
   5  norm          .10000E-03    3.1907        .13133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1527        7.7771        .14040E-03   -1.5137    
   7  Prefactor     7.4132        10.211        .14725E-03   -1.5163    
   8  norm          .10000E-03    16.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.0101        .12733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .37101        90.137        .46454E-02   -1.5586    
  11  Prefactor     .93254        340.16        .79775E-02   -1.5515    
  12  Prefactor     10.926        6.4085        .12120E-03   -1.5047    
  13  norm          10.309        2.7013        .58597E-04   -1.5066    
  14  Prefactor     19.046        44.533        .91750E-04   -1.4835    
  15  Prefactor     .10000E-03    7.3540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.335        17.945        .93538E-04   -1.4851    
  17  norm          19.976        3.9900        .64264E-04   -1.4814    
  18  Prefactor     .10000E-03    7.4524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8222        .19583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     47.736        27.588        .58036E-04   -1.4325    
  21  norm          .61062        .99310        .10434E-02   -1.5552    
  22  Prefactor     10.159        44.789        .12567E-03   -1.5070    
  23  Prefactor     12.459        7.1887        .11348E-03   -1.5002    
  24  Prefactor     .10000E-03    12.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     18.745        15.356        .92495E-04   -1.4842    
  26  Prefactor     .10000E-03    27.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .58928        26.903        .39199E-02   -1.5554    
  28  Normalizat    .97401        .26935        .28462E-03   -.93906    
  29  Prefactor     1.0764        .26398        .28454E-03   -.90225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30143e-08
Minuit parameter uncertainties:
  1  85.1734
  2  8.46595
  3  107.755
  4  32.4473
  5  2.64383e-05
  6  7.77802
  7  10.2138
  8  3.93297e-05
  9  1.18094e-05
  10  11.5819
  11  35.8255
  12  6.40885
  13  2.70135
  14  44.6104
  15  4.61779e-05
  16  17.9508
  17  3.99004
  18  0.000148553
  19  4.76263e-06
  20  27.5954
  21  0.993128
  22  42.7155
  23  7.18922
  24  6.58739e-06
  25  15.3595
  26  0.000256005
  27  7.96647
  28  0.269729
  29  0.264299
Done.

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

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  1.031e+01  2.701e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.239e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
283         beta:  8.525e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
284           Eb:  4.766e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.076e+00  2.643e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  9.740e-01  2.697e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.94
Ra Dec: 32.695 -51.022
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.49e-07 +/- 6.51e-08
Energy Flux (Fixed Index): 8.80e-05 +/- 2.31e-05

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) = 5675.1452556
delta logL = 0.135701293445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5675.12072931
delta logL = 0.160227585608

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.033       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3926       1.0000          .0000       5.0000    
     3 'Normalizat'    .94639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5675.121     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.034        3.6523        .31626E-02   -.11657E-04
   2  alpha         2.3924        .37410        .16873        .16436E-04
   3  Normalizat    .94675        .20634        .65135E-01   -.34101E-04
   4  Prefactor     1.0948        .21369        .63837E-01   -.34671E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0342
  alpha      = 2.39244
  Normalizat = 0.946751
  Prefactor  = 1.09481
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.121     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.034        2.6141        .56290E-04   -1.5074    
   2  alpha         2.3924        .27517        .72769E-02   -.43039E-01
   3  Normalizat    .94675        .24969        .28810E-03   -.94836    
   4  Prefactor     1.0948        .25764        .28235E-03   -.89633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.42997e-11
Minuit parameter uncertainties:
  1  2.61412
  2  0.27573
  3  0.249998
  4  0.257931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181515': 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) = 5675.12072681
delta logL = 0.160230084701

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  1.003e+01  2.614e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.392e+00  2.757e-01  0.000e+00  5.000e+00 ( 1.000e+00)
283         beta:  8.525e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
284           Eb:  4.766e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.095e+00  2.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  9.468e-01  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 40.40
Ra Dec: 32.695 -51.022
Photon Index (Free Index): 2.39 +/- 0.28
Photon Flux (Free Index): 2.73e-07 +/- 7.88e-08
Energy Flux (Free Index): 8.24e-05 +/- 2.24e-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/181515/cmap_HighResolution_541036801_541296001_4FGL_J0210.7-5101_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.49e-07', energy_flux2='8.24e-05', photon_flux_error='6.51e-08', dlogl='1.60e-01', energy_flux='8.80e-05', photon_flux2='2.73e-07', job_status='DONE', time_completed='2021-08-15 10:54:06.473268', photon_index_error2='0.28', photon_index2='2.39', ts='39.94', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.24e-05', EG='0.97', time_epoch_completed='1629050046.47', return_code='0', job_id='181515', GAL2='1.09', EG2='0.95', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='7.88e-08', ts2='40.40', photon_index='2.24' WHERE bin_id='1164' AND source_name='4FGL J0210.7-5101' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 10:54:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 181515: <4FGL_J0210.7-5101_daily_bin1164> in cluster <slac> Done

Job <4FGL_J0210.7-5101_daily_bin1164> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 10:40:34 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 10:40:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 10:40:38 2021
Terminated at Sun Aug 15 10:54:07 2021
Results reported at Sun Aug 15 10:54:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0210.7-5101_daily_bin1164 32.6946 -51.0218 541036801 541296001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0210.7-5101 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   777.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            813 sec.

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

