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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1504
RA = 332.817, Dec = -13.4189
tmin = 629164801, tmax = 629424001
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='218580', job_status='RUN', time_executed='2021-09-28 06:53:01.295205', time_epoch_executed='1632837181.3' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1504'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218580

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218580/ft1_4FGL_J2211.2-1325_daily_bin1504.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218580/ft1_4FGL_J2211.2-1325_daily_bin1504.fits outfile=/scratch/kocevski/218580/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1504.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=629164801.0 tmax=629424001.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.59
user 3.37
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218580/ft1_filtered_4FGL_J2211.2-1325_daily_bin1504.fits" evtable="EVENTS" scfile=/scratch/kocevski/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits sctable="SC_DATA" outfile=/scratch/kocevski/218580/ltcube_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.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/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits
.....................!
real 11.91
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218580/ft1_filtered_4FGL_J2211.2-1325_daily_bin1504.fits evtable="EVENTS" scfile=/scratch/kocevski/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits sctable="SC_DATA" expcube=/scratch/kocevski/218580/ltcube_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.fits outfile=/scratch/kocevski/218580/expmap_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.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/218580/ltcube_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.fits
.....................!
real 190.17
user 185.23
sys 4.63

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/218580/ft1_filtered_4FGL_J2211.2-1325_daily_bin1504.fits scfile=/scratch/kocevski/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits outfile=/scratch/kocevski/218580/cmap_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218580/ft1_filtered_4FGL_J2211.2-1325_daily_bin1504.fits scfile=/scratch/kocevski/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits outfile=/scratch/kocevski/218580/cmap_HighResolution_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.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/218580/ft1_filtered_4FGL_J2211.2-1325_daily_bin1504.fits evtable="EVENTS" scfile=/scratch/kocevski/218580/ft2_4FGL_J2211.2-1325_daily_bin1504.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218580/Model_4FGL_J2211.2-1325_daily_bin1504.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/218580/ft1_filtered_4FGL_J2211.2-1325_daily_bin1504.fits.....................!
real 53.50
user 52.19
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.104       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6122       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8080       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0369       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.061       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.643       1.0000         .10000E-03   10000.    
    10 'Prefactor '    99.621       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .71440       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2982       1.0000         .10000E-03   10000.    
    14 'Prefactor '    133.14       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4514       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.776       1.0000         .10000E-03   10000.    
    18 'norm      '    7.1605       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91290       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67238       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=   5471.415     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2506 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8898       -.36869E-07** at limit **
   2  Prefactor     .10000E-03    4.5025       -.81326E-07** at limit **
   3  Prefactor     19.106        18.778        .27918E-06   -.91590E-06
   4  norm          .10000E-03    2.2418        .69596E-09** at limit **
   5  Prefactor     7.6124        6.8890        .16940E-06   -.43191E-04
   6  Prefactor     6.8101        20.272        .48784E-06    .26868E-05
   7  Prefactor     9.0369        9.6495        .22877E-06   -.24495E-05
   8  Prefactor     31.064        18.010        .12416E-06   -.18338E-04
   9  Prefactor     11.654        13.053       -.27117E-05   -.44537E-03
  10  Prefactor     99.649        78.897        .83780E-06    .16834E-03
  11  Prefactor     .70947        7.3678        .60571E-05   -.59093E-04
  12  Prefactor     .10000E-03    46.873        .30836E-07** at limit **
  13  norm          3.2993        4.9688       -.10162E-07   -.41243E-03
  14  Prefactor     133.19        123.50       -.28865E-05    .85555E-04
  15  Prefactor     .10000E-03    13.671       -.82468E-07** at limit **
  16  norm          2.4513        1.0365       -.26446E-07   -.10303E-03
  17  Prefactor     24.799        43.383        .75904E-05    .17539E-04
  18  norm          7.1588        3.6633       -.11536E-05    .11300E-02
  19  Prefactor     .10000E-03    16.168        .29993E-06** at limit **
  20  Prefactor     .10000E-03    4.8772        .21705E-07** at limit **
  21  Prefactor     .10000E-03    4.4268        .83615E-07** at limit **
  22  Normalizat    .91269        .21614       -.24163E-05   -.13047E-03
  23  Prefactor     .67252        .13213        .73364E-06   -.32053E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.1056
  norm       = 0.0001
  Prefactor  = 7.61242
  Prefactor  = 6.81011
  Prefactor  = 9.03695
  Prefactor  = 31.0639
  Prefactor  = 11.6543
  Prefactor  = 99.6487
  Prefactor  = 0.709467
  Prefactor  = 0.0001
  norm       = 3.29933
  Prefactor  = 133.194
  Prefactor  = 0.0001
  norm       = 2.45133
  Prefactor  = 24.7989
  norm       = 7.15879
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.912688
  Prefactor  = 0.672515
 **********
 **   18 **HESSE 
 **********

 FCN=   5471.415     FROM HESSE     STATUS=OK           370 CALLS     2876 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9031        .12278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5170        .15328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.106        18.739        .91634E-04   -1.4833    
   4  norm          .10000E-03    2.2429        .10816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.6124        6.8780        .14535E-03   -1.5156    
   6  Prefactor     6.8101        20.167        .15377E-03   -1.5186    
   7  Prefactor     9.0369        9.6501        .13333E-03   -1.5107    
   8  Prefactor     31.064        18.086        .71892E-04   -1.4593    
   9  Prefactor     11.654        13.232        .11740E-03   -1.5025    
  10  Prefactor     99.649        79.729        .20139E-03   -1.3708    
  11  Prefactor     .70947        7.8712        .34893E-03   -1.5540    
  12  Prefactor     .10000E-03    46.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2993        4.9498        .17464E-03   -1.5345    
  14  Prefactor     133.19        124.63        .17450E-03   -1.3395    
  15  Prefactor     .10000E-03    13.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4513        1.0366        .26126E-04   -1.5395    
  17  Prefactor     24.799        44.856        .80477E-04   -1.4712    
  18  norm          7.1588        3.7952        .46004E-04   -1.5173    
  19  Prefactor     .10000E-03    16.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.8857        .15954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4277        .15200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91269        .24807        .28099E-03   -.96016    
  23  Prefactor     .67252        .15252        .21161E-03   -1.0461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15016e-09
Minuit parameter uncertainties:
  1  3.82256e-06
  2  7.57425e-06
  3  18.7446
  4  6.84112e-08
  5  6.8787
  6  20.187
  7  9.65178
  8  18.0893
  9  13.235
  10  79.8151
  11  4.7267
  12  4.13229e-05
  13  4.95041
  14  124.873
  15  3.83011e-05
  16  1.03662
  17  44.9169
  18  3.79532
  19  3.07104e-05
  20  6.37114e-06
  21  7.09188e-06
  22  0.248385
  23  0.15261
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.106e+01  1.809e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  6.725e-01  1.526e-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.127e-01  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.41
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 7.32e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.73e-05

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) = 5469.99929499
delta logL = 1.41585530466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5469.99220219
delta logL = 1.42294809797

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.007       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8699       1.0000          .0000       10.000    
     3 'Normalizat'    .81196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71954       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=   5469.992     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      299 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.006        18.192        .10339E-03    .15713E-03
   2  Index         3.8698        1.0035        .47020E-02    .41185E-04
   3  Normalizat    .81203        .24276        .29555E-03   -.73933E-04
   4  Prefactor     .71953        .15505        .20508E-03   -.98508E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0064
  Index      = 3.86978
  Normalizat = 0.812031
  Prefactor  = 0.71953
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.992     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.006        14.927        .41356E-05   -1.4933    
   2  Index         3.8698        .82434        .18808E-03   -.22801    
   3  Normalizat    .81203        .24293        .11822E-04   -.99624    
   4  Prefactor     .71953        .15488        .82033E-05   -1.0277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48157e-11
Minuit parameter uncertainties:
  1  14.9304
  2  0.828329
  3  0.243259
  4  0.154975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218580': 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) = 5469.992202
delta logL = 1.42294829276

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.501e+01  1.493e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.870e+00  8.283e-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:  7.195e-01  1.550e-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.120e-01  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.74
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.87 +/- 0.83
Photon Flux (Free Index): 2.18e-07 +/- 9.93e-08
Energy Flux (Free Index): 3.34e-05 +/- 1.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/218580/cmap_HighResolution_629164801_629424001_4FGL_J2211.2-1325_daily_bin1504.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.34e-05', photon_flux_error='7.32e-08', dlogl='1.42e+00', energy_flux='2.97e-05', photon_flux2='2.18e-07', job_status='DONE', time_completed='2021-09-28 07:05:17.347211', photon_index_error2='0.83', photon_index2='3.87', ts='4.41', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.91', time_epoch_completed='1632837917.35', return_code='0', job_id='218580', GAL2='0.72', EG2='0.81', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='9.93e-08', ts2='7.74', photon_index='2.72' WHERE bin_id='1504' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:05:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 218580: <4FGL_J2211.2-1325_daily_bin1504> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1504 332.817 -13.4189 629164801 629424001 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 :                                   520.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             226.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            834 sec.

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

