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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin506
RA = 332.817, Dec = -13.4189
tmin = 370483201, tmax = 370742401
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='214874', job_status='RUN', time_executed='2021-09-28 06:43:02.822628', time_epoch_executed='1632836582.82' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214874

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214874/ft1_4FGL_J2211.2-1325_daily_bin506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214874/ft1_4FGL_J2211.2-1325_daily_bin506.fits outfile=/scratch/kocevski/214874/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin506.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=370483201.0 tmax=370742401.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 19.80
user 19.30
sys 0.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.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/214874/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin506.fits evtable="EVENTS" outfile="/scratch/kocevski/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits" evtable="EVENTS" scfile=/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits sctable="SC_DATA" outfile=/scratch/kocevski/214874/ltcube_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.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/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits
.....................!
real 10.08
user 9.68
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits evtable="EVENTS" scfile=/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits sctable="SC_DATA" expcube=/scratch/kocevski/214874/ltcube_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.fits outfile=/scratch/kocevski/214874/expmap_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.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/214874/ltcube_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.fits
.....................!
real 190.22
user 184.96
sys 4.96

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/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits scfile=/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits outfile=/scratch/kocevski/214874/cmap_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.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.54
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits evtable="EVENTS" scfile=/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214874/Model_4FGL_J2211.2-1325_daily_bin506.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/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits.............................!
real 17.14
user 15.83
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits', '/scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits', expMap='/scratch/kocevski/214874/expmap_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.fits', expCube='/scratch/kocevski/214874/ltcube_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214874/Model_4FGL_J2211.2-1325_daily_bin506.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/214874/ft1_filtered_4FGL_J2211.2-1325_daily_bin506.fits
Spacecraft file(s): /scratch/kocevski/214874/ft2_4FGL_J2211.2-1325_daily_bin506.fits
Exposure map: /scratch/kocevski/214874/expmap_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.fits
Exposure cube: /scratch/kocevski/214874/ltcube_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214874/Model_4FGL_J2211.2-1325_daily_bin506.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 394.490974566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 389.149436732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1957       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8448       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1631       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8855       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2023       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.7985       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1998       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1838       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.380       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1566       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .20728       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4227       1.0000         .10000E-03   10000.    
    13 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    313.69       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3824       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .66469E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10561E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    275.54       1.0000         .10000E-03   10000.    
    20 'Prefactor '    92.453       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10700E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .36061       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   389.1473     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      402 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1957        1.1366         .0000         .0000    
   2  Prefactor     1.8448        1.0425         .0000         .0000    
   3  Prefactor     4.1631        1.0074         .0000         .0000    
   4  norm          1.8855        1.0404         .0000         .0000    
   5  Prefactor     3.2023        1.0127         .0000         .0000    
   6  Prefactor     6.7985        1.0027         .0000         .0000    
   7  Prefactor     1.1998        1.1350         .0000         .0000    
   8  Prefactor     3.1838        1.0129         .0000         .0000    
   9  Prefactor     13.394        1.1701        .44182E-06    .12360E-02
  10  Prefactor     .10269E-03    306.15       -.11632E-02** at limit **
  11  Prefactor     .19739        .49624       -.81667E-05   -.42577E-04
  12  Prefactor     6.4227        1.0031         .0000         .0000    
  13  norm          .10000E-03    5.7202        .27173E-04** at limit **
  14  Prefactor     313.78        2.8641        .35531E-05   -.75782E-01
  15  Prefactor     4.3824        1.0067         .0000         .0000    
  16  norm          .10000E-03    1.3449       -.18299E-05** at limit **
  17  Prefactor     .10061E-03    112.28       -.80891E-04** at limit **
  18  norm          .10000E-03    18.693        .13943E-03** at limit **
  19  Prefactor     275.53        1.0099       -.28524E-06   -.93130E-03
  20  Prefactor     92.456        1.0613        .46198E-06   -.53402E-02
  21  Prefactor     .10000E-03    34.772       -.64684E-04** at limit **
  22  Normalizat    .10000E-01    2.2456       -.11882E-02** at limit **
  23  Prefactor     .36089        .18898       -.47246E-04    .18412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19573
  Prefactor  = 1.84479
  Prefactor  = 4.16305
  norm       = 1.88546
  Prefactor  = 3.20229
  Prefactor  = 6.79846
  Prefactor  = 1.19983
  Prefactor  = 3.18385
  Prefactor  = 13.3938
  Prefactor  = 0.000102687
  Prefactor  = 0.197395
  Prefactor  = 6.42266
  norm       = 0.000100002
  Prefactor  = 313.775
  Prefactor  = 4.38242
  norm       = 0.0001
  Prefactor  = 0.000100612
  norm       = 0.000100002
  Prefactor  = 275.528
  Prefactor  = 92.4559
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.360892
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   389.1473     FROM HESSE     STATUS=FAILED         9 CALLS      411 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     583.94        582.48         .0000       -1.5489    
   2  Prefactor     1.8448        1.0425         .0000       -1.5436    
   3  Prefactor     4.1631        1.0074         .0000       -1.5300    
   4  norm          1.8855        1.0404         .0000       -1.5433    
   5  Prefactor     3.2023        1.0127         .0000       -1.5350    
   6  Prefactor     6.7985        1.0027         .0000       -1.5186    
   7  Prefactor     1.1998        1.1350         .0000       -1.5489    
   8  Prefactor     3.1838        1.0129         .0000       -1.5351    
   9  Prefactor     13.394        1.0012        .44182E-06   -1.4976    
  10  Prefactor     .10269E-03    .28780       -.11632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19739        .44465       -.81667E-05   -1.5619    
  12  Prefactor     6.4227        1.0031         .0000       -1.5201    
  13  norm          .10000E-03    .20571        .27173E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     313.78        1.0001        .35531E-05   -1.2146    
  15  Prefactor     4.3824        1.0067         .0000       -1.5289    
  16  norm          .10000E-03    .20571       -.18299E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10061E-03    .21856       -.80891E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .20571        .13943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     275.53        .99998       -.28524E-06   -1.2373    
  20  Prefactor     92.456        1.0000        .46198E-06   -1.3782    
  21  Prefactor     .10000E-03    .20571       -.64684E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25505       -.11882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .36089        .68628       -.47246E-04   -1.1885    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.87428e-09
Minuit parameter uncertainties:
  1  1.13659
  2  1.04248
  3  1.0074
  4  1.04038
  5  1.01274
  6  1.00273
  7  1.135
  8  1.01289
  9  1.00121
  10  0.00175863
  11  0.444655
  12  1.00306
  13  3.86139e-05
  14  1.00013
  15  1.00666
  16  1.16777e-05
  17  0.00073162
  18  4.0981e-05
  19  0.999985
  20  1.00003
  21  1.2077e-05
  22  6.78789e-06
  23  0.702797
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 389.147272937

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  1.013e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  3.609e-01  7.028e-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.000e-02  6.788e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.88e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214874/likelihoodResults_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.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): 101
logL (Free Index) = 389.148152737
delta logL = -0.00087979995925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 389.148152737
delta logL = -0.00087979995925

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.7246       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   389.1482     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.7246        1.0071        .22818         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.7246
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   389.1482     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .84067        1.9429        .22818       -.47246    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.01591
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214874': 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): 101
logL (Free Index) = 389.148152737
delta logL = -0.00087979995925

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
245        Index:  2.725e+00  1.016e+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:  3.607e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 332.817 -13.419

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/214874/cmap_HighResolution_370483201_370742401_4FGL_J2211.2-1325_daily_bin506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.88e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-28 06:49:44.838248', job_id='214874', GAL2='0.36', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632836984.84', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.36', dlogl='-8.80e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='506' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:49:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 214874: <4FGL_J2211.2-1325_daily_bin506> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin506 332.817 -13.4189 370483201 370742401 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 :                                   393.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             232.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            560 sec.

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

