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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin942
RA = 332.817, Dec = -13.4189
tmin = 483494401, tmax = 483753601
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='216666', job_status='RUN', time_executed='2021-09-28 06:46:00.890631', time_epoch_executed='1632836760.89' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216666/ft1_4FGL_J2211.2-1325_daily_bin942.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216666/ft1_4FGL_J2211.2-1325_daily_bin942.fits outfile=/scratch/kocevski/216666/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin942.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=483494401.0 tmax=483753601.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 6.47
user 6.20
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.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/216666/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin942.fits evtable="EVENTS" outfile="/scratch/kocevski/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.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/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.fits" evtable="EVENTS" scfile=/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits sctable="SC_DATA" outfile=/scratch/kocevski/216666/ltcube_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.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/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits
.....................!
real 11.56
user 11.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits sctable="SC_DATA" expcube=/scratch/kocevski/216666/ltcube_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.fits outfile=/scratch/kocevski/216666/expmap_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.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/216666/ltcube_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.fits
.....................!
real 189.80
user 185.18
sys 4.29

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/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.fits scfile=/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits outfile=/scratch/kocevski/216666/cmap_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.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/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.fits scfile=/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits outfile=/scratch/kocevski/216666/cmap_HighResolution_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/216666/ft2_4FGL_J2211.2-1325_daily_bin942.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216666/Model_4FGL_J2211.2-1325_daily_bin942.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/216666/ft1_filtered_4FGL_J2211.2-1325_daily_bin942.fits.....................!
real 47.12
user 45.90
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14701E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11331E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.7699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3682       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.6714       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4896       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.804       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    67.245       1.0000         .10000E-03   10000.    
    13 'norm      '    13.156       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21723E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    38.050       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6310       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .68803E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    1.2494       1.0000         .10000E-03   10000.    
    19 'Prefactor '    55.250       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5265       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94101       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83031       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=   4775.633     FROM MIGRAD    STATUS=CONVERGED    913 CALLS     3330 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1613        .50897E-01** at limit **
   2  Prefactor     .10000E-03    4.4441        .14220E-02** at limit **
   3  Prefactor     .10000E-03    24.810        .18142E-02** at limit **
   4  norm          5.7696        6.0904        .16721E-03   -.55074E-05
   5  Prefactor     2.3686        5.1486        .22199E-03   -.18795E-04
   6  Prefactor     .10000E-03    6.4938        .17191E-02** at limit **
   7  Prefactor     .10000E-03    6.5635        .17199E-02** at limit **
   8  Prefactor     8.6768        11.820        .13612E-03   -.15701E-04
   9  Prefactor     7.4892        10.729        .14655E-03   -.95421E-05
  10  Prefactor     13.819        50.424        .10781E-03   -.21091E-06
  11  Prefactor     .10000E-03    2.5791        .10739E-02** at limit **
  12  Prefactor     67.383        63.454        .24473E-03    .67824E-05
  13  norm          13.154        5.3716        .96840E-04    .11974E-04
  14  Prefactor     .10000E-03    213.58        .18142E-02** at limit **
  15  Prefactor     38.040        19.671        .64976E-04    .12248E-05
  16  norm          5.6305        1.6914        .46074E-04   -.40467E-04
  17  Prefactor     .10016E-03    72.263        .72804E-01** at limit **
  18  norm          1.2491        1.9672        .75127E-04    .63254E-04
  19  Prefactor     55.255        47.018        .53965E-04    .10112E-04
  20  Prefactor     8.5277        11.771        .13728E-03   -.51344E-05
  21  Prefactor     .10000E-03    7.7597        .18142E-02** at limit **
  22  Normalizat    .94078        .27347        .28963E-03    .25043E-04
  23  Prefactor     .83027        .17329        .20407E-03    .23509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.76961
  Prefactor  = 2.36862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.67679
  Prefactor  = 7.48921
  Prefactor  = 13.8192
  Prefactor  = 0.0001
  Prefactor  = 67.3832
  norm       = 13.1538
  Prefactor  = 0.0001
  Prefactor  = 38.0399
  norm       = 5.63053
  Prefactor  = 0.000100158
  norm       = 1.24913
  Prefactor  = 55.2554
  Prefactor  = 8.52766
  Prefactor  = 0.0001
  Normalizat = 0.94078
  Prefactor  = 0.83027
 **********
 **   18 **HESSE 
 **********

 FCN=   4775.633     FROM HESSE     STATUS=OK           366 CALLS     3696 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6991        .52925E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4443        .28440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.825        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.7696        6.0905        .66882E-05   -1.5228    
   5  Prefactor     2.3686        5.1481        .88795E-05   -1.5400    
   6  Prefactor     .10000E-03    6.4940        .34381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.5660        .34398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.6768        11.820        .54449E-05   -1.5119    
   9  Prefactor     7.4892        10.728        .58618E-05   -1.5161    
  10  Prefactor     13.819        50.429        .43123E-05   -1.4964    
  11  Prefactor     .10000E-03    2.5796        .21477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     67.383        63.453        .97890E-05   -1.4064    
  13  norm          13.154        5.3715        .38736E-05   -1.4982    
  14  Prefactor     .10000E-03    213.70        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     38.040        19.669        .25990E-05   -1.4474    
  16  norm          5.6305        1.6909        .18429E-05   -1.5233    
  17  Prefactor     .10016E-03    53.727        .82176E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.2491        1.9029        .30051E-05   -1.5484    
  19  Prefactor     55.255        46.895        .21586E-05   -1.4220    
  20  Prefactor     8.5277        11.770        .54913E-05   -1.5124    
  21  Prefactor     .10000E-03    7.7600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .94078        .27368        .11585E-04   -.95042    
  23  Prefactor     .83027        .17345        .81628E-05   -.98622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.54306e-12
Minuit parameter uncertainties:
  1  0.000330954
  2  7.27499e-07
  3  9.08283e-06
  4  6.09113
  5  5.14903
  6  2.11366e-06
  7  1.32455e-06
  8  11.8229
  9  10.7312
  10  50.5851
  11  4.18665e-06
  12  63.5164
  13  5.37172
  14  0.000243188
  15  19.6724
  16  1.69087
  17  0.00583247
  18  1.90301
  19  46.9267
  20  11.7736
  21  3.10574e-07
  22  0.274084
  23  0.17356
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.677e+00  1.182e+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.303e-01  1.736e-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:  9.408e-01  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/216666/likelihoodResults_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.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) = 4775.10048472
delta logL = 0.532306659285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4775.08536857
delta logL = 0.547422810549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9508       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2723       1.0000          .0000       10.000    
     3 'Normalizat'    .89693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85024       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=   4775.085     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      251 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9419        61.976        .59104E-02    .12865E-02
   2  Index         4.2749        7.0667        .20365        .87558E-04
   3  Normalizat    .89681        .70513E-01    .66846E-01    .24045E-04
   4  Prefactor     .85036        .46380E-01    .44368E-01   -.14401E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.94194
  Index      = 4.27487
  Normalizat = 0.896806
  Prefactor  = 0.850358
 **********
 **   18 **HESSE 
 **********

 FCN=   4775.085     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9419        12.626        .10079E-03   -1.5365    
   2  Index         4.2749        3.0194        .75814E-02   -.14554    
   3  Normalizat    .89681        .26088        .29571E-03   -.96572    
   4  Prefactor     .85036        .17216        .20183E-03   -.97898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88976e-09
Minuit parameter uncertainties:
  1  12.1936
  2  3.24766
  3  0.261252
  4  0.172265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216666': 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) = 4775.08536722
delta logL = 0.547424159753

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.942e+00  1.219e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.275e+00  3.248e+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.504e-01  1.723e-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.968e-01  2.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 4.27 +/- 3.25
Photon Flux (Free Index): 7.06e-08 +/- 6.34e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.00e-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/216666/cmap_HighResolution_483494401_483753601_4FGL_J2211.2-1325_daily_bin942.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='5.47e-01', photon_flux2='7.06e-08', job_status='DONE', time_completed='2021-09-28 06:55:51.215547', photon_index_error2='3.25', photon_index2='4.27', ts='0.71', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='1.00e-05', EG='0.94', time_epoch_completed='1632837351.22', return_code='0', job_id='216666', GAL2='0.85', EG2='0.90', return_code2='0', photon_flux_error2='6.34e-08', ts2='1.87', photon_index='2.72' WHERE bin_id='942' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:55:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 216666: <4FGL_J2211.2-1325_daily_bin942> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin942> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:48 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:49 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:45:49 2021
Terminated at Tue Sep 28 06:55:51 2021
Results reported at Tue Sep 28 06:55:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin942 332.817 -13.4189 483494401 483753601 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 :                                   584.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            603 sec.

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

