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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1637
RA = 332.817, Dec = -13.4189
tmin = 663638401, tmax = 663897601
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='38033', job_status='RUN', time_executed='2022-01-15 01:12:03.856272', time_epoch_executed='1642237923.86' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1637'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38033/ft1_4FGL_J2211.2-1325_daily_bin1637.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38033/ft1_4FGL_J2211.2-1325_daily_bin1637.fits outfile=/scratch/kocevski/38033/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1637.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=663638401.0 tmax=663897601.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 2.48
user 2.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38033/ft1_filtered_4FGL_J2211.2-1325_daily_bin1637.fits" evtable="EVENTS" scfile=/scratch/kocevski/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits sctable="SC_DATA" outfile=/scratch/kocevski/38033/ltcube_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.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/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits
.....................!
real 15.21
user 14.79
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38033/ft1_filtered_4FGL_J2211.2-1325_daily_bin1637.fits evtable="EVENTS" scfile=/scratch/kocevski/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits sctable="SC_DATA" expcube=/scratch/kocevski/38033/ltcube_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.fits outfile=/scratch/kocevski/38033/expmap_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.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/38033/ltcube_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.fits
.....................!
real 192.15
user 185.35
sys 6.10

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/38033/ft1_filtered_4FGL_J2211.2-1325_daily_bin1637.fits scfile=/scratch/kocevski/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits outfile=/scratch/kocevski/38033/cmap_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38033/ft1_filtered_4FGL_J2211.2-1325_daily_bin1637.fits scfile=/scratch/kocevski/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits outfile=/scratch/kocevski/38033/cmap_HighResolution_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/38033/ft1_filtered_4FGL_J2211.2-1325_daily_bin1637.fits evtable="EVENTS" scfile=/scratch/kocevski/38033/ft2_4FGL_J2211.2-1325_daily_bin1637.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/38033/Model_4FGL_J2211.2-1325_daily_bin1637.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/38033/ft1_filtered_4FGL_J2211.2-1325_daily_bin1637.fits.....................!
real 61.36
user 59.85
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5387       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13311E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.447       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4878       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.499       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.303       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.220       1.0000         .10000E-03   10000.    
    10 'Prefactor '    94.828       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .83167       1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.299       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9270       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.328       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1160       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11342E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9526       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.605       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74686       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1575       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=   6544.972     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2550 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5398        7.5378       -.29888E-06   -.77962E-04
   2  Prefactor     .10000E-03    10.407       -.52280E-07** at limit **
   3  Prefactor     .10001E-03    15.544       -.77460E-06** at limit **
   4  norm          .10000E-03    9.0630       -.43036E-07** at limit **
   5  Prefactor     29.450        10.155        .12986E-05    .85121E-04
   6  Prefactor     8.4920        19.396        .19221E-08   -.18445E-05
   7  Prefactor     10.500        11.581        .79088E-06   -.14246E-04
   8  Prefactor     18.304        15.601       -.13789E-05   -.15238E-07
   9  Prefactor     25.220        12.240        .62625E-07   -.18142E-04
  10  Prefactor     94.851        75.508        .20083E-04    .89178E-05
  11  Prefactor     .10000E-03    1.5490        .15266E-06** at limit **
  12  Prefactor     .10000E-03    13.388       -.19090E-07** at limit **
  13  norm          .83571        2.7105       -.83278E-07   -.11114E-02
  14  Prefactor     67.268        67.080       -.31363E-04    .21294E-05
  15  Prefactor     6.9439        22.285       -.61596E-06   -.25790E-04
  16  norm          .10000E-03    .27147       -.11545E-06** at limit **
  17  Prefactor     13.331        18.843        .10155E-05   -.13745E-03
  18  norm          1.1143        1.6451       -.33620E-06   -.54558E-03
  19  Prefactor     .10000E-03    41.629        .48976E-08** at limit **
  20  Prefactor     5.9516        7.4070        .41207E-06   -.11111E-04
  21  Prefactor     14.604        13.521       -.49224E-06    .15877E-04
  22  Normalizat    .74659        .24479       -.35106E-06    .74003E-04
  23  Prefactor     1.1576        .15075        .49245E-06    .10341E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.53979
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  norm       = 0.0001
  Prefactor  = 29.45
  Prefactor  = 8.49201
  Prefactor  = 10.5004
  Prefactor  = 18.3045
  Prefactor  = 25.2197
  Prefactor  = 94.8508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.835711
  Prefactor  = 67.2676
  Prefactor  = 6.9439
  norm       = 0.0001
  Prefactor  = 13.3314
  norm       = 1.11429
  Prefactor  = 0.0001
  Prefactor  = 5.95156
  Prefactor  = 14.6038
  Normalizat = 0.746587
  Prefactor  = 1.15761
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.972     FROM HESSE     STATUS=OK           378 CALLS     2928 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5398        7.5357        .13718E-03   -1.5123    
   2  Prefactor     .10000E-03    10.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    98.416        .59830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    9.3695        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.450        10.110        .73832E-04   -1.4622    
   6  Prefactor     8.4920        19.225        .13760E-03   -1.5125    
   7  Prefactor     10.500        11.578        .12365E-03   -1.5060    
   8  Prefactor     18.304        15.634        .93619E-04   -1.4852    
   9  Prefactor     25.220        12.217        .79767E-04   -1.4703    
  10  Prefactor     94.851        75.519        .20637E-03   -1.3757    
  11  Prefactor     .10000E-03    1.5630        .98197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .83571        2.6726        .22129E-03   -1.5525    
  14  Prefactor     67.268        66.046        .48925E-04   -1.4066    
  15  Prefactor     6.9439        22.404        .15243E-03   -1.5181    
  16  norm          .10000E-03    .50501        .81757E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.331        23.718        .10972E-03   -1.4978    
  18  norm          1.1143        2.0172        .71868E-04   -1.5497    
  19  Prefactor     .10000E-03    41.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9516        7.3986        .16458E-03   -1.5220    
  21  Prefactor     14.604        13.516        .10480E-03   -1.4943    
  22  Normalizat    .74659        .27671        .36057E-03   -1.0208    
  23  Prefactor     1.1576        .17324        .19985E-03   -.87646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39699e-09
Minuit parameter uncertainties:
  1  7.53656
  2  3.63751e-06
  3  0.00210635
  4  1.32861e-05
  5  10.1109
  6  19.2387
  7  11.5803
  8  15.6376
  9  12.2184
  10  75.5959
  11  2.09075e-05
  12  5.17098e-06
  13  2.67299
  14  66.1184
  15  22.4315
  16  6.84543e-06
  17  23.7349
  18  2.01735
  19  4.26369e-06
  20  7.39969
  21  13.5191
  22  0.277233
  23  0.173322
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.830e+01  1.564e+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.158e+00  1.733e-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.466e-01  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.99
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 7.42e-08 +/- 6.33e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.50e-05

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

Saving results to:
/scratch/kocevski/38033/likelihoodResults_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.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) = 6544.79233616
delta logL = 0.180033552075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6544.78331567
delta logL = 0.189054045852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.716       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3263       1.0000          .0000       10.000    
     3 'Normalizat'    .71262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1754       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=   6544.783     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      294 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.712        19.608        .11233E-03   -.30412E-03
   2  Index         3.3270        1.3500        .82123E-02   -.44961E-04
   3  Normalizat    .71265        .26313        .36834E-03    .98458E-05
   4  Prefactor     1.1754        .17484        .19853E-03    .14488E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7119
  Index      = 3.32696
  Normalizat = 0.712653
  Prefactor  = 1.17544
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.783     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.712        16.638        .44933E-05   -1.4995    
   2  Index         3.3270        1.1478        .32849E-03   -.34119    
   3  Normalizat    .71265        .26277        .14734E-04   -1.0340    
   4  Prefactor     1.1754        .17432        .79412E-05   -.87090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90471e-11
Minuit parameter uncertainties:
  1  16.644
  2  1.15951
  3  0.26324
  4  0.174402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38033': 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) = 6544.78331483
delta logL = 0.189054885528

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.271e+01  1.664e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.327e+00  1.160e+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.175e+00  1.744e-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.127e-01  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.33 +/- 1.16
Photon Flux (Free Index): 9.77e-08 +/- 7.84e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.33e-05

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/38033/cmap_HighResolution_663638401_663897601_4FGL_J2211.2-1325_daily_bin1637.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', comment='SUCCESS', photon_flux='7.42e-08', energy_flux2='1.71e-05', photon_flux_error='6.33e-08', dlogl='1.89e-01', energy_flux='1.75e-05', photon_flux2='9.77e-08', job_status='DONE', time_completed='2022-01-15 01:22:34.749988', photon_index_error2='1.16', photon_index2='3.33', ts='1.99', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.99e-07', energy_flux_error2='1.33e-05', EG='0.75', time_epoch_completed='1642238554.75', return_code='0', job_id='38033', GAL2='1.18', EG2='0.71', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='7.84e-08', ts2='2.45', photon_index='2.72' WHERE bin_id='1637' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 15 01:22:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 38033: <4FGL_J2211.2-1325_daily_bin1637> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1637> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jan 15 01:10:27 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 15 01:11:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 15 01:11:25 2022
Terminated at Sat Jan 15 01:22:35 2022
Results reported at Sat Jan 15 01:22:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1637 332.817 -13.4189 663638401 663897601 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 :                                   632.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             366.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            728 sec.

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

