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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1427
RA = 32.8091, Dec = 10.8569
tmin = 609206401, tmax = 609465601
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='194003', job_status='RUN', time_executed='2021-08-15 11:22:28.810481', time_epoch_executed='1629051748.81' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194003

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194003/ft1_4FGL_J0211.2+1051_daily_bin1427.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194003/ft2_4FGL_J0211.2+1051_daily_bin1427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194003/ft1_4FGL_J0211.2+1051_daily_bin1427.fits outfile=/scratch/kocevski/194003/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1427.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=609206401.0 tmax=609465601.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 9.76
user 2.83
sys 6.69

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194003/ft1_filtered_4FGL_J0211.2+1051_daily_bin1427.fits" evtable="EVENTS" scfile=/scratch/kocevski/194003/ft2_4FGL_J0211.2+1051_daily_bin1427.fits sctable="SC_DATA" outfile=/scratch/kocevski/194003/ltcube_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.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/194003/ft2_4FGL_J0211.2+1051_daily_bin1427.fits
.....................!
real 22.91
user 15.38
sys 7.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194003/ft1_filtered_4FGL_J0211.2+1051_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/194003/ft2_4FGL_J0211.2+1051_daily_bin1427.fits sctable="SC_DATA" expcube=/scratch/kocevski/194003/ltcube_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.fits outfile=/scratch/kocevski/194003/expmap_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.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/194003/ltcube_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.fits
.....................!
real 201.75
user 186.56
sys 12.94

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/194003/ft1_filtered_4FGL_J0211.2+1051_daily_bin1427.fits scfile=/scratch/kocevski/194003/ft2_4FGL_J0211.2+1051_daily_bin1427.fits outfile=/scratch/kocevski/194003/cmap_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.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 7.01
user 0.39
sys 6.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194003/ft1_filtered_4FGL_J0211.2+1051_daily_bin1427.fits scfile=/scratch/kocevski/194003/ft2_4FGL_J0211.2+1051_daily_bin1427.fits outfile=/scratch/kocevski/194003/cmap_HighResolution_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.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 6.96
user 0.40
sys 6.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     4 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0636       1.0000         .10000E-03   10000.    
     9 'Prefactor '    442.32       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    392.65       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0793       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    23.359       1.0000         .10000E-03   10000.    
    21 'Prefactor '    67.637       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16167E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0966       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=   504.0953     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     3580 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.017        .83263E-06** at limit **
   2  norm          .10000E-03    6626.0       -.17096E-02** at limit **
   3  Prefactor    10000.0        8577.1        .18628E-02** at limit **
   4  Prefactor    10000.0        1528.8        .22618E-03** at limit **
   5  norm          .10000E-03    235.74       -.81794E-05** at limit **
   6  Prefactor     .10000E-03    198.09        .71689E-04** at limit **
   7  Prefactor     .10003E-03    64.906       -.25206E-04** at limit **
   8  norm          1.0634        2.5992        .20669E-05    .36817E-03
   9  Prefactor     442.13        358.91       -.91376E-04   -.64745E-04
  10  Prefactor     .10000E-03    259.13       -.67722E-04** at limit **
  11  Prefactor     .10000E-03    90.512       -.46603E-04** at limit **
  12  Prefactor     392.74        515.95        .47044E-04   -.59647E-06
  13  Prefactor     .10000E-03    44.811       -.14474E-04** at limit **
  14  Prefactor     .10003E-03    211.82        .47995E-04** at limit **
  15  Prefactor     .10003E-03    117.54        .44430E-04** at limit **
  16  Prefactor     .10000E-03    89.973       -.48286E-04** at limit **
  17  norm          1.0792        3.3883       -.46970E-06   -.13034E-03
  18  Prefactor     .10000E-03    138.82        .95646E-04** at limit **
  19  Prefactor     .10000E-03    59.656        .90997E-05** at limit **
  20  norm          23.409        83.295        .72770E-04   -.76270E-04
  21  Prefactor     67.640        96.719        .35994E-05    .36447E-06
  22  Prefactor     .10001E-03    310.43       -.20665E-03** at limit **
  23  Prefactor     .10000E-03    54.662        .43494E-04** at limit **
  24  Normalizat    .10000E-01    .56419        .22552E-04** at limit **
  25  Prefactor     1.0958        .32740       -.11467E-04   -.12753E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  norm       = 1.06341
  Prefactor  = 442.131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 392.741
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  norm       = 1.0792
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 23.4085
  Prefactor  = 67.6404
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.0958
 **********
 **   18 **HESSE 
 **********

 FCN=   504.0953     FROM HESSE     STATUS=OK           411 CALLS     3991 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.135        .12220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6625.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        8576.6        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        1528.8        .21256E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    235.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    198.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10003E-03    64.922        .17662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0634        2.5110        .53886E-03   -1.5502    
   9  Prefactor     442.13        357.71        .97271E-04   -1.1471    
  10  Prefactor     .10000E-03    259.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    90.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     392.74        515.98        .10297E-03   -1.1718    
  13  Prefactor     .10000E-03    44.812        .14696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    212.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10003E-03    117.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    90.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0792        3.2665        .64071E-04   -1.5500    
  18  Prefactor     .10000E-03    138.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    59.722        .16959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          23.409        84.386        .82878E-04   -1.4740    
  21  Prefactor     67.640        95.667        .48804E-04   -1.4061    
  22  Prefactor     .10001E-03    310.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    54.665        .16232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .70536        .94618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.0958        .31177        .17854E-03   -.89601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29462e-09
Minuit parameter uncertainties:
  1  0.000106388
  2  9.00609e-05
  3  0.00403256
  4  0.000384294
  5  0.00072138
  6  2.97404e-06
  7  0.00258286
  8  2.51125
  9  359.537
  10  1.59907e-06
  11  2.5516e-05
  12  522.245
  13  5.39539e-05
  14  0.00467761
  15  0.0038899
  16  0.000286582
  17  3.26703
  18  0.000381567
  19  0.000855837
  20  84.8213
  21  95.8859
  22  0.00352716
  23  2.96778e-05
  24  6.49821e-05
  25  0.312286
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  7.214e-04  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.096e+00  3.123e-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.000e-02  6.498e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 7.68e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194003/likelihoodResults_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.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) = 504.095340106
delta logL = -2.00605792884e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 504.095326427
delta logL = -6.38096457806e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5801       1.0000          .0000       5.0000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0959       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=   504.0953     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      274 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6945.3        .18142E-01** at limit **
   2  alpha         2.0678        2.6641        .50000       -.71481E-09
   3  Normalizat    .10000E-01    .28596E-01    .94620E-02** at limit **
   4  Prefactor     1.0958        .50610E-01    .17855E-03   -.17197E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.06784
  Normalizat = 0.01
  Prefactor  = 1.0958
 **********
 **   18 **HESSE 
 **********

 FCN=   504.0953     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9930.0        .33816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0678        2.6838        .50000       -.17374    
   3  Normalizat    .10000E-01    .15483        .18924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0958        .11795        .35709E-04   -.89601    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.58325e-11
Minuit parameter uncertainties:
  1  0.000892522
  2  21396.7
  3  8.23617e-08
  4  0.117974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194003': 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): 102
logL (Free Index) = 504.095320045
delta logL = 1.08747144623e-09

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  8.925e-04  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.068e+00  2.140e+04  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.096e+00  1.180e-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.000e-02  8.236e-08  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/194003/cmap_HighResolution_609206401_609465601_4FGL_J0211.2+1051_daily_bin1427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='7.68e-06', time_completed='2021-08-15 11:30:18.856589', job_id='194003', GAL2='1.10', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629052218.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.09e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1427' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:30:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 194003: <4FGL_J0211.2+1051_daily_bin1427> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1427> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 11:15:32 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 11:16:23 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:16:23 2021
Terminated at Sun Aug 15 11:30:20 2021
Results reported at Sun Aug 15 11:30:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1427 32.8091 10.8569 609206401 609465601 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             198.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            888 sec.

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

