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


Performing analysis on: 4FGL_J0210.7-5101_daily_bin1144
RA = 32.6946, Dec = -51.0218
tmin = 535852801, tmax = 536112001
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='180085', job_status='RUN', time_executed='2021-08-15 10:39:16.175227', time_epoch_executed='1629049156.18' WHERE source_name='4FGL J0210.7-5101' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180085

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180085/ft1_4FGL_J0210.7-5101_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180085/ft1_4FGL_J0210.7-5101_daily_bin1144.fits outfile=/scratch/kocevski/180085/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1144.fits ra=32.6946 dec=-51.0218 rad=12.0 tmin=535852801.0 tmax=536112001.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 5.17
user 3.36
sys 1.00

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180085/ft1_filtered_4FGL_J0210.7-5101_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/180085/ltcube_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.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/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits
.....................!
real 14.92
user 13.60
sys 1.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180085/ft1_filtered_4FGL_J0210.7-5101_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/180085/ltcube_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.fits outfile=/scratch/kocevski/180085/expmap_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.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/180085/ltcube_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.fits
.....................!
real 192.53
user 185.94
sys 5.92

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/180085/ft1_filtered_4FGL_J0210.7-5101_daily_bin1144.fits scfile=/scratch/kocevski/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits outfile=/scratch/kocevski/180085/cmap_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.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 1.33
user 0.38
sys 0.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180085/ft1_filtered_4FGL_J0210.7-5101_daily_bin1144.fits scfile=/scratch/kocevski/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits outfile=/scratch/kocevski/180085/cmap_HighResolution_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.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 1.33
user 0.39
sys 0.90

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180085/ft1_filtered_4FGL_J0210.7-5101_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/180085/ft2_4FGL_J0210.7-5101_daily_bin1144.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180085/Model_4FGL_J0210.7-5101_daily_bin1144.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/180085/ft1_filtered_4FGL_J0210.7-5101_daily_bin1144.fits.....................!
real 91.68
user 88.77
sys 2.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .76595       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55774E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12236E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10338E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.728       1.0000         .10000E-03   10000.    
     8 'norm      '    .11371E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.927       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0307       1.0000         .10000E-03   10000.    
    13 'norm      '    6.4860       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11453E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.069       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.924       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0720       1.0000         .10000E-03   10000.    
    22 'Prefactor '    46.160       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.961       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11250E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.9603       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.803       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10283E-02   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .87349       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95086       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4376.204     FROM MIGRAD    STATUS=CONVERGED   1286 CALLS     4295 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.491        .18142E-02** at limit **
   2  norm          .76694        5.9320        .31339E-03    .75962E-04
   3  Prefactor     .10002E-03    71.189        .17934    ** at limit **
   4  Prefactor     .10000E-03    18.683        .18142E-02** at limit **
   5  norm          .10000E-03    6.3992        .16204E-02** at limit **
   6  Prefactor     .10000E-03    1.5583        .80601E-03** at limit **
   7  Prefactor     17.737        11.010        .95125E-04    .27488E-05
   8  norm          .10000E-03    75.910        .18142E-02** at limit **
   9  norm          .10000E-03    1.4766        .78484E-03** at limit **
  10  Prefactor     16.880        21.756        .97348E-04   -.46480E-04
  11  Prefactor     .10000E-03    7.9262        .18142E-02** at limit **
  12  Prefactor     6.0327        5.5744        .14156E-03   -.22567E-04
  13  norm          6.4867        2.4624        .58711E-04   -.61576E-04
  14  Prefactor     .10000E-03    20.751        .18142E-02** at limit **
  15  Prefactor     .10000E-03    6.4536        .16404E-02** at limit **
  16  Prefactor     .10000E-03    8.2502        .18142E-02** at limit **
  17  norm          10.071        3.3126        .66125E-04   -.10316E-03
  18  Prefactor     23.923        18.946        .81896E-04    .51502E-04
  19  Prefactor     .10000E-03    .75453        .56089E-03** at limit **
  20  Prefactor     .10000E-03    9.6897        .18142E-02** at limit **
  21  norm          2.0722        1.7374        .72714E-04    .23452E-04
  22  Prefactor     46.205        68.492        .59015E-04    .10688E-03
  23  Prefactor     15.954        8.2218        .10025E-03   -.85732E-04
  24  Prefactor     .10000E-03    27.015        .18142E-02** at limit **
  25  Prefactor     4.9590        23.049        .18058E-03   -.57292E-05
  26  Prefactor     18.884        33.460        .92365E-04    .26505E-03
  27  Prefactor     .10000E-03    46.673        .39413E-02** at limit **
  28  Normalizat    .87317        .26199        .25791E-03   -.27840E-03
  29  Prefactor     .95109        .26035        .25675E-03   -.73857E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.766941
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7374
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 16.8797
  Prefactor  = 0.0001
  Prefactor  = 6.03275
  norm       = 6.48673
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0715
  Prefactor  = 23.9232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.07221
  Prefactor  = 46.2053
  Prefactor  = 15.9535
  Prefactor  = 0.0001
  Prefactor  = 4.95901
  Prefactor  = 18.8843
  Prefactor  = 0.000100001
  Normalizat = 0.873174
  Prefactor  = 0.951089
 **********
 **   18 **HESSE 
 **********

 FCN=   4376.204     FROM HESSE     STATUS=OK           533 CALLS     4828 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.491        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .76694        5.9310        .12536E-04   -1.5533    
   3  Prefactor     .10002E-03    71.284        .17914       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.685        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.4026        .32408E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5583        .16120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.737        11.009        .38050E-05   -1.4865    
   8  norm          .10000E-03    75.916        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.4766        .15697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.880        21.755        .38939E-05   -1.4886    
  11  Prefactor     .10000E-03    7.9263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.0327        5.5741        .56624E-05   -1.5217    
  13  norm          6.4867        2.4624        .23485E-05   -1.5199    
  14  Prefactor     .10000E-03    20.751        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4538        .32808E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.2502        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.071        3.3126        .26450E-05   -1.5073    
  18  Prefactor     23.923        18.944        .32758E-05   -1.4729    
  19  Prefactor     .10000E-03    .75454        .11218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.6898        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0722        1.7373        .29086E-05   -1.5420    
  22  Prefactor     46.205        68.490        .11803E-04   -1.4347    
  23  Prefactor     15.954        8.2197        .40101E-05   -1.4909    
  24  Prefactor     .10000E-03    27.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.9590        23.006        .72230E-05   -1.5263    
  26  Prefactor     18.884        33.308        .18473E-04   -1.4839    
  27  Prefactor     .10000E-03    46.825        .78826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .87317        .26227        .51582E-04   -.97409    
  29  Prefactor     .95109        .26064        .10270E-04   -.94378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15211e-09
Minuit parameter uncertainties:
  1  0.000155879
  2  4.26587
  3  0.00224
  4  8.10539e-05
  5  2.25945e-05
  6  1.06356e-06
  7  11.0107
  8  0.00070101
  9  2.28255e-07
  10  21.7649
  11  1.02855e-05
  12  5.57463
  13  2.46243
  14  2.65741e-05
  15  2.60258e-05
  16  4.50971e-05
  17  3.31262
  18  18.9488
  19  5.54908e-06
  20  7.24704e-05
  21  1.73731
  22  68.6073
  23  8.22033
  24  0.000121836
  25  21.3754
  26  33.3405
  27  0.000312595
  28  0.26265
  29  0.260984
Done.

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

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  6.487e+00  2.462e+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:  9.511e-01  2.610e-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.732e-01  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.41
Ra Dec: 32.695 -51.022
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.56e-07 +/- 5.94e-08
Energy Flux (Fixed Index): 5.54e-05 +/- 2.10e-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) = 4376.17254505
delta logL = 0.0318570354075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4376.17144899
delta logL = 0.0329530932677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4262       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1426       1.0000          .0000       5.0000    
     3 'Normalizat'    .88626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94283       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=   4376.171     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      195 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4262        2.5615        .39581E-02    .19314E-02
   2  alpha         2.1426        .37550        .21382        .34535E-04
   3  Normalizat    .88626        .21392        .44726E-01   -.16185E-04
   4  Prefactor     .94284        .21966        .45549E-01    .32027E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.42623
  alpha      = 2.14259
  Normalizat = 0.886256
  Prefactor  = 0.942842
 **********
 **   18 **HESSE 
 **********

 FCN=   4376.171     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4262        2.4289        .59839E-04   -1.5201    
   2  alpha         2.1426        .37402        .89936E-02   -.14345    
   3  Normalizat    .88626        .25490        .25638E-03   -.96945    
   4  Prefactor     .94284        .26022        .25782E-03   -.94660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37357e-10
Minuit parameter uncertainties:
  1  2.42897
  2  0.375464
  3  0.255244
  4  0.260561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180085': 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) = 4376.17144899
delta logL = 0.0329530946738

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  6.426e+00  2.429e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.143e+00  3.755e-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:  9.428e-01  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.863e-01  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.61
Ra Dec: 32.695 -51.022
Photon Index (Free Index): 2.14 +/- 0.38
Photon Flux (Free Index): 1.45e-07 +/- 7.10e-08
Energy Flux (Free Index): 5.76e-05 +/- 2.36e-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/180085/cmap_HighResolution_535852801_536112001_4FGL_J0210.7-5101_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.56e-07', energy_flux2='5.76e-05', photon_flux_error='5.94e-08', dlogl='3.30e-02', energy_flux='5.54e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-08-15 10:51:47.266752', photon_index_error2='0.38', photon_index2='2.14', ts='19.41', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.36e-05', EG='0.87', time_epoch_completed='1629049907.27', return_code='0', job_id='180085', GAL2='0.94', EG2='0.89', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='7.10e-08', ts2='19.61', photon_index='2.24' WHERE bin_id='1144' AND source_name='4FGL J0210.7-5101' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 10:51:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 180085: <4FGL_J0210.7-5101_daily_bin1144> in cluster <slac> Done

Job <4FGL_J0210.7-5101_daily_bin1144> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 15 10:35:58 2021
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 10:37:18 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:37:18 2021
Terminated at Sun Aug 15 10:51:48 2021
Results reported at Sun Aug 15 10:51:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0210.7-5101_daily_bin1144 32.6946 -51.0218 535852801 536112001 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 :                                   730.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             299.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            950 sec.

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

