/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 56 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 = 7351
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1204
RA = 332.817, Dec = -13.4189
tmin = 551404801, tmax = 551664001
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='218091', job_status='RUN', time_executed='2021-09-28 06:51:51.242159', time_epoch_executed='1632837111.24' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218091

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218091/ft1_4FGL_J2211.2-1325_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218091/ft2_4FGL_J2211.2-1325_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218091/ft1_4FGL_J2211.2-1325_daily_bin1204.fits outfile=/scratch/kocevski/218091/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1204.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=551404801.0 tmax=551664001.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.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218091/ft1_filtered_4FGL_J2211.2-1325_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/218091/ft2_4FGL_J2211.2-1325_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/218091/ltcube_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.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/218091/ft2_4FGL_J2211.2-1325_daily_bin1204.fits
.....................!
real 11.63
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218091/ft1_filtered_4FGL_J2211.2-1325_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/218091/ft2_4FGL_J2211.2-1325_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/218091/ltcube_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.fits outfile=/scratch/kocevski/218091/expmap_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.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/218091/ltcube_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.fits
.....................!
real 191.56
user 186.06
sys 5.07

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/218091/ft1_filtered_4FGL_J2211.2-1325_daily_bin1204.fits scfile=/scratch/kocevski/218091/ft2_4FGL_J2211.2-1325_daily_bin1204.fits outfile=/scratch/kocevski/218091/cmap_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.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.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218091/ft1_filtered_4FGL_J2211.2-1325_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/218091/ft2_4FGL_J2211.2-1325_daily_bin1204.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218091/Model_4FGL_J2211.2-1325_daily_bin1204.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/218091/ft1_filtered_4FGL_J2211.2-1325_daily_bin1204.fits.....................!
real 46.57
user 45.16
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1308       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.770       1.0000         .10000E-03   10000.    
     4 'norm      '    7.3970       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6746       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.911       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11163E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.771       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11400E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.3408       1.0000         .10000E-03   10000.    
    14 'Prefactor '    219.68       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9524       1.0000         .10000E-03   10000.    
    17 'Prefactor '    123.55       1.0000         .10000E-03   10000.    
    18 'norm      '    .94883       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10827E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7198       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83029       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86784       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=   4262.753     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2697 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1308        4.4163        .64924E-07    .88159E-05
   2  Prefactor     .10000E-03    19.109       -.19995E-06** at limit **
   3  Prefactor     19.739        32.250        .29964E-06   -.41307E-05
   4  norm          7.3966        7.1135       -.12972E-06    .14906E-04
   5  Prefactor     4.6808        8.5125       -.67182E-07   -.71713E-04
   6  Prefactor     20.910        23.570       -.15382E-06   -.45901E-04
   7  Prefactor     .10000E-03    75.607       -.66557E-06** at limit **
   8  Prefactor     .10000E-03    40.707        .64524E-06** at limit **
   9  Prefactor     20.772        12.247       -.73139E-07   -.50958E-04
  10  Prefactor     .10000E-03    74.383       -.77480E-07** at limit **
  11  Prefactor     .47676        4.5963        .65386E-06    .83972E-04
  12  Prefactor     .10000E-03    71.647        .77272E-06** at limit **
  13  norm          2.3414        5.2878        .25257E-05   -.11558E-03
  14  Prefactor     219.73        122.06       -.24607E-05   -.20047E-04
  15  Prefactor     .10000E-03    27.182        .91460E-06** at limit **
  16  norm          1.9523        1.3742        .17124E-07   -.86431E-04
  17  Prefactor     123.58        64.320       -.30466E-05   -.14619E-03
  18  norm          .94858        5.2204        .21572E-05   -.20211E-03
  19  Prefactor     .10000E-03    296.12        .30562E-05** at limit **
  20  Prefactor     9.7191        11.513       -.62594E-07   -.17784E-04
  21  Prefactor     .10000E-03    31.355       -.17091E-05** at limit **
  22  Normalizat    .82935        .28757       -.35013E-05   -.72623E-04
  23  Prefactor     .86838        .16391        .15803E-05   -.47983E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.13081
  Prefactor  = 0.0001
  Prefactor  = 19.739
  norm       = 7.39662
  Prefactor  = 4.68077
  Prefactor  = 20.9101
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 20.7724
  Prefactor  = 0.0001
  Prefactor  = 0.476758
  Prefactor  = 0.0001
  norm       = 2.34137
  Prefactor  = 219.727
  Prefactor  = 0.0001
  norm       = 1.95229
  Prefactor  = 123.582
  norm       = 0.948578
  Prefactor  = 0.000100001
  Prefactor  = 9.71913
  Prefactor  = 0.0001
  Normalizat = 0.829354
  Prefactor  = 0.868383
 **********
 **   18 **HESSE 
 **********

 FCN=   4262.753     FROM HESSE     STATUS=OK           374 CALLS     3071 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1308        4.4059        .15738E-03   -1.5354    
   2  Prefactor     .10000E-03    19.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.739        32.253        .90079E-04   -1.4819    
   4  norm          7.3966        7.1170        .14747E-03   -1.5164    
   5  Prefactor     4.6808        8.5054        .18613E-03   -1.5275    
   6  Prefactor     20.910        23.554        .87589E-04   -1.4793    
   7  Prefactor     .10000E-03    78.770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    41.556        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.772        12.146        .87884E-04   -1.4796    
  10  Prefactor     .10000E-03    74.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .47676        4.5003        .25783E-03   -1.5570    
  12  Prefactor     .10000E-03    71.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3414        5.3259        .10186E-02   -1.5402    
  14  Prefactor     219.73        122.19        .13645E-03   -1.2732    
  15  Prefactor     .10000E-03    27.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9523        1.3701        .61525E-04   -1.5429    
  17  Prefactor     123.58        65.260        .36211E-04   -1.3480    
  18  norm          .94858        5.3846        .15448E-03   -1.5513    
  19  Prefactor     .10000E-03    301.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.7191        11.512        .12853E-03   -1.5084    
  21  Prefactor     .10000E-03    31.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .82935        .33604        .33015E-03   -.98989    
  23  Prefactor     .86838        .19535        .20170E-03   -.97255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.53271e-11
Minuit parameter uncertainties:
  1  4.40632
  2  1.83831e-05
  3  32.2812
  4  7.1178
  5  8.50759
  6  23.5647
  7  0.000488726
  8  0.00015295
  9  12.1479
  10  4.05036e-05
  11  2.92951
  12  6.44914e-05
  13  5.32702
  14  122.33
  15  1.82102e-05
  16  1.37014
  17  65.2985
  18  4.52043
  19  0.000962366
  20  11.5149
  21  1.61132e-05
  22  0.33689
  23  0.195503
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  1.529e-04  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:  8.684e-01  1.955e-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.294e-01  3.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/218091/likelihoodResults_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.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): 102
logL (Free Index) = 4262.75360965
delta logL = -0.000114714317533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4262.75360963
delta logL = -0.000114697790195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96343E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7246       1.0000          .0000       10.000    
     3 'Normalizat'    .82934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86839       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=   4262.753     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      208 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7212.0        .90714E-02** at limit **
   2  Index         2.7608        8.0435        .50000       -.83126E-05
   3  Normalizat    .82935        .89249E-01    .74595E-01   -.13636E-03
   4  Prefactor     .86838        .54639E-01    .44601E-01   -.16821E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.76076
  Normalizat = 0.829353
  Prefactor  = 0.868382
 **********
 **   18 **HESSE 
 **********

 FCN=   4262.753     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.110        .36286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7608        6.3689        .50000       -.46436    
   3  Normalizat    .82935        .30338        .33015E-03   -.98989    
   4  Prefactor     .86838        .19111        .20170E-03   -.97255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43636e-10
Minuit parameter uncertainties:
  1  5.59669e-05
  2  4.51741
  3  0.304003
  4  0.191261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218091': 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) = 4262.75349487
delta logL = 6.57928467263e-08

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  5.597e-05  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.761e+00  4.517e+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:  8.684e-01  1.913e-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.294e-01  3.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/218091/cmap_HighResolution_551404801_551664001_4FGL_J2211.2-1325_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-09-28 07:00:54.091718', job_id='218091', GAL2='0.87', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1632837654.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.58e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1204' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:00:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 218091: <4FGL_J2211.2-1325_daily_bin1204> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1204 332.817 -13.4189 551404801 551664001 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 :                                   511.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             349.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            614 sec.

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

