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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1013
RA = 332.817, Dec = -13.4189
tmin = 501897601, tmax = 502156801
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='216776', job_status='RUN', time_executed='2021-09-28 06:48:48.104238', time_epoch_executed='1632836928.1' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216776/ft1_4FGL_J2211.2-1325_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216776/ft1_4FGL_J2211.2-1325_daily_bin1013.fits outfile=/scratch/kocevski/216776/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1013.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=501897601.0 tmax=502156801.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.44
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.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/216776/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1013.fits evtable="EVENTS" outfile="/scratch/kocevski/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/216776/ltcube_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.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/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits
.....................!
real 11.91
user 11.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/216776/ltcube_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.fits outfile=/scratch/kocevski/216776/expmap_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.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/216776/ltcube_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.fits
.....................!
real 190.52
user 185.12
sys 5.02

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/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits scfile=/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits outfile=/scratch/kocevski/216776/cmap_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits scfile=/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits outfile=/scratch/kocevski/216776/cmap_HighResolution_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216776/Model_4FGL_J2211.2-1325_daily_bin1013.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/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits.....................!
real 74.99
user 73.65
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits', '/scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits', expMap='/scratch/kocevski/216776/expmap_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.fits', expCube='/scratch/kocevski/216776/ltcube_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/216776/Model_4FGL_J2211.2-1325_daily_bin1013.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/216776/ft1_filtered_4FGL_J2211.2-1325_daily_bin1013.fits
Spacecraft file(s): /scratch/kocevski/216776/ft2_4FGL_J2211.2-1325_daily_bin1013.fits
Exposure map: /scratch/kocevski/216776/expmap_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.fits
Exposure cube: /scratch/kocevski/216776/ltcube_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/216776/Model_4FGL_J2211.2-1325_daily_bin1013.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) = 8599.78473226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3537       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.3933       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.3539       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.1835       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.133       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4285       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11701E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.9294       1.0000         .10000E-03   10000.    
    16 'norm      '    .30969       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7288       1.0000         .10000E-03   10000.    
    18 'norm      '    20.022       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7453       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0412       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93629       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=   8599.750     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2535 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3532        4.3531        .44935E-05   -.99232E-03
   2  Prefactor     6.3937        6.8871        .51585E-07   -.15692E-05
   3  Prefactor     .10000E-03    4.5206        .14554E-06** at limit **
   4  norm          6.3548        5.4672        .87810E-07   -.29657E-05
   5  Prefactor     9.1826        5.9487       -.62621E-07   -.55153E-04
   6  Prefactor     14.136        12.141        .18820E-06    .71924E-05
   7  Prefactor     .10000E-03    3.5465        .52667E-07** at limit **
   8  Prefactor     5.4317        8.4665        .48715E-06    .62493E-05
   9  Prefactor     .10000E-03    10.842       -.61411E-06** at limit **
  10  Prefactor     .10000E-03    41.382       -.12315E-05** at limit **
  11  Prefactor     .10000E-03    1.6924        .51433E-07** at limit **
  12  Prefactor     .10000E-03    11.030        .77599E-06** at limit **
  13  norm          .10000E-03    1.1767        .76948E-08** at limit **
  14  Prefactor     .10000E-03    55.555        .23707E-05** at limit **
  15  Prefactor     9.9299        12.869        .28703E-07    .77975E-05
  16  norm          .30973        .60695        .12559E-06    .18744E-03
  17  Prefactor     7.6679        72.640       -.22029E-04   -.14022E-03
  18  norm          20.019        4.7443        .96925E-06    .32014E-03
  19  Prefactor     6.7818        79.545        .88142E-05    .16436E-03
  20  Prefactor     .10000E-03    3.3277        .12315E-06** at limit **
  21  Prefactor     .10000E-03    8.6224       -.13680E-06** at limit **
  22  Normalizat    1.0409        .18388        .13318E-05   -.69632E-04
  23  Prefactor     .93646        .12292       -.16487E-05    .22225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35316
  Prefactor  = 6.39374
  Prefactor  = 0.0001
  norm       = 6.35481
  Prefactor  = 9.18256
  Prefactor  = 14.1361
  Prefactor  = 0.0001
  Prefactor  = 5.43174
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.92986
  norm       = 0.309728
  Prefactor  = 7.66786
  norm       = 20.0193
  Prefactor  = 6.78177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04091
  Prefactor  = 0.936465
 **********
 **   18 **HESSE 
 **********

 FCN=   8599.750     FROM HESSE     STATUS=OK           372 CALLS     2907 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3532        4.5131        .11050E-02   -1.5342    
   2  Prefactor     6.3937        6.8875        .15874E-03   -1.5202    
   3  Prefactor     .10000E-03    4.5338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.3548        5.4683        .15923E-03   -1.5204    
   5  Prefactor     9.1826        5.9461        .13225E-03   -1.5102    
   6  Prefactor     14.136        12.138        .10654E-03   -1.4956    
   7  Prefactor     .10000E-03    3.5636        .17054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4317        8.4682        .17247E-03   -1.5242    
   9  Prefactor     .10000E-03    11.176        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    41.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.7290        .11774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.4790        .19382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    55.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.9299        12.992        .12717E-03   -1.5078    
  16  norm          .30973        .60616        .41870E-04   -1.5597    
  17  Prefactor     7.6679        83.518        .14424E-03   -1.5154    
  18  norm          20.019        4.9291        .41612E-04   -1.4813    
  19  Prefactor     6.7818        85.291        .15449E-03   -1.5187    
  20  Prefactor     .10000E-03    3.3313        .16520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.6462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0409        .21985        .29856E-03   -.91672    
  23  Prefactor     .93646        .14647        .21812E-03   -.94878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83822e-09
Minuit parameter uncertainties:
  1  4.51354
  2  6.88835
  3  1.65589e-07
  4  5.4687
  5  5.94644
  6  12.1403
  7  3.66691e-07
  8  8.47004
  9  7.00611e-06
  10  2.79581e-05
  11  1.89976e-06
  12  2.44349e-05
  13  0.000125654
  14  0.000162536
  15  12.9953
  16  0.606172
  17  50.7023
  18  4.92916
  19  48.1857
  20  3.70891e-06
  21  1.61637e-05
  22  0.220046
  23  0.146533
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  5.432e+00  8.470e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.365e-01  1.465e-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:  1.041e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 9.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216776/likelihoodResults_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.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) = 8599.6369737
delta logL = 0.112756632938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8599.63062931
delta logL = 0.119101030687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7746       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2441       1.0000          .0000       10.000    
     3 'Normalizat'    1.0488       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93180       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8599.631     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      316 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7623        9.3721        .77078E-03    .91400E-04
   2  Index         2.2427        .88442        .15090E-01   -.50839E-05
   3  Normalizat    1.0489        .20500        .29752E-03    .70308E-06
   4  Prefactor     .93176        .14300        .21857E-03   -.72819E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.7623
  Index      = 2.24271
  Normalizat = 1.04893
  Prefactor  = 0.93176
 **********
 **   18 **HESSE 
 **********

 FCN=   8599.631     FROM HESSE     STATUS=OK            27 CALLS      343 TOTAL
                     EDM=   .51E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7623        9.4497        .15416E-03   -1.5188    
   2  Index         2.2427        .89227        .60360E-03   -.58411    
   3  Normalizat    1.0489        .20524        .59505E-04   -.91409    
   4  Prefactor     .93176        .14313        .87429E-05   -.95040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14285e-15
Minuit parameter uncertainties:
  1  9.45181
  2  0.899221
  3  0.205394
  4  0.143188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216776': 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) = 8599.63062751
delta logL = 0.119102832252

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  6.762e+00  9.452e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.243e+00  8.992e-01  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:  9.318e-01  1.432e-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:  1.049e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
Ra Dec: 332.817 -13.419

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/216776/cmap_HighResolution_501897601_502156801_4FGL_J2211.2-1325_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', job_status='DONE', photon_flux_upper_limit='9.98e-08', time_completed='2021-09-28 07:01:09.320708', job_id='216776', GAL2='0.93', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1632837669.32', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.19e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1013' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:01:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 216776: <4FGL_J2211.2-1325_daily_bin1013> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1013> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:57 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:58 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:45:58 2021
Terminated at Tue Sep 28 07:01:09 2021
Results reported at Tue Sep 28 07:01:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1013 332.817 -13.4189 501897601 502156801 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 :                                   738.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

