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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin469
RA = 332.817, Dec = -13.4189
tmin = 360892801, tmax = 361152001
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='214811', job_status='RUN', time_executed='2021-09-28 06:43:43.256604', time_epoch_executed='1632836623.26' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214811

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214811/ft1_4FGL_J2211.2-1325_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214811/ft1_4FGL_J2211.2-1325_daily_bin469.fits outfile=/scratch/kocevski/214811/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin469.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=360892801.0 tmax=361152001.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.70
user 3.48
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.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/214811/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin469.fits evtable="EVENTS" outfile="/scratch/kocevski/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.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.66
user 0.35
sys 0.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/214811/ltcube_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.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/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits
.....................!
real 15.44
user 15.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/214811/ltcube_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.fits outfile=/scratch/kocevski/214811/expmap_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.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/214811/ltcube_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.fits
.....................!
real 190.10
user 184.76
sys 5.02

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/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.fits scfile=/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits outfile=/scratch/kocevski/214811/cmap_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.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/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.fits scfile=/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits outfile=/scratch/kocevski/214811/cmap_HighResolution_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.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.56
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/214811/ft2_4FGL_J2211.2-1325_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214811/Model_4FGL_J2211.2-1325_daily_bin469.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/214811/ft1_filtered_4FGL_J2211.2-1325_daily_bin469.fits....................!
real 90.94
user 89.62
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7249       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12302E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .76276       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5343       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2320       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.280       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5830       1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.670       1.0000         .10000E-03   10000.    
    13 'norm      '    5.8426       1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.360       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11039E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    28.138       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16124       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12000E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0047       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0447       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=   10623.26     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2586 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0932       -.13662E-06** at limit **
   2  Prefactor     7.7256        7.5729       -.61240E-06    .42418E-03
   3  Prefactor     .10001E-03    23.328        .16085E-04** at limit **
   4  norm          .77243        4.6955       -.18330E-05    .27434E-03
   5  Prefactor     6.5336        5.0873        .36965E-06    .53682E-03
   6  Prefactor     6.2313        7.4664        .18715E-06    .72144E-04
   7  Prefactor     .10000E-03    9.0105       -.10817E-06** at limit **
   8  Prefactor     10.280        8.1383       -.79837E-07    .36377E-04
   9  Prefactor     22.404        12.706       -.64612E-07    .41980E-04
  10  Prefactor     .10000E-03    21.408        .91956E-06** at limit **
  11  Prefactor     3.5824        3.6855       -.45816E-07    .13194E-03
  12  Prefactor     34.617        46.725        .59836E-05    .51923E-03
  13  norm          5.8422        3.6942       -.20828E-06    .18646E-04
  14  Prefactor     39.331        52.751        .31921E-05    .25409E-03
  15  Prefactor     .10024E-03    8.4568       -.79792E-05** at limit **
  16  norm          28.138        2.2116       -.55510E-07    .40782E-03
  17  Prefactor     .10000E-03    4.1122       -.66530E-07** at limit **
  18  norm          .10000E-03    .26528       -.44475E-07** at limit **
  19  Prefactor     .10000E-03    11.283       -.24824E-06** at limit **
  20  Prefactor     .20851        6.4201       -.56021E-05    .27164E-03
  21  Prefactor     .10000E-03    7.4880       -.36573E-05** at limit **
  22  Normalizat    1.0048        .19013        .13014E-05    .35953E-03
  23  Prefactor     1.0446        .12562       -.35819E-06    .24296E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.72561
  Prefactor  = 0.000100007
  norm       = 0.772428
  Prefactor  = 6.53359
  Prefactor  = 6.23132
  Prefactor  = 0.0001
  Prefactor  = 10.2799
  Prefactor  = 22.4037
  Prefactor  = 0.000100001
  Prefactor  = 3.58239
  Prefactor  = 34.617
  norm       = 5.84224
  Prefactor  = 39.3313
  Prefactor  = 0.000100241
  norm       = 28.1383
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.208513
  Prefactor  = 0.000100003
  Normalizat = 1.00477
  Prefactor  = 1.04456
 **********
 **   18 **HESSE 
 **********

 FCN=   10623.26     FROM HESSE     STATUS=OK           384 CALLS     2970 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1243        .17699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.7256        7.5862        .72139E-03   -1.5152    
   3  Prefactor     .10001E-03    29.081        .49548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .77243        4.7161        .43782E-03   -1.5532    
   5  Prefactor     6.5336        5.0850        .15700E-03   -1.5197    
   6  Prefactor     6.2313        7.4482        .16080E-03   -1.5209    
   7  Prefactor     .10000E-03    9.2385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.280        8.1535        .12497E-03   -1.5067    
   9  Prefactor     22.404        12.644        .84632E-04   -1.4761    
  10  Prefactor     .10000E-03    21.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5824        3.6619        .18171E-03   -1.5329    
  12  Prefactor     34.617        48.388        .68058E-04   -1.4531    
  13  norm          5.8422        3.6879        .14759E-03   -1.5225    
  14  Prefactor     39.331        53.198        .63889E-04   -1.4453    
  15  Prefactor     .10024E-03    4.0795        .75322E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          28.138        2.2127        .40663E-04   -1.4647    
  17  Prefactor     .10000E-03    4.1239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .27377        .10359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20851        34.294        .40380E-02   -1.5617    
  21  Prefactor     .10000E-03    26.356        .51962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0048        .22228        .33849E-03   -.92871    
  23  Prefactor     1.0446        .14897        .22880E-03   -.91258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63764e-09
Minuit parameter uncertainties:
  1  9.36778e-06
  2  7.58716
  3  0.000906279
  4  3.81747
  5  5.08531
  6  7.44934
  7  1.72848e-06
  8  8.15439
  9  12.6454
  10  0.000242292
  11  3.6621
  12  48.4424
  13  3.688
  14  53.2621
  15  0.00198407
  16  2.21275
  17  1.07124e-06
  18  1.29368e-07
  19  3.0218e-05
  20  5.35004
  21  0.000554476
  22  0.222482
  23  0.149026
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.028e+01  8.154e+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:  1.045e+00  1.490e-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.005e+00  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.46
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 9.84e-06 +/- 7.81e-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) = 10622.6739998
delta logL = 0.586471769155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10622.4007496
delta logL = 0.859721982433

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3394       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4607       1.0000          .0000       10.000    
     3 'Normalizat'    1.0498       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0277       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=   10622.40     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      218 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3394        3.4605        .55371E-02    .49004E-02
   2  Index         1.4606        .34013        .27422       -.10443E-03
   3  Normalizat    1.0498        .17909        .75051E-01    .24047E-04
   4  Prefactor     1.0277        .12374        .41446E-01    .10278E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33939
  Index      = 1.46065
  Normalizat = 1.04978
  Prefactor  = 1.02768
 **********
 **   18 **HESSE 
 **********

 FCN=   10622.40     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3394        5.4505        .18400E-03   -1.5342    
   2  Index         1.4606        .68987        .93742E-02   -.78648    
   3  Normalizat    1.0498        .21223        .33215E-03   -.91381    
   4  Prefactor     1.0277        .14681        .23051E-03   -.91813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38329e-08
Minuit parameter uncertainties:
  1  5.45126
  2  0.694337
  3  0.212397
  4  0.146866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214811': 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) = 10622.4007496
delta logL = 0.859721990653

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.339e+00  5.451e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.461e+00  6.943e-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:  1.028e+00  1.469e-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.050e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.15
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.46 +/- 0.69
Photon Flux (Free Index): 6.77e-09 +/- 9.93e-09
Energy Flux (Free Index): 2.44e-05 +/- 3.93e-05

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/214811/cmap_HighResolution_360892801_361152001_4FGL_J2211.2-1325_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='2.44e-05', photon_flux_error='3.30e-08', dlogl='8.60e-01', energy_flux='9.84e-06', photon_flux2='6.77e-09', job_status='DONE', time_completed='2021-09-28 06:56:33.612989', photon_index_error2='0.69', photon_index2='1.46', ts='4.46', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='3.93e-05', EG='1.00', time_epoch_completed='1632837393.61', return_code='0', job_id='214811', GAL2='1.03', EG2='1.05', return_code2='0', energy_flux_error='7.81e-06', photon_flux_error2='9.93e-09', ts2='6.15', photon_index='2.72' WHERE bin_id='469' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:56:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 214811: <4FGL_J2211.2-1325_daily_bin469> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin469> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:40:19 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:40:21 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:21 2021
Terminated at Tue Sep 28 06:56:33 2021
Results reported at Tue Sep 28 06:56:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin469 332.817 -13.4189 360892801 361152001 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 :                                   769.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            974 sec.

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

