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


Performing analysis on: 4FGL_J1211.6-2735_daily_bin893
RA = 182.901, Dec = -27.5877
tmin = 470793601, tmax = 471052801
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='399080', job_status='RUN', time_executed='2021-09-05 03:26:10.415528', time_epoch_executed='1630837570.42' WHERE source_name='4FGL J1211.6-2735' and cadence='daily' and bin_id='893'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/399080

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/399080/ft1_4FGL_J1211.6-2735_daily_bin893.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/399080/ft1_4FGL_J1211.6-2735_daily_bin893.fits outfile=/scratch/kocevski/399080/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin893.fits ra=182.901 dec=-27.5877 rad=12.0 tmin=470793601.0 tmax=471052801.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.98
user 3.28
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.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/399080/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin893.fits evtable="EVENTS" outfile="/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits" evtable="EVENTS" scfile=/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits sctable="SC_DATA" outfile=/scratch/kocevski/399080/ltcube_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.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/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits
.....................!
real 12.31
user 11.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits sctable="SC_DATA" expcube=/scratch/kocevski/399080/ltcube_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.fits outfile=/scratch/kocevski/399080/expmap_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.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/399080/ltcube_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.fits
.....................!
real 191.90
user 186.06
sys 5.39

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 183 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1211.6-2735 @ 182.901 -27.5877

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits scfile=/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits outfile=/scratch/kocevski/399080/cmap_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.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=182.901 yref=-27.5877 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits scfile=/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits outfile=/scratch/kocevski/399080/cmap_HighResolution_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.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=182.901 yref=-27.5877 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/399080/Model_4FGL_J1211.6-2735_daily_bin893.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits.....................!
real 132.67
user 131.22
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits', '/scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits', expMap='/scratch/kocevski/399080/expmap_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.fits', expCube='/scratch/kocevski/399080/ltcube_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/399080/Model_4FGL_J1211.6-2735_daily_bin893.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1211.6-2735'

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  5.517e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.573e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  8.728e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/399080/ft1_filtered_4FGL_J1211.6-2735_daily_bin893.fits
Spacecraft file(s): /scratch/kocevski/399080/ft2_4FGL_J1211.6-2735_daily_bin893.fits
Exposure map: /scratch/kocevski/399080/expmap_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.fits
Exposure cube: /scratch/kocevski/399080/ltcube_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/399080/Model_4FGL_J1211.6-2735_daily_bin893.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) = 7830.60167563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    12.156       1.0000         .10000E-03   10000.    
     4 'norm      '    11.955       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.957       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.205       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.153       1.0000         .10000E-03   10000.    
     9 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74504       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8032       1.0000         .10000E-03   10000.    
    13 'Prefactor '    78.745       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.354       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.7713       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.5998       1.0000         .10000E-03   10000.    
    22 'norm      '    2.1927       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3803       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86533       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7830.596     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2743 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7400       -.63409E-07** at limit **
   2  Prefactor     .10000E-03    2.7976       -.28192E-07** at limit **
   3  Prefactor     12.156        12.606        .36539E-06   -.27657E-04
   4  norm          11.955        8.6232        .21774E-06   -.35912E-04
   5  Prefactor     13.958        6.5392        .58928E-07   -.16919E-03
   6  Prefactor     13.207        17.789       -.11468E-06   -.38070E-04
   7  norm          .10000E-03    12.128        .67607E-07** at limit **
   8  Prefactor     23.144        15.918        .12139E-06   -.11189E-03
   9  norm          .10000E-03    4.6402       -.97181E-07** at limit **
  10  Prefactor     .73638        4.6439        .48702E-05    .74482E-03
  11  Prefactor     .10000E-03    60.626        .91732E-06** at limit **
  12  Prefactor     4.8030        7.4498        .67398E-06   -.92508E-04
  13  Prefactor     78.791        40.506       -.48375E-05   -.23500E-03
  14  Prefactor     .10000E-03    20.863       -.29873E-06** at limit **
  15  Prefactor     .10000E-03    30.143        .14600E-05** at limit **
  16  Prefactor     11.349        24.783        .19062E-05   -.15732E-04
  17  Prefactor     .10000E-03    5.1172       -.76993E-07** at limit **
  18  norm          3.7713        1.3346        .41452E-07    .80200E-04
  19  Prefactor     .10000E-03    50.443       -.22423E-05** at limit **
  20  norm          .10000E-03    7.0065       -.10048E-06** at limit **
  21  Prefactor     6.6030        6.6298        .23971E-06    .69096E-04
  22  norm          2.1924        6.2224        .68843E-05   -.72633E-03
  23  Normalizat    1.3805        .24732       -.23295E-05   -.18043E-03
  24  Prefactor     .86529        .10898        .37120E-06   -.16150E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1558
  norm       = 11.9546
  Prefactor  = 13.9585
  Prefactor  = 13.2069
  norm       = 0.0001
  Prefactor  = 23.1436
  norm       = 0.0001
  Prefactor  = 0.736379
  Prefactor  = 0.0001
  Prefactor  = 4.80301
  Prefactor  = 78.791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3486
  Prefactor  = 0.0001
  norm       = 3.77127
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.60297
  norm       = 2.19239
  Normalizat = 1.38046
  Prefactor  = 0.86529
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.596     FROM HESSE     STATUS=OK           399 CALLS     3142 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.7987        .14455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.156        12.604        .57447E-03   -1.5011    
   4  norm          11.955        8.6216        .57929E-03   -1.5016    
   5  Prefactor     13.958        6.5433        .10721E-03   -1.4961    
   6  Prefactor     13.207        17.783        .11023E-03   -1.4981    
   7  norm          .10000E-03    12.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.144        15.859        .83246E-04   -1.4745    
   9  norm          .10000E-03    4.6931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .73638        4.8202        .36491E-03   -1.5536    
  11  Prefactor     .10000E-03    60.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.8030        7.4448        .91784E-03   -1.5270    
  13  Prefactor     78.791        40.781        .22628E-03   -1.3930    
  14  Prefactor     .10000E-03    21.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.349        24.777        .11889E-03   -1.5034    
  17  Prefactor     .10000E-03    5.1328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7713        1.3332        .57753E-04   -1.5320    
  19  Prefactor     .10000E-03    50.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.0591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.6030        6.6095        .15621E-03   -1.5194    
  22  norm          2.1924        6.3157        .13896E-02   -1.5412    
  23  Normalizat    1.3805        .29481        .34358E-03   -.81195    
  24  Prefactor     .86529        .13070        .19262E-03   -.97365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30145e-09
Minuit parameter uncertainties:
  1  1.41476e-06
  2  1.50811e-06
  3  12.6065
  4  8.6225
  5  6.54361
  6  17.7899
  7  8.94745e-06
  8  15.8618
  9  7.53409e-06
  10  3.76821
  11  4.18993e-05
  12  7.44627
  13  40.7958
  14  6.05249e-05
  15  2.68479e-05
  16  24.7993
  17  6.97421e-06
  18  1.33323
  19  5.79639e-05
  20  1.45369e-05
  21  6.61018
  22  6.3176
  23  0.295177
  24  0.130745
Done.

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

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  7.879e+01  4.080e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.573e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  8.728e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  8.653e-01  1.307e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.380e+00  2.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.38
Ra Dec: 182.901 -27.588
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.83e-08
Energy Flux (Fixed Index): 3.56e-05 +/- 1.84e-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) = 7830.49555602
delta logL = 0.100363879366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7830.49423831
delta logL = 0.101681591351

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    96.732       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3386       1.0000          .0000       10.000    
     3 'Normalizat'    1.4073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+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=   7830.494     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     96.757        60.242        .40869E-04    .84009E-04
   2  Index         2.3386        .50594        .61522E-02    .31733E-03
   3  Normalizat    1.4078        .29052        .34086E-03   -.71275E-04
   4  Prefactor     .85568        .13133        .19355E-03    .30191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 96.757
  Index      = 2.33856
  Normalizat = 1.4078
  Prefactor  = 0.855683
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.494     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     96.757        58.726        .81737E-05   -1.3737    
   2  Index         2.3386        .49282        .12304E-02   -.56130    
   3  Normalizat    1.4078        .29045        .13634E-04   -.80403    
   4  Prefactor     .85568        .13134        .77420E-05   -.97707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02868e-11
Minuit parameter uncertainties:
  1  58.7613
  2  0.493935
  3  0.290794
  4  0.131393
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/399080': 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) = 7830.49423678
delta logL = 0.101683121303

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  9.676e+01  5.876e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.339e+00  4.939e-01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  8.728e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  8.557e-01  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.408e+00  2.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 182.901 -27.588
Photon Index (Free Index): 2.34 +/- 0.49
Photon Flux (Free Index): 1.15e-07 +/- 7.11e-08
Energy Flux (Free Index): 4.10e-05 +/- 2.55e-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/399080/cmap_HighResolution_470793601_471052801_4FGL_J1211.6-2735_daily_bin893.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.10e-05', photon_flux_error='6.83e-08', dlogl='1.02e-01', energy_flux='3.56e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-05 03:39:24.289183', photon_index_error2='0.49', photon_index2='2.34', ts='6.38', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.55e-05', EG='1.38', time_epoch_completed='1630838364.29', return_code='0', job_id='399080', GAL2='0.86', EG2='1.41', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='7.11e-08', ts2='6.56', photon_index='2.57' WHERE bin_id='893' AND source_name='4FGL J1211.6-2735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:39:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 399080: <4FGL_J1211.6-2735_daily_bin893> in cluster <slac> Done

Job <4FGL_J1211.6-2735_daily_bin893> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 03:25:53 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:25:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 03:25:54 2021
Terminated at Sun Sep  5 03:39:25 2021
Results reported at Sun Sep  5 03:39:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.6-2735_daily_bin893 182.901 -27.5877 470793601 471052801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1211.6-2735 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   787.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

