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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1341
RA = 332.817, Dec = -13.4189
tmin = 586915201, tmax = 587174401
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='218316', job_status='RUN', time_executed='2021-09-28 06:51:20.074135', time_epoch_executed='1632837080.07' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218316/ft1_4FGL_J2211.2-1325_daily_bin1341.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218316/ft1_4FGL_J2211.2-1325_daily_bin1341.fits outfile=/scratch/kocevski/218316/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1341.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=586915201.0 tmax=587174401.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.65
user 3.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218316/ft1_filtered_4FGL_J2211.2-1325_daily_bin1341.fits" evtable="EVENTS" scfile=/scratch/kocevski/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits sctable="SC_DATA" outfile=/scratch/kocevski/218316/ltcube_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.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/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits
.....................!
real 11.80
user 11.39
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218316/ft1_filtered_4FGL_J2211.2-1325_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits sctable="SC_DATA" expcube=/scratch/kocevski/218316/ltcube_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.fits outfile=/scratch/kocevski/218316/expmap_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.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/218316/ltcube_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.fits
.....................!
real 189.58
user 185.30
sys 3.91

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/218316/ft1_filtered_4FGL_J2211.2-1325_daily_bin1341.fits scfile=/scratch/kocevski/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits outfile=/scratch/kocevski/218316/cmap_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218316/ft1_filtered_4FGL_J2211.2-1325_daily_bin1341.fits scfile=/scratch/kocevski/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits outfile=/scratch/kocevski/218316/cmap_HighResolution_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218316/ft1_filtered_4FGL_J2211.2-1325_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/218316/ft2_4FGL_J2211.2-1325_daily_bin1341.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218316/Model_4FGL_J2211.2-1325_daily_bin1341.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/218316/ft1_filtered_4FGL_J2211.2-1325_daily_bin1341.fits.....................!
real 48.50
user 47.16
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3698       1.0000         .10000E-03   10000.    
     4 'norm      '    6.0333       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .88533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.166       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.149       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.392       1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.775       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0166       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26139E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6143       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.8631       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1503       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87344       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=   4904.307     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2513 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0241        .48522E-08** at limit **
   2  Prefactor     .10000E-03    5.6409        .37765E-07** at limit **
   3  Prefactor     8.3752        24.324        .62850E-06    .58251E-05
   4  norm          6.0334        5.9878       -.19298E-05    .14378E-03
   5  Prefactor     .88054        5.5667        .31660E-06    .33847E-05
   6  Prefactor     42.168        27.053       -.44884E-07   -.98557E-05
   7  Prefactor     .10000E-03    7.8377        .12532E-06** at limit **
   8  Prefactor     23.153        21.153       -.13256E-06   -.78879E-05
   9  Prefactor     13.392        11.810        .68667E-07   -.11044E-05
  10  Prefactor     51.766        101.06        .15085E-06   -.11979E-04
  11  Prefactor     3.0164        4.5476        .33394E-06    .38998E-04
  12  Prefactor     .10001E-03    283.81       -.40431E-05** at limit **
  13  norm          .10000E-03    1.5953       -.20861E-07** at limit **
  14  Prefactor     .10000E-03    47.760        .80243E-06** at limit **
  15  Prefactor     .10000E-03    6.9811       -.75013E-07** at limit **
  16  norm          1.6142        1.0855       -.70842E-07    .70141E-04
  17  Prefactor     .10000E-03    9.7530        .11737E-07** at limit **
  18  norm          6.8634        1.8053       -.94225E-07    .10193E-03
  19  Prefactor     .10000E-03    53.731       -.85992E-06** at limit **
  20  Prefactor     .10000E-03    5.0974       -.52043E-08** at limit **
  21  Prefactor     .10000E-03    12.731       -.26624E-07** at limit **
  22  Normalizat    1.1502        .25672       -.10416E-05   -.93624E-05
  23  Prefactor     .87354        .16108        .85441E-07   -.60884E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.37522
  norm       = 6.03336
  Prefactor  = 0.880542
  Prefactor  = 42.1677
  Prefactor  = 0.0001
  Prefactor  = 23.1525
  Prefactor  = 13.3923
  Prefactor  = 51.7659
  Prefactor  = 3.01642
  Prefactor  = 0.000100013
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.61418
  Prefactor  = 0.0001
  norm       = 6.86339
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15021
  Prefactor  = 0.873539
 **********
 **   18 **HESSE 
 **********

 FCN=   4904.307     FROM HESSE     STATUS=OK           370 CALLS     2883 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0281        .97301E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6627        .16245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3752        24.222        .13857E-03   -1.5129    
   4  norm          6.0334        5.9860        .81732E-03   -1.5217    
   5  Prefactor     .88054        19.975        .29601E-02   -1.5520    
   6  Prefactor     42.168        26.993        .61734E-04   -1.4408    
   7  Prefactor     .10000E-03    7.8867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.153        21.198        .83253E-04   -1.4745    
   9  Prefactor     13.392        11.776        .10945E-03   -1.4976    
  10  Prefactor     51.766        101.17        .55737E-04   -1.4268    
  11  Prefactor     3.0164        4.5228        .17074E-03   -1.5361    
  12  Prefactor     .10001E-03    287.24        .21447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.6048        .86308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    47.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.9948        .18072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6142        1.0846        .33328E-04   -1.5454    
  17  Prefactor     .10000E-03    9.7648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.8634        1.8016        .46336E-04   -1.5184    
  19  Prefactor     .10000E-03    54.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.1020        .15442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1502        .31080        .29155E-03   -.88156    
  23  Prefactor     .87354        .19487        .21832E-03   -.97072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5113e-10
Minuit parameter uncertainties:
  1  7.25985e-07
  2  5.98346e-06
  3  24.2508
  4  5.98664
  5  8.3904
  6  27.0012
  7  2.80158e-05
  8  21.2048
  9  11.7779
  10  101.512
  11  4.52331
  12  0.0039412
  13  1.21156e-06
  14  0.000521205
  15  1.55794e-05
  16  1.08457
  17  1.40849e-05
  18  1.80161
  19  0.000459243
  20  1.34897e-06
  21  3.88392e-07
  22  0.311301
  23  0.195023
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.315e+01  2.120e+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:  8.735e-01  1.950e-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:  1.150e+00  3.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 9.39e-08 +/- 8.59e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 2.03e-05

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

Saving results to:
/scratch/kocevski/218316/likelihoodResults_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.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) = 4904.17979153
delta logL = 0.127567040047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4904.17227422
delta logL = 0.135084345912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.283       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89371       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=   4904.172     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.296        28.999        .99254E-04    .24615E-03
   2  Index         3.2515        1.4591        .72927E-02    .15848E-03
   3  Normalizat    1.1156        .30669        .29535E-03   -.13230E-03
   4  Prefactor     .89323        .19996        .21619E-03   -.14609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2964
  Index      = 3.25152
  Normalizat = 1.1156
  Prefactor  = 0.893228
 **********
 **   18 **HESSE 
 **********

 FCN=   4904.172     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.296        24.247        .39702E-05   -1.4900    
   2  Index         3.2515        1.2241        .29171E-03   -.35725    
   3  Normalizat    1.1156        .30668        .11814E-04   -.89252    
   4  Prefactor     .89323        .19925        .43239E-04   -.96378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.77497e-10
Minuit parameter uncertainties:
  1  24.2612
  2  1.23845
  3  0.307175
  4  0.19941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218316': 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) = 4904.17227111
delta logL = 0.135087457345

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.630e+01  2.426e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.252e+00  1.238e+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.932e-01  1.994e-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:  1.116e+00  3.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.88
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.25 +/- 1.24
Photon Flux (Free Index): 1.15e-07 +/- 9.67e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.82e-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/218316/cmap_HighResolution_586915201_587174401_4FGL_J2211.2-1325_daily_bin1341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-02', comment='SUCCESS', photon_flux='9.39e-08', energy_flux2='2.07e-05', photon_flux_error='8.59e-08', dlogl='1.35e-01', energy_flux='2.22e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-28 07:00:28.230773', photon_index_error2='1.24', photon_index2='3.25', ts='1.55', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='2.54e-07', energy_flux_error2='1.82e-05', EG='1.15', time_epoch_completed='1632837628.23', return_code='0', job_id='218316', GAL2='0.89', EG2='1.12', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='9.67e-08', ts2='1.88', photon_index='2.72' WHERE bin_id='1341' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:00:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 218316: <4FGL_J2211.2-1325_daily_bin1341> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1341 332.817 -13.4189 586915201 587174401 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 :                                   543.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             365.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            569 sec.

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

