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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1320
RA = 32.8091, Dec = 10.8569
tmin = 581472001, tmax = 581731201
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='192410', job_status='RUN', time_executed='2021-08-15 11:15:06.831220', time_epoch_executed='1629051306.83' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192410

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192410/ft1_4FGL_J0211.2+1051_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192410/ft1_4FGL_J0211.2+1051_daily_bin1320.fits outfile=/scratch/kocevski/192410/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1320.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=581472001.0 tmax=581731201.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.10
user 2.60
sys 1.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.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/192410/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1320.fits evtable="EVENTS" outfile="/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.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.82
user 0.34
sys 1.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/192410/ltcube_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.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/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits
.....................!
real 16.90
user 14.98
sys 1.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/192410/ltcube_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.fits outfile=/scratch/kocevski/192410/expmap_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.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/192410/ltcube_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.fits
.....................!
real 193.91
user 185.53
sys 6.91

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
Added 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J0211.2+1051 @ 32.8091 10.8569

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits scfile=/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits outfile=/scratch/kocevski/192410/cmap_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.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.8091 yref=10.8569 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.82
user 0.41
sys 1.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits scfile=/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits outfile=/scratch/kocevski/192410/cmap_HighResolution_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.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.8091 yref=10.8569 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.83
user 0.37
sys 1.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192410/Model_4FGL_J0211.2+1051_daily_bin1320.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 GAL_V02
Working on...
/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits.....................!
real 66.55
user 63.46
sys 2.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits', '/scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits', expMap='/scratch/kocevski/192410/expmap_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.fits', expCube='/scratch/kocevski/192410/ltcube_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192410/Model_4FGL_J0211.2+1051_daily_bin1320.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0211.2+1051'

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  8.760e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/192410/ft1_filtered_4FGL_J0211.2+1051_daily_bin1320.fits
Spacecraft file(s): /scratch/kocevski/192410/ft2_4FGL_J0211.2+1051_daily_bin1320.fits
Exposure map: /scratch/kocevski/192410/expmap_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.fits
Exposure cube: /scratch/kocevski/192410/ltcube_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192410/Model_4FGL_J0211.2+1051_daily_bin1320.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) = 5351.11475913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10780E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    18.835       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.2687       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.808       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16012       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    77.137       1.0000         .10000E-03   10000.    
    19 'Prefactor '    60.989       1.0000         .10000E-03   10000.    
    20 'norm      '    7.9400       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .46187E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .59779       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5351.107     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     2968 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8974        .14566E-06** at limit **
   2  norm          .10004E-03    85.990       -.11692E-04** at limit **
   3  Prefactor     .10000E-03    4.0391        .34734E-06** at limit **
   4  Prefactor     .10000E-03    2.0688        .51295E-06** at limit **
   5  norm          18.834        7.4666       -.79885E-07   -.30285E-04
   6  Prefactor     .10000E-03    7.8901        .38433E-06** at limit **
   7  Prefactor     .10000E-03    1.7211        .10565E-06** at limit **
   8  norm          3.2687        1.2332        .10100E-07   -.42397E-04
   9  Prefactor     .10000E-03    17.191       -.11284E-05** at limit **
  10  Prefactor     .10000E-03    17.458        .30020E-06** at limit **
  11  Prefactor     .10000E-03    1.9060        .16935E-07** at limit **
  12  Prefactor     .10000E-03    39.219       -.27372E-06** at limit **
  13  Prefactor     .10000E-03    2.9390       -.61296E-07** at limit **
  14  Prefactor     10.820        35.374       -.58117E-05   -.14624E-03
  15  Prefactor     .10598E-03    40.523        .95655E-05** at limit **
  16  Prefactor     .10000E-03    10.169       -.74729E-06** at limit **
  17  norm          .10000E-03    .28883       -.19569E-06** at limit **
  18  Prefactor     77.246        67.295        .51394E-05    .56242E-05
  19  Prefactor     60.990        31.811        .55415E-07   -.86350E-04
  20  norm          7.9992        25.913       -.33264E-05   -.14078E-03
  21  Prefactor     .10000E-03    28.140        .18658E-06** at limit **
  22  Prefactor     .10002E-03    509.69       -.16243E-05** at limit **
  23  Prefactor     .10000E-03    15.995        .47269E-07** at limit **
  24  Normalizat    .59785        .22880       -.39633E-05   -.72946E-04
  25  Prefactor     1.2677        .14603        .15394E-05   -.28190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.8341
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.26866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8199
  Prefactor  = 0.000105981
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 77.2457
  Prefactor  = 60.9902
  norm       = 7.99917
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Normalizat = 0.597849
  Prefactor  = 1.26767
 **********
 **   18 **HESSE 
 **********

 FCN=   5351.107     FROM HESSE     STATUS=OK           431 CALLS     3399 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9066        .98409E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10004E-03    86.502        .48402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.0642        .14355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1261        .20519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          18.834        7.4434        .92286E-04   -1.4840    
   6  Prefactor     .10000E-03    8.1057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4153        .18551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.2687        1.2332        .48051E-04   -1.5346    
   9  Prefactor     .10000E-03    17.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.9067        .98628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9422        .12249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.820        37.042        .12187E-03   -1.5050    
  15  Prefactor     .10598E-03    34.245        .79458E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .41559        .76071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     77.246        68.343        .22861E-03   -1.3948    
  19  Prefactor     60.990        31.762        .51378E-04   -1.4144    
  20  norm          7.9992        29.303        .14230E-03   -1.5142    
  21  Prefactor     .10000E-03    28.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10002E-03    527.45        .38619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .59785        .24103        .39650E-03   -1.0808    
  25  Prefactor     1.2677        .15534        .17838E-03   -.84273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28797e-09
Minuit parameter uncertainties:
  1  3.33829e-06
  2  0.00394605
  3  3.492e-06
  4  2.77278e-06
  5  7.44372
  6  4.98123e-06
  7  1.71799e-05
  8  1.23322
  9  1.25712e-05
  10  1.29846e-05
  11  1.13441e-06
  12  3.36253e-05
  13  6.35785e-06
  14  37.1205
  15  0.0286388
  16  3.81205e-05
  17  4.93701e-07
  18  68.4126
  19  31.7707
  20  29.3554
  21  1.59978e-05
  22  0.00592187
  23  1.77129e-06
  24  0.241455
  25  0.155401
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.883e+01  7.444e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.268e+00  1.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.978e-01  2.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.33
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 4.94e-08
Energy Flux (Fixed Index): 6.83e-05 +/- 2.70e-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) = 5351.10379529
delta logL = 0.00304997719195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5351.10353627
delta logL = 0.00330899776418

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5351.104     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      213 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.974        13.068        .22987E-02    .21046E-03
   2  alpha         2.0244        .52081        .20649        .40886E-04
   3  Normalizat    .59989        .22448        .89349E-01    .22470E-04
   4  Prefactor     1.2672        .14166        .33206E-01    .11852E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 18.974
  alpha      = 2.02437
  Normalizat = 0.599895
  Prefactor  = 1.26724
 **********
 **   18 **HESSE 
 **********

 FCN=   5351.104     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.974        7.7191        .91949E-04   -1.4837    
   2  alpha         2.0244        .32635        .85897E-02   -.19142    
   3  Normalizat    .59989        .23834        .39589E-03   -1.0799    
   4  Prefactor     1.2672        .15183        .17841E-03   -.84286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02973e-11
Minuit parameter uncertainties:
  1  7.71952
  2  0.327319
  3  0.238746
  4  0.151878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192410': 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) = 5351.10353602
delta logL = 0.0033092469539

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.897e+01  7.720e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.024e+00  3.273e-01  0.000e+00  5.000e+00 ( 1.000e+00)
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.267e+00  1.519e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.999e-01  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.29
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.02 +/- 0.33
Photon Flux (Free Index): 1.22e-07 +/- 5.91e-08
Energy Flux (Free Index): 7.01e-05 +/- 3.70e-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/192410/cmap_HighResolution_581472001_581731201_4FGL_J0211.2+1051_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='7.01e-05', photon_flux_error='4.94e-08', dlogl='3.31e-03', energy_flux='6.83e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-08-15 11:25:32.365486', photon_index_error2='0.33', photon_index2='2.02', ts='17.33', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='3.70e-05', EG='0.60', time_epoch_completed='1629051932.37', return_code='0', job_id='192410', GAL2='1.27', EG2='0.60', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='5.91e-08', ts2='17.29', photon_index='2.05' WHERE bin_id='1320' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:25:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 192410: <4FGL_J0211.2+1051_daily_bin1320> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1320> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 15 11:10:43 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 11:14:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 11:14:26 2021
Terminated at Sun Aug 15 11:25:33 2021
Results reported at Sun Aug 15 11:25:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1320 32.8091 10.8569 581472001 581731201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0211.2+1051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            890 sec.

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

