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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1016
RA = 332.817, Dec = -13.4189
tmin = 502675201, tmax = 502934401
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='216779', job_status='RUN', time_executed='2021-09-28 06:47:27.863675', time_epoch_executed='1632836847.86' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1016'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216779/ft1_4FGL_J2211.2-1325_daily_bin1016.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216779/ft1_4FGL_J2211.2-1325_daily_bin1016.fits outfile=/scratch/kocevski/216779/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1016.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=502675201.0 tmax=502934401.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.58
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216779/ft1_filtered_4FGL_J2211.2-1325_daily_bin1016.fits" evtable="EVENTS" scfile=/scratch/kocevski/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits sctable="SC_DATA" outfile=/scratch/kocevski/216779/ltcube_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.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/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits
.....................!
real 11.84
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216779/ft1_filtered_4FGL_J2211.2-1325_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits sctable="SC_DATA" expcube=/scratch/kocevski/216779/ltcube_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.fits outfile=/scratch/kocevski/216779/expmap_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.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/216779/ltcube_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.fits
.....................!
real 192.35
user 187.17
sys 4.79

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/216779/ft1_filtered_4FGL_J2211.2-1325_daily_bin1016.fits scfile=/scratch/kocevski/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits outfile=/scratch/kocevski/216779/cmap_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216779/ft1_filtered_4FGL_J2211.2-1325_daily_bin1016.fits scfile=/scratch/kocevski/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits outfile=/scratch/kocevski/216779/cmap_HighResolution_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216779/ft1_filtered_4FGL_J2211.2-1325_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/216779/ft2_4FGL_J2211.2-1325_daily_bin1016.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216779/Model_4FGL_J2211.2-1325_daily_bin1016.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/216779/ft1_filtered_4FGL_J2211.2-1325_daily_bin1016.fits.....................!
real 81.00
user 79.10
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .90311E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7149       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.318       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.662       1.0000         .10000E-03   10000.    
    10 'Prefactor '    153.75       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18255       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.919       1.0000         .10000E-03   10000.    
    13 'norm      '    8.4644       1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.260       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16362E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0621       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.694       1.0000         .10000E-03   10000.    
    18 'norm      '    3.6543       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.935       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.6425       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84025       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0833       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=   9008.051     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2565 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3603        .28816E-07** at limit **
   2  Prefactor     .10000E-03    14.366       -.39497E-05** at limit **
   3  Prefactor     .10011E-03    5.9425       -.73487E-06** at limit **
   4  norm          .10000E-03    1.2997        .85442E-07** at limit **
   5  Prefactor     4.7136        4.7499        .25571E-05   -.47508E-03
   6  Prefactor     .10000E-03    16.799        .10540E-05** at limit **
   7  Prefactor     .10000E-03    2.3730       -.34437E-06** at limit **
   8  Prefactor     12.316        10.908       -.28068E-05   -.14619E-03
   9  Prefactor     10.656        9.4621       -.78407E-06   -.73936E-03
  10  Prefactor     153.79        86.430        .27564E-04   -.64300E-04
  11  Prefactor     .20031        1.9636        .21594E-05    .58935E-03
  12  Prefactor     13.940        27.636        .24027E-04   -.44274E-06
  13  norm          8.4650        4.5237        .20831E-05   -.13047E-02
  14  Prefactor     52.187        78.859       -.93356E-04   -.15029E-03
  15  Prefactor     .10000E-03    16.232       -.25350E-06** at limit **
  16  norm          1.0618        .69487       -.33494E-06   -.13593E-02
  17  Prefactor     23.686        31.013        .16638E-05    .43285E-03
  18  norm          3.6591        2.2735        .21402E-05   -.57935E-03
  19  Prefactor     27.904        39.114       -.36157E-04    .27340E-05
  20  Prefactor     8.6401        7.7513        .16144E-05    .31204E-04
  21  Prefactor     .10000E-03    7.1728       -.21844E-06** at limit **
  22  Normalizat    .84021        .18158        .37951E-05   -.35397E-03
  23  Prefactor     1.0833        .12057       -.91995E-06   -.83301E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100109
  norm       = 0.0001
  Prefactor  = 4.71361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3163
  Prefactor  = 10.6564
  Prefactor  = 153.787
  Prefactor  = 0.200307
  Prefactor  = 13.9403
  norm       = 8.46501
  Prefactor  = 52.1871
  Prefactor  = 0.0001
  norm       = 1.06177
  Prefactor  = 23.6865
  norm       = 3.65911
  Prefactor  = 27.9037
  Prefactor  = 8.64012
  Prefactor  = 0.0001
  Normalizat = 0.840207
  Prefactor  = 1.08326
 **********
 **   18 **HESSE 
 **********

 FCN=   9008.051     FROM HESSE     STATUS=OK           380 CALLS     2945 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3676        .10810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.948        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10011E-03    58.109        .43943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3003        .10567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7136        4.7320        .18532E-03   -1.5274    
   6  Prefactor     .10000E-03    17.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.3871        .14277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.316        10.934        .11414E-03   -1.5006    
   9  Prefactor     10.656        9.4669        .12270E-03   -1.5055    
  10  Prefactor     153.79        86.290        .16255E-03   -1.3221    
  11  Prefactor     .20031        16.093        .23517E-02   -1.5618    
  12  Prefactor     13.940        27.600        .10736E-03   -1.4961    
  13  norm          8.4650        4.4894        .12924E-03   -1.5126    
  14  Prefactor     52.187        79.225        .27740E-03   -1.4262    
  15  Prefactor     .10000E-03    16.973        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0618        .68713        .60804E-04   -1.5502    
  17  Prefactor     23.686        34.083        .82292E-04   -1.4734    
  18  norm          3.6591        2.5117        .60375E-04   -1.5325    
  19  Prefactor     27.904        38.988        .75798E-04   -1.4651    
  20  Prefactor     8.6401        7.7492        .13635E-03   -1.5120    
  21  Prefactor     .10000E-03    7.1949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84021        .21116        .31369E-03   -.98594    
  23  Prefactor     1.0833        .14219        .19814E-03   -.90003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.966e-09
Minuit parameter uncertainties:
  1  3.40747e-06
  2  3.79186e-06
  3  0.00503988
  4  1.07443e-06
  5  4.73235
  6  0.000116508
  7  5.0507e-06
  8  10.9355
  9  9.46818
  10  86.3608
  11  3.59098
  12  27.6257
  13  4.48959
  14  79.3859
  15  0.000116067
  16  0.68713
  17  34.111
  18  2.51181
  19  39.0239
  20  7.75013
  21  7.61986e-05
  22  0.211368
  23  0.142235
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.232e+01  1.094e+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.083e+00  1.422e-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:  8.402e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.66
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.99e-08 +/- 4.43e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/216779/likelihoodResults_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.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) = 9008.04544426
delta logL = 0.00523166477979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9008.04348296
delta logL = 0.0071929720234

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.610       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8414       1.0000          .0000       10.000    
     3 'Normalizat'    .83480       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0861       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9008.043     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      242 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.610        13.376        .11757E-03   -.17598E-04
   2  Index         2.8416        1.0898        .11635E-01    .13342E-04
   3  Normalizat    .83479        .20593        .31461E-03    .19838E-03
   4  Prefactor     1.0862        .14306        .19791E-03    .33184E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6098
  Index      = 2.8416
  Normalizat = 0.83479
  Prefactor  = 1.08616
 **********
 **   18 **HESSE 
 **********

 FCN=   9008.043     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.610        12.357        .47029E-05   -1.5026    
   2  Index         2.8416        1.0061        .46538E-03   -.44635    
   3  Normalizat    .83479        .20580        .12584E-04   -.98791    
   4  Prefactor     1.0862        .14286        .39583E-04   -.89910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70855e-11
Minuit parameter uncertainties:
  1  12.3599
  2  1.01465
  3  0.20599
  4  0.142909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216779': 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) = 9008.04348292
delta logL = 0.00719300503988

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.161e+01  1.236e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.842e+00  1.015e+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.086e+00  1.429e-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:  8.348e-01  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.84 +/- 1.01
Photon Flux (Free Index): 5.29e-08 +/- 5.07e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.03e-05

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/216779/cmap_HighResolution_502675201_502934401_4FGL_J2211.2-1325_daily_bin1016.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='4.99e-08', energy_flux2='1.15e-05', photon_flux_error='4.43e-08', dlogl='7.19e-03', energy_flux='1.18e-05', photon_flux2='5.29e-08', job_status='DONE', time_completed='2021-09-28 07:00:22.646452', photon_index_error2='1.01', photon_index2='2.84', ts='1.66', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.03e-05', EG='0.84', time_epoch_completed='1632837622.65', return_code='0', job_id='216779', GAL2='1.09', EG2='0.83', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='5.07e-08', ts2='1.68', photon_index='2.72' WHERE bin_id='1016' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:00:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 216779: <4FGL_J2211.2-1325_daily_bin1016> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1016> 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) <bullet0169>, 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:00:23 2021
Results reported at Tue Sep 28 07:00:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1016 332.817 -13.4189 502675201 502934401 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 :                                   769.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            866 sec.

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

