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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin500
RA = 332.817, Dec = -13.4189
tmin = 368928001, tmax = 369187201
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='214865', job_status='RUN', time_executed='2021-09-28 06:42:03.689919', time_epoch_executed='1632836523.69' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214865

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214865/ft1_4FGL_J2211.2-1325_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214865/ft1_4FGL_J2211.2-1325_daily_bin500.fits outfile=/scratch/kocevski/214865/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin500.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=368928001.0 tmax=369187201.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.32
user 3.14
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.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/214865/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin500.fits evtable="EVENTS" outfile="/scratch/kocevski/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.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/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/214865/ltcube_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.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/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits
.....................!
real 11.97
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/214865/ltcube_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.fits outfile=/scratch/kocevski/214865/expmap_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.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/214865/ltcube_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.fits
.....................!
real 191.81
user 186.78
sys 4.68

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/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.fits scfile=/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits outfile=/scratch/kocevski/214865/cmap_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.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.57
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.fits scfile=/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits outfile=/scratch/kocevski/214865/cmap_HighResolution_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/214865/ft2_4FGL_J2211.2-1325_daily_bin500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214865/Model_4FGL_J2211.2-1325_daily_bin500.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/214865/ft1_filtered_4FGL_J2211.2-1325_daily_bin500.fits.....................!
real 65.11
user 63.73
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18191       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1469       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7245       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.284       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6030       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8116       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9297       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.1656       1.0000         .10000E-03   10000.    
    14 'Prefactor '    97.282       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4837       1.0000         .10000E-03   10000.    
    16 'norm      '    3.5123       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10298E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .57210E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.025       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.186       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99329       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83776       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=   7175.379     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2579 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6356        7.4956       -.75527E-06   -.17210E-05
   2  Prefactor     .18567        47.161       -.22745E-04   -.22435E-03
   3  Prefactor     .10000E-03    9.8326       -.28536E-06** at limit **
   4  norm          3.1475        3.1288        .14330E-06   -.57646E-04
   5  Prefactor     .10000E-03    2.0454       -.12233E-06** at limit **
   6  Prefactor     .10000E-03    9.2830       -.16210E-06** at limit **
   7  Prefactor     1.7244        5.3334       -.27575E-05    .40808E-04
   8  Prefactor     16.285        9.7156       -.12378E-06    .90110E-04
   9  Prefactor     7.6024        8.5480       -.46591E-06   -.30420E-04
  10  Prefactor     5.8190        48.990       -.52322E-06    .10037E-04
  11  Prefactor     1.9312        2.5949       -.26791E-07    .52458E-04
  12  Prefactor     .10000E-03    32.340       -.14720E-06** at limit **
  13  norm          8.1640        4.1996       -.27041E-06    .44729E-04
  14  Prefactor     97.154        68.608        .17148E-05    .20821E-03
  15  Prefactor     6.4814        10.568       -.54769E-06    .14554E-04
  16  norm          3.5120        .97829       -.29787E-07   -.87375E-04
  17  Prefactor     .10000E-03    6.6641       -.54065E-07** at limit **
  18  norm          .10000E-03    .38050       -.94779E-07** at limit **
  19  Prefactor     .10244E-03    69.465        .24710E-04** at limit **
  20  Prefactor     19.065        12.538       -.16275E-06   -.97629E-04
  21  Prefactor     10.180        12.600       -.25315E-06   -.24842E-04
  22  Normalizat    .99307        .18162        .66958E-06    .77775E-04
  23  Prefactor     .83793        .12189        .72771E-06    .98033E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.63564
  Prefactor  = 0.185668
  Prefactor  = 0.0001
  norm       = 3.14747
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.72441
  Prefactor  = 16.2849
  Prefactor  = 7.60237
  Prefactor  = 5.81904
  Prefactor  = 1.93118
  Prefactor  = 0.0001
  norm       = 8.16404
  Prefactor  = 97.154
  Prefactor  = 6.48136
  norm       = 3.51204
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000102442
  Prefactor  = 19.0653
  Prefactor  = 10.1796
  Normalizat = 0.993069
  Prefactor  = 0.837934
 **********
 **   18 **HESSE 
 **********

 FCN=   7175.379     FROM HESSE     STATUS=OK           390 CALLS     2969 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6356        7.4939        .16916E-03   -1.5233    
   2  Prefactor     .18567        54.144        .37921E-02   -1.5622    
   3  Prefactor     .10000E-03    10.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1475        3.1382        .14586E-03   -1.5353    
   5  Prefactor     .10000E-03    2.0583        .11828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.3299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7244        5.3370        .31981E-03   -1.5445    
   8  Prefactor     16.285        9.7423        .99253E-04   -1.4901    
   9  Prefactor     7.6024        8.5287        .14544E-03   -1.5156    
  10  Prefactor     5.8190        48.979        .16660E-03   -1.5225    
  11  Prefactor     1.9312        2.5697        .15023E-03   -1.5430    
  12  Prefactor     .10000E-03    32.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.1640        4.2020        .11404E-03   -1.5136    
  14  Prefactor     97.154        69.023        .20377E-03   -1.3733    
  15  Prefactor     6.4814        10.624        .15761E-03   -1.5199    
  16  norm          3.5120        .97770        .42375E-04   -1.5333    
  17  Prefactor     .10000E-03    6.7243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .57597        .98088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10244E-03    18.874        .89423E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.065        12.548        .91826E-04   -1.4834    
  21  Prefactor     10.180        12.608        .12555E-03   -1.5070    
  22  Normalizat    .99307        .21401        .26773E-03   -.93263    
  23  Prefactor     .83793        .14386        .20182E-03   -.98345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.653e-09
Minuit parameter uncertainties:
  1  7.49512
  2  6.34531
  3  4.83393e-05
  4  3.13831
  5  8.15974e-06
  6  3.65284e-05
  7  5.33848
  8  9.74324
  9  8.53002
  10  33.8017
  11  2.56983
  12  4.53345e-05
  13  4.20215
  14  69.0799
  15  10.6272
  16  0.977702
  17  4.05576e-05
  18  2.31424e-05
  19  0.0135813
  20  12.5499
  21  12.611
  22  0.214195
  23  0.14392
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.628e+01  9.743e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.379e-01  1.439e-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.931e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 6.60e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 9.33e-06

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) = 7175.37082603
delta logL = 0.0084899125377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7175.36858012
delta logL = 0.0107358187279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.619       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8180       1.0000          .0000       10.000    
     3 'Normalizat'    .98827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84040       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=   7175.369     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      206 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.616        194.44        .25336E-02    .12758E-03
   2  Index         2.8177        6.3985        .22558        .80545E-04
   3  Normalizat    .98828        .83229E-01    .46020E-01   -.40322E-03
   4  Prefactor     .84021        .51089E-01    .44241E-01   -.11621E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6157
  Index      = 2.81774
  Normalizat = 0.988279
  Prefactor  = 0.840206
 **********
 **   18 **HESSE 
 **********

 FCN=   7175.369     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.616        10.788        .10134E-03   -1.4917    
   2  Index         2.8177        .65882        .80574E-02   -.45165    
   3  Normalizat    .98828        .20544        .26830E-03   -.93424    
   4  Prefactor     .84021        .14165        .20157E-03   -.98263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15739e-10
Minuit parameter uncertainties:
  1  10.7896
  2  0.661196
  3  0.2056
  4  0.141711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214865': 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) = 7175.36857586
delta logL = 0.0107400839543

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.562e+01  1.079e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.818e+00  6.612e-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:  8.402e-01  1.417e-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.883e-01  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.10
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.82 +/- 0.66
Photon Flux (Free Index): 6.95e-08 +/- 4.61e-08
Energy Flux (Free Index): 1.54e-05 +/- 9.25e-06

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/214865/cmap_HighResolution_368928001_369187201_4FGL_J2211.2-1325_daily_bin500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.60e-08', energy_flux2='1.54e-05', photon_flux_error='3.95e-08', dlogl='1.07e-02', energy_flux='1.56e-05', photon_flux2='6.95e-08', job_status='DONE', time_completed='2021-09-28 06:52:16.010571', photon_index_error2='0.66', photon_index2='2.82', ts='5.09', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='9.25e-06', EG='0.99', time_epoch_completed='1632837136.01', return_code='0', job_id='214865', GAL2='0.84', EG2='0.99', return_code2='0', energy_flux_error='9.33e-06', photon_flux_error2='4.61e-08', ts2='5.10', photon_index='2.72' WHERE bin_id='500' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:52:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 214865: <4FGL_J2211.2-1325_daily_bin500> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin500> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:40:24 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:40: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:40:26 2021
Terminated at Tue Sep 28 06:52:16 2021
Results reported at Tue Sep 28 06:52:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin500 332.817 -13.4189 368928001 369187201 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 :                                   606.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            712 sec.

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

