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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin823
RA = 332.817, Dec = -13.4189
tmin = 452649601, tmax = 452908801
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='216471', job_status='RUN', time_executed='2021-09-28 06:45:52.070605', time_epoch_executed='1632836752.07' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='823'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216471

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216471/ft1_4FGL_J2211.2-1325_daily_bin823.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216471/ft1_4FGL_J2211.2-1325_daily_bin823.fits outfile=/scratch/kocevski/216471/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin823.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=452649601.0 tmax=452908801.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.52
user 3.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.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/216471/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin823.fits evtable="EVENTS" outfile="/scratch/kocevski/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.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.54
user 0.35
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.fits" evtable="EVENTS" scfile=/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits sctable="SC_DATA" outfile=/scratch/kocevski/216471/ltcube_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.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/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits
.....................!
real 16.17
user 15.75
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.fits evtable="EVENTS" scfile=/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits sctable="SC_DATA" expcube=/scratch/kocevski/216471/ltcube_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.fits outfile=/scratch/kocevski/216471/expmap_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.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/216471/ltcube_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.fits
.....................!
real 197.42
user 190.96
sys 5.83

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/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.fits scfile=/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits outfile=/scratch/kocevski/216471/cmap_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.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.55
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.fits scfile=/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits outfile=/scratch/kocevski/216471/cmap_HighResolution_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=332.817 yref=-13.4189 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.fits evtable="EVENTS" scfile=/scratch/kocevski/216471/ft2_4FGL_J2211.2-1325_daily_bin823.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216471/Model_4FGL_J2211.2-1325_daily_bin823.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/216471/ft1_filtered_4FGL_J2211.2-1325_daily_bin823.fits.....................!
real 69.59
user 68.15
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.426       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9870       1.0000         .10000E-03   10000.    
     4 'norm      '    8.9308       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.376       1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.297       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .82109       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7845       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.7447       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.7413       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2973       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7559       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .72400       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99845       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=   7839.744     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2176 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.427        5.4961        .93013E-07   -.38439E-04
   2  Prefactor     .10000E-03    3.5714        .44185E-07** at limit **
   3  Prefactor     5.9882        10.706        .30837E-06   -.46300E-04
   4  norm          8.9309        5.9530        .11964E-07   -.12209E-04
   5  Prefactor     10.375        5.2572       -.11361E-07   -.19377E-03
   6  Prefactor     41.293        16.720        .41848E-08   -.56541E-04
   7  Prefactor     .10000E-03    2.5396        .10306E-07** at limit **
   8  Prefactor     .84771        8.3735        .11178E-05   -.25629E-03
   9  Prefactor     .10000E-03    4.0848       -.23140E-06** at limit **
  10  Prefactor     .10000E-03    22.014        .24967E-05** at limit **
  11  Prefactor     3.7837        3.1522        .17084E-05   -.12474E-02
  12  Prefactor     .10000E-03    12.033        .26528E-05** at limit **
  13  norm          6.7448        3.4314       -.12887E-06   -.20695E-03
  14  Prefactor     .10000E-03    64.642       -.18108E-05** at limit **
  15  Prefactor     8.7426        9.9967        .18101E-06   -.20849E-04
  16  norm          1.2974        .83467        .55346E-07   -.22769E-03
  17  Prefactor     .10000E-03    6.4028        .17260E-06** at limit **
  18  norm          .10000E-03    .26910        .28625E-07** at limit **
  19  Prefactor     .10000E-03    8.2539       -.48895E-06** at limit **
  20  Prefactor     8.7560        8.6030        .46357E-07    .11094E-04
  21  Prefactor     .10001E-03    14.235       -.41171E-05** at limit **
  22  Normalizat    .72393        .16942       -.92118E-06   -.11422E-03
  23  Prefactor     .99846        .11344       -.20490E-06   -.15666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.427
  Prefactor  = 0.0001
  Prefactor  = 5.98815
  norm       = 8.93089
  Prefactor  = 10.3754
  Prefactor  = 41.2928
  Prefactor  = 0.0001
  Prefactor  = 0.847713
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 3.78375
  Prefactor  = 0.000100004
  norm       = 6.74478
  Prefactor  = 0.000100002
  Prefactor  = 8.74259
  norm       = 1.29743
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.75601
  Prefactor  = 0.000100007
  Normalizat = 0.723926
  Prefactor  = 0.998458
 **********
 **   18 **HESSE 
 **********

 FCN=   7839.744     FROM HESSE     STATUS=OK           374 CALLS     2550 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.427        5.4970        .12409E-03   -1.5062    
   2  Prefactor     .10000E-03    3.6048        .16340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.9882        10.692        .16410E-03   -1.5219    
   4  norm          8.9309        5.9551        .13412E-03   -1.5110    
   5  Prefactor     10.375        5.2484        .12439E-03   -1.5064    
   6  Prefactor     41.293        16.680        .62378E-04   -1.4422    
   7  Prefactor     .10000E-03    2.5533        .13780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .84771        30.400        .45583E-02   -1.5524    
   9  Prefactor     .10000E-03    4.1238        .17484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.7837        3.2770        .71263E-03   -1.5319    
  12  Prefactor     .10000E-03    12.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.7448        3.4311        .11047E-03   -1.5188    
  14  Prefactor     .10000E-03    65.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.7426        10.035        .13557E-03   -1.5117    
  16  norm          1.2974        .82010        .61441E-04   -1.5480    
  17  Prefactor     .10000E-03    6.4656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .34125        .88979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.2938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.7560        8.5988        .13546E-03   -1.5116    
  21  Prefactor     .10001E-03    15.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .72393        .19891        .30135E-03   -1.0296    
  23  Prefactor     .99846        .13498        .18487E-03   -.92781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72778e-09
Minuit parameter uncertainties:
  1  5.49725
  2  3.73056e-06
  3  10.6959
  4  5.95554
  5  5.24867
  6  16.6823
  7  7.48983e-07
  8  10.1579
  9  2.01351e-05
  10  0.000539483
  11  3.27713
  12  0.00042855
  13  3.43122
  14  0.000647957
  15  10.0369
  16  0.820111
  17  2.35989e-05
  18  1.42612e-06
  19  6.12517e-05
  20  8.59998
  21  0.000681219
  22  0.199107
  23  0.135028
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.477e-01  1.016e+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:  9.985e-01  1.350e-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:  7.239e-01  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/216471/likelihoodResults_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.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) = 7839.74266519
delta logL = 0.00180453738267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7839.73695696
delta logL = 0.00751277334348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6177       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1359       1.0000          .0000       10.000    
     3 'Normalizat'    .72567       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99672       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7839.737     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      294 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6176        18.707        .16642E-02   -.25450E-03
   2  Index         2.1378        2.4980        .24196E-01   -.85397E-05
   3  Normalizat    .72567        .18728        .30101E-03   -.26060E-05
   4  Prefactor     .99667        .13403        .18502E-03   -.52230E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61763
  Index      = 2.1378
  Normalizat = 0.725667
  Prefactor  = 0.996675
 **********
 **   18 **HESSE 
 **********

 FCN=   7839.737     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6176        19.045        .66567E-04   -1.5454    
   2  Index         2.1378        2.5302        .96784E-03   -.60948    
   3  Normalizat    .72567        .18749        .12041E-04   -1.0289    
   4  Prefactor     .99667        .13406        .74006E-05   -.92840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49332e-10
Minuit parameter uncertainties:
  1  11.105
  2  2.72685
  3  0.187658
  4  0.134106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216471': 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) = 7839.73695646
delta logL = 0.00751326445152

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.618e+00  1.111e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.138e+00  2.727e+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:  9.967e-01  1.341e-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:  7.257e-01  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/216471/cmap_HighResolution_452649601_452908801_4FGL_J2211.2-1325_daily_bin823.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2021-09-28 06:57:27.193805', job_id='216471', GAL2='1.00', fit_tolerance='1e-08', EG2='0.73', EG='0.72', time_epoch_completed='1632837447.19', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.51e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='823' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:57:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 216471: <4FGL_J2211.2-1325_daily_bin823> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin823> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:31 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:45:34 2021
Terminated at Tue Sep 28 06:57:27 2021
Results reported at Tue Sep 28 06:57:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin823 332.817 -13.4189 452649601 452908801 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 :                                   692.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            716 sec.

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

