/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 119 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 = 7427
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin125
RA = 332.817, Dec = -13.4189
tmin = 271728001, tmax = 271987201
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='213214', job_status='RUN', time_executed='2021-09-28 06:37:25.911441', time_epoch_executed='1632836245.91' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213214

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213214/ft1_4FGL_J2211.2-1325_daily_bin125.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213214/ft1_4FGL_J2211.2-1325_daily_bin125.fits outfile=/scratch/kocevski/213214/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin125.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=271728001.0 tmax=271987201.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.12
user 2.90
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.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/213214/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin125.fits evtable="EVENTS" outfile="/scratch/kocevski/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.fits" evtable="EVENTS" scfile=/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits sctable="SC_DATA" outfile=/scratch/kocevski/213214/ltcube_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.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/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits
.....................!
real 12.41
user 12.03
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits sctable="SC_DATA" expcube=/scratch/kocevski/213214/ltcube_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.fits outfile=/scratch/kocevski/213214/expmap_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.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/213214/ltcube_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.fits
.....................!
real 191.31
user 185.11
sys 5.63

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/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.fits scfile=/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits outfile=/scratch/kocevski/213214/cmap_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=332.817 yref=-13.4189 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.fits scfile=/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits outfile=/scratch/kocevski/213214/cmap_HighResolution_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.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.35
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/213214/ft2_4FGL_J2211.2-1325_daily_bin125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213214/Model_4FGL_J2211.2-1325_daily_bin125.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/213214/ft1_filtered_4FGL_J2211.2-1325_daily_bin125.fits.....................!
real 63.74
user 62.34
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51158       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .23077       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.528       1.0000         .10000E-03   10000.    
     4 'norm      '    3.5706       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7959       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.260       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13583E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7481       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.072       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.4743       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.080       1.0000         .10000E-03   10000.    
    16 'norm      '    .46087       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31670E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .11316E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.918       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5717       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.784       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91942       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89794       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=   6797.992     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2638 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51191        4.5395       -.17079E-05    .31333E-03
   2  Prefactor     .27956        44.413       -.74349E-05    .10453E-03
   3  Prefactor     17.531        13.638       -.83356E-07    .11110E-04
   4  norm          3.5702        4.1848       -.33169E-07   -.13704E-03
   5  Prefactor     1.7958        3.7300       -.32836E-06    .13618E-03
   6  Prefactor     13.261        12.084       -.47579E-07    .21166E-04
   7  Prefactor     .10000E-03    10.130       -.65917E-07** at limit **
   8  Prefactor     .10000E-03    4.8072       -.33669E-06** at limit **
   9  Prefactor     8.7490        11.927       -.16117E-06    .96185E-04
  10  Prefactor     .10000E-03    15.358       -.35292E-07** at limit **
  11  Prefactor     13.072        5.2709        .12486E-07    .34304E-03
  12  Prefactor     .10000E-03    38.614        .31569E-06** at limit **
  13  norm          6.4743        3.2150       -.21052E-07    .92769E-04
  14  Prefactor     .10001E-03    80.909        .10974E-05** at limit **
  15  Prefactor     20.080        14.965       -.11814E-06   -.33246E-05
  16  norm          .46095        .43676        .14106E-07    .26460E-03
  17  Prefactor     .10001E-03    23.019        .38407E-05** at limit **
  18  norm          .10000E-03    .61485       -.29800E-06** at limit **
  19  Prefactor     12.961        17.693        .31977E-05    .40644E-03
  20  Prefactor     1.5704        5.7753       -.64182E-06    .58301E-03
  21  Prefactor     10.788        14.451        .63793E-07    .10347E-03
  22  Normalizat    .91952        .19019        .47694E-06    .26652E-03
  23  Prefactor     .89784        .12621        .27180E-06    .33610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.51191
  Prefactor  = 0.279556
  Prefactor  = 17.5309
  norm       = 3.57019
  Prefactor  = 1.79575
  Prefactor  = 13.2614
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.74898
  Prefactor  = 0.0001
  Prefactor  = 13.0716
  Prefactor  = 0.000100002
  norm       = 6.4743
  Prefactor  = 0.000100012
  Prefactor  = 20.0799
  norm       = 0.460955
  Prefactor  = 0.000100012
  norm       = 0.000100002
  Prefactor  = 12.9613
  Prefactor  = 1.5704
  Prefactor  = 10.7882
  Normalizat = 0.919523
  Prefactor  = 0.89784
 **********
 **   18 **HESSE 
 **********

 FCN=   6797.992     FROM HESSE     STATUS=OK           384 CALLS     3022 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51191        4.7703        .34531E-03   -1.5565    
   2  Prefactor     .27956        69.786        .38668E-02   -1.5602    
   3  Prefactor     17.531        13.646        .95665E-04   -1.4870    
   4  norm          3.5702        4.1860        .17816E-03   -1.5330    
   5  Prefactor     1.7958        3.7079        .22030E-03   -1.5440    
   6  Prefactor     13.261        12.071        .11000E-03   -1.4979    
   7  Prefactor     .10000E-03    10.500        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.164        .34590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.7490        11.900        .13552E-03   -1.5116    
  10  Prefactor     .10000E-03    15.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.072        5.2606        .10506E-03   -1.4985    
  12  Prefactor     .10000E-03    38.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.4743        3.2140        .99580E-04   -1.5199    
  14  Prefactor     .10001E-03    82.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.080        15.048        .89382E-04   -1.4811    
  16  norm          .46095        .44517        .51281E-04   -1.5572    
  17  Prefactor     .10001E-03    54.373        .34555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.4685        .11790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.961        18.706        .11145E-03   -1.4988    
  20  Prefactor     1.5704        6.0317        .33906E-03   -1.5457    
  21  Prefactor     10.788        14.452        .12200E-03   -1.5051    
  22  Normalizat    .91952        .22469        .28057E-03   -.95777    
  23  Prefactor     .89784        .15086        .19474E-03   -.96217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98279e-09
Minuit parameter uncertainties:
  1  3.12537
  2  8.84265
  3  13.6482
  4  4.18635
  5  3.70834
  6  12.0728
  7  1.64693e-05
  8  0.000273947
  9  11.9033
  10  3.01562e-05
  11  5.26075
  12  0.000494711
  13  3.21411
  14  0.00195174
  15  15.0511
  16  0.445171
  17  0.00158508
  18  0.000113961
  19  18.7139
  20  6.03403
  21  14.4562
  22  0.224915
  23  0.150933
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  2.739e-04  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.978e-01  1.509e-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.195e-01  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 7.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213214/likelihoodResults_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.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): 102
logL (Free Index) = 6797.99178475
delta logL = -0.000222837358706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6797.991562
delta logL = -8.78508217284e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7090       1.0000          .0000       10.000    
     3 'Normalizat'    .91956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89783       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=   6797.992     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      228 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.2182        .68862E-01** at limit **
   2  Index         2.6955        8.6505        .50000        .48880E-05
   3  Normalizat    .91952        .22887E-02    .45151E-01    .14798E-04
   4  Prefactor     .89784        .15802E-02    .44977E-01   -.91375E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.69549
  Normalizat = 0.919522
  Prefactor  = 0.89784
 **********
 **   18 **HESSE 
 **********

 FCN=   6797.992     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      263 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    174.62        .34763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6955        6.4339        .50000       -.47901    
   3  Normalizat    .91952        .12881E-01    .28057E-03   -.95778    
   4  Prefactor     .89784        .88948E-02    .19474E-03   -.96217    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.074e-07
Minuit parameter uncertainties:
  1  0.000103985
  2  415.575
  3  0.0128814
  4  0.00889483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213214': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6797.99156187
delta logL = 3.83242877433e-08

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  1.040e-04  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.695e+00  4.156e+02  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.978e-01  8.895e-03  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.195e-01  1.288e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/213214/cmap_HighResolution_271728001_271987201_4FGL_J2211.2-1325_daily_bin125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.13e-08', time_completed='2021-09-28 06:48:15.973829', job_id='213214', GAL2='0.90', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632836895.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='125' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:48:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 213214: <4FGL_J2211.2-1325_daily_bin125> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin125> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:35:17 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:35:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:35:19 2021
Terminated at Tue Sep 28 06:48:16 2021
Results reported at Tue Sep 28 06:48:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin125 332.817 -13.4189 271728001 271987201 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 :                                   646.09 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            779 sec.

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

