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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1055
RA = 332.817, Dec = -13.4189
tmin = 512784001, tmax = 513043201
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='217844', job_status='RUN', time_executed='2021-09-28 06:50:46.518678', time_epoch_executed='1632837046.52' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1055'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217844

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217844/ft1_4FGL_J2211.2-1325_daily_bin1055.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217844/ft1_4FGL_J2211.2-1325_daily_bin1055.fits outfile=/scratch/kocevski/217844/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1055.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=512784001.0 tmax=513043201.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 4.42
user 4.18
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217844/ft1_filtered_4FGL_J2211.2-1325_daily_bin1055.fits" evtable="EVENTS" scfile=/scratch/kocevski/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits sctable="SC_DATA" outfile=/scratch/kocevski/217844/ltcube_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.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/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits
.....................!
real 14.99
user 14.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217844/ft1_filtered_4FGL_J2211.2-1325_daily_bin1055.fits evtable="EVENTS" scfile=/scratch/kocevski/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits sctable="SC_DATA" expcube=/scratch/kocevski/217844/ltcube_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.fits outfile=/scratch/kocevski/217844/expmap_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.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/217844/ltcube_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.fits
.....................!
real 190.62
user 185.28
sys 4.75

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/217844/ft1_filtered_4FGL_J2211.2-1325_daily_bin1055.fits scfile=/scratch/kocevski/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits outfile=/scratch/kocevski/217844/cmap_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217844/ft1_filtered_4FGL_J2211.2-1325_daily_bin1055.fits scfile=/scratch/kocevski/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits outfile=/scratch/kocevski/217844/cmap_HighResolution_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217844/ft1_filtered_4FGL_J2211.2-1325_daily_bin1055.fits evtable="EVENTS" scfile=/scratch/kocevski/217844/ft2_4FGL_J2211.2-1325_daily_bin1055.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217844/Model_4FGL_J2211.2-1325_daily_bin1055.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/217844/ft1_filtered_4FGL_J2211.2-1325_daily_bin1055.fits.....................!
real 59.57
user 58.21
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8794       1.0000         .10000E-03   10000.    
     4 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2450       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.915       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.452       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.381       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10879E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.066       1.0000         .10000E-03   10000.    
    13 'norm      '    4.0991       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .37689E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.126       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.065       1.0000         .10000E-03   10000.    
    18 'norm      '    12.281       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11452E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.867       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80442       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0839       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=   6546.030     FROM MIGRAD    STATUS=CONVERGED    920 CALLS     3327 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5351        .97802E-03** at limit **
   2  Prefactor     .10000E-03    3.2380        .14203E-02** at limit **
   3  Prefactor     7.8816        17.709        .14285E-03   -.65261E-04
   4  norm          .10000E-03    3.7973        .15368E-02** at limit **
   5  Prefactor     3.2505        6.6533        .22484E-03    .16387E-03
   6  Prefactor     13.906        20.903        .10737E-03   -.86503E-04
   7  Prefactor     24.921        13.841        .80235E-04   -.72830E-04
   8  Prefactor     29.413        17.906        .73826E-04   -.23407E-03
   9  Prefactor     13.379        11.258        .10950E-03   -.28292E-03
  10  Prefactor     .10000E-03    40.095        .18142E-02** at limit **
  11  Prefactor     .10000E-03    2.9055        .26595E-03** at limit **
  12  Prefactor     61.140        48.287        .25673E-03   -.15857E-03
  13  norm          4.1002        4.2194        .15710E-03   -.45042E-03
  14  Prefactor     .10002E-03    64.887        .20502    ** at limit **
  15  Prefactor     14.122        12.576        .10657E-03   -.57074E-04
  16  norm          .10000E-03    .19869        .18142E-03** at limit **
  17  Prefactor     14.131        58.281        .10680E-03    .88672E-04
  18  norm          12.279        5.0739        .47459E-04   -.70283E-03
  19  Prefactor     .10000E-03    18.466        .18142E-02** at limit **
  20  Prefactor     15.876        12.669        .50274E-03    .72250E-04
  21  Prefactor     .10000E-03    6.8013        .18142E-02** at limit **
  22  Normalizat    .80477        .28390        .34721E-03   -.23945E-03
  23  Prefactor     1.0837        .17823        .20432E-03   -.10018E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.88156
  norm       = 0.0001
  Prefactor  = 3.25054
  Prefactor  = 13.9058
  Prefactor  = 24.9213
  Prefactor  = 29.4128
  Prefactor  = 13.379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.14
  norm       = 4.10018
  Prefactor  = 0.000100017
  Prefactor  = 14.1219
  norm       = 0.0001
  Prefactor  = 14.1311
  norm       = 12.2792
  Prefactor  = 0.0001
  Prefactor  = 15.8755
  Prefactor  = 0.0001
  Normalizat = 0.804768
  Prefactor  = 1.08369
 **********
 **   18 **HESSE 
 **********

 FCN=   6546.030     FROM HESSE     STATUS=OK           356 CALLS     3683 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5351        .19560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.2382        .28406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8816        17.707        .57138E-05   -1.5146    
   4  norm          .10000E-03    3.7977        .30735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2505        6.6518        .89937E-05   -1.5347    
   6  Prefactor     13.906        20.903        .42950E-05   -1.4962    
   7  Prefactor     24.921        13.841        .32094E-05   -1.4709    
   8  Prefactor     29.413        17.905        .29530E-05   -1.4623    
   9  Prefactor     13.379        11.258        .43799E-05   -1.4976    
  10  Prefactor     .10000E-03    40.096        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.9055        .53190E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     61.140        48.287        .51346E-04   -1.4143    
  13  norm          4.1002        4.2185        .62839E-05   -1.5303    
  14  Prefactor     .10002E-03    66.627        .20057       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.122        12.576        .42627E-05   -1.4956    
  16  norm          .10000E-03    .19869        .36285E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.131        58.248        .42720E-05   -1.4956    
  18  norm          12.279        5.0729        .94918E-05   -1.5007    
  19  Prefactor     .10000E-03    18.466        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.876        12.669        .20110E-04   -1.4911    
  21  Prefactor     .10000E-03    6.8015        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .80477        .28410        .13888E-04   -.99892    
  23  Prefactor     1.0837        .17839        .40864E-04   -.89990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28878e-09
Minuit parameter uncertainties:
  1  7.81764e-06
  2  1.74513e-05
  3  17.7186
  4  3.89499e-06
  5  6.65332
  6  20.9137
  7  13.8423
  8  17.9087
  9  11.26
  10  0.000132849
  11  4.29036e-05
  12  48.3177
  13  4.21884
  14  0.00211785
  15  12.5786
  16  4.83138e-08
  17  57.4762
  18  5.07303
  19  3.28221e-05
  20  12.6712
  21  1.26251e-05
  22  0.284626
  23  0.178491
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.941e+01  1.791e+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.084e+00  1.785e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  8.048e-01  2.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.87
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 7.25e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 1.71e-05

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

Saving results to:
/scratch/kocevski/217844/likelihoodResults_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.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.93785686
delta logL = 1.0918253314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6544.90982937
delta logL = 1.11985281884

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5681       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5070       1.0000          .0000       10.000    
     3 'Normalizat'    .69281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1510       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=   6544.910     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      269 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5383        41.379        .42564E-02    .28198E-03
   2  Index         4.5111        3.4437        .12329        .12803E-03
   3  Normalizat    .69273        .84543E-01    .83927E-01    .31404E-04
   4  Prefactor     1.1511        .57683E-01    .35908E-01   -.31880E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.53829
  Index      = 4.51114
  Normalizat = 0.692733
  Prefactor  = 1.15114
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.910     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5383        58.655        .84675E-04   -1.5237    
   2  Index         4.5111        4.1403        .50281E-02   -.97928E-01
   3  Normalizat    .69273        .24187        .37168E-03   -1.0418    
   4  Prefactor     1.1511        .16301        .19913E-03   -.87848    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.52652e-07
Minuit parameter uncertainties:
  1  36.0922
  2  4.89035
  3  0.242246
  4  0.163084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217844': 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) = 6544.90982731
delta logL = 1.11985487861

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  5.538e+00  3.609e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.511e+00  4.890e+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.151e+00  1.631e-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:  6.927e-01  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 4.51 +/- 4.89
Photon Flux (Free Index): 1.79e-07 +/- 9.80e-08
Energy Flux (Free Index): 2.50e-05 +/- 2.38e-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/217844/cmap_HighResolution_512784001_513043201_4FGL_J2211.2-1325_daily_bin1055.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-02', comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='2.50e-05', photon_flux_error='7.25e-08', dlogl='1.12e+00', energy_flux='2.82e-05', photon_flux2='1.79e-07', job_status='DONE', time_completed='2021-09-28 07:02:25.953761', photon_index_error2='4.89', photon_index2='4.51', ts='3.87', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='2.49e-07', energy_flux_error2='2.38e-05', EG='0.80', time_epoch_completed='1632837745.95', return_code='0', job_id='217844', GAL2='1.15', EG2='0.69', return_code2='102', energy_flux_error='1.71e-05', photon_flux_error2='9.80e-08', ts2='6.68', photon_index='2.72' WHERE bin_id='1055' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:02:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 217844: <4FGL_J2211.2-1325_daily_bin1055> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1055 332.817 -13.4189 512784001 513043201 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 :                                   688.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            729 sec.

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

