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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1411
RA = 32.8091, Dec = 10.8569
tmin = 605059201, tmax = 605318401
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='193971', job_status='RUN', time_executed='2021-08-15 11:18:52.283892', time_epoch_executed='1629051532.28' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193971/ft1_4FGL_J0211.2+1051_daily_bin1411.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193971/ft1_4FGL_J0211.2+1051_daily_bin1411.fits outfile=/scratch/kocevski/193971/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1411.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=605059201.0 tmax=605318401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.26
user 5.15
sys 1.04

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.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/193971/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1411.fits evtable="EVENTS" outfile="/scratch/kocevski/193971/ft1_filtered_4FGL_J0211.2+1051_daily_bin1411.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.32
user 0.33
sys 0.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193971/ft1_filtered_4FGL_J0211.2+1051_daily_bin1411.fits" evtable="EVENTS" scfile=/scratch/kocevski/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.fits sctable="SC_DATA" outfile=/scratch/kocevski/193971/ltcube_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.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/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.fits
.....................!
real 14.79
user 13.48
sys 1.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193971/ft1_filtered_4FGL_J0211.2+1051_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.fits sctable="SC_DATA" expcube=/scratch/kocevski/193971/ltcube_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.fits outfile=/scratch/kocevski/193971/expmap_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.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/193971/ltcube_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.fits
.....................!
real 193.82
user 186.24
sys 6.24

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/193971/ft1_filtered_4FGL_J0211.2+1051_daily_bin1411.fits scfile=/scratch/kocevski/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.fits outfile=/scratch/kocevski/193971/cmap_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.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.32
user 0.38
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193971/ft1_filtered_4FGL_J0211.2+1051_daily_bin1411.fits scfile=/scratch/kocevski/193971/ft2_4FGL_J0211.2+1051_daily_bin1411.fits outfile=/scratch/kocevski/193971/cmap_HighResolution_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.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.32
user 0.39
sys 0.92

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.5316       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0950       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9518       1.0000         .10000E-03   10000.    
     5 'norm      '    8.2070       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4942       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4347       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.695       1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.841       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13094E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1717       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.4919       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.133       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19618E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .57729       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.289       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.813       1.0000         .10000E-03   10000.    
    21 'Prefactor '    38.813       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    43.594       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .53928       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2208       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=   6634.436     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2971 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9697        .16676E-07** at limit **
   2  norm          9.5328        16.215       -.24095E-06   -.19277E-05
   3  Prefactor     7.0956        5.9091       -.10652E-06   -.57665E-05
   4  Prefactor     7.9521        3.5792       -.31360E-07   -.16899E-03
   5  norm          8.2071        5.4772       -.11978E-06   -.75856E-04
   6  Prefactor     3.4938        4.8409       -.12056E-06   -.18903E-04
   7  Prefactor     .10000E-03    1.2413       -.12821E-07** at limit **
   8  norm          1.4348        1.0133       -.25294E-07   -.86094E-04
   9  Prefactor     16.692        31.043       -.46960E-06   -.26249E-04
  10  Prefactor     30.831        37.856        .79582E-06   -.61689E-04
  11  Prefactor     .10000E-03    10.156        .19518E-05** at limit **
  12  Prefactor     .10000E-03    38.984        .10868E-05** at limit **
  13  Prefactor     2.1973        17.696        .40606E-05    .69846E-04
  14  Prefactor     8.4989        26.669        .26256E-06   -.28984E-04
  15  Prefactor     15.127        15.804        .39842E-07   -.11268E-03
  16  Prefactor     .10001E-03    9.1360       -.39520E-05** at limit **
  17  norm          .57880        .68338        .49857E-06    .99819E-03
  18  Prefactor     25.181        58.709       -.10651E-05   -.10396E-04
  19  Prefactor     .10000E-03    15.893        .18862E-06** at limit **
  20  norm          11.810        15.778        .50295E-06   -.73165E-04
  21  Prefactor     38.786        28.174        .85365E-06   -.43919E-04
  22  Prefactor     .10000E-03    31.847       -.40436E-05** at limit **
  23  Prefactor     43.596        33.777        .54996E-06   -.47847E-04
  24  Normalizat    .53897        .22954        .23844E-06   -.11906E-03
  25  Prefactor     1.2209        .13109        .10022E-05   -.34816E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.53277
  Prefactor  = 7.09561
  Prefactor  = 7.95207
  norm       = 8.20713
  Prefactor  = 3.49382
  Prefactor  = 0.0001
  norm       = 1.43477
  Prefactor  = 16.6916
  Prefactor  = 30.8306
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 2.19727
  Prefactor  = 8.49894
  Prefactor  = 15.1269
  Prefactor  = 0.000100013
  norm       = 0.578799
  Prefactor  = 25.1813
  Prefactor  = 0.0001
  norm       = 11.8096
  Prefactor  = 38.786
  Prefactor  = 0.000100001
  Prefactor  = 43.5959
  Normalizat = 0.538973
  Prefactor  = 1.22089
 **********
 **   18 **HESSE 
 **********

 FCN=   6634.436     FROM HESSE     STATUS=OK           437 CALLS     3408 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9731        .11162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.5328        16.202        .12980E-03   -1.5090    
   3  Prefactor     7.0956        5.9048        .15060E-03   -1.5175    
   4  Prefactor     7.9521        3.5710        .96498E-04   -1.5144    
   5  norm          8.2071        5.4719        .13995E-03   -1.5135    
   6  Prefactor     3.4938        4.8316        .20509E-03   -1.5334    
   7  Prefactor     .10000E-03    1.2554        .88479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4348        1.0003        .65928E-04   -1.5468    
   9  Prefactor     16.692        30.868        .98022E-04   -1.4891    
  10  Prefactor     30.831        37.757        .72148E-04   -1.4597    
  11  Prefactor     .10000E-03    9.9530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    38.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1973        16.203        .27942E-03   -1.5411    
  14  Prefactor     8.4989        26.468        .13756E-03   -1.5125    
  15  Prefactor     15.127        15.730        .10296E-03   -1.4930    
  16  Prefactor     .10001E-03    38.577        .43483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .57880        .63970        .59480E-03   -1.5556    
  18  Prefactor     25.181        58.739        .79659E-04   -1.4704    
  19  Prefactor     .10000E-03    15.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.810        15.741        .11655E-03   -1.5021    
  21  Prefactor     38.786        27.562        .64336E-04   -1.4462    
  22  Prefactor     .10000E-03    31.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     43.596        33.807        .60719E-04   -1.4386    
  24  Normalizat    .53897        .23728        .43137E-03   -1.1064    
  25  Prefactor     1.2209        .13924        .17800E-03   -.85691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04424e-09
Minuit parameter uncertainties:
  1  2.55889e-06
  2  16.2096
  3  5.90526
  4  3.57108
  5  5.4722
  6  4.83217
  7  5.02002e-06
  8  1.00028
  9  30.8979
  10  37.7862
  11  0.000393067
  12  0.000137356
  13  11.9377
  14  26.5049
  15  15.7345
  16  0.00140479
  17  0.639706
  18  58.8747
  19  4.95923e-05
  20  15.7469
  21  27.5713
  22  0.000404362
  23  33.8223
  24  0.237731
  25  0.139277
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.221e+00  1.393e-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:  5.390e-01  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.01
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.45e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.98e-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) = 6634.32676374
delta logL = 0.109219047737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6634.31948296
delta logL = 0.116499827052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7832       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3689       1.0000          .0000       5.0000    
     3 'Normalizat'    .51611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2270       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=   6634.319     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      215 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7798        107.96        .35933E-02    .14334E-03
   2  alpha         2.3693        3.2552        .28351        .46252E-04
   3  Normalizat    .51632        .17711        .99260E-01    .46987E-04
   4  Prefactor     1.2266        .59214E-01    .34022E-01   -.12813E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.77983
  alpha      = 2.36932
  Normalizat = 0.51632
  Prefactor  = 1.22665
 **********
 **   18 **HESSE 
 **********

 FCN=   6634.319     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7798        5.4123        .13144E-03   -1.5150    
   2  alpha         2.3693        .67677        .14756E-01   -.52296E-01
   3  Normalizat    .51632        .22888        .43997E-03   -1.1166    
   4  Prefactor     1.2266        .13551        .17757E-03   -.85515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38642e-12
Minuit parameter uncertainties:
  1  5.41263
  2  0.685345
  3  0.229301
  4  0.135548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193971': 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) = 6634.3194777
delta logL = 0.116505086338

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.227e+00  1.355e-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:  5.163e-01  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.24
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.37 +/- 0.69
Photon Flux (Free Index): 7.71e-08 +/- 6.49e-08
Energy Flux (Free Index): 2.61e-05 +/- 1.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/193971/cmap_HighResolution_605059201_605318401_4FGL_J0211.2+1051_daily_bin1411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.45e-08', energy_flux2='2.61e-05', photon_flux_error='3.63e-08', dlogl='1.17e-01', energy_flux='2.97e-05', photon_flux2='7.71e-08', job_status='DONE', time_completed='2021-08-15 11:31:43.684746', photon_index_error2='0.69', photon_index2='2.37', ts='6.01', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.69e-05', EG='0.54', time_epoch_completed='1629052303.68', return_code='0', job_id='193971', GAL2='1.23', EG2='0.52', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='6.49e-08', ts2='6.24', photon_index='2.05' WHERE bin_id='1411' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:31:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 193971: <4FGL_J0211.2+1051_daily_bin1411> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1411 32.8091 10.8569 605059201 605318401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0211.2+1051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   718.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            975 sec.

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

