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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin601
RA = 332.817, Dec = -13.4189
tmin = 395107201, tmax = 395366401
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='215024', job_status='RUN', time_executed='2021-09-28 06:44:36.724683', time_epoch_executed='1632836676.72' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215024

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

Retrieving the FT1 file...

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

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

Retrieving 55 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215024/ft1_4FGL_J2211.2-1325_daily_bin601.fits


Retrieving the FT1 file...

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

Retrieving 55 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215024/ft1_4FGL_J2211.2-1325_daily_bin601.fits outfile=/scratch/kocevski/215024/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin601.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=395107201.0 tmax=395366401.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 8.27
user 7.77
sys 0.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.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/215024/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin601.fits evtable="EVENTS" outfile="/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits" evtable="EVENTS" scfile=/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits sctable="SC_DATA" outfile=/scratch/kocevski/215024/ltcube_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.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/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits
.....................!
real 11.22
user 10.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits evtable="EVENTS" scfile=/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits sctable="SC_DATA" expcube=/scratch/kocevski/215024/ltcube_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.fits outfile=/scratch/kocevski/215024/expmap_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.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/215024/ltcube_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.fits
.....................!
real 191.00
user 186.38
sys 4.26

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J2211.2-1325 @ 332.817 -13.4189

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits scfile=/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits outfile=/scratch/kocevski/215024/cmap_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.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=332.817 yref=-13.4189 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits scfile=/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits outfile=/scratch/kocevski/215024/cmap_HighResolution_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.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=332.817 yref=-13.4189 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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits evtable="EVENTS" scfile=/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215024/Model_4FGL_J2211.2-1325_daily_bin601.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/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits.....................!
real 41.64
user 40.22
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits', '/scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits', expMap='/scratch/kocevski/215024/expmap_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.fits', expCube='/scratch/kocevski/215024/ltcube_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/215024/Model_4FGL_J2211.2-1325_daily_bin601.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2211.2-1325'

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/215024/ft1_filtered_4FGL_J2211.2-1325_daily_bin601.fits
Spacecraft file(s): /scratch/kocevski/215024/ft2_4FGL_J2211.2-1325_daily_bin601.fits
Exposure map: /scratch/kocevski/215024/expmap_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.fits
Exposure cube: /scratch/kocevski/215024/ltcube_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/215024/Model_4FGL_J2211.2-1325_daily_bin601.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) = 4047.99788685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.548       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1359       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11528E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.975       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9215       1.0000         .10000E-03   10000.    
    12 'Prefactor '    93.440       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    70.012       1.0000         .10000E-03   10000.    
    16 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1067       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.851       1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.997       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .54262       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4047.948     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2561 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.547        8.9707        .59823E-06   -.45139E-04
   2  Prefactor     9.1339        12.373        .39354E-06   -.13674E-04
   3  Prefactor     .10000E-03    7.8880        .44061E-05** at limit **
   4  norm          .10001E-03    5.7964        .10614E-05** at limit **
   5  Prefactor     .10000E-03    13.271        .19915E-05** at limit **
   6  Prefactor     .10000E-03    29.868       -.62036E-05** at limit **
   7  Prefactor     .10000E-03    7.7042       -.43418E-05** at limit **
   8  Prefactor     18.975        18.040       -.13622E-05    .24240E-04
   9  Prefactor     .10000E-03    6.3881        .30736E-06** at limit **
  10  Prefactor     .10000E-03    27.965        .41143E-05** at limit **
  11  Prefactor     1.9208        3.8754        .12608E-06   -.38130E-03
  12  Prefactor     93.509        92.278        .67345E-04    .10556E-03
  13  norm          3.5196        3.7917        .31824E-06   -.16680E-03
  14  Prefactor     .10000E-03    29.916       -.46122E-05** at limit **
  15  Prefactor     70.009        33.078       -.24320E-05    .47561E-04
  16  norm          .10000E-03    .49206       -.10287E-05** at limit **
  17  Prefactor     .10000E-03    17.547       -.78569E-05** at limit **
  18  norm          1.1073        1.1602        .50849E-07    .52773E-03
  19  Prefactor     .10000E-03    24.163        .98063E-05** at limit **
  20  Prefactor     26.849        19.692       -.48803E-06    .23306E-04
  21  Prefactor     21.997        24.740        .10138E-05    .58653E-04
  22  Normalizat    .54258        .28218       -.11377E-04    .12818E-03
  23  Prefactor     1.1315        .17856        .11788E-05    .14588E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5466
  Prefactor  = 9.13393
  Prefactor  = 0.0001
  norm       = 0.00010001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.92083
  Prefactor  = 93.5086
  norm       = 3.5196
  Prefactor  = 0.0001
  Prefactor  = 70.0091
  norm       = 0.000100003
  Prefactor  = 0.0001
  norm       = 1.10728
  Prefactor  = 0.0001
  Prefactor  = 26.8495
  Prefactor  = 21.9974
  Normalizat = 0.542582
  Prefactor  = 1.1315
 **********
 **   18 **HESSE 
 **********

 FCN=   4047.948     FROM HESSE     STATUS=OK           368 CALLS     2929 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.547        8.9636        .12337E-03   -1.5058    
   2  Prefactor     9.1339        12.371        .13260E-03   -1.5103    
   3  Prefactor     .10000E-03    7.9099        .17452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    20.760        .29849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.877        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.7153        .17241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.975        18.131        .91945E-04   -1.4836    
   9  Prefactor     .10000E-03    6.4498        .15699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9208        3.8519        .17015E-03   -1.5431    
  12  Prefactor     93.509        92.352        .20788E-03   -1.3771    
  13  norm          3.5196        3.7787        .12278E-03   -1.5333    
  14  Prefactor     .10000E-03    29.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     70.009        33.145        .47975E-04   -1.4033    
  16  norm          .10000E-03    .69550        .86802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1073        1.1279        .66216E-04   -1.5498    
  19  Prefactor     .10000E-03    24.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     26.849        19.653        .77311E-04   -1.4671    
  21  Prefactor     21.997        24.734        .85403E-04   -1.4770    
  22  Normalizat    .54258        .31460        .37226E-03   -1.1048    
  23  Prefactor     1.1315        .20226        .18147E-03   -.88466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94658e-09
Minuit parameter uncertainties:
  1  8.96475
  2  12.3742
  3  2.06939e-05
  4  0.000905946
  5  0.000178952
  6  0.000172189
  7  2.88208e-05
  8  18.1362
  9  3.198e-05
  10  1.32544e-05
  11  3.85235
  12  92.4941
  13  3.779
  14  2.3695e-05
  15  33.1533
  16  8.89602e-05
  17  2.57438e-05
  18  1.12789
  19  3.78736e-05
  20  19.6582
  21  24.7451
  22  0.315636
  23  0.202398
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.897e+01  1.814e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.132e+00  2.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  5.426e-01  3.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 7.69e-08 +/- 7.34e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.74e-05

TS (Fixed Index): 1.55
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 2.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.75e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215024/likelihoodResults_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.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) = 4046.12724926
delta logL = 1.82107669223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4046.12583522
delta logL = 1.82249072761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6235       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6637       1.0000          .0000       10.000    
     3 'Normalizat'    .40564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1964       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4046.126     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      242 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6395        47.732        .46795E-02   -.19412E-03
   2  Index         4.6615        3.9753        .11053        .26535E-04
   3  Normalizat    .40569        .10382        .96425E-01    .12635E-04
   4  Prefactor     1.1963        .71323E-01    .34716E-01   -.41390E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.63948
  Index      = 4.66152
  Normalizat = 0.40569
  Prefactor  = 1.19633
 **********
 **   18 **HESSE 
 **********

 FCN=   4046.126     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6395        15.061        .69259E-04   -1.5277    
   2  Index         4.6615        2.3535        .46170E-02   -.67748E-01
   3  Normalizat    .40569        .30111        .42721E-03   -1.1701    
   4  Prefactor     1.1963        .20203        .17692E-03   -.86444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75649e-11
Minuit parameter uncertainties:
  1  15.0735
  2  2.45087
  3  0.30232
  4  0.202161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215024': 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) = 4046.12583291
delta logL = 1.82249303683

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.639e+00  1.507e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.662e+00  2.451e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.196e+00  2.022e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  4.057e-01  3.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.76
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 4.66 +/- 2.45
Photon Flux (Free Index): 1.82e-07 +/- 1.01e-07
Energy Flux (Free Index): 2.50e-05 +/- 1.58e-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/215024/cmap_HighResolution_395107201_395366401_4FGL_J2211.2-1325_daily_bin601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-02', comment='SUCCESS', photon_flux='7.69e-08', energy_flux2='2.50e-05', photon_flux_error='7.34e-08', dlogl='1.82e+00', energy_flux='1.82e-05', photon_flux2='1.82e-07', job_status='DONE', time_completed='2021-09-28 06:53:22.757440', photon_index_error2='2.45', photon_index2='4.66', ts='1.55', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='2.22e-07', energy_flux_error2='1.58e-05', EG='0.54', time_epoch_completed='1632837202.76', return_code='0', job_id='215024', GAL2='1.20', EG2='0.41', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='1.01e-07', ts2='5.76', photon_index='2.72' WHERE bin_id='601' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:53:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 215024: <4FGL_J2211.2-1325_daily_bin601> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin601> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:40:39 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:40:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:40:41 2021
Terminated at Tue Sep 28 06:53:23 2021
Results reported at Tue Sep 28 06:53:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin601 332.817 -13.4189 395107201 395366401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2211.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   521.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            764 sec.

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

