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


Performing analysis on: 4FGL_J0210.7-5101_daily_bin1473
RA = 32.6946, Dec = -51.0218
tmin = 621129601, tmax = 621388801
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='183303', job_status='RUN', time_executed='2021-08-15 10:47:01.322690', time_epoch_executed='1629049621.32' WHERE source_name='4FGL J0210.7-5101' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/183303

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/183303/ft1_4FGL_J0210.7-5101_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/183303/ft1_4FGL_J0210.7-5101_daily_bin1473.fits outfile=/scratch/kocevski/183303/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1473.fits ra=32.6946 dec=-51.0218 rad=12.0 tmin=621129601.0 tmax=621388801.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.39
user 2.92
sys 3.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.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/183303/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1473.fits evtable="EVENTS" outfile="/scratch/kocevski/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.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.39
user 0.35
sys 3.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/183303/ltcube_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.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/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits
.....................!
real 17.88
user 13.93
sys 3.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/183303/ltcube_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.fits outfile=/scratch/kocevski/183303/expmap_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.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/183303/ltcube_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.fits
.....................!
real 196.70
user 186.40
sys 9.85

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/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits scfile=/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits outfile=/scratch/kocevski/183303/cmap_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.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 3.63
user 0.39
sys 3.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits scfile=/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits outfile=/scratch/kocevski/183303/cmap_HighResolution_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.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 3.35
user 0.40
sys 2.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/183303/Model_4FGL_J0210.7-5101_daily_bin1473.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/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits.....................!
real 92.52
user 86.84
sys 5.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits', '/scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits', expMap='/scratch/kocevski/183303/expmap_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.fits', expCube='/scratch/kocevski/183303/ltcube_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/183303/Model_4FGL_J0210.7-5101_daily_bin1473.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/183303/ft1_filtered_4FGL_J0210.7-5101_daily_bin1473.fits
Spacecraft file(s): /scratch/kocevski/183303/ft2_4FGL_J0210.7-5101_daily_bin1473.fits
Exposure map: /scratch/kocevski/183303/expmap_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.fits
Exposure cube: /scratch/kocevski/183303/ltcube_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/183303/Model_4FGL_J0210.7-5101_daily_bin1473.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) = 4344.54220963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    206.20       1.0000         .10000E-03   10000.    
     2 'norm      '    .10333E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    173.58       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    22.060       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.508       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .44906E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5719       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.428       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.169       1.0000         .10000E-03   10000.    
    13 'norm      '    10.550       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .88373       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.750       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3600       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.566       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0476       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.099       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .80330       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0586       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=   4344.494     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     3700 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     206.12        173.98       -.43816E-05   -.18794E-04
   2  norm          .10000E-03    12.088       -.49704E-06** at limit **
   3  Prefactor     173.55        141.93       -.18350E-05   -.86060E-05
   4  Prefactor     .10000E-03    11.376        .29137E-06** at limit **
   5  norm          22.059        15.355        .42590E-07    .73307E-05
   6  Prefactor     .10000E-03    2.7322       -.11364E-07** at limit **
   7  Prefactor     12.508        10.108       -.42953E-06    .12759E-03
   8  norm          .10000E-03    30.154        .12085E-05** at limit **
   9  norm          .10018E-03    7.6143        .24220E-05** at limit **
  10  Prefactor     3.5720        22.215        .37045E-06   -.16963E-04
  11  Prefactor     15.433        33.729       -.79923E-05    .15023E-03
  12  Prefactor     15.169        8.2399        .48333E-07   -.64859E-04
  13  norm          10.550        3.0164       -.24440E-07    .91229E-04
  14  Prefactor     .10000E-03    17.983       -.10260E-05** at limit **
  15  Prefactor     .10000E-03    9.1295        .51799E-06** at limit **
  16  Prefactor     .10000E-03    25.705        .15197E-05** at limit **
  17  norm          .88500        1.6516        .13663E-06   -.74017E-04
  18  Prefactor     24.751        17.067       -.91005E-08   -.10673E-04
  19  Prefactor     3.3600        3.3421        .18160E-07   -.35361E-04
  20  Prefactor     10.559        20.032       -.52879E-06   -.75654E-05
  21  norm          1.0477        1.2180        .57362E-07   -.23290E-03
  22  Prefactor     .10000E-03    36.265       -.11332E-05** at limit **
  23  Prefactor     .10000E-03    2.5310        .27906E-07** at limit **
  24  Prefactor     .10000E-03    5.4981       -.72030E-07** at limit **
  25  Prefactor     .10000E-03    7.5976       -.46057E-06** at limit **
  26  Prefactor     10.098        15.927        .39124E-07   -.18446E-04
  27  Prefactor     .10000E-03    6.1129        .28257E-06** at limit **
  28  Normalizat    .80349        .22322        .30852E-06    .42875E-04
  29  Prefactor     1.0584        .22466       -.19535E-06    .55114E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 206.119
  norm       = 0.0001
  Prefactor  = 173.546
  Prefactor  = 0.0001
  norm       = 22.059
  Prefactor  = 0.0001
  Prefactor  = 12.5078
  norm       = 0.0001
  norm       = 0.000100177
  Prefactor  = 3.57203
  Prefactor  = 15.4335
  Prefactor  = 15.1692
  norm       = 10.5502
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.884999
  Prefactor  = 24.7507
  Prefactor  = 3.36001
  Prefactor  = 10.5586
  norm       = 1.04767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0985
  Prefactor  = 0.0001
  Normalizat = 0.803489
  Prefactor  = 1.05841
 **********
 **   18 **HESSE 
 **********

 FCN=   4344.494     FROM HESSE     STATUS=OK           557 CALLS     4257 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     206.12        174.19        .14074E-03   -1.2827    
   2  norm          .10000E-03    12.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     173.55        141.95        .15314E-03   -1.3066    
   4  Prefactor     .10000E-03    11.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          22.059        15.354        .85281E-04   -1.4768    
   6  Prefactor     .10000E-03    2.7426        .10639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.508        10.098        .11326E-03   -1.5000    
   8  norm          .10000E-03    30.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10018E-03    42.642        .32346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5720        22.200        .21384E-03   -1.5330    
  11  Prefactor     15.433        34.495        .10197E-03   -1.4922    
  12  Prefactor     15.169        8.2492        .51418E-03   -1.4929    
  13  norm          10.550        3.0203        .55509E-04   -1.5058    
  14  Prefactor     .10000E-03    17.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.1422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .88500        1.4088        .11063E-02   -1.5520    
  18  Prefactor     24.751        16.984        .80519E-04   -1.4713    
  19  Prefactor     3.3600        3.3354        .11489E-03   -1.5341    
  20  Prefactor     10.559        20.036        .12326E-03   -1.5058    
  21  norm          1.0477        1.1660        .72627E-03   -1.5503    
  22  Prefactor     .10000E-03    36.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.5535        .10233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.4987        .15095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.7064        .17742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.098        15.901        .12609E-03   -1.5072    
  27  Prefactor     .10000E-03    6.1941        .15878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .80349        .25706        .27150E-03   -.99939    
  29  Prefactor     1.0584        .26030        .24855E-03   -.90807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79894e-09
Minuit parameter uncertainties:
  1  174.625
  2  0.000101636
  3  142.227
  4  1.03324e-05
  5  15.3563
  6  3.70872e-06
  7  10.0991
  8  4.53311e-05
  9  0.00550409
  10  17.8196
  11  34.5392
  12  8.24978
  13  3.02031
  14  3.19902e-05
  15  8.43934e-07
  16  1.07617e-06
  17  1.40884
  18  16.9877
  19  3.33559
  20  20.049
  21  1.16598
  22  3.71857e-05
  23  2.93351e-06
  24  1.41097e-06
  25  1.3217e-05
  26  15.9075
  27  8.20573e-06
  28  0.257445
  29  0.260607
Done.

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

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  1.055e+01  3.020e+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.058e+00  2.606e-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:  8.035e-01  2.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.81
Ra Dec: 32.695 -51.022
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.54e-07 +/- 7.28e-08
Energy Flux (Fixed Index): 9.01e-05 +/- 2.58e-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) = 4344.49179042
delta logL = 0.00243430196861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4344.49162906
delta logL = 0.00259566366458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.517       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2579       1.0000          .0000       5.0000    
     3 'Normalizat'    .80081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0602       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=   4344.492     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      181 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.517        3.3041        .30887E-02   -.41919E-03
   2  alpha         2.2579        .29207        .14729        .20653E-04
   3  Normalizat    .80082        .21616        .43621E-01    .40177E-05
   4  Prefactor     1.0602        .22345        .39346E-01    .14570E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5168
  alpha      = 2.25789
  Normalizat = 0.800819
  Prefactor  = 1.06021
 **********
 **   18 **HESSE 
 **********

 FCN=   4344.492     FROM HESSE     STATUS=OK            31 CALLS      212 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.517        2.8960        .55269E-04   -1.5059    
   2  alpha         2.2579        .26038        .64027E-03   -.96996E-01
   3  Normalizat    .80082        .25056        .27187E-03   -1.0004    
   4  Prefactor     1.0602        .25848        .24835E-03   -.90749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40486e-11
Minuit parameter uncertainties:
  1  2.89607
  2  0.260862
  3  0.250926
  4  0.258789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/183303': 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) = 4344.49162904
delta logL = 0.00259567935063

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  1.052e+01  2.896e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.258e+00  2.609e-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.060e+00  2.588e-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:  8.008e-01  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.51
Ra Dec: 32.695 -51.022
Photon Index (Free Index): 2.26 +/- 0.26
Photon Flux (Free Index): 2.57e-07 +/- 7.97e-08
Energy Flux (Free Index): 8.91e-05 +/- 2.73e-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/183303/cmap_HighResolution_621129601_621388801_4FGL_J0210.7-5101_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.54e-07', energy_flux2='8.91e-05', photon_flux_error='7.28e-08', dlogl='2.60e-03', energy_flux='9.01e-05', photon_flux2='2.57e-07', job_status='DONE', time_completed='2021-08-15 10:59:05.379715', photon_index_error2='0.26', photon_index2='2.26', ts='38.81', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.73e-05', EG='0.80', time_epoch_completed='1629050345.38', return_code='0', job_id='183303', GAL2='1.06', EG2='0.80', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='7.97e-08', ts2='39.51', photon_index='2.24' WHERE bin_id='1473' AND source_name='4FGL J0210.7-5101' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 10:59:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 183303: <4FGL_J0210.7-5101_daily_bin1473> in cluster <slac> Done

Job <4FGL_J0210.7-5101_daily_bin1473> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sun Aug 15 10:45:26 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 10:45:46 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:45:46 2021
Terminated at Sun Aug 15 10:59:06 2021
Results reported at Sun Aug 15 10:59:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0210.7-5101_daily_bin1473 32.6946 -51.0218 621129601 621388801 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 :                                   763.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            820 sec.

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

