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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1101
RA = 332.817, Dec = -13.4189
tmin = 524707201, tmax = 524966401
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='217919', job_status='RUN', time_executed='2021-09-28 06:51:32.870667', time_epoch_executed='1632837092.87' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217919

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217919/ft1_4FGL_J2211.2-1325_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217919/ft1_4FGL_J2211.2-1325_daily_bin1101.fits outfile=/scratch/kocevski/217919/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1101.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=524707201.0 tmax=524966401.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.50
user 3.26
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217919/ft1_filtered_4FGL_J2211.2-1325_daily_bin1101.fits" evtable="EVENTS" scfile=/scratch/kocevski/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits sctable="SC_DATA" outfile=/scratch/kocevski/217919/ltcube_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.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/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits
.....................!
real 11.86
user 11.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217919/ft1_filtered_4FGL_J2211.2-1325_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/217919/ltcube_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.fits outfile=/scratch/kocevski/217919/expmap_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.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/217919/ltcube_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.fits
.....................!
real 191.30
user 186.46
sys 4.43

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/217919/ft1_filtered_4FGL_J2211.2-1325_daily_bin1101.fits scfile=/scratch/kocevski/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits outfile=/scratch/kocevski/217919/cmap_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217919/ft1_filtered_4FGL_J2211.2-1325_daily_bin1101.fits scfile=/scratch/kocevski/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits outfile=/scratch/kocevski/217919/cmap_HighResolution_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217919/ft1_filtered_4FGL_J2211.2-1325_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/217919/ft2_4FGL_J2211.2-1325_daily_bin1101.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217919/Model_4FGL_J2211.2-1325_daily_bin1101.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/217919/ft1_filtered_4FGL_J2211.2-1325_daily_bin1101.fits.....................!
real 59.63
user 58.14
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1353       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6801       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.5797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.441       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.924       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8748       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.0251       1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.270       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .78880       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15163E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    5.5421       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3041       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17643E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    3.8120       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .59064       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0531       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=   6716.567     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2597 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1359        5.1173       -.36994E-06   -.11712E-04
   2  Prefactor     3.6811        7.6206        .24035E-06    .22215E-05
   3  Prefactor     .10000E-03    8.9973        .16867E-06** at limit **
   4  norm          5.5799        4.9402        .52979E-07   -.63130E-05
   5  Prefactor     11.442        5.6070        .14564E-06   -.70333E-06
   6  Prefactor     13.926        12.126        .18002E-06   -.18445E-05
   7  Prefactor     .10000E-03    5.8109        .18836E-06** at limit **
   8  Prefactor     3.8751        8.9309       -.71348E-06    .24613E-05
   9  Prefactor     9.0269        9.5294        .41592E-06    .66618E-05
  10  Prefactor     34.260        51.173        .46846E-06   -.78109E-05
  11  Prefactor     .78853        2.6641       -.28505E-06    .30643E-06
  12  Prefactor     .10000E-03    355.47       -.48314E-05** at limit **
  13  norm          5.5432        3.4888        .79549E-07    .26900E-04
  14  Prefactor     .10000E-03    36.870        .92123E-06** at limit **
  15  Prefactor     .10000E-03    2.3817        .37651E-07** at limit **
  16  norm          2.3034        .87548       -.25449E-06    .22908E-04
  17  Prefactor     .10000E-03    83.422        .55674E-05** at limit **
  18  norm          3.8144        1.1103        .74212E-07   -.54850E-05
  19  Prefactor     .10000E-03    31.935       -.66159E-07** at limit **
  20  Prefactor     .10000E-03    7.0982        .10460E-06** at limit **
  21  Prefactor     .10000E-03    9.2628        .12677E-06** at limit **
  22  Normalizat    .59055        .18627       -.16876E-05   -.27086E-05
  23  Prefactor     1.0531        .12692       -.14408E-06   -.10148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.13592
  Prefactor  = 3.68113
  Prefactor  = 0.0001
  norm       = 5.57987
  Prefactor  = 11.4422
  Prefactor  = 13.9256
  Prefactor  = 0.0001
  Prefactor  = 3.87508
  Prefactor  = 9.02687
  Prefactor  = 34.2596
  Prefactor  = 0.788533
  Prefactor  = 0.0001
  norm       = 5.54318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.30336
  Prefactor  = 0.0001
  norm       = 3.81435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.590547
  Prefactor  = 1.05307
 **********
 **   18 **HESSE 
 **********

 FCN=   6716.567     FROM HESSE     STATUS=OK           374 CALLS     2971 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1359        5.1207        .11411E-02   -1.5354    
   2  Prefactor     3.6811        7.6118        .21054E-03   -1.5324    
   3  Prefactor     .10000E-03    9.0550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.5799        4.9444        .16721E-03   -1.5235    
   5  Prefactor     11.442        5.6060        .11844E-03   -1.5031    
   6  Prefactor     13.926        12.121        .10734E-03   -1.4961    
   7  Prefactor     .10000E-03    5.9187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8751        8.9418        .10249E-02   -1.5314    
   9  Prefactor     9.0269        9.4205        .13341E-03   -1.5107    
  10  Prefactor     34.260        51.131        .68453E-04   -1.4537    
  11  Prefactor     .78853        2.5555        .22847E-03   -1.5530    
  12  Prefactor     .10000E-03    355.28        .40925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.5432        3.4785        .11267E-03   -1.5237    
  14  Prefactor     .10000E-03    36.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.3848        .12353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3034        .87197        .45205E-04   -1.5404    
  17  Prefactor     .10000E-03    82.988        .42496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8144        1.1204        .44795E-04   -1.5317    
  19  Prefactor     .10000E-03    32.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.1528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.3964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .59055        .21253        .32565E-03   -1.0839    
  23  Prefactor     1.0531        .14818        .17896E-03   -.90981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03178e-10
Minuit parameter uncertainties:
  1  5.12145
  2  7.61382
  3  2.95533e-05
  4  4.94475
  5  5.60624
  6  12.1236
  7  1.51312e-05
  8  8.94485
  9  9.42201
  10  51.1961
  11  2.55581
  12  0.000636686
  13  3.47862
  14  9.38173e-05
  15  2.41058e-06
  16  0.871971
  17  3.62272e-05
  18  1.12038
  19  7.96488e-05
  20  4.01078e-06
  21  7.29809e-06
  22  0.212829
  23  0.148235
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.875e+00  8.945e+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:  1.053e+00  1.482e-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.905e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/217919/likelihoodResults_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.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) = 6716.13486266
delta logL = 0.432549292199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6716.13163569
delta logL = 0.435776259155

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47857       1.0000         .10000E-03   10000.    
     2 'Index     '    5.2671       1.0000          .0000       10.000    
     3 'Normalizat'    .54948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0742       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=   6716.132     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      396 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47834        9.0459        .11183E-01    .13948E-02
   2  Index         5.2702        4.0866        .20166        .10464E-03
   3  Normalizat    .54940        .36296E-01    .76078E-01    .37551E-04
   4  Prefactor     1.0743        .26206E-01    .38660E-01   -.11044E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.478339
  Index      = 5.2702
  Normalizat = 0.5494
  Prefactor  = 1.07431
 **********
 **   18 **HESSE 
 **********

 FCN=   6716.132     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      431 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47834        27.403        .60863E-03   -1.5570    
   2  Index         5.2702        7.2273        .97001E-02    .54066E-01
   3  Normalizat    .54940        .14449        .33685E-03   -1.1018    
   4  Prefactor     1.0743        .10298        .17735E-03   -.90292    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14674e-07
Minuit parameter uncertainties:
  1  7.24366
  2  11.0044
  3  0.144585
  4  0.103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217919': 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): 102
logL (Free Index) = 6716.13162912
delta logL = 0.435782835484

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.783e-01  7.244e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  5.270e+00  1.100e+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.074e+00  1.030e-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.494e-01  1.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 5.27 +/- 11.00
Photon Flux (Free Index): 4.16e-08 +/- 4.74e-08
Energy Flux (Free Index): 5.42e-06 +/- 9.00e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/217919/cmap_HighResolution_524707201_524966401_4FGL_J2211.2-1325_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.81e-03', comment='SUCCESS', energy_flux2='5.42e-06', dlogl='4.36e-01', photon_flux2='4.16e-08', job_status='DONE', time_completed='2021-09-28 07:02:42.931474', photon_index_error2='11.00', photon_index2='5.27', ts='0.22', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='9.91e-08', energy_flux_error2='9.00e-06', EG='0.59', time_epoch_completed='1632837762.93', return_code='0', job_id='217919', GAL2='1.07', EG2='0.55', return_code2='102', photon_flux_error2='4.74e-08', ts2='1.16', photon_index='2.72' WHERE bin_id='1101' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:02:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 217919: <4FGL_J2211.2-1325_daily_bin1101> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1101> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:50:25 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:50:26 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:50:26 2021
Terminated at Tue Sep 28 07:02:43 2021
Results reported at Tue Sep 28 07:02:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1101 332.817 -13.4189 524707201 524966401 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 :                                   646.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            738 sec.

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

