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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1624
RA = 332.817, Dec = -13.4189
tmin = 660268801, tmax = 660528001
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='482860', job_status='RUN', time_executed='2021-12-08 08:27:18.961871', time_epoch_executed='1638980838.96' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/482860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/482860/ft1_4FGL_J2211.2-1325_daily_bin1624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/482860/ft1_4FGL_J2211.2-1325_daily_bin1624.fits outfile=/scratch/kocevski/482860/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1624.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=660268801.0 tmax=660528001.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.89
user 3.62
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/482860/ft1_filtered_4FGL_J2211.2-1325_daily_bin1624.fits" evtable="EVENTS" scfile=/scratch/kocevski/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits sctable="SC_DATA" outfile=/scratch/kocevski/482860/ltcube_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.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/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits
.....................!
real 14.22
user 13.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/482860/ft1_filtered_4FGL_J2211.2-1325_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits sctable="SC_DATA" expcube=/scratch/kocevski/482860/ltcube_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.fits outfile=/scratch/kocevski/482860/expmap_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.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/482860/ltcube_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.fits
.....................!
real 191.96
user 186.51
sys 5.06

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/482860/ft1_filtered_4FGL_J2211.2-1325_daily_bin1624.fits scfile=/scratch/kocevski/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits outfile=/scratch/kocevski/482860/cmap_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.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.57
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/482860/ft1_filtered_4FGL_J2211.2-1325_daily_bin1624.fits scfile=/scratch/kocevski/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits outfile=/scratch/kocevski/482860/cmap_HighResolution_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/482860/ft1_filtered_4FGL_J2211.2-1325_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/482860/ft2_4FGL_J2211.2-1325_daily_bin1624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/482860/Model_4FGL_J2211.2-1325_daily_bin1624.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/482860/ft1_filtered_4FGL_J2211.2-1325_daily_bin1624.fits.....................!
real 48.72
user 47.31
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4945       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6446       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.614       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.938       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.884       1.0000         .10000E-03   10000.    
    10 'Prefactor '    72.358       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12294E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.323       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0210       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10525E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0810       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.587       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2164       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91020       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0449       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=   4823.719     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2562 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8858        .47122E-07** at limit **
   2  Prefactor     .10000E-03    8.2813        .78922E-06** at limit **
   3  Prefactor     .10000E-03    25.681       -.34182E-05** at limit **
   4  norm          .10000E-03    2.6562       -.19529E-06** at limit **
   5  Prefactor     8.4935        7.7256       -.46440E-06   -.69502E-04
   6  Prefactor     4.6443        15.738       -.10766E-05   -.47194E-04
   7  Prefactor     18.610        13.665       -.37179E-06    .99590E-05
   8  Prefactor     26.932        15.112        .56393E-06    .40106E-04
   9  Prefactor     24.880        17.301       -.16918E-05   -.19706E-05
  10  Prefactor     72.318        114.71       -.45505E-04    .92362E-05
  11  Prefactor     .10000E-03    1.7909        .24073E-06** at limit **
  12  Prefactor     .10000E-03    26.871        .42080E-05** at limit **
  13  norm          .10000E-03    2.6033        .19972E-06** at limit **
  14  Prefactor     .10000E-03    44.392        .99016E-06** at limit **
  15  Prefactor     20.313        19.244       -.45967E-05    .13858E-04
  16  norm          1.0213        1.2140       -.90184E-07    .58361E-04
  17  Prefactor     .10000E-03    13.232        .66400E-06** at limit **
  18  norm          1.0816        1.3609       -.31100E-06   -.49672E-05
  19  Prefactor     25.594        35.768        .93278E-05    .82145E-04
  20  Prefactor     1.2104        64.779       -.13339E-04   -.17803E-03
  21  Prefactor     .10000E-03    6.6868        .53470E-06** at limit **
  22  Normalizat    .91086        .26511        .47406E-05    .28156E-05
  23  Prefactor     1.0445        .16622        .35779E-06    .18985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.49351
  Prefactor  = 4.64433
  Prefactor  = 18.6101
  Prefactor  = 26.9317
  Prefactor  = 24.8804
  Prefactor  = 72.3183
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.3127
  norm       = 1.02131
  Prefactor  = 0.0001
  norm       = 1.08163
  Prefactor  = 25.5936
  Prefactor  = 1.21041
  Prefactor  = 0.0001
  Normalizat = 0.910862
  Prefactor  = 1.04446
 **********
 **   18 **HESSE 
 **********

 FCN=   4823.719     FROM HESSE     STATUS=OK           368 CALLS     2930 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9207        .13368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.3144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.6573        .11055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4935        7.7304        .13754E-03   -1.5125    
   6  Prefactor     4.6443        15.723        .18675E-03   -1.5277    
   7  Prefactor     18.610        13.682        .92834E-04   -1.4845    
   8  Prefactor     26.932        15.157        .77186E-04   -1.4670    
   9  Prefactor     24.880        17.350        .80303E-04   -1.4710    
  10  Prefactor     72.318        113.67        .47196E-04   -1.4005    
  11  Prefactor     .10000E-03    1.7962        .90701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6534        .10938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    44.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.313        19.346        .88846E-04   -1.4806    
  16  norm          1.0213        1.1660        .77748E-03   -1.5506    
  17  Prefactor     .10000E-03    13.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0816        1.3109        .76567E-04   -1.5500    
  19  Prefactor     25.594        35.597        .79194E-04   -1.4696    
  20  Prefactor     1.2104        67.785        .40947E-03   -1.5488    
  21  Prefactor     .10000E-03    6.6874        .17540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91086        .31620        .32086E-03   -.96079    
  23  Prefactor     1.0445        .19909        .20167E-03   -.91262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39812e-09
Minuit parameter uncertainties:
  1  1.36226e-05
  2  1.9721e-05
  3  0.000101247
  4  1.05881e-06
  5  7.73135
  6  15.7367
  7  13.6842
  8  15.1595
  9  17.3539
  10  114.015
  11  6.40328e-06
  12  1.06482e-05
  13  6.18648e-05
  14  2.29613e-05
  15  19.3518
  16  1.16603
  17  8.45271e-05
  18  1.31095
  19  35.6267
  20  18.1369
  21  8.93838e-06
  22  0.316844
  23  0.199227
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.693e+01  1.516e+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.044e+00  1.992e-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:  9.109e-01  3.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.65
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 6.14e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 1.45e-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) = 4822.89116194
delta logL = 0.827885824318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4822.86412503
delta logL = 0.854922729722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.444       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9056       1.0000          .0000       10.000    
     3 'Normalizat'    .99498       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0080       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=   4822.864     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.433        14.822        .21137E-02    .19997E-04
   2  Index         1.9054        .40160        .17367       -.70713E-04
   3  Normalizat    .99495        .24244        .69758E-01   -.11205E-03
   4  Prefactor     1.0079        .16172        .43644E-01   -.25823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.433
  Index      = 1.90543
  Normalizat = 0.994947
  Prefactor  = 1.00794
 **********
 **   18 **HESSE 
 **********

 FCN=   4822.864     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.433        18.643        .84548E-04   -1.4760    
   2  Index         1.9054        .57176        .67787E-02   -.66736    
   3  Normalizat    .99495        .29194        .30860E-03   -.93200    
   4  Prefactor     1.0079        .19393        .20487E-03   -.92465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73082e-11
Minuit parameter uncertainties:
  1  18.6482
  2  0.573797
  3  0.29241
  4  0.194068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/482860': 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) = 4822.86412474
delta logL = 0.854923017611

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.243e+01  1.865e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.905e+00  5.738e-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:  1.008e+00  1.941e-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:  9.949e-01  2.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.32
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.91 +/- 0.57
Photon Flux (Free Index): 4.82e-08 +/- 4.92e-08
Energy Flux (Free Index): 4.26e-05 +/- 4.33e-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/482860/cmap_HighResolution_660268801_660528001_4FGL_J2211.2-1325_daily_bin1624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='4.26e-05', photon_flux_error='6.14e-08', dlogl='8.55e-01', energy_flux='2.58e-05', photon_flux2='4.82e-08', job_status='DONE', time_completed='2021-12-08 08:35:44.229966', photon_index_error2='0.57', photon_index2='1.91', ts='8.65', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='4.33e-05', EG='0.91', time_epoch_completed='1638981344.23', return_code='0', job_id='482860', GAL2='1.01', EG2='0.99', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='4.92e-08', ts2='10.32', photon_index='2.72' WHERE bin_id='1624' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 08:35:44 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 482860: <4FGL_J2211.2-1325_daily_bin1624> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1624> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 08:25:22 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 08:26:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 08:26:33 2021
Terminated at Wed Dec  8 08:35:45 2021
Results reported at Wed Dec  8 08:35:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1624 332.817 -13.4189 660268801 660528001 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 :                                   504.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            623 sec.

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

