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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1129
RA = 32.8091, Dec = 10.8569
tmin = 531964801, tmax = 532224001
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='192111', job_status='RUN', time_executed='2021-08-15 11:12:11.338468', time_epoch_executed='1629051131.34' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192111

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192111/ft1_4FGL_J0211.2+1051_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192111/ft1_4FGL_J0211.2+1051_daily_bin1129.fits outfile=/scratch/kocevski/192111/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1129.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=531964801.0 tmax=532224001.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.40
user 3.31
sys 0.94

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/192111/ltcube_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.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/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits
.....................!
real 16.12
user 14.76
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/192111/ltcube_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.fits outfile=/scratch/kocevski/192111/expmap_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.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/192111/ltcube_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.fits
.....................!
real 196.87
user 188.23
sys 6.06

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/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits scfile=/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits outfile=/scratch/kocevski/192111/cmap_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.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.31
user 0.36
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits scfile=/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits outfile=/scratch/kocevski/192111/cmap_HighResolution_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.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.27
user 0.39
sys 0.86

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192111/Model_4FGL_J0211.2+1051_daily_bin1129.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/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits.....................!
real 83.78
user 80.38
sys 2.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits', '/scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits', expMap='/scratch/kocevski/192111/expmap_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.fits', expCube='/scratch/kocevski/192111/ltcube_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192111/Model_4FGL_J0211.2+1051_daily_bin1129.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/192111/ft1_filtered_4FGL_J0211.2+1051_daily_bin1129.fits
Spacecraft file(s): /scratch/kocevski/192111/ft2_4FGL_J0211.2+1051_daily_bin1129.fits
Exposure map: /scratch/kocevski/192111/expmap_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.fits
Exposure cube: /scratch/kocevski/192111/ltcube_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192111/Model_4FGL_J0211.2+1051_daily_bin1129.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) = 6615.90151868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    15.245       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2023       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0238       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8679       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.155       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.7476       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.392       1.0000         .10000E-03   10000.    
    17 'norm      '    2.3393       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.283       1.0000         .10000E-03   10000.    
    20 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.0055       1.0000         .10000E-03   10000.    
    22 'Prefactor '    49.407       1.0000         .10000E-03   10000.    
    23 'Prefactor '    22.934       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .54175       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1884       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=   6615.299     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2984 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2111       -.75242E-08** at limit **
   2  norm          15.244        20.015       -.12081E-05   -.15518E-04
   3  Prefactor     2.2013        6.3367       -.12086E-05   -.58749E-03
   4  Prefactor     6.0237        3.0593       -.78013E-07   -.26276E-03
   5  norm          .10000E-03    3.2634        .71419E-06** at limit **
   6  Prefactor     .10000E-03    2.0795       -.10326E-06** at limit **
   7  Prefactor     .10000E-03    .65684       -.10467E-06** at limit **
   8  norm          1.8679        1.0225       -.94452E-07   -.26132E-03
   9  Prefactor     .10000E-03    34.025       -.13961E-05** at limit **
  10  Prefactor     23.152        31.046       -.43326E-05   -.79353E-05
  11  Prefactor     .10000E-03    3.4949        .55241E-07** at limit **
  12  Prefactor     .10000E-03    21.486        .47474E-05** at limit **
  13  Prefactor     4.7467        7.9111       -.32311E-06   -.21491E-03
  14  Prefactor     .10000E-03    13.316        .16335E-05** at limit **
  15  Prefactor     .10000E-03    9.8306        .33171E-06** at limit **
  16  Prefactor     12.401        15.704        .29421E-05   -.20538E-04
  17  norm          2.3388        .84696       -.53759E-07    .30578E-03
  18  Prefactor     .10000E-03    17.645       -.51438E-05** at limit **
  19  Prefactor     12.284        16.857        .41040E-08   -.27471E-04
  20  norm          .10000E-03    7.8115       -.14615E-05** at limit **
  21  Prefactor     9.0001        16.978       -.27870E-05   -.40403E-04
  22  Prefactor     49.401        41.619       -.71014E-05    .14667E-04
  23  Prefactor     22.935        19.528        .81957E-06   -.47573E-06
  24  Normalizat    .54169        .20848        .13992E-05   -.61135E-04
  25  Prefactor     1.1885        .12367        .20448E-06   -.10118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 15.244
  Prefactor  = 2.20127
  Prefactor  = 6.02368
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.86793
  Prefactor  = 0.0001
  Prefactor  = 23.152
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.74669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.401
  norm       = 2.33882
  Prefactor  = 0.0001
  Prefactor  = 12.2838
  norm       = 0.0001
  Prefactor  = 9.0001
  Prefactor  = 49.4008
  Prefactor  = 22.9352
  Normalizat = 0.541688
  Prefactor  = 1.18849
 **********
 **   18 **HESSE 
 **********

 FCN=   6615.299     FROM HESSE     STATUS=OK           433 CALLS     3417 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7520        .23565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.244        19.961        .10258E-03   -1.4927    
   3  Prefactor     2.2013        6.4625        .27724E-03   -1.5411    
   4  Prefactor     6.0237        3.0536        .96026E-04   -1.5217    
   5  norm          .10000E-03    7.6365        .28114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0821        .11454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .66028        .64349E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8679        1.0193        .58106E-04   -1.5435    
   9  Prefactor     .10000E-03    34.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.152        31.007        .83242E-04   -1.4745    
  11  Prefactor     .10000E-03    3.5201        .14840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7467        7.9013        .18466E-03   -1.5272    
  14  Prefactor     .10000E-03    13.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.9484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.401        15.838        .11379E-03   -1.5004    
  17  norm          2.3388        .86087        .36457E-04   -1.5402    
  18  Prefactor     .10000E-03    17.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.284        16.839        .11430E-03   -1.5007    
  20  norm          .10000E-03    7.8088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.0001        17.049        .13356E-03   -1.5108    
  22  Prefactor     49.401        41.157        .57051E-04   -1.4301    
  23  Prefactor     22.935        19.520        .83642E-04   -1.4750    
  24  Normalizat    .54169        .22048        .40525E-03   -1.1052    
  25  Prefactor     1.1885        .13376        .17276E-03   -.86686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04957e-09
Minuit parameter uncertainties:
  1  2.26167e-05
  2  19.9695
  3  6.46453
  4  3.05365
  5  0.000279092
  6  5.4463e-07
  7  7.04505e-07
  8  1.01932
  9  3.24292e-05
  10  31.0288
  11  8.08532e-07
  12  1.90169e-06
  13  7.90303
  14  7.58504e-06
  15  9.86173e-06
  16  15.8433
  17  0.860872
  18  2.24717e-05
  19  16.8454
  20  4.2969e-05
  21  17.0581
  22  41.1807
  23  19.5258
  24  0.220841
  25  0.133793
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  2.791e-04  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.188e+00  1.338e-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.417e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 7.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/192111/likelihoodResults_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.txt

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): 102
logL (Free Index) = 6615.29971846
delta logL = -0.000621978853815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6615.29909276
delta logL = 3.71992246073e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33421E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1849       1.0000          .0000       5.0000    
     3 'Normalizat'    .54191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1884       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=   6614.167     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      275 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27382        .28617        .69184E-02   -.95901E-03
   2  alpha         4.4263        .62960        .41572        .16940E-04
   3  Normalizat    .45110        .21408        .99662E-01    .85909E-05
   4  Prefactor     1.2143        .12737        .34912E-01   -.30540E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.273825
  alpha      = 4.42627
  Normalizat = 0.451104
  Prefactor  = 1.21432
 **********
 **   18 **HESSE 
 **********

 FCN=   6614.167     FROM HESSE     STATUS=OK            35 CALLS      310 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27382        .85048        .31605E-03   -1.5813    
   2  alpha         4.4263        3.7013        .22831E-01    .87964    
   3  Normalizat    .45110        .22025        .44173E-03   -1.1474    
   4  Prefactor     1.2143        .13269        .17097E-03   -.85892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53497e-10
Minuit parameter uncertainties:
  1  0.850514
  2  1.7073
  3  0.220675
  4  0.132724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192111': 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) = 6614.16722199
delta logL = 1.13187448642

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  2.738e-01  8.505e-01  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  4.426e+00  1.707e+00  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.214e+00  1.327e-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:  4.511e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 32.809 10.857
Photon Index (Free Index): 4.43 +/- 1.71
Photon Flux (Free Index): 8.19e-08 +/- 5.03e-07
Energy Flux (Free Index): 1.18e-05 +/- 6.97e-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/192111/cmap_HighResolution_531964801_532224001_4FGL_J0211.2+1051_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-05', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='1.13e+00', photon_flux2='8.19e-08', job_status='DONE', time_completed='2021-08-15 11:25:26.096533', photon_index_error2='1.71', photon_index2='4.43', ts='-0.00', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='7.12e-08', energy_flux_error2='6.97e-05', EG='0.54', time_epoch_completed='1629051926.1', return_code='0', job_id='192111', GAL2='1.21', EG2='0.45', return_code2='0', photon_flux_error2='5.03e-07', ts2='2.42', photon_index='2.05' WHERE bin_id='1129' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:25:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 192111: <4FGL_J0211.2+1051_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1129> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 15 11:10:26 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 11:11:37 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:11:37 2021
Terminated at Sun Aug 15 11:25:27 2021
Results reported at Sun Aug 15 11:25:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1129 32.8091 10.8569 531964801 532224001 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 :                                   794.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            901 sec.

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

