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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1100
RA = 332.817, Dec = -13.4189
tmin = 524448001, tmax = 524707201
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='217918', job_status='RUN', time_executed='2021-09-28 06:51:43.442456', time_epoch_executed='1632837103.44' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1100'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217918/ft1_4FGL_J2211.2-1325_daily_bin1100.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217918/ft1_4FGL_J2211.2-1325_daily_bin1100.fits outfile=/scratch/kocevski/217918/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1100.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=524448001.0 tmax=524707201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.40
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217918/ft1_filtered_4FGL_J2211.2-1325_daily_bin1100.fits" evtable="EVENTS" scfile=/scratch/kocevski/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits sctable="SC_DATA" outfile=/scratch/kocevski/217918/ltcube_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.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/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits
.....................!
real 11.86
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217918/ft1_filtered_4FGL_J2211.2-1325_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits sctable="SC_DATA" expcube=/scratch/kocevski/217918/ltcube_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.fits outfile=/scratch/kocevski/217918/expmap_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.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/217918/ltcube_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.fits
.....................!
real 190.21
user 185.35
sys 4.54

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/217918/ft1_filtered_4FGL_J2211.2-1325_daily_bin1100.fits scfile=/scratch/kocevski/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits outfile=/scratch/kocevski/217918/cmap_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.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/217918/ft1_filtered_4FGL_J2211.2-1325_daily_bin1100.fits scfile=/scratch/kocevski/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits outfile=/scratch/kocevski/217918/cmap_HighResolution_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217918/ft1_filtered_4FGL_J2211.2-1325_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/217918/ft2_4FGL_J2211.2-1325_daily_bin1100.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217918/Model_4FGL_J2211.2-1325_daily_bin1100.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/217918/ft1_filtered_4FGL_J2211.2-1325_daily_bin1100.fits.....................!
real 55.21
user 53.92
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.163       1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.3001       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2994       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1925       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7386       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0388       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.544       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4564       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.0956       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3304       1.0000         .10000E-03   10000.    
    16 'norm      '    .56059       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.5190       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .48124       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2242       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=   6070.490     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2519 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5878        .44043E-07** at limit **
   2  Prefactor     .10000E-03    4.2146       -.27203E-07** at limit **
   3  Prefactor     18.163        17.005       -.78174E-07   -.14286E-04
   4  norm          .10000E-03    2.6871       -.13792E-07** at limit **
   5  Prefactor     8.3003        6.3604       -.16919E-06   -.15974E-04
   6  Prefactor     2.2942        26.603        .34018E-05   -.21110E-05
   7  Prefactor     2.1934        7.0407        .78930E-07   -.12598E-03
   8  Prefactor     7.7387        11.413       -.22302E-06   -.36443E-04
   9  Prefactor     6.0389        7.2199       -.27505E-06    .42256E-04
  10  Prefactor     41.542        51.340       -.23667E-05    .25060E-05
  11  Prefactor     3.4566        4.4073       -.25191E-05   -.13101E-04
  12  Prefactor     .10000E-03    25.300        .32410E-06** at limit **
  13  norm          4.0956        2.8791        .23665E-06    .76151E-04
  14  Prefactor     .10000E-03    89.182       -.95496E-06** at limit **
  15  Prefactor     1.3319        4.2871        .68703E-07   -.16594E-03
  16  norm          .56058        .60525       -.99915E-08    .21007E-04
  17  Prefactor     .10000E-03    15.620       -.13123E-05** at limit **
  18  norm          2.5176        1.0484       -.71756E-08    .29422E-03
  19  Prefactor     .10000E-03    9.3512       -.70542E-07** at limit **
  20  Prefactor     .10000E-03    3.0417       -.47155E-07** at limit **
  21  Prefactor     .10000E-03    13.519        .88943E-06** at limit **
  22  Normalizat    .48122        .20666        .16039E-06    .25103E-04
  23  Prefactor     1.2242        .14546        .41857E-06   -.14201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1633
  norm       = 0.0001
  Prefactor  = 8.30033
  Prefactor  = 2.2942
  Prefactor  = 2.19337
  Prefactor  = 7.73871
  Prefactor  = 6.03887
  Prefactor  = 41.5417
  Prefactor  = 3.45661
  Prefactor  = 0.0001
  norm       = 4.0956
  Prefactor  = 0.0001
  Prefactor  = 1.33188
  norm       = 0.560577
  Prefactor  = 0.0001
  norm       = 2.5176
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.481221
  Prefactor  = 1.22425
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.490     FROM HESSE     STATUS=OK           376 CALLS     2895 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7160        .32586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2246        .15621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.163        16.970        .93978E-04   -1.4855    
   4  norm          .10000E-03    2.6995        .12473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.3003        6.3520        .13915E-03   -1.5132    
   6  Prefactor     2.2942        26.289        .27064E-03   -1.5405    
   7  Prefactor     2.1934        8.1193        .13897E-02   -1.5412    
   8  Prefactor     7.7387        11.475        .72075E-03   -1.5152    
   9  Prefactor     6.0389        7.1984        .16339E-03   -1.5216    
  10  Prefactor     41.542        51.312        .62193E-04   -1.4418    
  11  Prefactor     3.4566        4.4091        .17304E-03   -1.5336    
  12  Prefactor     .10000E-03    25.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.0956        2.8786        .10656E-03   -1.5303    
  14  Prefactor     .10000E-03    89.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3319        13.907        .19037E-02   -1.5477    
  16  norm          .56058        .57259        .60488E-03   -1.5558    
  17  Prefactor     .10000E-03    15.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.5176        1.0415        .25741E-04   -1.5391    
  19  Prefactor     .10000E-03    9.3668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0438        .13271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .48122        .22771        .37273E-03   -1.1329    
  23  Prefactor     1.2242        .16051        .17565E-03   -.85588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93345e-10
Minuit parameter uncertainties:
  1  4.79958e-06
  2  2.02157e-06
  3  16.9741
  4  9.42541e-07
  5  6.35248
  6  15.5404
  7  8.12339
  8  11.4784
  9  7.19948
  10  51.3668
  11  4.40951
  12  4.37102e-06
  13  2.87865
  14  0.000162592
  15  8.60971
  16  0.572591
  17  4.83729e-06
  18  1.04149
  19  1.57651e-07
  20  1.5427e-07
  21  6.9816e-06
  22  0.22815
  23  0.160575
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.739e+00  1.148e+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.224e+00  1.606e-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:  4.812e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/217918/likelihoodResults_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.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) = 6070.34691731
delta logL = 0.14262696211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6070.3406824
delta logL = 0.148861870653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1493       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9719       1.0000          .0000       10.000    
     3 'Normalizat'    .50602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2122       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=   6070.341     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1493        9.9412        .37506E-02   -.43540E-03
   2  Index         1.9718        .63026        .25953       -.67581E-04
   3  Normalizat    .50604        .19657        .82143E-01    .39374E-04
   4  Prefactor     1.2122        .14295        .34349E-01   -.42596E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.14928
  Index      = 1.97177
  Normalizat = 0.506039
  Prefactor  = 1.21218
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.341     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1493        11.868        .15002E-03   -1.5173    
   2  Index         1.9718        1.0354        .11890E-01   -.65058    
   3  Normalizat    .50604        .21845        .36384E-03   -1.1214    
   4  Prefactor     1.2122        .15881        .17637E-03   -.85957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51847e-10
Minuit parameter uncertainties:
  1  11.8722
  2  1.04751
  3  0.218816
  4  0.158877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217918': 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) = 6070.34068239
delta logL = 0.14886188536

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.149e+00  1.187e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.972e+00  1.048e+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.212e+00  1.589e-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:  5.060e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
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/217918/cmap_HighResolution_524448001_524707201_4FGL_J2211.2-1325_daily_bin1100.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-28 07:03:21.941777', job_id='217918', GAL2='1.21', fit_tolerance='1e-08', EG2='0.51', EG='0.48', time_epoch_completed='1632837801.94', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.49e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1100' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:03:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 217918: <4FGL_J2211.2-1325_daily_bin1100> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1100 332.817 -13.4189 524448001 524707201 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 :                                   593.35 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            777 sec.

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

