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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1318
RA = 32.8091, Dec = 10.8569
tmin = 580953601, tmax = 581212801
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='192407', job_status='RUN', time_executed='2021-08-15 11:16:09.827182', time_epoch_executed='1629051369.83' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192407

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192407/ft1_4FGL_J0211.2+1051_daily_bin1318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192407/ft2_4FGL_J0211.2+1051_daily_bin1318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192407/ft1_4FGL_J0211.2+1051_daily_bin1318.fits outfile=/scratch/kocevski/192407/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1318.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=580953601.0 tmax=581212801.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.80
user 2.78
sys 0.95

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192407/ft1_filtered_4FGL_J0211.2+1051_daily_bin1318.fits" evtable="EVENTS" scfile=/scratch/kocevski/192407/ft2_4FGL_J0211.2+1051_daily_bin1318.fits sctable="SC_DATA" outfile=/scratch/kocevski/192407/ltcube_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.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/192407/ft2_4FGL_J0211.2+1051_daily_bin1318.fits
.....................!
real 16.97
user 15.44
sys 1.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192407/ft1_filtered_4FGL_J0211.2+1051_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/192407/ft2_4FGL_J0211.2+1051_daily_bin1318.fits sctable="SC_DATA" expcube=/scratch/kocevski/192407/ltcube_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.fits outfile=/scratch/kocevski/192407/expmap_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.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/192407/ltcube_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.fits
.....................!
real 194.79
user 187.83
sys 6.49

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/192407/ft1_filtered_4FGL_J0211.2+1051_daily_bin1318.fits scfile=/scratch/kocevski/192407/ft2_4FGL_J0211.2+1051_daily_bin1318.fits outfile=/scratch/kocevski/192407/cmap_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.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.38
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192407/ft1_filtered_4FGL_J0211.2+1051_daily_bin1318.fits scfile=/scratch/kocevski/192407/ft2_4FGL_J0211.2+1051_daily_bin1318.fits outfile=/scratch/kocevski/192407/cmap_HighResolution_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.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.41
user 0.37
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    20.543       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2281       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    37.264       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9941       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8688       1.0000         .10000E-03   10000.    
     8 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    72.440       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3847       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3545       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12324E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.734       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    68.081       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9914       1.0000         .10000E-03   10000.    
    20 'norm      '    21.288       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11154E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .72565E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    65.844       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.5444       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91156       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=   5302.069     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     3447 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8967        .26776E-07** at limit **
   2  norm          20.535        19.176       -.39578E-06   -.66129E-05
   3  Prefactor     1.2376        22.322        .21101E-04   -.34282E-04
   4  Prefactor     .10000E-03    4.4845        .29089E-07** at limit **
   5  norm          37.252        13.390       -.72253E-07    .29741E-04
   6  Prefactor     1.9910        10.678       -.14115E-06   -.16840E-04
   7  Prefactor     3.8707        4.7964       -.30226E-06   -.79316E-04
   8  norm          .10000E-03    .40746        .22916E-06** at limit **
   9  Prefactor     .10000E-03    10.893       -.64305E-07** at limit **
  10  Prefactor     72.354        81.434        .84728E-05    .39054E-05
  11  Prefactor     3.3651        18.870        .65086E-06    .93922E-04
  12  Prefactor     7.2623        602.31        .35356E-04    .10876E-05
  13  Prefactor     .10001E-03    80.819       -.10583E-04** at limit **
  14  Prefactor     .10000E-03    46.227        .19281E-05** at limit **
  15  Prefactor     19.755        31.982       -.69863E-05   -.10469E-04
  16  Prefactor     .10000E-03    7.2629       -.54718E-06** at limit **
  17  norm          .10000E-03    .23498       -.37257E-06** at limit **
  18  Prefactor     68.082        71.760       -.43459E-06    .26419E-04
  19  Prefactor     6.0004        24.645        .11536E-05    .11888E-06
  20  norm          21.194        37.850        .93253E-05    .10912E-04
  21  Prefactor     .10000E-03    16.145       -.13515E-05** at limit **
  22  Prefactor     .10001E-03    205.31        .37461E-05** at limit **
  23  Prefactor     65.694        75.068        .14425E-04   -.39151E-04
  24  Normalizat    1.5431        .26344       -.47407E-05    .54108E-04
  25  Prefactor     .91219        .16056        .12098E-05    .15595E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 20.5355
  Prefactor  = 1.23758
  Prefactor  = 0.0001
  norm       = 37.252
  Prefactor  = 1.99098
  Prefactor  = 3.87067
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.3538
  Prefactor  = 3.36507
  Prefactor  = 7.26229
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 19.7546
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 68.0823
  Prefactor  = 6.00036
  norm       = 21.1945
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 65.6943
  Normalizat = 1.54314
  Prefactor  = 0.912191
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.069     FROM HESSE     STATUS=OK           431 CALLS     3878 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9021        .97928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          20.535        19.188        .88369E-04   -1.4801    
   3  Prefactor     1.2376        22.583        .20304E-02   -1.5485    
   4  Prefactor     .10000E-03    4.6844        .30061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          37.252        13.389        .65655E-04   -1.4487    
   6  Prefactor     1.9910        10.650        .29336E-03   -1.5426    
   7  Prefactor     3.8707        4.7595        .15929E-03   -1.5314    
   8  norm          .10000E-03    .68128        .90056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     72.354        81.587        .23585E-03   -1.4005    
  11  Prefactor     3.3651        18.325        .21993E-03   -1.5341    
  12  Prefactor     7.2623        602.49        .14790E-03   -1.5169    
  13  Prefactor     .10001E-03    82.478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    46.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.755        31.824        .90161E-04   -1.4819    
  16  Prefactor     .10000E-03    7.2712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .23701        .34524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     68.082        71.688        .48645E-04   -1.4056    
  19  Prefactor     6.0004        24.640        .16404E-03   -1.5218    
  20  norm          21.194        37.796        .86812E-04   -1.4787    
  21  Prefactor     .10000E-03    16.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    205.76        .20959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     65.694        74.967        .24730E-03   -1.4085    
  24  Normalizat    1.5431        .29773        .31158E-03   -.76573    
  25  Prefactor     .91219        .18328        .23259E-03   -.95716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94882e-10
Minuit parameter uncertainties:
  1  1.88933e-06
  2  19.194
  3  10.5775
  4  2.03566e-05
  5  13.3904
  6  9.21189
  7  4.76001
  8  4.23027e-06
  9  8.69456e-06
  10  81.7133
  11  15.7127
  12  133.71
  13  0.00137414
  14  0.000224435
  15  31.8512
  16  4.91326e-05
  17  6.19536e-06
  18  71.7793
  19  24.3357
  20  37.8391
  21  0.000161739
  22  0.00328552
  23  75.0748
  24  0.298066
  25  0.183406
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  3.725e+01  1.339e+01  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.122e-01  1.834e-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:  1.543e+00  2.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.61
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.47e-07 +/- 8.88e-08
Energy Flux (Fixed Index): 1.35e-04 +/- 4.85e-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) = 5301.34403068
delta logL = 0.72500940756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5301.33273214
delta logL = 0.73630795091

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.961       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3928       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4781       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92578       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5301.333     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.946        11.964        .68764E-04    .12224E-02
   2  alpha         2.3929        .28481        .64077E-02    .20041E-03
   3  Normalizat    1.4782        .29675        .31603E-03   -.61911E-04
   4  Prefactor     .92582        .17495        .23049E-03   -.49570E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.9463
  alpha      = 2.39291
  Normalizat = 1.47818
  Prefactor  = 0.925816
 **********
 **   18 **HESSE 
 **********

 FCN=   5301.333     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.946        11.805        .13753E-04   -1.4542    
   2  alpha         2.3929        .28087        .25631E-03   -.42850E-01
   3  Normalizat    1.4782        .29685        .12641E-04   -.78393    
   4  Prefactor     .92582        .17502        .92197E-05   -.95245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12989e-10
Minuit parameter uncertainties:
  1  11.806
  2  0.281468
  3  0.297196
  4  0.175129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192407': 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) = 5301.33273124
delta logL = 0.736308848141

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  3.395e+01  1.181e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.393e+00  2.815e-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.258e-01  1.751e-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:  1.478e+00  2.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.06
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.39 +/- 0.28
Photon Flux (Free Index): 3.47e-07 +/- 1.29e-07
Energy Flux (Free Index): 1.14e-04 +/- 3.68e-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/192407/cmap_HighResolution_580953601_581212801_4FGL_J0211.2+1051_daily_bin1318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.47e-07', energy_flux2='1.14e-04', photon_flux_error='8.88e-08', dlogl='7.36e-01', energy_flux='1.35e-04', photon_flux2='3.47e-07', job_status='DONE', time_completed='2021-08-15 11:27:06.157596', photon_index_error2='0.28', photon_index2='2.39', ts='23.61', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.68e-05', EG='1.54', time_epoch_completed='1629052026.16', return_code='0', job_id='192407', GAL2='0.93', EG2='1.48', return_code2='0', energy_flux_error='4.85e-05', photon_flux_error2='1.29e-07', ts2='25.06', photon_index='2.05' WHERE bin_id='1318' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:27:06 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1318 32.8091 10.8569 580953601 581212801 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 :                                   663.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            983 sec.

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

