/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 232 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 = 7396
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin385
RA = 332.817, Dec = -13.4189
tmin = 339120001, tmax = 339379201
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='213616', job_status='RUN', time_executed='2021-09-28 06:39:53.167808', time_epoch_executed='1632836393.17' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213616

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213616/ft1_4FGL_J2211.2-1325_daily_bin385.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213616/ft2_4FGL_J2211.2-1325_daily_bin385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213616/ft1_4FGL_J2211.2-1325_daily_bin385.fits outfile=/scratch/kocevski/213616/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin385.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=339120001.0 tmax=339379201.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.30
user 6.04
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213616/ft1_filtered_4FGL_J2211.2-1325_daily_bin385.fits" evtable="EVENTS" scfile=/scratch/kocevski/213616/ft2_4FGL_J2211.2-1325_daily_bin385.fits sctable="SC_DATA" outfile=/scratch/kocevski/213616/ltcube_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.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/213616/ft2_4FGL_J2211.2-1325_daily_bin385.fits
.....................!
real 11.33
user 10.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213616/ft1_filtered_4FGL_J2211.2-1325_daily_bin385.fits evtable="EVENTS" scfile=/scratch/kocevski/213616/ft2_4FGL_J2211.2-1325_daily_bin385.fits sctable="SC_DATA" expcube=/scratch/kocevski/213616/ltcube_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.fits outfile=/scratch/kocevski/213616/expmap_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.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/213616/ltcube_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.fits
.....................!
real 189.74
user 184.65
sys 4.78

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/213616/ft1_filtered_4FGL_J2211.2-1325_daily_bin385.fits scfile=/scratch/kocevski/213616/ft2_4FGL_J2211.2-1325_daily_bin385.fits outfile=/scratch/kocevski/213616/cmap_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.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.55
user 0.37
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4670       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.9909       1.0000         .10000E-03   10000.    
     4 'norm      '    6.7044       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.982       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.957       1.0000         .10000E-03   10000.    
    10 'Prefactor '    210.85       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .90786       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    24.305       1.0000         .10000E-03   10000.    
    14 'Prefactor '    117.31       1.0000         .10000E-03   10000.    
    15 'Prefactor '    38.819       1.0000         .10000E-03   10000.    
    16 'norm      '    .52684       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0302       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3057       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .69840       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=   4745.591     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2517 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7801        .65133E-07** at limit **
   2  Prefactor     6.4623        9.5212        .14034E-07   -.24754E-04
   3  Prefactor     10.009        22.644        .30865E-06   -.10631E-04
   4  norm          6.7038        6.5806       -.12001E-05    .50673E-03
   5  Prefactor     .10000E-03    6.1575        .16195E-06** at limit **
   6  Prefactor     .10000E-03    9.4609        .97635E-07** at limit **
   7  Prefactor     .10000E-03    5.9673        .22578E-07** at limit **
   8  Prefactor     12.974        16.193        .33499E-07   -.28920E-04
   9  Prefactor     13.923        19.008        .86492E-05   -.17013E-03
  10  Prefactor     210.92        112.28       -.11855E-06    .50388E-04
  11  Prefactor     .92950        8.1832       -.46966E-05   -.82337E-03
  12  Prefactor     .10000E-03    25.037        .16876E-07** at limit **
  13  norm          24.306        7.7090        .89152E-06   -.35146E-03
  14  Prefactor     117.05        123.02        .48420E-05   -.19381E-03
  15  Prefactor     38.833        20.841       -.50409E-07   -.10626E-04
  16  norm          .52694        1.0002        .36544E-06   -.35582E-03
  17  Prefactor     .10000E-03    4.2757       -.45083E-07** at limit **
  18  norm          .10000E-03    .33530       -.44409E-07** at limit **
  19  Prefactor     .10000E-03    10.140       -.11912E-06** at limit **
  20  Prefactor     1.0268        36.215        .33132E-05   -.93229E-04
  21  Prefactor     .10000E-03    8.0059       -.26239E-07** at limit **
  22  Normalizat    1.3052        .25486       -.39905E-06   -.28192E-04
  23  Prefactor     .69864        .15588        .68925E-06   -.15021E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.46231
  Prefactor  = 10.0095
  norm       = 6.70381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9743
  Prefactor  = 13.9234
  Prefactor  = 210.915
  Prefactor  = 0.929501
  Prefactor  = 0.0001
  norm       = 24.3062
  Prefactor  = 117.051
  Prefactor  = 38.8334
  norm       = 0.526938
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.02682
  Prefactor  = 0.0001
  Normalizat = 1.30523
  Prefactor  = 0.698635
 **********
 **   18 **HESSE 
 **********

 FCN=   4745.591     FROM HESSE     STATUS=OK           372 CALLS     2889 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8389        .13077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4623        9.5141        .15782E-03   -1.5199    
   3  Prefactor     10.009        22.701        .12677E-03   -1.5075    
   4  norm          6.7038        6.5438        .77485E-03   -1.5190    
   5  Prefactor     .10000E-03    6.2511        .16679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.4690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.9925        .16434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.974        16.244        .11117E-03   -1.4987    
   9  Prefactor     13.923        19.878        .10721E-03   -1.4962    
  10  Prefactor     210.92        112.14        .13921E-03   -1.2793    
  11  Prefactor     .92950        14.927        .29342E-02   -1.5515    
  12  Prefactor     .10000E-03    25.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          24.306        7.7293        .81252E-04   -1.4722    
  14  Prefactor     117.05        122.58        .18575E-03   -1.3540    
  15  Prefactor     38.833        20.924        .32165E-03   -1.4461    
  16  norm          .52694        .89979        .89600E-03   -1.5563    
  17  Prefactor     .10000E-03    4.2789        .13911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .33789        .38918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0268        37.407        .50056E-03   -1.5505    
  21  Prefactor     .10000E-03    8.0117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3052        .30679        .27073E-03   -.83410    
  23  Prefactor     .69864        .18637        .23011E-03   -1.0358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05879e-09
Minuit parameter uncertainties:
  1  7.01481e-06
  2  9.51637
  3  22.7209
  4  6.54453
  5  2.14627e-05
  6  7.97633e-06
  7  2.29982e-06
  8  16.2496
  9  19.8874
  10  112.259
  11  7.45153
  12  1.64696e-05
  13  7.72965
  14  122.842
  15  20.9281
  16  0.899815
  17  6.56598e-06
  18  1.56853e-06
  19  2.32988e-05
  20  12.403
  21  9.13405e-06
  22  0.307218
  23  0.186541
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.297e+01  1.625e+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:  6.986e-01  1.865e-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.305e+00  3.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/213616/likelihoodResults_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.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) = 4745.58340398
delta logL = 0.00792903420097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4745.58146846
delta logL = 0.00986455966267

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.984       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5877       1.0000          .0000       10.000    
     3 'Normalizat'    1.3099       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69580       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4745.581     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      277 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.003        18.481        .53555E-03   -.15963E-04
   2  Index         2.5892        .94226        .10856E-01    .60690E-04
   3  Normalizat    1.3099        .29076        .27031E-03   -.33057E-04
   4  Prefactor     .69581        .18558        .23052E-03   -.22045E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0034
  Index      = 2.58919
  Normalizat = 1.30992
  Prefactor  = 0.695815
 **********
 **   18 **HESSE 
 **********

 FCN=   4745.581     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.003        18.158        .21422E-04   -1.4959    
   2  Index         2.5892        .92602        .21712E-02   -.50312    
   3  Normalizat    1.3099        .29118        .10812E-04   -.83271    
   4  Prefactor     .69581        .18575        .92209E-05   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98751e-12
Minuit parameter uncertainties:
  1  18.1654
  2  0.933062
  3  0.291545
  4  0.18592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213616': 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) = 4745.58146572
delta logL = 0.00986729784654

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.400e+01  1.817e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.589e+00  9.331e-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:  6.958e-01  1.859e-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.310e+00  2.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.79
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/213616/cmap_HighResolution_339120001_339379201_4FGL_J2211.2-1325_daily_bin385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-02', job_status='DONE', photon_flux_upper_limit='1.92e-07', time_completed='2021-09-28 06:49:03.200721', job_id='213616', GAL2='0.70', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1632836943.2', return_code2='0', ts='0.79', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='9.87e-03', ts2='0.80', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='385' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:49:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 213616: <4FGL_J2211.2-1325_daily_bin385> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin385> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:35:51 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:35:53 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:53 2021
Terminated at Tue Sep 28 06:49:04 2021
Results reported at Tue Sep 28 06:49:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin385 332.817 -13.4189 339120001 339379201 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 :                                   548.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            793 sec.

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

