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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1106
RA = 332.817, Dec = -13.4189
tmin = 526003201, tmax = 526262401
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='217927', job_status='RUN', time_executed='2021-09-28 06:52:25.064928', time_epoch_executed='1632837145.06' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217927/ft1_4FGL_J2211.2-1325_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217927/ft1_4FGL_J2211.2-1325_daily_bin1106.fits outfile=/scratch/kocevski/217927/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1106.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=526003201.0 tmax=526262401.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.72
user 3.49
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217927/ft1_filtered_4FGL_J2211.2-1325_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/217927/ltcube_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.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/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits
.....................!
real 11.91
user 11.46
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217927/ft1_filtered_4FGL_J2211.2-1325_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/217927/ltcube_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.fits outfile=/scratch/kocevski/217927/expmap_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.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/217927/ltcube_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.fits
.....................!
real 190.75
user 185.70
sys 4.63

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/217927/ft1_filtered_4FGL_J2211.2-1325_daily_bin1106.fits scfile=/scratch/kocevski/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits outfile=/scratch/kocevski/217927/cmap_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217927/ft1_filtered_4FGL_J2211.2-1325_daily_bin1106.fits scfile=/scratch/kocevski/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits outfile=/scratch/kocevski/217927/cmap_HighResolution_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217927/ft1_filtered_4FGL_J2211.2-1325_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/217927/ft2_4FGL_J2211.2-1325_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217927/Model_4FGL_J2211.2-1325_daily_bin1106.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/217927/ft1_filtered_4FGL_J2211.2-1325_daily_bin1106.fits.....................!
real 69.33
user 68.00
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1944       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6293       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.017       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5137       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .84358       1.0000         .10000E-03   10000.    
    16 'norm      '    .51060       1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.247       1.0000         .10000E-03   10000.    
    18 'norm      '    .10287E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.303       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.0012       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99146       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0813       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=   7451.827     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2626 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9265        2.0976        .74824E-02   -.21962E-03
   2  Prefactor     .10000E-03    4.4986        .90712E-02** at limit **
   3  Prefactor     1.1931        44.186        .10406E-01    .26319E-03
   4  norm          .10000E-03    1.7158        .90712E-02** at limit **
   5  Prefactor     8.6281        5.5103        .34114E-02   -.23581E-02
   6  Prefactor     .10000E-03    3.6614        .90712E-02** at limit **
   7  Prefactor     .10000E-03    4.1105        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.9350        .90712E-02** at limit **
   9  Prefactor     41.017        15.546        .15647E-02   -.50676E-03
  10  Prefactor     .10000E-03    128.18        .90712E-02** at limit **
  11  Prefactor     2.5134        4.0708        .64426E-02    .62890E-03
  12  Prefactor     .10000E-03    38.228        .90712E-02** at limit **
  13  norm          .10000E-03    1.2652        .90712E-02** at limit **
  14  Prefactor     .10000E-03    20.238        .90712E-02** at limit **
  15  Prefactor     .77023        7.4574        .81153E-01    .47288E-03
  16  norm          .51044        .85327        .21132E-01    .16016E-02
  17  Prefactor     38.238        18.806        .16202E-02   -.66937E-03
  18  norm          .10000E-03    .96914        .24811E-01** at limit **
  19  Prefactor     22.302        23.220        .21204E-02   -.16895E-03
  20  Prefactor     5.0006        8.3946        .44955E-02   -.86834E-03
  21  Prefactor     .10000E-03    13.873        .90712E-02** at limit **
  22  Normalizat    .99158        .20145        .67206E-01   -.11684E-04
  23  Prefactor     1.0812        .13532        .38345E-01   -.33095E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9265
  Prefactor  = 0.0001
  Prefactor  = 1.19308
  norm       = 0.0001
  Prefactor  = 8.62815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.0173
  Prefactor  = 0.0001
  Prefactor  = 2.51339
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.770225
  norm       = 0.510442
  Prefactor  = 38.2385
  norm       = 0.0001
  Prefactor  = 22.3022
  Prefactor  = 5.00061
  Prefactor  = 0.0001
  Normalizat = 0.991577
  Prefactor  = 1.08122
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.827     FROM HESSE     STATUS=OK           370 CALLS     2996 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9265        2.1030        .12731E-03   -1.5430    
   2  Prefactor     .10000E-03    4.5401        .17880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1931        44.305        .41624E-03   -1.5490    
   4  norm          .10000E-03    1.7163        .11043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6281        5.4983        .13646E-03   -1.5120    
   6  Prefactor     .10000E-03    3.6637        .16130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.2303        .34181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.017        15.452        .62590E-04   -1.4426    
  10  Prefactor     .10000E-03    128.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.5134        4.0314        .20414E-03   -1.5391    
  12  Prefactor     .10000E-03    38.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.2800        .94768E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .77023        27.370        .45073E-02   -1.5532    
  16  norm          .51044        .78789        .95782E-03   -1.5565    
  17  Prefactor     38.238        15.975        .64808E-04   -1.4470    
  18  norm          .10000E-03    1.2605        .13618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.302        23.181        .84816E-04   -1.4763    
  20  Prefactor     5.0006        8.3828        .17982E-03   -1.5261    
  21  Prefactor     .10000E-03    13.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99158        .23905        .29728E-03   -.93313    
  23  Prefactor     1.0812        .16267        .20119E-03   -.90069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37775e-08
Minuit parameter uncertainties:
  1  2.10311
  2  1.15773e-05
  3  14.5519
  4  1.04371e-06
  5  5.49861
  6  2.94906e-06
  7  5.79652e-06
  8  8.40616e-06
  9  15.4534
  10  0.000282356
  11  4.0318
  12  6.04742e-05
  13  1.27896e-07
  14  4.55377e-05
  15  9.1867
  16  0.787903
  17  15.9768
  18  6.74128e-07
  19  23.1904
  20  8.38474
  21  4.03898e-05
  22  0.239311
  23  0.162743
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  8.406e-06  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.081e+00  1.627e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.916e-01  2.393e-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: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217927/likelihoodResults_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.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) = 7451.82832327
delta logL = -0.0009613333159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7451.82736242
delta logL = -4.85821146867e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10694E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6915       1.0000          .0000       10.000    
     3 'Normalizat'    .99143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0813       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=   7451.827     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      274 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1252        .10605    ** at limit **
   2  Index         1.7221        9.1386        .50000       -.45320E-06
   3  Normalizat    .99158        .61770E-02    .29728E-03    .11230E-02
   4  Prefactor     1.0812        .43712E-02    .20119E-03    .15953E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.72207
  Normalizat = 0.99158
  Prefactor  = 1.08122
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.827     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      305 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    958.01        .36468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7221        9.1355        .50000       -.71496    
   3  Normalizat    .99158        .27457E-01    .59455E-04   -.93313    
   4  Prefactor     1.0812        .19434E-01    .40238E-04   -.90069    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.62056e-09
Minuit parameter uncertainties:
  1  0.000322417
  2  371.134
  3  0.027457
  4  0.0194338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217927': 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) = 7451.82735346
delta logL = 8.47945284477e-06

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  3.224e-04  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.722e+00  3.711e+02  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.081e+00  1.943e-02  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.916e-01  2.746e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/217927/cmap_HighResolution_526003201_526262401_4FGL_J2211.2-1325_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2021-09-28 07:04:55.375111', job_id='217927', GAL2='1.08', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632837895.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='8.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1106' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:04:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 217927: <4FGL_J2211.2-1325_daily_bin1106> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1106> 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) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:50:27 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:27 2021
Terminated at Tue Sep 28 07:04:56 2021
Results reported at Tue Sep 28 07:04:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1106 332.817 -13.4189 526003201 526262401 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 :                                   689.00 sec.
    Max Memory :                                 1086 MB
    Average Memory :                             303.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            871 sec.

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

