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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin552
RA = 332.817, Dec = -13.4189
tmin = 382406401, tmax = 382665601
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='214946', job_status='RUN', time_executed='2021-09-28 06:40:46.883945', time_epoch_executed='1632836446.88' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='552'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214946

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214946/ft1_4FGL_J2211.2-1325_daily_bin552.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214946/ft1_4FGL_J2211.2-1325_daily_bin552.fits outfile=/scratch/kocevski/214946/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin552.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=382406401.0 tmax=382665601.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.78
user 4.54
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214946/ft1_filtered_4FGL_J2211.2-1325_daily_bin552.fits" evtable="EVENTS" scfile=/scratch/kocevski/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits sctable="SC_DATA" outfile=/scratch/kocevski/214946/ltcube_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.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/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits
.....................!
real 15.59
user 15.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214946/ft1_filtered_4FGL_J2211.2-1325_daily_bin552.fits evtable="EVENTS" scfile=/scratch/kocevski/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits sctable="SC_DATA" expcube=/scratch/kocevski/214946/ltcube_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.fits outfile=/scratch/kocevski/214946/expmap_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.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/214946/ltcube_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.fits
.....................!
real 192.07
user 186.94
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/214946/ft1_filtered_4FGL_J2211.2-1325_daily_bin552.fits scfile=/scratch/kocevski/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits outfile=/scratch/kocevski/214946/cmap_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214946/ft1_filtered_4FGL_J2211.2-1325_daily_bin552.fits scfile=/scratch/kocevski/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits outfile=/scratch/kocevski/214946/cmap_HighResolution_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.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.60
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214946/ft1_filtered_4FGL_J2211.2-1325_daily_bin552.fits evtable="EVENTS" scfile=/scratch/kocevski/214946/ft2_4FGL_J2211.2-1325_daily_bin552.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214946/Model_4FGL_J2211.2-1325_daily_bin552.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/214946/ft1_filtered_4FGL_J2211.2-1325_daily_bin552.fits.....................!
real 69.10
user 67.58
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    15.557       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.871       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .83521E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5589       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4675       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2097       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.193       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17569E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10231E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.421       1.0000         .10000E-03   10000.    
    16 'norm      '    .91334       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1460       1.0000         .10000E-03   10000.    
    18 'norm      '    .11202E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6773       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16030E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2210       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2486       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=   7616.585     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9085        .31337E-07** at limit **
   2  Prefactor     .10000E-03    2.9836        .21356E-07** at limit **
   3  Prefactor     .10000E-03    4.3753        .33043E-07** at limit **
   4  norm          15.555        9.9935       -.25762E-07    .48498E-04
   5  Prefactor     16.876        9.3189       -.36258E-07    .22538E-03
   6  Prefactor     .10089E-03    11.632       -.99107E-06** at limit **
   7  Prefactor     4.5618        9.4944       -.15534E-06   -.57147E-04
   8  Prefactor     8.4702        12.303        .21297E-06    .12280E-03
   9  Prefactor     2.2116        8.6154        .16227E-05   -.10646E-03
  10  Prefactor     31.105        50.759       -.98015E-05   -.81855E-04
  11  Prefactor     .10000E-03    1.5514        .66411E-07** at limit **
  12  Prefactor     .10000E-03    91.034        .64497E-06** at limit **
  13  norm          .10000E-03    .99313       -.90858E-07** at limit **
  14  Prefactor     .10000E-03    74.558        .12578E-05** at limit **
  15  Prefactor     10.410        13.643       -.63847E-06   -.19734E-04
  16  norm          .91371        .73575       -.10216E-06    .10931E-02
  17  Prefactor     2.1223        14.475        .14748E-04    .48039E-03
  18  norm          .10000E-03    .58648       -.27086E-05** at limit **
  19  Prefactor     .10000E-03    18.403       -.11921E-05** at limit **
  20  Prefactor     3.6764        10.087        .44407E-06    .71955E-04
  21  Prefactor     .10000E-03    9.4309       -.66383E-06** at limit **
  22  Normalizat    1.2209        .22294        .49645E-06    .37008E-03
  23  Prefactor     1.2486        .15050       -.12536E-06    .70620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.555
  Prefactor  = 16.8762
  Prefactor  = 0.000100887
  Prefactor  = 4.56183
  Prefactor  = 8.47019
  Prefactor  = 2.21157
  Prefactor  = 31.105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4104
  norm       = 0.913705
  Prefactor  = 2.12225
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 3.67638
  Prefactor  = 0.000100004
  Normalizat = 1.22087
  Prefactor  = 1.24861
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.585     FROM HESSE     STATUS=OK           382 CALLS     2962 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9120        .11774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.9853        .14722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.3784        .17828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.555        10.004        .10154E-03   -1.4919    
   5  Prefactor     16.876        9.3201        .97508E-04   -1.4886    
   6  Prefactor     .10089E-03    12.897        .95155E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5618        9.4897        .18853E-03   -1.5281    
   8  Prefactor     8.4702        12.301        .13776E-03   -1.5126    
   9  Prefactor     2.2116        8.5823        .27672E-03   -1.5411    
  10  Prefactor     31.105        51.082        .71740E-04   -1.4592    
  11  Prefactor     .10000E-03    1.5600        .10608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    91.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .99738        .84908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    74.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.410        13.707        .12412E-03   -1.5063    
  16  norm          .91371        .71197        .64351E-03   -1.5517    
  17  Prefactor     2.1223        17.512        .28131E-03   -1.5417    
  18  norm          .10000E-03    .93566        .12149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.6764        10.062        .21063E-03   -1.5324    
  21  Prefactor     .10000E-03    67.676        .52005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2209        .27096        .31574E-03   -.85960    
  23  Prefactor     1.2486        .18383        .21792E-03   -.84848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94826e-09
Minuit parameter uncertainties:
  1  3.30267e-06
  2  3.1481e-06
  3  4.69413e-06
  4  10.0046
  5  9.32088
  6  0.00676696
  7  9.4928
  8  12.3045
  9  8.58712
  10  51.1543
  11  1.07045e-05
  12  5.41274e-05
  13  7.98536e-06
  14  3.69965e-05
  15  13.711
  16  0.711975
  17  12.1972
  18  9.85381e-05
  19  8.95593e-05
  20  10.0665
  21  0.00104481
  22  0.271277
  23  0.183926
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.470e+00  1.230e+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.249e+00  1.839e-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.221e+00  2.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/214946/likelihoodResults_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.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) = 7616.40893426
delta logL = 0.17606906854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7616.36613556
delta logL = 0.218867766092

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.474       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1914       1.0000          .0000       10.000    
     3 'Normalizat'    1.2343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2381       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=   7616.366     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      228 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.455        6.1949       -.23581E-06   -.17463E-03
   2  Index         2.1909        .47307        .73915E-06   -.27425E-04
   3  Normalizat    1.2341        .21328       -.21162E-07   -.22542E-03
   4  Prefactor     1.2382        .14869        .31109E-07   -.83348E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4554
  Index      = 2.19086
  Normalizat = 1.23412
  Prefactor  = 1.23824
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.366     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.455        14.524        .56709E-03   -1.5002    
   2  Index         2.1909        .67061        .10976E-01   -.59659    
   3  Normalizat    1.2341        .25983        .31423E-03   -.85555    
   4  Prefactor     1.2382        .18167        .21864E-03   -.85162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03773e-09
Minuit parameter uncertainties:
  1  14.5278
  2  0.67358
  3  0.260108
  4  0.181762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214946': 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) = 7616.36613386
delta logL = 0.21886946524

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.246e+01  1.453e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.191e+00  6.736e-01  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.238e+00  1.818e-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.234e+00  2.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.19 +/- 0.67
Photon Flux (Free Index): 3.18e-08 +/- 4.04e-08
Energy Flux (Free Index): 1.45e-05 +/- 2.02e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/214946/cmap_HighResolution_382406401_382665601_4FGL_J2211.2-1325_daily_bin552.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', energy_flux2='1.45e-05', dlogl='2.19e-01', photon_flux2='3.18e-08', job_status='DONE', time_completed='2021-09-28 06:52:43.929896', photon_index_error2='0.67', photon_index2='2.19', ts='0.63', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='2.02e-05', EG='1.22', time_epoch_completed='1632837163.93', return_code='0', job_id='214946', GAL2='1.24', EG2='1.23', return_code2='0', photon_flux_error2='4.04e-08', ts2='1.06', photon_index='2.72' WHERE bin_id='552' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:52:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 214946: <4FGL_J2211.2-1325_daily_bin552> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin552> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:40:31 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:40:33 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:33 2021
Terminated at Tue Sep 28 06:52:44 2021
Results reported at Tue Sep 28 06:52:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin552 332.817 -13.4189 382406401 382665601 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 :                                   712.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            733 sec.

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

