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


Performing analysis on: 4FGL_J0210.7-5101_daily_bin1017
RA = 32.6946, Dec = -51.0218
tmin = 502934401, tmax = 503193601
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='179912', job_status='RUN', time_executed='2021-08-15 10:38:28.892103', time_epoch_executed='1629049108.89' WHERE source_name='4FGL J0210.7-5101' and cadence='daily' and bin_id='1017'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/179912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/179912/ft1_4FGL_J0210.7-5101_daily_bin1017.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/179912/ft1_4FGL_J0210.7-5101_daily_bin1017.fits outfile=/scratch/kocevski/179912/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1017.fits ra=32.6946 dec=-51.0218 rad=12.0 tmin=502934401.0 tmax=503193601.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.64
user 3.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.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/179912/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1017.fits evtable="EVENTS" outfile="/scratch/kocevski/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.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.60
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.fits" evtable="EVENTS" scfile=/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits sctable="SC_DATA" outfile=/scratch/kocevski/179912/ltcube_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.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/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits
.....................!
real 12.75
user 12.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits sctable="SC_DATA" expcube=/scratch/kocevski/179912/ltcube_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.fits outfile=/scratch/kocevski/179912/expmap_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.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/179912/ltcube_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.fits
.....................!
real 191.98
user 186.09
sys 5.32

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/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.fits scfile=/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits outfile=/scratch/kocevski/179912/cmap_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.fits scfile=/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits outfile=/scratch/kocevski/179912/cmap_HighResolution_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/179912/ft2_4FGL_J0210.7-5101_daily_bin1017.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/179912/Model_4FGL_J0210.7-5101_daily_bin1017.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/179912/ft1_filtered_4FGL_J0210.7-5101_daily_bin1017.fits....................!
real 113.91
user 112.15
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .87097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7226       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2331       1.0000         .10000E-03   10000.    
     5 'norm      '    .10544E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.267       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1232       1.0000         .10000E-03   10000.    
    13 'norm      '    5.9838       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.542       1.0000         .10000E-03   10000.    
    16 'Prefactor '    44.702       1.0000         .10000E-03   10000.    
    17 'norm      '    .90550       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8855       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.2899       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .23541E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.8499       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.7723       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .91118       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0898       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=   5896.275     FROM MIGRAD    STATUS=CONVERGED    711 CALLS     3166 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.413       -.84233E-06** at limit **
   2  norm          .87049        6.5895        .28000E-05   -.14408E-03
   3  Prefactor     4.7127        156.57       -.29262E-05   -.90614E-05
   4  Prefactor     1.1919        91.038       -.27226E-05   -.13804E-04
   5  norm          .10000E-03    14.748       -.40617E-06** at limit **
   6  Prefactor     6.5451        4.8203        .24382E-06    .88345E-05
   7  Prefactor     10.266        8.4526        .10131E-05   -.15980E-03
   8  norm          .10000E-03    41.373        .29907E-06** at limit **
   9  norm          .10000E-03    1.6160       -.16964E-07** at limit **
  10  Prefactor     .10000E-03    5.4980        .75472E-07** at limit **
  11  Prefactor     .10000E-03    15.686       -.55068E-06** at limit **
  12  Prefactor     6.1234        5.1061        .59824E-07   -.50505E-04
  13  norm          5.9838        2.0168       -.57785E-08   -.20317E-03
  14  Prefactor     .10000E-03    23.490        .18953E-05** at limit **
  15  Prefactor     13.543        23.016        .16204E-06   -.77641E-04
  16  Prefactor     44.703        32.432        .17707E-08   -.54133E-04
  17  norm          .90621        1.7400        .67182E-06    .28043E-03
  18  Prefactor     .10000E-03    13.010        .17179E-05** at limit **
  19  Prefactor     1.8856        2.2895        .13890E-06   -.34017E-04
  20  Prefactor     .10000E-03    6.6463        .26071E-06** at limit **
  21  norm          .10000E-03    .49223        .28493E-06** at limit **
  22  Prefactor     2.2611        57.712       -.54057E-05   -.30574E-04
  23  Prefactor     .10000E-03    3.1745       -.19319E-06** at limit **
  24  Prefactor     .10000E-03    17.237       -.88643E-06** at limit **
  25  Prefactor     6.8505        9.9294        .46582E-07   -.36965E-05
  26  Prefactor     .10000E-03    8.2528       -.14512E-06** at limit **
  27  Prefactor     4.7731        5.1389        .62491E-07   -.25459E-04
  28  Normalizat    .91135        .17543       -.72121E-06   -.12261E-03
  29  Prefactor     1.0896        .18093       -.10803E-05   -.69305E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.870486
  Prefactor  = 4.71271
  Prefactor  = 1.19193
  norm       = 0.0001
  Prefactor  = 6.54507
  Prefactor  = 10.266
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.12338
  norm       = 5.98379
  Prefactor  = 0.0001
  Prefactor  = 13.543
  Prefactor  = 44.7027
  norm       = 0.906212
  Prefactor  = 0.0001
  Prefactor  = 1.8856
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.26114
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.85048
  Prefactor  = 0.0001
  Prefactor  = 4.77315
  Normalizat = 0.911353
  Prefactor  = 1.08956
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.275     FROM HESSE     STATUS=OK           561 CALLS     3727 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .87049        6.8864        .38198E-03   -1.5521    
   3  Prefactor     4.7127        157.94        .18516E-03   -1.5274    
   4  Prefactor     1.1919        97.070        .40468E-02   -1.5490    
   5  norm          .10000E-03    15.332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.5451        4.8207        .13987E-03   -1.5196    
   7  Prefactor     10.266        8.4846        .62525E-03   -1.5067    
   8  norm          .10000E-03    41.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6196        .95297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.5060        .17586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.1234        5.1040        .14879E-03   -1.5213    
  13  norm          5.9838        2.0183        .58061E-04   -1.5219    
  14  Prefactor     .10000E-03    23.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.543        22.997        .10884E-03   -1.4972    
  16  Prefactor     44.703        32.381        .59965E-04   -1.4370    
  17  norm          .90621        1.6540        .13703E-02   -1.5518    
  18  Prefactor     .10000E-03    13.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8856        2.2727        .12418E-03   -1.5433    
  20  Prefactor     .10000E-03    6.6547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .69703        .10363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.2611        60.109        .27127E-03   -1.5407    
  23  Prefactor     .10000E-03    6.7859        .26144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    17.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.8505        9.8608        .15330E-03   -1.5184    
  26  Prefactor     .10000E-03    8.2587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.7731        5.1338        .17512E-03   -1.5271    
  28  Normalizat    .91135        .20932        .24466E-03   -.96062    
  29  Prefactor     1.0896        .21606        .24342E-03   -.89801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23785e-09
Minuit parameter uncertainties:
  1  3.6213e-05
  2  4.89724
  3  54.7219
  4  21.5482
  5  7.71291e-05
  6  4.82102
  7  8.48556
  8  2.48595e-05
  9  5.9662e-07
  10  2.22766e-06
  11  2.15618e-05
  12  5.1044
  13  2.01836
  14  9.27615e-05
  15  23.0122
  16  32.3932
  17  1.65412
  18  4.97124e-05
  19  2.27282
  20  1.06843e-05
  21  4.52666e-06
  22  23.3421
  23  0.000150274
  24  2.52143e-05
  25  9.86317
  26  2.87725e-06
  27  5.13429
  28  0.209504
  29  0.216236
Done.

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

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  5.984e+00  2.018e+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.090e+00  2.162e-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.114e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.80
Ra Dec: 32.695 -51.022
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.44e-07 +/- 4.87e-08
Energy Flux (Fixed Index): 5.11e-05 +/- 1.72e-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) = 5896.26069208
delta logL = 0.0142156297443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5896.26027005
delta logL = 0.0146376632083

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9783       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2986       1.0000          .0000       5.0000    
     3 'Normalizat'    .90417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0939       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=   5896.260     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9708        3.0899        .41056E-02    .19621E-03
   2  alpha         2.2988        .52661        .22748        .25704E-04
   3  Normalizat    .90391        .16879        .44955E-01   -.29726E-04
   4  Prefactor     1.0942        .17966        .54941E-01    .11717E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.97085
  alpha      = 2.29881
  Normalizat = 0.903911
  Prefactor  = 1.0942
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.260     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9708        1.9243        .57062E-04   -1.5219    
   2  alpha         2.2988        .34866        .94794E-02   -.80564E-01
   3  Normalizat    .90391        .19984        .24547E-03   -.96323    
   4  Prefactor     1.0942        .21139        .24292E-03   -.89652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91733e-11
Minuit parameter uncertainties:
  1  1.92433
  2  0.349812
  3  0.199999
  4  0.21155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/179912': 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) = 5896.26026106
delta logL = 0.0146466498309

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  5.971e+00  1.924e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.299e+00  3.498e-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.094e+00  2.116e-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.039e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.98
Ra Dec: 32.695 -51.022
Photon Index (Free Index): 2.30 +/- 0.35
Photon Flux (Free Index): 1.51e-07 +/- 6.01e-08
Energy Flux (Free Index): 4.99e-05 +/- 1.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/179912/cmap_HighResolution_502934401_503193601_4FGL_J0210.7-5101_daily_bin1017.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.44e-07', energy_flux2='4.99e-05', photon_flux_error='4.87e-08', dlogl='1.46e-02', energy_flux='5.11e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2021-08-15 10:51:00.446038', photon_index_error2='0.35', photon_index2='2.30', ts='23.80', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='0.91', time_epoch_completed='1629049860.45', return_code='0', job_id='179912', GAL2='1.09', EG2='0.90', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='6.01e-08', ts2='23.98', photon_index='2.24' WHERE bin_id='1017' AND source_name='4FGL J0210.7-5101' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 10:51:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 179912: <4FGL_J0210.7-5101_daily_bin1017> in cluster <slac> Done

Job <4FGL_J0210.7-5101_daily_bin1017> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 15 10:35:45 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 10:36:34 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:36:34 2021
Terminated at Sun Aug 15 10:51:01 2021
Results reported at Sun Aug 15 10:51:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0210.7-5101_daily_bin1017 32.6946 -51.0218 502934401 503193601 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 :                                   741.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            916 sec.

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

