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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1018
RA = 332.817, Dec = -13.4189
tmin = 503193601, tmax = 503452801
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='216781', job_status='RUN', time_executed='2021-09-28 06:48:38.221452', time_epoch_executed='1632836918.22' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216781/ft1_4FGL_J2211.2-1325_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216781/ft2_4FGL_J2211.2-1325_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216781/ft1_4FGL_J2211.2-1325_daily_bin1018.fits outfile=/scratch/kocevski/216781/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1018.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=503193601.0 tmax=503452801.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 5.15
user 4.91
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216781/ft1_filtered_4FGL_J2211.2-1325_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/216781/ft2_4FGL_J2211.2-1325_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/216781/ltcube_503193601_503452801_4FGL_J2211.2-1325_daily_bin1018.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/216781/ft2_4FGL_J2211.2-1325_daily_bin1018.fits
.....................!
real 11.63
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216781/ft1_filtered_4FGL_J2211.2-1325_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/216781/ft2_4FGL_J2211.2-1325_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/216781/ltcube_503193601_503452801_4FGL_J2211.2-1325_daily_bin1018.fits outfile=/scratch/kocevski/216781/expmap_503193601_503452801_4FGL_J2211.2-1325_daily_bin1018.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/216781/ltcube_503193601_503452801_4FGL_J2211.2-1325_daily_bin1018.fits
.....................!
real 190.46
user 185.24
sys 4.91

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/216781/ft1_filtered_4FGL_J2211.2-1325_daily_bin1018.fits scfile=/scratch/kocevski/216781/ft2_4FGL_J2211.2-1325_daily_bin1018.fits outfile=/scratch/kocevski/216781/cmap_503193601_503452801_4FGL_J2211.2-1325_daily_bin1018.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216781/ft1_filtered_4FGL_J2211.2-1325_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/216781/ft2_4FGL_J2211.2-1325_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216781/Model_4FGL_J2211.2-1325_daily_bin1018.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/216781/ft1_filtered_4FGL_J2211.2-1325_daily_bin1018.fits.....................!
real 59.28
user 57.82
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85329       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20313E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.085       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.8096       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7889       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9296       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17187E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.118       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27648E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    7.8394       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24718E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7446       1.0000         .10000E-03   10000.    
    16 'norm      '    .75816       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.817       1.0000         .10000E-03   10000.    
    18 'norm      '    12.934       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.366       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.068       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15766E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74969       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94203       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6624.233     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1941 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85533        3.1960        .18811E-05   -.45499E-04
   2  Prefactor     .10000E-03    2.3240       -.13769E-06** at limit **
   3  Prefactor     .10000E-03    5.2678        .25273E-05** at limit **
   4  norm          11.101        7.3037        .28433E-07    .67431E-04
   5  Prefactor     8.7908        5.9463       -.64970E-07    .28024E-03
   6  Prefactor     14.446        9.1344        .89988E-06   -.54260E-02
   7  Prefactor     2.7140        2.4661        .44929E-06    .49601E-03
   8  Prefactor     1.9586        6.5333        .23754E-05    .47865E-04
   9  Prefactor     .10009E-03    18.443        .54132E-05** at limit **
  10  Prefactor     38.324        15.942        .19477E-05   -.32992E-02
  11  Prefactor     .10000E-03    1.6748       -.11391E-06** at limit **
  12  Prefactor     .10000E-03    21.037        .12194E-05** at limit **
  13  norm          7.9152        4.2215       -.91215E-06    .15933E-03
  14  Prefactor     .10062E-03    15.456        .41275E-06** at limit **
  15  Prefactor     7.5868        12.140        .57268E-06    .13928E-02
  16  norm          .75567        .70805        .87666E-07   -.17371E-04
  17  Prefactor     45.537        62.406       -.97173E-05   -.43192E-03
  18  norm          13.129        5.3990        .13445E-05   -.26406E-03
  19  Prefactor     6.7312        132.27        .85145E-05    .29123E-03
  20  Prefactor     20.275        14.645       -.82986E-06    .60345E-03
  21  Prefactor     .10000E-03    4.6549       -.16847E-05** at limit **
  22  Normalizat    .75361        .23553        .72349E-06    .17281E-04
  23  Prefactor     .94015        .15639       -.14644E-05    .32064E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.85533
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1011
  Prefactor  = 8.79078
  Prefactor  = 14.4461
  Prefactor  = 2.71403
  Prefactor  = 1.95864
  Prefactor  = 0.000100088
  Prefactor  = 38.3238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.91516
  Prefactor  = 0.000100621
  Prefactor  = 7.58683
  norm       = 0.755673
  Prefactor  = 45.5374
  norm       = 13.1285
  Prefactor  = 6.73119
  Prefactor  = 20.2746
  Prefactor  = 0.0001
  Normalizat = 0.75361
  Prefactor  = 0.940146
 **********
 **   18 **HESSE 
 **********

 FCN=   6624.233     FROM HESSE     STATUS=OK           424 CALLS     2365 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85533        3.2719        .12637E-01   -1.5523    
   2  Prefactor     .10000E-03    2.3179        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.2467        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.101        7.3058        .30082E-02   -1.5041    
   5  Prefactor     8.7908        5.9887        .33761E-02   -1.5115    
   6  Prefactor     14.446        12.615        .26285E-02   -1.4948    
   7  Prefactor     2.7140        10.005        .60910E-02   -1.5378    
   8  Prefactor     1.9586        6.6132        .74755E-02   -1.5428    
   9  Prefactor     .10009E-03    19.609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     38.324        72.171        .15821E-02   -1.4469    
  11  Prefactor     .10000E-03    1.6609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.990        .99576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.9152        4.3079        .35803E-02   -1.5145    
  14  Prefactor     .10062E-03    24.916        .10015E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.5868        12.390        .36023E-02   -1.5157    
  16  norm          .75567        .74667        .12283E-01   -1.5534    
  17  Prefactor     45.537        58.064        .15141E-02   -1.4357    
  18  norm          13.129        4.8639        .27844E-02   -1.4983    
  19  Prefactor     6.7312        143.92        .24751E-02   -1.5189    
  20  Prefactor     20.275        14.708        .22352E-02   -1.4807    
  21  Prefactor     .10000E-03    4.6565        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .75361        .19718        .70318E-01   -1.0181    
  23  Prefactor     .94015        .12887        .45539E-01   -.94752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26882e-07
Minuit parameter uncertainties:
  1  3.27254
  2  4.56314e-07
  3  1.43964e-05
  4  7.30642
  5  5.98909
  6  12.6171
  7  10.0115
  8  6.61563
  9  0.002629
  10  72.3361
  11  2.00811e-07
  12  0.00014151
  13  4.30807
  14  0.00786914
  15  12.3942
  16  0.746677
  17  58.1361
  18  4.8641
  19  62.4198
  20  14.7103
  21  1.01317e-05
  22  0.197367
  23  0.128915
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.959e+00  6.616e+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:  9.401e-01  1.289e-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:  7.536e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/216781/likelihoodResults_503193601_503452801_4FGL_J2211.2-1325_daily_bin1018.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) = 6624.2025206
delta logL = 0.0308983099485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6624.19720483
delta logL = 0.0362140851103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6641       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2800       1.0000          .0000       10.000    
     3 'Normalizat'    .75600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93838       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=   6624.197     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      274 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6617        7.1252        .12486E-02    .28458E-03
   2  Index         2.2801        1.4309        .13959E-01   -.25581E-05
   3  Normalizat    .75601        .21522        .31071E-03   -.20417E-04
   4  Prefactor     .93838        .15104        .19621E-03   -.11183E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.66174
  Index      = 2.28008
  Normalizat = 0.756005
  Prefactor  = 0.938377
 **********
 **   18 **HESSE 
 **********

 FCN=   6624.197     FROM HESSE     STATUS=OK            27 CALLS      301 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6617        7.1251        .24971E-03   -1.5382    
   2  Index         2.2801        1.4319        .55837E-03   -.57518    
   3  Normalizat    .75601        .21544        .12429E-04   -1.0172    
   4  Prefactor     .93838        .15118        .78483E-05   -.94813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72273e-12
Minuit parameter uncertainties:
  1  7.12734
  2  1.46123
  3  0.215678
  4  0.151248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216781': 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) = 6624.19720477
delta logL = 0.0362141445557

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.662e+00  7.127e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.280e+00  1.461e+00  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:  9.384e-01  1.512e-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:  7.560e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.87e-08', time_completed='2021-09-28 06:58:49.370460', job_id='216781', GAL2='0.94', fit_tolerance='1e-08', EG2='0.76', EG='0.75', time_epoch_completed='1632837529.37', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.62e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1018' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:58:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 216781: <4FGL_J2211.2-1325_daily_bin1018> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1018> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:57 2021
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:58 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:45:58 2021
Terminated at Tue Sep 28 06:58:50 2021
Results reported at Tue Sep 28 06:58:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1018 332.817 -13.4189 503193601 503452801 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 :                                   607.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

