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


Performing analysis on: 4FGL_J0210.7-5101_daily_bin1467
RA = 32.6946, Dec = -51.0218
tmin = 619574401, tmax = 619833601
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='183294', job_status='RUN', time_executed='2021-08-15 10:47:10.781430', time_epoch_executed='1629049630.78' WHERE source_name='4FGL J0210.7-5101' and cadence='daily' and bin_id='1467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/183294

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/183294/ft1_4FGL_J0210.7-5101_daily_bin1467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/183294/ft1_4FGL_J0210.7-5101_daily_bin1467.fits outfile=/scratch/kocevski/183294/ft1_filteredMKT_4FGL_J0210.7-5101_daily_bin1467.fits ra=32.6946 dec=-51.0218 rad=12.0 tmin=619574401.0 tmax=619833601.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 4.45
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/183294/ft1_filtered_4FGL_J0210.7-5101_daily_bin1467.fits" evtable="EVENTS" scfile=/scratch/kocevski/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits sctable="SC_DATA" outfile=/scratch/kocevski/183294/ltcube_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.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/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits
.....................!
real 12.86
user 12.38
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/183294/ft1_filtered_4FGL_J0210.7-5101_daily_bin1467.fits evtable="EVENTS" scfile=/scratch/kocevski/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits sctable="SC_DATA" expcube=/scratch/kocevski/183294/ltcube_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.fits outfile=/scratch/kocevski/183294/expmap_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.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/183294/ltcube_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.fits
.....................!
real 192.26
user 186.02
sys 5.27

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/183294/ft1_filtered_4FGL_J0210.7-5101_daily_bin1467.fits scfile=/scratch/kocevski/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits outfile=/scratch/kocevski/183294/cmap_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/183294/ft1_filtered_4FGL_J0210.7-5101_daily_bin1467.fits scfile=/scratch/kocevski/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits outfile=/scratch/kocevski/183294/cmap_HighResolution_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/183294/ft1_filtered_4FGL_J0210.7-5101_daily_bin1467.fits evtable="EVENTS" scfile=/scratch/kocevski/183294/ft2_4FGL_J0210.7-5101_daily_bin1467.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/183294/Model_4FGL_J0210.7-5101_daily_bin1467.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/183294/ft1_filtered_4FGL_J0210.7-5101_daily_bin1467.fits.....................!
real 124.24
user 122.18
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.168       1.0000         .10000E-03   10000.    
     2 'norm      '    7.6224       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.409       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.526       1.0000         .10000E-03   10000.    
     5 'norm      '    23.372       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .19357       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7410       1.0000         .10000E-03   10000.    
    13 'norm      '    12.348       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .12848E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3175       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8256       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.761       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    13.474       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .90836       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1650       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=   6515.224     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     3676 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.022        101.13        .42125E-06   -.22156E-04
   2  norm          7.6230        7.6516       -.10735E-06   -.39058E-04
   3  Prefactor     42.277        84.059        .19128E-06   -.22099E-04
   4  Prefactor     14.472        23.146        .37422E-07   -.89531E-05
   5  norm          23.375        11.826        .95218E-07   -.41567E-04
   6  Prefactor     .10000E-03    2.4441       -.22540E-06** at limit **
   7  Prefactor     .10000E-03    3.9507        .23674E-06** at limit **
   8  norm          .10000E-03    15.297        .27904E-07** at limit **
   9  norm          .20977        2.8235       -.21491E-06    .29563E-03
  10  Prefactor     .10000E-03    6.5298        .29517E-06** at limit **
  11  Prefactor     .10000E-03    15.339        .49252E-06** at limit **
  12  Prefactor     4.7413        4.3412        .80196E-06    .11323E-03
  13  norm          12.348        2.3638       -.87760E-07   -.44991E-03
  14  Prefactor     .10000E-03    19.095        .12899E-06** at limit **
  15  Prefactor     .10000E-03    8.2316        .51466E-06** at limit **
  16  Prefactor     .10000E-03    11.400        .38170E-06** at limit **
  17  norm          .10000E-03    .91832        .39114E-06** at limit **
  18  Prefactor     4.3149        7.8596       -.72830E-07   -.16659E-03
  19  Prefactor     2.8251        3.6554        .38086E-06    .26514E-05
  20  Prefactor     .10000E-03    8.0792        .86076E-07** at limit **
  21  norm          .10000E-03    .44595        .54392E-06** at limit **
  22  Prefactor     36.747        52.604       -.12105E-07   -.17844E-04
  23  Prefactor     .10000E-03    2.4331        .25042E-06** at limit **
  24  Prefactor     .10000E-03    11.551        .21961E-06** at limit **
  25  Prefactor     13.477        11.905        .83340E-07   -.89790E-04
  26  Prefactor     .10000E-03    23.598        .68847E-06** at limit **
  27  Prefactor     .10000E-03    2.3224        .11369E-06** at limit **
  28  Normalizat    .90834        .18759        .10269E-05   -.48734E-03
  29  Prefactor     1.1650        .19666       -.26911E-05   -.34794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.0222
  norm       = 7.62295
  Prefactor  = 42.2769
  Prefactor  = 14.472
  norm       = 23.3753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.209765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.74133
  norm       = 12.348
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 4.31488
  Prefactor  = 2.82508
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.7471
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.4766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.908335
  Prefactor  = 1.16503
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.224     FROM HESSE     STATUS=OK           551 CALLS     4227 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.022        101.33        .25048E-03   -1.4106    
   2  norm          7.6230        7.6399        .14525E-03   -1.5156    
   3  Prefactor     42.277        84.181        .30779E-03   -1.4407    
   4  Prefactor     14.472        23.171        .10509E-03   -1.4947    
   5  norm          23.375        11.835        .82855E-04   -1.4741    
   6  Prefactor     .10000E-03    2.4627        .12306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9705        .15665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .20977        25.582        .25478E-02   -1.5616    
  10  Prefactor     .10000E-03    6.5637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.7413        4.3402        .76769E-03   -1.5272    
  13  norm          12.348        2.3609        .50688E-04   -1.5005    
  14  Prefactor     .10000E-03    19.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.0047        .14514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.3149        7.8207        .19387E-03   -1.5292    
  19  Prefactor     2.8251        3.6537        .16593E-03   -1.5372    
  20  Prefactor     .10000E-03    8.0849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .65441        .97638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     36.747        52.527        .66101E-04   -1.4495    
  23  Prefactor     .10000E-03    2.4611        .12299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.477        11.955        .10912E-03   -1.4974    
  26  Prefactor     .10000E-03    23.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.3336        .12013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .90834        .21544        .26082E-03   -.96168    
  29  Prefactor     1.1650        .22293        .25163E-03   -.87414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35544e-09
Minuit parameter uncertainties:
  1  101.607
  2  7.6409
  3  84.4185
  4  23.1849
  5  11.836
  6  5.53006e-07
  7  1.21227e-05
  8  5.59837e-06
  9  4.63396
  10  1.16491e-05
  11  3.76e-05
  12  4.34054
  13  2.36093
  14  1.22014e-06
  15  1.82178e-05
  16  1.72824e-05
  17  0.000159455
  18  7.82255
  19  3.65394
  20  6.06003e-06
  21  1.40527e-05
  22  52.5936
  23  6.37636e-06
  24  1.19447e-05
  25  11.9569
  26  6.26445e-05
  27  2.76417e-06
  28  0.21564
  29  0.22311
Done.

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

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  1.235e+01  2.361e+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.165e+00  2.231e-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.083e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 88.67
Ra Dec: 32.695 -51.022
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.98e-07 +/- 5.69e-08
Energy Flux (Fixed Index): 1.05e-04 +/- 2.02e-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) = 6515.22371232
delta logL = 0.000338589158673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6515.22369274
delta logL = 0.000358167653758

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.348       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2442       1.0000          .0000       5.0000    
     3 'Normalizat'    .90723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1658       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=   6515.224     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      186 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.333        2.7333        .28499E-02   -.20039E-03
   2  alpha         2.2445        .22319        .13355       -.12407E-05
   3  Normalizat    .90738        .17334        .44994E-01    .15645E-04
   4  Prefactor     1.1657        .18550        .56891E-01   -.23507E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.333
  alpha      = 2.24454
  Normalizat = 0.907378
  Prefactor  = 1.16571
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.224     FROM HESSE     STATUS=OK            31 CALLS      217 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.333        2.3718        .50616E-04   -1.5005    
   2  alpha         2.2445        .19674        .58206E-03   -.10236    
   3  Normalizat    .90738        .20805        .26093E-03   -.96201    
   4  Prefactor     1.1657        .22208        .25157E-03   -.87393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7158e-12
Minuit parameter uncertainties:
  1  2.37181
  2  0.196945
  3  0.208233
  4  0.222254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/183294': 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) = 6515.22367356
delta logL = 0.000377350866074

Extracting fit parameters...

4FGL J0210.7-5101
   Spectrum: LogParabola
281         norm:  1.233e+01  2.372e+00  1.000e-04  1.000e+04 ( 1.000e-11)
282        alpha:  2.245e+00  1.969e-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.166e+00  2.223e-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.074e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 88.86
Ra Dec: 32.695 -51.022
Photon Index (Free Index): 2.24 +/- 0.20
Photon Flux (Free Index): 2.99e-07 +/- 6.37e-08
Energy Flux (Free Index): 1.05e-04 +/- 2.34e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/183294/cmap_HighResolution_619574401_619833601_4FGL_J0210.7-5101_daily_bin1467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.98e-07', energy_flux2='1.05e-04', photon_flux_error='5.69e-08', dlogl='3.77e-04', energy_flux='1.05e-04', photon_flux2='2.99e-07', job_status='DONE', time_completed='2021-08-15 11:01:17.597212', photon_index_error2='0.20', photon_index2='2.24', ts='88.67', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='2.34e-05', EG='0.91', time_epoch_completed='1629050477.6', return_code='0', job_id='183294', GAL2='1.17', EG2='0.91', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='6.37e-08', ts2='88.86', photon_index='2.24' WHERE bin_id='1467' AND source_name='4FGL J0210.7-5101' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:01:17 PDT 2021


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

Job <4FGL_J0210.7-5101_daily_bin1467> 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) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 10:45:44 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:44 2021
Terminated at Sun Aug 15 11:01:18 2021
Results reported at Sun Aug 15 11:01:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0210.7-5101_daily_bin1467 32.6946 -51.0218 619574401 619833601 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 :                                   838.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             327.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            952 sec.

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

