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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin270
RA = 332.817, Dec = -13.4189
tmin = 309312001, tmax = 309571201
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='213440', job_status='RUN', time_executed='2021-09-28 06:38:41.052140', time_epoch_executed='1632836321.05' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213440/ft1_4FGL_J2211.2-1325_daily_bin270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213440/ft2_4FGL_J2211.2-1325_daily_bin270.fits


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

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

Done.
real 4.00
user 3.78
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213440/ft1_filtered_4FGL_J2211.2-1325_daily_bin270.fits" evtable="EVENTS" scfile=/scratch/kocevski/213440/ft2_4FGL_J2211.2-1325_daily_bin270.fits sctable="SC_DATA" outfile=/scratch/kocevski/213440/ltcube_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.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/213440/ft2_4FGL_J2211.2-1325_daily_bin270.fits
.....................!
real 12.06
user 11.72
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213440/ft1_filtered_4FGL_J2211.2-1325_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/213440/ft2_4FGL_J2211.2-1325_daily_bin270.fits sctable="SC_DATA" expcube=/scratch/kocevski/213440/ltcube_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.fits outfile=/scratch/kocevski/213440/expmap_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.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/213440/ltcube_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.fits
.....................!
real 192.76
user 187.10
sys 5.13

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213440/ft1_filtered_4FGL_J2211.2-1325_daily_bin270.fits scfile=/scratch/kocevski/213440/ft2_4FGL_J2211.2-1325_daily_bin270.fits outfile=/scratch/kocevski/213440/cmap_HighResolution_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22182       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.267       1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43876       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8465       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4217       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9239       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.229       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3021       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.335       1.0000         .10000E-03   10000.    
    14 'Prefactor '    69.197       1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.994       1.0000         .10000E-03   10000.    
    16 'norm      '    .37885       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11759E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.688       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9369       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85466       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0147       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=   8676.083     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2595 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22078        2.0719       -.11002E-05   -.13245E-03
   2  Prefactor     .10000E-03    3.2469       -.14959E-06** at limit **
   3  Prefactor     17.263        13.020        .27871E-06    .25275E-03
   4  norm          .10000E-03    2.5366       -.14510E-07** at limit **
   5  Prefactor     .43879        3.5774       -.30124E-05   -.30498E-03
   6  Prefactor     3.8480        10.859        .30230E-08    .96907E-04
   7  Prefactor     8.4203        9.3914       -.15660E-06    .12621E-04
   8  Prefactor     .10000E-03    11.678       -.23955E-06** at limit **
   9  Prefactor     8.9323        9.6425       -.19808E-06    .80280E-04
  10  Prefactor     26.201        38.994        .22934E-06    .14745E-03
  11  Prefactor     1.2994        4.4107       -.47725E-06   -.15716E-04
  12  Prefactor     .10000E-03    31.017       -.65446E-06** at limit **
  13  norm          10.337        3.7198       -.52469E-07    .10947E-03
  14  Prefactor     69.147        62.854        .25563E-06    .17147E-03
  15  Prefactor     41.994        14.652       -.30071E-07    .43348E-04
  16  norm          .37872        .59433       -.64186E-07   -.26879E-04
  17  Prefactor     .10001E-03    31.201       -.11317E-04** at limit **
  18  norm          .10000E-03    .29969       -.19064E-06** at limit **
  19  Prefactor     26.650        18.412        .19088E-06    .30294E-03
  20  Prefactor     4.9366        5.3092        .69438E-08    .10097E-04
  21  Prefactor     .10000E-03    6.1318       -.16867E-06** at limit **
  22  Normalizat    .85468        .17751       -.24523E-06    .54096E-03
  23  Prefactor     1.0147        .11897        .77164E-06    .14397E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.22078
  Prefactor  = 0.0001
  Prefactor  = 17.2633
  norm       = 0.0001
  Prefactor  = 0.438793
  Prefactor  = 3.84798
  Prefactor  = 8.42033
  Prefactor  = 0.0001
  Prefactor  = 8.93229
  Prefactor  = 26.2005
  Prefactor  = 1.29941
  Prefactor  = 0.000100001
  norm       = 10.3374
  Prefactor  = 69.1472
  Prefactor  = 41.9937
  norm       = 0.378721
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 26.6503
  Prefactor  = 4.93662
  Prefactor  = 0.0001
  Normalizat = 0.85468
  Prefactor  = 1.01469
 **********
 **   18 **HESSE 
 **********

 FCN=   8676.083     FROM HESSE     STATUS=OK           376 CALLS     2971 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22078        10.505        .24275E-02   -1.5614    
   2  Prefactor     .10000E-03    3.2638        .16393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.263        13.014        .96385E-04   -1.4877    
   4  norm          .10000E-03    2.5585        .14486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .43879        3.7919        .34610E-03   -1.5575    
   6  Prefactor     3.8480        10.820        .20577E-03   -1.5316    
   7  Prefactor     8.4203        9.4010        .13814E-03   -1.5128    
   8  Prefactor     .10000E-03    12.065        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.9323        9.2689        .13417E-03   -1.5110    
  10  Prefactor     26.201        39.059        .78220E-04   -1.4684    
  11  Prefactor     1.2994        4.2325        .28955E-03   -1.5480    
  12  Prefactor     .10000E-03    31.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.337        3.7162        .99953E-04   -1.5065    
  14  Prefactor     69.147        62.821        .24127E-03   -1.4043    
  15  Prefactor     41.994        14.715        .61860E-04   -1.4411    
  16  norm          .37872        .53634        .85343E-03   -1.5585    
  17  Prefactor     .10001E-03    32.905        .37039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .38979        .90833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.650        18.529        .77546E-04   -1.4675    
  20  Prefactor     4.9366        5.3098        .18101E-03   -1.5264    
  21  Prefactor     .10000E-03    6.1545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .85468        .20160        .29577E-03   -.98071    
  23  Prefactor     1.0147        .13506        .19228E-03   -.92241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97128e-08
Minuit parameter uncertainties:
  1  3.04579
  2  7.05923e-06
  3  13.0163
  4  7.91383e-07
  5  2.57973
  6  10.8251
  7  9.40261
  8  3.77235e-05
  9  9.2704
  10  39.0968
  11  4.23346
  12  0.000277605
  13  3.71632
  14  62.8809
  15  14.7158
  16  0.536345
  17  0.00100191
  18  1.13065e-05
  19  18.5326
  20  5.31028
  21  6.67129e-06
  22  0.201773
  23  0.135108
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  3.772e-05  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.015e+00  1.351e-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.547e-01  2.018e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213440/likelihoodResults_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.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) = 8676.08368046
delta logL = -0.00039564375038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8676.08328665
delta logL = -1.8395621737e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14292E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6719       1.0000          .0000       10.000    
     3 'Normalizat'    .85491       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0146       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=   8676.083     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      273 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1051.6        .36285E-02** at limit **
   2  Index         2.0836        7.8180        .50000       -.20664E-06
   3  Normalizat    .85467        .15112E-01    .29576E-03   -.77043E-03
   4  Prefactor     1.0147        .10688E-01    .19228E-03   -.11695E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08365
  Normalizat = 0.854673
  Prefactor  = 1.01469
 **********
 **   18 **HESSE 
 **********

 FCN=   8676.083     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9660.7        .14514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0836        8.3670        .50000       -.62275    
   3  Normalizat    .85467        .95563E-01    .59152E-04   -.98072    
   4  Prefactor     1.0147        .67596E-01    .38456E-04   -.92241    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.84707e-09
Minuit parameter uncertainties:
  1  0.000953275
  2  1238.64
  3  0.0955814
  4  0.0676019
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213440': 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) = 8676.08328127
delta logL = 3.5390839912e-06

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  9.533e-04  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.084e+00  1.239e+03  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.015e+00  6.760e-02  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.547e-01  9.558e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/213440/cmap_HighResolution_309312001_309571201_4FGL_J2211.2-1325_daily_bin270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.09e-08', time_completed='2021-09-28 06:51:11.986007', job_id='213440', GAL2='1.01', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632837071.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.54e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='270' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:51:12 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin270 332.817 -13.4189 309312001 309571201 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 :                                   746.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            936 sec.

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

