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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1138
RA = 332.817, Dec = -13.4189
tmin = 534297601, tmax = 534556801
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='217985', job_status='RUN', time_executed='2021-09-28 06:50:42.470885', time_epoch_executed='1632837042.47' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217985/ft1_4FGL_J2211.2-1325_daily_bin1138.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217985/ft1_4FGL_J2211.2-1325_daily_bin1138.fits outfile=/scratch/kocevski/217985/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1138.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=534297601.0 tmax=534556801.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.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.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/217985/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1138.fits evtable="EVENTS" outfile="/scratch/kocevski/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.fits" evtable="EVENTS" scfile=/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits sctable="SC_DATA" outfile=/scratch/kocevski/217985/ltcube_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.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/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits
.....................!
real 11.84
user 11.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits sctable="SC_DATA" expcube=/scratch/kocevski/217985/ltcube_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.fits outfile=/scratch/kocevski/217985/expmap_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.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/217985/ltcube_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.fits
.....................!
real 191.22
user 185.91
sys 4.77

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/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.fits scfile=/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits outfile=/scratch/kocevski/217985/cmap_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.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/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.fits scfile=/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits outfile=/scratch/kocevski/217985/cmap_HighResolution_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/217985/ft2_4FGL_J2211.2-1325_daily_bin1138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217985/Model_4FGL_J2211.2-1325_daily_bin1138.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/217985/ft1_filtered_4FGL_J2211.2-1325_daily_bin1138.fits.....................!
real 87.27
user 85.63
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9758       1.0000         .10000E-03   10000.    
     4 'norm      '    2.1985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6857       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5974       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.219       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7756       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.186       1.0000         .10000E-03   10000.    
    13 'norm      '    4.3258       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.059       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4904       1.0000         .10000E-03   10000.    
    17 'Prefactor '    129.08       1.0000         .10000E-03   10000.    
    18 'norm      '    23.850       1.0000         .10000E-03   10000.    
    19 'Prefactor '    61.146       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0843       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69122       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1005       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=   10266.21     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2224 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8414       -.18756E-07** at limit **
   2  Prefactor     .10000E-03    6.7986       -.14290E-06** at limit **
   3  Prefactor     2.9889        12.684        .53560E-05   -.62652E-04
   4  norm          2.1977        5.0274        .53399E-05   -.18676E-03
   5  Prefactor     3.6873        5.5951        .38812E-05   -.12755E-03
   6  Prefactor     3.5278        17.085       -.14025E-05    .45472E-04
   7  Prefactor     .10000E-03    1.7392       -.44863E-07** at limit **
   8  Prefactor     3.6041        10.071        .92130E-07   -.17354E-04
   9  Prefactor     24.222        11.678        .47168E-07    .75191E-05
  10  Prefactor     .10000E-03    42.563       -.81031E-06** at limit **
  11  Prefactor     1.7737        4.3126        .47582E-06   -.50496E-04
  12  Prefactor     26.177        35.566        .35579E-05    .19485E-03
  13  norm          4.3258        3.0702        .11591E-05   -.38936E-04
  14  Prefactor     .10000E-03    25.681        .87290E-06** at limit **
  15  Prefactor     20.062        12.678        .60948E-06    .23144E-04
  16  norm          1.4905        .76548        .13622E-06    .80973E-03
  17  Prefactor     129.14        63.800       -.39209E-05   -.58942E-03
  18  norm          23.845        5.7262        .43711E-06   -.37520E-02
  19  Prefactor     61.145        58.913        .29272E-05    .22163E-04
  20  Prefactor     4.0845        6.2037        .71196E-06    .89864E-05
  21  Prefactor     .10000E-03    21.040        .80111E-06** at limit **
  22  Normalizat    .69095        .19457       -.46698E-05   -.67966E-05
  23  Prefactor     1.1006        .12455        .78002E-06    .34360E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.98887
  norm       = 2.1977
  Prefactor  = 3.68725
  Prefactor  = 3.52778
  Prefactor  = 0.0001
  Prefactor  = 3.60414
  Prefactor  = 24.2216
  Prefactor  = 0.0001
  Prefactor  = 1.77373
  Prefactor  = 26.1772
  norm       = 4.32579
  Prefactor  = 0.0001
  Prefactor  = 20.0622
  norm       = 1.49051
  Prefactor  = 129.142
  norm       = 23.8447
  Prefactor  = 61.1452
  Prefactor  = 4.08446
  Prefactor  = 0.000100001
  Normalizat = 0.690946
  Prefactor  = 1.10061
 **********
 **   18 **HESSE 
 **********

 FCN=   10266.21     FROM HESSE     STATUS=OK           372 CALLS     2596 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8870        .13425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.9500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9889        12.407        .11768E-02   -1.5362    
   4  norm          2.1977        5.0339        .13875E-02   -1.5411    
   5  Prefactor     3.6873        5.5677        .10519E-02   -1.5324    
   6  Prefactor     3.5278        16.748        .21460E-03   -1.5332    
   7  Prefactor     .10000E-03    1.7414        .13049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6041        10.017        .21304E-03   -1.5328    
   9  Prefactor     24.222        11.489        .81396E-04   -1.4723    
  10  Prefactor     .10000E-03    42.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7737        4.2182        .27964E-03   -1.5442    
  12  Prefactor     26.177        35.676        .78284E-04   -1.4684    
  13  norm          4.3258        3.0576        .70659E-03   -1.5292    
  14  Prefactor     .10000E-03    25.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.062        12.728        .89429E-04   -1.4812    
  16  norm          1.4905        .76066        .60741E-04   -1.5464    
  17  Prefactor     129.14        63.777        .35436E-04   -1.3430    
  18  norm          23.845        5.7510        .50600E-04   -1.4731    
  19  Prefactor     61.145        59.150        .51313E-04   -1.4142    
  20  Prefactor     4.0845        6.1947        .99746E-03   -1.5304    
  21  Prefactor     .10000E-03    21.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69095        .22241        .37372E-03   -1.0425    
  23  Prefactor     1.1006        .14513        .21374E-03   -.89447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41633e-09
Minuit parameter uncertainties:
  1  1.83632e-06
  2  1.86203e-05
  3  12.1832
  4  5.03485
  5  5.5685
  6  15.3801
  7  2.71508e-06
  8  10.0213
  9  11.4899
  10  0.000152007
  11  4.21893
  12  35.7054
  13  3.05772
  14  0.000149801
  15  12.73
  16  0.760661
  17  63.8113
  18  5.75108
  19  59.2068
  20  6.19568
  21  0.000269312
  22  0.222698
  23  0.145183
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.604e+00  1.002e+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.101e+00  1.452e-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:  6.909e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217985/likelihoodResults_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.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) = 10266.1772212
delta logL = 0.0318950415149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10266.1414278
delta logL = 0.067688406767

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1617       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1148       1.0000          .0000       10.000    
     3 'Normalizat'    .67413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1101       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10266.14     FROM MIGRAD    STATUS=FAILED        88 CALLS      269 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1616        208.15        .19986E-03   -.13963E-02
   2  Index         4.1148        7.6779        .10221E-01   -.28537E-03
   3  Normalizat    .67415        .16991        .37810E-03   -.32822E-03
   4  Prefactor     1.1101        .12139        .21294E-03   -.41603E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10266.14     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      359 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1616        208.15        .32818E-03   -.13963E-02
   2  Index         4.1148        7.6779        .45660E-02   -.28537E-03
   3  Normalizat    .67415        .16991        .14577E-03   -.32822E-03
   4  Prefactor     1.1101        .12139        .37235E-04   -.41603E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10266.14     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      391 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1605        10.950        .79943E-05    .56884E-06
   2  Index         4.1156        3.9433        .40882E-03   -.11679E-05
   3  Normalizat    .67415        .20813        .15124E-04    .36382E-04
   4  Prefactor     1.1101        .14444        .42588E-04    .22850E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16048
  Index      = 4.1156
  Normalizat = 0.674152
  Prefactor  = 1.11006
 **********
 **   18 **HESSE 
 **********

 FCN=   10266.14     FROM HESSE     STATUS=OK            23 CALLS      414 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1605        10.058        .15989E-05   -1.5493    
   2  Index         4.1156        3.8237        .16353E-04   -.17782    
   3  Normalizat    .67415        .20779        .30248E-05   -1.0492    
   4  Prefactor     1.1101        .14420        .85177E-05   -.89146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6893e-12
Minuit parameter uncertainties:
  1  6.83422
  2  4.37927
  3  0.208029
  4  0.144248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217985': 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) = 10266.1414278
delta logL = 0.0676884960012

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.160e+00  6.834e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.116e+00  4.379e+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.110e+00  1.442e-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:  6.742e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/217985/cmap_HighResolution_534297601_534556801_4FGL_J2211.2-1325_daily_bin1138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-28 07:04:39.441596', job_id='217985', GAL2='1.11', fit_tolerance='1e-08', EG2='0.67', EG='0.69', time_epoch_completed='1632837879.44', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='6.77e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1138' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:04:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 217985: <4FGL_J2211.2-1325_daily_bin1138> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1138 332.817 -13.4189 534297601 534556801 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 :                                   824.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             377.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            849 sec.

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

