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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1360
RA = 32.8091, Dec = 10.8569
tmin = 591840001, tmax = 592099201
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='193884', job_status='RUN', time_executed='2021-08-15 11:19:06.194525', time_epoch_executed='1629051546.19' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1360'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193884

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193884/ft1_4FGL_J0211.2+1051_daily_bin1360.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193884/ft1_4FGL_J0211.2+1051_daily_bin1360.fits outfile=/scratch/kocevski/193884/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1360.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=591840001.0 tmax=592099201.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 6.77
user 5.00
sys 1.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.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/193884/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1360.fits evtable="EVENTS" outfile="/scratch/kocevski/193884/ft1_filtered_4FGL_J0211.2+1051_daily_bin1360.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.29
user 0.35
sys 0.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193884/ft1_filtered_4FGL_J0211.2+1051_daily_bin1360.fits" evtable="EVENTS" scfile=/scratch/kocevski/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.fits sctable="SC_DATA" outfile=/scratch/kocevski/193884/ltcube_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.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/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.fits
.....................!
real 15.28
user 13.97
sys 1.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193884/ft1_filtered_4FGL_J0211.2+1051_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.fits sctable="SC_DATA" expcube=/scratch/kocevski/193884/ltcube_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.fits outfile=/scratch/kocevski/193884/expmap_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.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/193884/ltcube_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.fits
.....................!
real 192.88
user 186.53
sys 5.68

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/193884/ft1_filtered_4FGL_J0211.2+1051_daily_bin1360.fits scfile=/scratch/kocevski/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.fits outfile=/scratch/kocevski/193884/cmap_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.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.41
user 0.39
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193884/ft1_filtered_4FGL_J0211.2+1051_daily_bin1360.fits scfile=/scratch/kocevski/193884/ft2_4FGL_J0211.2+1051_daily_bin1360.fits outfile=/scratch/kocevski/193884/cmap_HighResolution_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.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.33
user 0.39
sys 0.90

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1489       1.0000         .10000E-03   10000.    
     2 'norm      '    7.4423       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2688       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5799       1.0000         .10000E-03   10000.    
     5 'norm      '    17.066       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .30048E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7350       1.0000         .10000E-03   10000.    
     8 'norm      '    5.1139       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.163       1.0000         .10000E-03   10000.    
    10 'Prefactor '    46.474       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5233       1.0000         .10000E-03   10000.    
    12 'Prefactor '    85.684       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6275       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .81137E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18068E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.905       1.0000         .10000E-03   10000.    
    20 'norm      '    .10214E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.306       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.790       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .72032       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0732       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=   6840.457     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2948 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1477        4.3544        .41993E-06   -.43144E-04
   2  norm          7.4418        12.320        .16107E-06    .14187E-04
   3  Prefactor     1.2680        8.0173        .28127E-05   -.76439E-04
   4  Prefactor     4.5796        2.8905       -.12946E-07   -.85355E-04
   5  norm          17.065        7.2996       -.68128E-07   -.14362E-04
   6  Prefactor     .10263E-03    6.2134        .69477E-06** at limit **
   7  Prefactor     3.7351        3.1676        .63931E-07   -.35420E-04
   8  norm          5.1139        1.4098        .33183E-08   -.22930E-04
   9  Prefactor     28.158        33.539        .15315E-06   -.88974E-05
  10  Prefactor     46.463        42.514       -.15704E-06   -.60479E-04
  11  Prefactor     4.5221        5.0223       -.18136E-07    .82342E-05
  12  Prefactor     85.658        83.288       -.17106E-05   -.48206E-04
  13  Prefactor     3.6359        10.041       -.23882E-06   -.10008E-03
  14  Prefactor     .10000E-03    7.7934       -.26790E-07** at limit **
  15  Prefactor     .10000E-03    7.1001       -.20841E-06** at limit **
  16  Prefactor     .10000E-03    5.7322       -.47601E-06** at limit **
  17  norm          .81497E-01    .31463        .30934E-06    .25874E-03
  18  Prefactor     .10000E-03    87.891       -.25395E-05** at limit **
  19  Prefactor     17.902        19.900        .46772E-06    .30978E-04
  20  norm          .10000E-03    5.9612       -.39101E-06** at limit **
  21  Prefactor     20.307        19.428       -.28451E-06   -.84392E-04
  22  Prefactor     13.665        40.053       -.28810E-05   -.61908E-04
  23  Prefactor     .10000E-03    23.516       -.11280E-06** at limit **
  24  Normalizat    .72043        .22202       -.85877E-06   -.86213E-04
  25  Prefactor     1.0731        .12005        .11101E-06   -.20743E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14767
  norm       = 7.44177
  Prefactor  = 1.26805
  Prefactor  = 4.57958
  norm       = 17.0648
  Prefactor  = 0.000102634
  Prefactor  = 3.73506
  norm       = 5.11392
  Prefactor  = 28.1581
  Prefactor  = 46.4627
  Prefactor  = 4.52213
  Prefactor  = 85.658
  Prefactor  = 3.63591
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0814965
  Prefactor  = 0.0001
  Prefactor  = 17.9019
  norm       = 0.0001
  Prefactor  = 20.3072
  Prefactor  = 13.665
  Prefactor  = 0.0001
  Normalizat = 0.72043
  Prefactor  = 1.07314
 **********
 **   18 **HESSE 
 **********

 FCN=   6840.457     FROM HESSE     STATUS=OK           441 CALLS     3389 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1477        4.3372        .23825E-03   -1.5415    
   2  norm          7.4418        12.317        .14701E-03   -1.5162    
   3  Prefactor     1.2680        8.1220        .39516E-03   -1.5483    
   4  Prefactor     4.5796        2.8887        .10628E-03   -1.5280    
   5  norm          17.065        7.2891        .96951E-04   -1.4882    
   6  Prefactor     .10263E-03    10.599        .61986E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7351        3.1520        .12316E-03   -1.5321    
   8  norm          5.1139        1.4113        .49399E-04   -1.5256    
   9  Prefactor     28.158        33.468        .75492E-04   -1.4646    
  10  Prefactor     46.463        42.463        .58816E-04   -1.4344    
  11  Prefactor     4.5221        5.0104        .18603E-03   -1.5283    
  12  Prefactor     85.658        83.806        .43400E-04   -1.3854    
  13  Prefactor     3.6359        9.9877        .21212E-03   -1.5327    
  14  Prefactor     .10000E-03    7.8026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.1426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.7387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .81497E-01    .30745        .85917E-04   -1.5651    
  18  Prefactor     .10000E-03    87.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.902        19.926        .94653E-04   -1.4862    
  20  norm          .10000E-03    5.9727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.307        19.051        .88884E-04   -1.4806    
  22  Prefactor     13.665        40.510        .10786E-03   -1.4968    
  23  Prefactor     .10000E-03    23.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .72043        .24115        .38735E-03   -1.0309    
  25  Prefactor     1.0731        .13254        .18456E-03   -.90330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8481e-10
Minuit parameter uncertainties:
  1  4.33778
  2  12.321
  3  6.41944
  4  2.88884
  5  7.28952
  6  0.01057
  7  3.15214
  8  1.41134
  9  33.4904
  10  42.4907
  11  5.01091
  12  83.9219
  13  9.99226
  14  6.68196e-07
  15  1.72734e-05
  16  1.29448e-05
  17  0.30746
  18  0.000364014
  19  19.9334
  20  1.60722e-05
  21  19.0569
  22  40.5912
  23  6.26406e-06
  24  0.241505
  25  0.132585
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.706e+01  7.290e+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.073e+00  1.326e-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:  7.204e-01  2.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.23
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 4.84e-08
Energy Flux (Fixed Index): 6.18e-05 +/- 2.64e-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) = 6837.91058236
delta logL = 2.5467114685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6837.51360594
delta logL = 2.94368788371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5274       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1894       1.0000          .0000       5.0000    
     3 'Normalizat'    .76465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0728       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=   6837.514     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      221 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5295        5.1187        .32458E-02   -.16336E-02
   2  alpha         1.1894        .23998        .18655       -.56308E-04
   3  Normalizat    .76446        .20522        .85252E-01    .34736E-04
   4  Prefactor     1.0729        .11803        .38727E-01    .28317E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.52951
  alpha      = 1.1894
  Normalizat = 0.764458
  Prefactor  = 1.07288
 **********
 **   18 **HESSE 
 **********

 FCN=   6837.514     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5295        7.3005        .58652E-03   -1.5090    
   2  alpha         1.1894        .35219        .80084E-02   -.55182    
   3  Normalizat    .76446        .22659        .37756E-03   -1.0140    
   4  Prefactor     1.0729        .13092        .18487E-03   -.90338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14529e-12
Minuit parameter uncertainties:
  1  7.30118
  2  0.353818
  3  0.226872
  4  0.130963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193884': 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) = 6837.51360539
delta logL = 2.9436884362

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  9.530e+00  7.301e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  1.189e+00  3.538e-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.073e+00  1.310e-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:  7.645e-01  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.12
Ra Dec: 32.809 10.857
Photon Index (Free Index): 1.19 +/- 0.35
Photon Flux (Free Index): 3.85e-08 +/- 2.65e-08
Energy Flux (Free Index): 2.01e-04 +/- 1.40e-04

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/193884/cmap_HighResolution_591840001_592099201_4FGL_J0211.2+1051_daily_bin1360.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='2.01e-04', photon_flux_error='4.84e-08', dlogl='2.94e+00', energy_flux='6.18e-05', photon_flux2='3.85e-08', job_status='DONE', time_completed='2021-08-15 11:31:48.288115', photon_index_error2='0.35', photon_index2='1.19', ts='23.23', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.40e-04', EG='0.72', time_epoch_completed='1629052308.29', return_code='0', job_id='193884', GAL2='1.07', EG2='0.76', return_code2='0', energy_flux_error='2.64e-05', photon_flux_error2='2.65e-08', ts2='29.12', photon_index='2.05' WHERE bin_id='1360' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:31:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 193884: <4FGL_J0211.2+1051_daily_bin1360> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1360> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 11:15:24 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 11:15:31 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:15:31 2021
Terminated at Sun Aug 15 11:31:49 2021
Results reported at Sun Aug 15 11:31:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1360 32.8091 10.8569 591840001 592099201 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 :                                   718.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             254.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            985 sec.

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

