/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 77 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7424
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1619
RA = 32.8091, Dec = 10.8569
tmin = 658972801, tmax = 659232001
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='158712', job_status='RUN', time_executed='2021-12-07 13:08:12.108004', time_epoch_executed='1638911292.11' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1619'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158712

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158712/ft1_4FGL_J0211.2+1051_daily_bin1619.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158712/ft1_4FGL_J0211.2+1051_daily_bin1619.fits outfile=/scratch/kocevski/158712/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1619.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=658972801.0 tmax=659232001.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 2.96
user 2.72
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.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/158712/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1619.fits evtable="EVENTS" outfile="/scratch/kocevski/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits" evtable="EVENTS" scfile=/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits sctable="SC_DATA" outfile=/scratch/kocevski/158712/ltcube_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.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/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits
.....................!
real 15.00
user 14.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits sctable="SC_DATA" expcube=/scratch/kocevski/158712/ltcube_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.fits outfile=/scratch/kocevski/158712/expmap_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.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/158712/ltcube_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.fits
.....................!
real 192.80
user 186.02
sys 5.93

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/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits scfile=/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits outfile=/scratch/kocevski/158712/cmap_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits scfile=/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits outfile=/scratch/kocevski/158712/cmap_HighResolution_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.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.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits', '/scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits', expMap='/scratch/kocevski/158712/expmap_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.fits', expCube='/scratch/kocevski/158712/ltcube_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158712/Model_4FGL_J0211.2+1051_daily_bin1619.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/158712/ft1_filtered_4FGL_J0211.2+1051_daily_bin1619.fits
Spacecraft file(s): /scratch/kocevski/158712/ft2_4FGL_J0211.2+1051_daily_bin1619.fits
Exposure map: /scratch/kocevski/158712/expmap_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.fits
Exposure cube: /scratch/kocevski/158712/ltcube_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158712/Model_4FGL_J0211.2+1051_daily_bin1619.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 410.725446458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 409.827883976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15992E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2681       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18894E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .49753       1.0000         .10000E-03   10000.    
     5 'norm      '    .24853E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.855       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28356E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.7152       1.0000         .10000E-03   10000.    
     9 'Prefactor '    369.90       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.152       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10784E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5594       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .61264       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .77544       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .85501       1.0000         .10000E-03   10000.    
    17 'norm      '    .10131E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26744       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3098       1.0000         .10000E-03   10000.    
    20 'norm      '    .71030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11170E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.4127       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.5180       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .40342       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   409.7657     FROM MIGRAD    STATUS=CONVERGED    370 CALLS      948 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    157.18       -.17515E-05** at limit **
   2  norm          .10020E-03    272.98        .37457E-06** at limit **
   3  Prefactor     .69260        1334.9        .43391E-04    .62284E-03
   4  Prefactor     .10008E-03    673.29       -.81913E-06** at limit **
   5  norm          .10000E-03    38.951       -.28307E-07** at limit **
   6  Prefactor     26.656        56.572        .28223E-05   -.47158E-03
   7  Prefactor     .10000E-03    83.473       -.11815E-05** at limit **
   8  norm          7.7263        6.7043       -.20585E-06   -.93817E-04
   9  Prefactor     383.27        31.768        .16751E-07   -.92230E-03
  10  Prefactor     280.37        861.14        .21204E-05    .28538E-03
  11  Prefactor     .10000E-03    57.496       -.32873E-06** at limit **
  12  Prefactor     .10366E-03    1448.8       -.24955E-05** at limit **
  13  Prefactor     .10000E-03    151.19       -.27830E-06** at limit **
  14  Prefactor     .10095E-03    803.32        .15823E-05** at limit **
  15  Prefactor     .10058E-03    492.54       -.20625E-07** at limit **
  16  Prefactor     .10000E-03    320.94        .80581E-06** at limit **
  17  norm          .10000E-03    14.153        .31057E-07** at limit **
  18  Prefactor     .10055E-03    2071.0       -.73773E-05** at limit **
  19  Prefactor     .10036E-03    223.21       -.86010E-06** at limit **
  20  norm          .24623E-02    557.76        .84649E-05** at limit **
  21  Prefactor     .18430E-02    882.22       -.85105E-05** at limit **
  22  Prefactor     .30020        23.269        .18222E-05    .16801E-02
  23  Prefactor     2.5180        1.0212         .0000         .0000    
  24  Normalizat    .43350        .83287        .98704E-05   -.31862E-04
  25  Prefactor     .96184        .56091       -.21363E-05   -.56685E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.000100199
  Prefactor  = 0.692604
  Prefactor  = 0.00010008
  norm       = 0.0001
  Prefactor  = 26.6562
  Prefactor  = 0.000100003
  norm       = 7.72632
  Prefactor  = 383.272
  Prefactor  = 280.369
  Prefactor  = 0.0001
  Prefactor  = 0.000103658
  Prefactor  = 0.0001
  Prefactor  = 0.000100954
  Prefactor  = 0.000100581
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.00010055
  Prefactor  = 0.000100358
  norm       = 0.00246229
  Prefactor  = 0.00184303
  Prefactor  = 0.300198
  Prefactor  = 2.51803
  Normalizat = 0.433499
  Prefactor  = 0.961837
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   409.7657     FROM HESSE     STATUS=FAILED       111 CALLS     1059 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.740        .74749E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10020E-03    272.92        .68178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .69260        163.74        .91171E-01   -1.5874    
   4  Prefactor     .10008E-03    20.048        .77585E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    38.473        .10012E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.656        96.131        .15678E-02   -1.4675    
   7  Prefactor     .10000E-03    82.291        .10707E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.7263        6.5654        .36092E-02   -1.5152    
   9  Prefactor     383.27        490.72        .52984E-03   -1.1767    
  10  Prefactor     280.37        765.86        .19221E-02   -1.2343    
  11  Prefactor     .10000E-03    56.995        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10366E-03    1502.9        .53556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    149.12        .11722E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10095E-03    804.62        .95119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10058E-03    495.76        .12348E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    311.19        .12643E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.375        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10055E-03    2232.5        .10281E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10036E-03    226.07        .67491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .24623E-02    1172.5        .10486E-01   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .18430E-02    1364.2        .90788E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .30020        9564.9        .43181E-02   -1.5598    
  23  Prefactor     561.02        558.40         .0000       -1.5391    
  24  Normalizat    .43350        .74990        .98704E-05   -1.1560    
  25  Prefactor     .96184        1.3128       -.21363E-05   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.21269e-10
Minuit parameter uncertainties:
  1  0.000491434
  2  0.014808
  3  21.3564
  4  0.00252836
  5  3.4284e-06
  6  96.6966
  7  0.000934161
  8  6.56601
  9  496.225
  10  796.4
  11  9.57976e-05
  12  0.152276
  13  0.000173052
  14  0.0561949
  15  0.0342226
  16  0.00193619
  17  3.46873e-06
  18  0.0730247
  19  0.0180598
  20  3.39725
  21  3.1589
  22  139.894
  23  1.02121
  24  0.768435
  25  1.36054
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 409.765722723

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  3.428e-06  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.618e-01  1.361e+00  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.335e-01  7.684e-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: 1.07e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158712/likelihoodResults_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.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) = 409.765845385
delta logL = -0.000122661414139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 409.765723084
delta logL = -3.60634032859e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12321E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0420       1.0000          .0000       5.0000    
     3 'Normalizat'    .43368       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96179       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=   409.7657     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      194 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    39.774        .90712E-02** at limit **
   2  alpha         2.0650        3.4442        .42060       -.29865E-05
   3  Normalizat    .43350        .64566        .84613E-01    .78907E-05
   4  Prefactor     .96184        .45206        .45788E-01    .17956E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.06498
  Normalizat = 0.433503
  Prefactor  = 0.961836
 **********
 **   18 **HESSE 
 **********

 FCN=   409.7657     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    38.449        .12359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0650        3.4361        .50000       -.17490    
   3  Normalizat    .43350        .72718        .37493E-03   -1.1560    
   4  Prefactor     .96184        .51259        .17432E-03   -.94013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15143e-11
Minuit parameter uncertainties:
  1  4.75924e-05
  2  2.46316
  3  0.744005
  4  0.51521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158712': 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) = 409.765722706
delta logL = 1.70231828633e-08

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  4.759e-05  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.065e+00  2.463e+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:  9.618e-01  5.152e-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.335e-01  7.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 32.809 10.857

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/158712/cmap_HighResolution_658972801_659232001_4FGL_J0211.2+1051_daily_bin1619.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-04', job_status='DONE', photon_flux_upper_limit='1.07e-06', time_completed='2021-12-07 13:13:42.350064', job_id='158712', GAL2='0.96', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1638911622.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.96', dlogl='1.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1619' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 13:13:42 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 158712: <4FGL_J0211.2+1051_daily_bin1619> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1619> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 13:05:42 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 13:06:47 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:47 2021
Terminated at Tue Dec  7 13:13:43 2021
Results reported at Tue Dec  7 13:13:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1619 32.8091 10.8569 658972801 659232001 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 :                                   329.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             421.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   415 sec.
    Turnaround time :                            481 sec.

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

