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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1624
RA = 32.8091, Dec = 10.8569
tmin = 660268801, tmax = 660528001
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='158718', job_status='RUN', time_executed='2021-12-07 13:08:31.290976', time_epoch_executed='1638911311.29' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158718

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158718/ft1_4FGL_J0211.2+1051_daily_bin1624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158718/ft2_4FGL_J0211.2+1051_daily_bin1624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158718/ft1_4FGL_J0211.2+1051_daily_bin1624.fits outfile=/scratch/kocevski/158718/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1624.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=660268801.0 tmax=660528001.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 3.88
user 3.66
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158718/ft1_filtered_4FGL_J0211.2+1051_daily_bin1624.fits" evtable="EVENTS" scfile=/scratch/kocevski/158718/ft2_4FGL_J0211.2+1051_daily_bin1624.fits sctable="SC_DATA" outfile=/scratch/kocevski/158718/ltcube_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.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/158718/ft2_4FGL_J0211.2+1051_daily_bin1624.fits
.....................!
real 14.69
user 14.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158718/ft1_filtered_4FGL_J0211.2+1051_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/158718/ft2_4FGL_J0211.2+1051_daily_bin1624.fits sctable="SC_DATA" expcube=/scratch/kocevski/158718/ltcube_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.fits outfile=/scratch/kocevski/158718/expmap_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.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/158718/ltcube_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.fits
.....................!
real 194.12
user 188.39
sys 5.14

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/158718/ft1_filtered_4FGL_J0211.2+1051_daily_bin1624.fits scfile=/scratch/kocevski/158718/ft2_4FGL_J0211.2+1051_daily_bin1624.fits outfile=/scratch/kocevski/158718/cmap_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158718/ft1_filtered_4FGL_J0211.2+1051_daily_bin1624.fits scfile=/scratch/kocevski/158718/ft2_4FGL_J0211.2+1051_daily_bin1624.fits outfile=/scratch/kocevski/158718/cmap_HighResolution_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.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 0.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.278       1.0000         .10000E-03   10000.    
     2 'norm      '    22.917       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3433       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4230       1.0000         .10000E-03   10000.    
     5 'norm      '    5.0051       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6171       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1418       1.0000         .10000E-03   10000.    
     8 'norm      '    4.0180       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9986       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3195       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3261       1.0000         .10000E-03   10000.    
    17 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .14994       1.0000         .10000E-03   10000.    
    21 'Prefactor '    52.569       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.9118       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62717       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93428       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=   6213.243     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     3003 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.276        6.7343        .35736E-07   -.59881E-05
   2  norm          22.910        20.379        .32044E-08    .10650E-05
   3  Prefactor     9.3413        6.6982        .19919E-07   -.36525E-06
   4  Prefactor     2.4224        2.0295        .26330E-07    .11226E-04
   5  norm          5.0039        4.5000        .67337E-07    .58334E-05
   6  Prefactor     6.6162        5.5403        .13727E-07    .47845E-04
   7  Prefactor     4.1416        2.6366        .14470E-07    .18557E-04
   8  norm          4.0178        1.2743        .62093E-08    .22405E-04
   9  Prefactor     .10000E-03    7.6768        .11138E-07** at limit **
  10  Prefactor     48.437        37.121       -.29428E-06   -.57665E-04
  11  Prefactor     2.9973        6.2575        .46042E-06   -.13582E-04
  12  Prefactor     .10000E-03    18.267        .40959E-08** at limit **
  13  Prefactor     .10000E-03    3.7985       -.17095E-06** at limit **
  14  Prefactor     3.3181        13.196        .36747E-06   -.11076E-04
  15  Prefactor     .10000E-03    4.0703        .18721E-07** at limit **
  16  Prefactor     2.3273        7.2874        .13428E-05    .24749E-03
  17  norm          .10000E-03    .33650       -.65096E-06** at limit **
  18  Prefactor     .10000E-03    14.948       -.10547E-07** at limit **
  19  Prefactor     .10000E-03    8.7525        .90898E-07** at limit **
  20  norm          .10048E-03    7.5366       -.32856E-06** at limit **
  21  Prefactor     52.600        24.951        .14302E-05    .44648E-03
  22  Prefactor     .10000E-03    32.557        .32058E-08** at limit **
  23  Prefactor     5.8637        33.953       -.56121E-06    .55316E-04
  24  Normalizat    .62707        .19257       -.10497E-05    .15233E-03
  25  Prefactor     .93453        .11145        .41830E-06    .32674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2762
  norm       = 22.91
  Prefactor  = 9.34132
  Prefactor  = 2.42238
  norm       = 5.00394
  Prefactor  = 6.61619
  Prefactor  = 4.14157
  norm       = 4.01777
  Prefactor  = 0.0001
  Prefactor  = 48.4369
  Prefactor  = 2.99728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.31814
  Prefactor  = 0.0001
  Prefactor  = 2.32729
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100481
  Prefactor  = 52.5998
  Prefactor  = 0.0001
  Prefactor  = 5.86367
  Normalizat = 0.627073
  Prefactor  = 0.934532
 **********
 **   18 **HESSE 
 **********

 FCN=   6213.243     FROM HESSE     STATUS=OK           439 CALLS     3442 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.276        6.7384        .11432E-03   -1.5007    
   2  norm          22.910        20.380        .83672E-04   -1.4750    
   3  Prefactor     9.3413        6.6940        .13111E-03   -1.5097    
   4  Prefactor     2.4224        2.0201        .99023E-04   -1.5397    
   5  norm          5.0039        4.4911        .15152E-03   -1.5261    
   6  Prefactor     6.6162        5.5392        .15600E-03   -1.5193    
   7  Prefactor     4.1416        2.6302        .97191E-04   -1.5301    
   8  norm          4.0178        1.2763        .47790E-04   -1.5307    
   9  Prefactor     .10000E-03    7.6836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     48.437        36.941        .57605E-04   -1.4315    
  11  Prefactor     2.9973        6.2323        .23441E-03   -1.5362    
  12  Prefactor     .10000E-03    18.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.8243        .14995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3181        13.174        .22218E-03   -1.5344    
  15  Prefactor     .10000E-03    4.0822        .15525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3273        7.3242        .26892E-03   -1.5403    
  17  norm          .10000E-03    .49543        .78530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.7809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10048E-03    14.543        .63676E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     52.600        25.922        .55317E-04   -1.4256    
  22  Prefactor     .10000E-03    32.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.8637        33.755        .16516E-03   -1.5224    
  24  Normalizat    .62707        .21388        .35717E-03   -1.0685    
  25  Prefactor     .93453        .12717        .17221E-03   -.94945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.09077e-10
Minuit parameter uncertainties:
  1  6.73884
  2  20.3857
  3  6.69457
  4  2.02018
  5  4.49137
  6  5.53964
  7  2.63025
  8  1.27632
  9  8.99654e-07
  10  36.9584
  11  6.23364
  12  2.48068e-06
  13  3.16298e-06
  14  13.1851
  15  3.77652e-07
  16  7.32697
  17  1.93842e-05
  18  6.10598e-06
  19  1.5248e-06
  20  0.00528841
  21  25.9271
  22  2.58277e-05
  23  28.1612
  24  0.214159
  25  0.127213
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  5.004e+00  4.491e+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:  9.345e-01  1.272e-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:  6.271e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.93
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 3.32e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.63e-05

TS (Fixed Index): 1.93
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158718/likelihoodResults_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.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): 0
logL (Free Index) = 6213.09395439
delta logL = 0.149473371406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6213.09078555
delta logL = 0.152642206781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1576       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4837       1.0000          .0000       5.0000    
     3 'Normalizat'    .61158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93945       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6213.091     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      281 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1576        4.8187        .62567E-03   -.33721E-03
   2  alpha         2.4833        .88227        .14205E-01    .69135E-05
   3  Normalizat    .61168        .20814        .36115E-03    .64848E-05
   4  Prefactor     .93936        .12095        .17177E-03    .15355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15757
  alpha      = 2.48331
  Normalizat = 0.611675
  Prefactor  = 0.939357
 **********
 **   18 **HESSE 
 **********

 FCN=   6213.091     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1576        4.4283        .25027E-04   -1.5300    
   2  alpha         2.4833        .81320        .56818E-03   -.66762E-02
   3  Normalizat    .61168        .20795        .14446E-04   -1.0749    
   4  Prefactor     .93936        .12086        .68708E-05   -.94779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.08453e-11
Minuit parameter uncertainties:
  1  4.42863
  2  0.828267
  3  0.208212
  4  0.120891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158718': 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) = 6213.09078494
delta logL = 0.152642817515

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  4.158e+00  4.429e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.483e+00  8.283e-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:  9.394e-01  1.209e-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:  6.117e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.24
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.48 +/- 0.83
Photon Flux (Free Index): 4.83e-08 +/- 4.53e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.27e-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/158718/cmap_HighResolution_660268801_660528001_4FGL_J0211.2+1051_daily_bin1624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-05', comment='SUCCESS', photon_flux='3.32e-08', energy_flux2='1.44e-05', photon_flux_error='2.98e-08', dlogl='1.53e-01', energy_flux='1.81e-05', photon_flux2='4.83e-08', job_status='DONE', time_completed='2021-12-07 13:20:37.067873', photon_index_error2='0.83', photon_index2='2.48', ts='1.93', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.27e-05', EG='0.63', time_epoch_completed='1638912037.07', return_code='0', job_id='158718', GAL2='0.94', EG2='0.61', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='4.53e-08', ts2='2.24', photon_index='2.05' WHERE bin_id='1624' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 13:20:37 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 158718: <4FGL_J0211.2+1051_daily_bin1624> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1624> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 13:05:43 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 13:06:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 13:06:51 2021
Terminated at Tue Dec  7 13:20:37 2021
Results reported at Tue Dec  7 13:20:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1624 32.8091 10.8569 660268801 660528001 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 :                                   724.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            894 sec.

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

