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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1471
RA = 332.817, Dec = -13.4189
tmin = 620611201, tmax = 620870401
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='218528', job_status='RUN', time_executed='2021-09-28 06:53:07.796695', time_epoch_executed='1632837187.8' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1471'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218528/ft1_4FGL_J2211.2-1325_daily_bin1471.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218528/ft2_4FGL_J2211.2-1325_daily_bin1471.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218528/ft1_4FGL_J2211.2-1325_daily_bin1471.fits outfile=/scratch/kocevski/218528/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1471.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=620611201.0 tmax=620870401.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.71
user 3.48
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218528/ft1_filtered_4FGL_J2211.2-1325_daily_bin1471.fits" evtable="EVENTS" scfile=/scratch/kocevski/218528/ft2_4FGL_J2211.2-1325_daily_bin1471.fits sctable="SC_DATA" outfile=/scratch/kocevski/218528/ltcube_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.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/218528/ft2_4FGL_J2211.2-1325_daily_bin1471.fits
.....................!
real 13.36
user 12.94
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218528/ft1_filtered_4FGL_J2211.2-1325_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/218528/ft2_4FGL_J2211.2-1325_daily_bin1471.fits sctable="SC_DATA" expcube=/scratch/kocevski/218528/ltcube_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.fits outfile=/scratch/kocevski/218528/expmap_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.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/218528/ltcube_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.fits
.....................!
real 192.03
user 186.05
sys 5.67

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/218528/ft1_filtered_4FGL_J2211.2-1325_daily_bin1471.fits scfile=/scratch/kocevski/218528/ft2_4FGL_J2211.2-1325_daily_bin1471.fits outfile=/scratch/kocevski/218528/cmap_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.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.67
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218528/ft1_filtered_4FGL_J2211.2-1325_daily_bin1471.fits scfile=/scratch/kocevski/218528/ft2_4FGL_J2211.2-1325_daily_bin1471.fits outfile=/scratch/kocevski/218528/cmap_HighResolution_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.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.60
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    7.5859       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3732       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.524       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    91.799       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    389.63       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .51627E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11522E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12168E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    15.683       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.392       1.0000         .10000E-03   10000.    
    18 'norm      '    .10539E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .92712       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.920       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5860       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83841       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=   2906.557     FROM MIGRAD    STATUS=CONVERGED    950 CALLS     3137 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0855        .10637E-02** at limit **
   2  Prefactor     7.5898        13.250        .14560E-03   -.58560E-05
   3  Prefactor     4.3636        20.387        .19260E-03   -.12780E-04
   4  norm          .10000E-03    5.4995        .12348E-02** at limit **
   5  Prefactor     .10000E-03    2.9562        .90511E-03** at limit **
   6  Prefactor     42.539        50.994        .61475E-04   -.16829E-04
   7  Prefactor     .10000E-03    41.833        .36285E-03** at limit **
   8  Prefactor     91.824        50.996        .41942E-04   -.21170E-04
   9  Prefactor     .10000E-03    11.619        .17913E-02** at limit **
  10  Prefactor     389.78        256.96        .10336E-03   -.26102E-04
  11  Prefactor     .10000E-03    3.4376        .97412E-03** at limit **
  12  Prefactor     .10000E-03    99.772        .21142E-02** at limit **
  13  norm          .10028E-03    58.276        .32934E-02** at limit **
  14  Prefactor     .10000E-03    236.96        .18142E-02** at limit **
  15  Prefactor     .10000E-03    31.616        .18142E-02** at limit **
  16  norm          15.684        3.8895        .49608E-04   -.21608E-03
  17  Prefactor     46.453        45.160        .29433E-03    .61781E-04
  18  norm          .10003E-03    29.259        .12502E-02** at limit **
  19  Prefactor     .53945        246.55        .12908        .59497E-04
  20  Prefactor     .10000E-03    10.460        .17031E-02** at limit **
  21  Prefactor     37.881        37.707        .65086E-04   -.13921E-04
  22  Normalizat    1.5863        .51015        .31673E-03   -.14460E-03
  23  Prefactor     .83830        .30185        .26622E-03   -.19065E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.58976
  Prefactor  = 4.36361
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.5389
  Prefactor  = 0.0001
  Prefactor  = 91.8237
  Prefactor  = 0.0001
  Prefactor  = 389.783
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.00010028
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 15.6835
  Prefactor  = 46.4535
  norm       = 0.000100029
  Prefactor  = 0.53945
  Prefactor  = 0.0001
  Prefactor  = 37.8815
  Normalizat = 1.58626
  Prefactor  = 0.838301
 **********
 **   18 **HESSE 
 **********

 FCN=   2906.557     FROM HESSE     STATUS=OK           356 CALLS     3493 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0855        .21274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5898        13.251        .58241E-05   -1.5157    
   3  Prefactor     4.3636        20.385        .77040E-05   -1.5290    
   4  norm          .10000E-03    5.4995        .24695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9562        .18102E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     42.539        51.001        .24590E-05   -1.4403    
   7  Prefactor     .10000E-03    41.835        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     91.824        50.993        .83884E-05   -1.3789    
   9  Prefactor     .10000E-03    11.621        .35826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     389.78        256.79        .20671E-04   -1.1733    
  11  Prefactor     .10000E-03    3.4378        .19482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    99.773        .42283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10028E-03    59.516        .65868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    236.96        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.633        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          15.684        3.8896        .99217E-05   -1.4916    
  17  Prefactor     46.453        43.986        .11773E-04   -1.4344    
  18  norm          .10003E-03    29.316        .25004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .53945        210.31        .13812       -1.5561    
  20  Prefactor     .10000E-03    10.460        .34061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.881        37.683        .13017E-04   -1.4476    
  22  Normalizat    1.5863        .51021        .63346E-04   -.75383    
  23  Prefactor     .83830        .30210        .53243E-04   -.98332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00064e-09
Minuit parameter uncertainties:
  1  1.09082e-05
  2  13.2556
  3  18.8732
  4  1.53764e-06
  5  1.0685e-05
  6  51.0538
  7  0.000149959
  8  51.0173
  9  3.01962e-05
  10  257.554
  11  6.64893e-06
  12  0.000485856
  13  0.00817409
  14  0.000737454
  15  0.000114298
  16  3.88962
  17  44.0167
  18  0.00182989
  19  21.3765
  20  2.59791e-06
  21  37.7069
  22  0.511898
  23  0.302706
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  9.182e+01  5.102e+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:  8.383e-01  3.027e-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.586e+00  5.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.21
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 3.72e-07 +/- 2.07e-07
Energy Flux (Fixed Index): 8.79e-05 +/- 4.88e-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) = 2904.03950169
delta logL = 2.51775169706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2904.02182809
delta logL = 2.53542529866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.102       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4318       1.0000          .0000       10.000    
     3 'Normalizat'    1.3882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94474       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=   2904.022     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      256 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.018        119.34        .22910E-02    .49028E-03
   2  Index         4.4348        3.3572        .66715E-01    .19361E-03
   3  Normalizat    1.3885        .21847        .75065E-01   -.11407E-04
   4  Prefactor     .94456        .13984        .45573E-01   -.38251E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0176
  Index      = 4.4348
  Normalizat = 1.3885
  Prefactor  = 0.944556
 **********
 **   18 **HESSE 
 **********

 FCN=   2904.022     FROM HESSE     STATUS=OK            31 CALLS      287 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.018        30.413        .85192E-04   -1.4836    
   2  Index         4.4348        1.1755        .28926E-03   -.11328    
   3  Normalizat    1.3885        .49129        .33219E-03   -.80962    
   4  Prefactor     .94456        .30663        .25274E-03   -.94601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91118e-11
Minuit parameter uncertainties:
  1  30.4381
  2  1.18672
  3  0.492971
  4  0.307198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218528': 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) = 2904.02182339
delta logL = 2.53542999948

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.902e+01  3.044e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.435e+00  1.187e+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.446e-01  3.072e-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.388e+00  4.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.28
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 4.43 +/- 1.19
Photon Flux (Free Index): 5.58e-07 +/- 2.24e-07
Energy Flux (Free Index): 7.86e-05 +/- 3.46e-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/218528/cmap_HighResolution_620611201_620870401_4FGL_J2211.2-1325_daily_bin1471.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.72e-07', energy_flux2='7.86e-05', photon_flux_error='2.07e-07', dlogl='2.54e+00', energy_flux='8.79e-05', photon_flux2='5.58e-07', job_status='DONE', time_completed='2021-09-28 07:04:31.472901', photon_index_error2='1.19', photon_index2='4.43', ts='5.21', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='3.46e-05', EG='1.59', time_epoch_completed='1632837871.47', return_code='0', job_id='218528', GAL2='0.94', EG2='1.39', return_code2='0', energy_flux_error='4.88e-05', photon_flux_error2='2.24e-07', ts2='11.28', photon_index='2.72' WHERE bin_id='1471' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:04:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 218528: <4FGL_J2211.2-1325_daily_bin1471> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1471 332.817 -13.4189 620611201 620870401 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 :                                   455.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             241.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

