/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 171 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 = 7485
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1211.6-2735_daily_bin270
RA = 182.901, Dec = -27.5877
tmin = 309312001, tmax = 309571201
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='395318', job_status='RUN', time_executed='2021-09-05 03:18:31.539669', time_epoch_executed='1630837111.54' WHERE source_name='4FGL J1211.6-2735' and cadence='daily' and bin_id='270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/395318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/395318/ft1_4FGL_J1211.6-2735_daily_bin270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/395318/ft1_4FGL_J1211.6-2735_daily_bin270.fits outfile=/scratch/kocevski/395318/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin270.fits ra=182.901 dec=-27.5877 rad=12.0 tmin=309312001.0 tmax=309571201.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 4.45
user 3.78
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.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/395318/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin270.fits evtable="EVENTS" outfile="/scratch/kocevski/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.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.51
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits" evtable="EVENTS" scfile=/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits sctable="SC_DATA" outfile=/scratch/kocevski/395318/ltcube_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.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/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits
.....................!
real 12.18
user 11.83
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits sctable="SC_DATA" expcube=/scratch/kocevski/395318/ltcube_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.fits outfile=/scratch/kocevski/395318/expmap_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.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/395318/ltcube_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.fits
.....................!
real 191.01
user 185.66
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
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/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits scfile=/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits outfile=/scratch/kocevski/395318/cmap_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits scfile=/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits outfile=/scratch/kocevski/395318/cmap_HighResolution_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/395318/Model_4FGL_J1211.6-2735_daily_bin270.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/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits.....................!
real 99.49
user 98.02
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits', '/scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits', expMap='/scratch/kocevski/395318/expmap_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.fits', expCube='/scratch/kocevski/395318/ltcube_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/395318/Model_4FGL_J1211.6-2735_daily_bin270.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/395318/ft1_filtered_4FGL_J1211.6-2735_daily_bin270.fits
Spacecraft file(s): /scratch/kocevski/395318/ft2_4FGL_J1211.6-2735_daily_bin270.fits
Exposure map: /scratch/kocevski/395318/expmap_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.fits
Exposure cube: /scratch/kocevski/395318/ltcube_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/395318/Model_4FGL_J1211.6-2735_daily_bin270.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) = 5792.06055628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.335       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.726       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .94281E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    71.545       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8205       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0668       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.4744       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.7104       1.0000         .10000E-03   10000.    
    22 'norm      '    4.2815       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87625       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0839       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=   5792.058     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2690 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.333        46.392       -.21054E-05   -.41348E-04
   2  Prefactor     .10000E-03    22.894        .98489E-05** at limit **
   3  Prefactor     .10000E-03    6.6383        .45644E-06** at limit **
   4  norm          11.724        11.494       -.13022E-05   -.92024E-03
   5  Prefactor     .24281E-01    5.7899       -.54065E-06   -.15378E-03
   6  Prefactor     .10000E-03    13.505        .77843E-05** at limit **
   7  norm          .10000E-03    13.819       -.53581E-05** at limit **
   8  Prefactor     71.558        31.728        .78191E-05    .31116E-04
   9  norm          3.8181        7.3870       -.51106E-05   -.35395E-03
  10  Prefactor     .10000E-03    4.9353        .54243E-06** at limit **
  11  Prefactor     .10000E-03    31.586       -.17973E-04** at limit **
  12  Prefactor     .10000E-03    4.5642       -.75438E-07** at limit **
  13  Prefactor     1.9853        155.60       -.86911E-04    .63496E-04
  14  Prefactor     .10000E-03    9.4545       -.75752E-06** at limit **
  15  Prefactor     .10000E-03    23.077        .98237E-05** at limit **
  16  Prefactor     .10000E-03    20.215       -.95739E-05** at limit **
  17  Prefactor     .10000E-03    6.7884        .12340E-06** at limit **
  18  norm          1.4740        1.1805       -.16095E-06   -.18383E-03
  19  Prefactor     .10000E-03    45.252        .91531E-05** at limit **
  20  norm          .10000E-03    13.369       -.70653E-06** at limit **
  21  Prefactor     2.7100        4.9348       -.60919E-06   -.35854E-03
  22  norm          4.2792        8.2159       -.94627E-06   -.17931E-03
  23  Normalizat    .87662        .28726        .22734E-05    .23648E-03
  24  Prefactor     1.0839        .12960        .11510E-05    .41690E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.3326
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 11.7237
  Prefactor  = 0.0242811
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 71.5577
  norm       = 3.81811
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.98529
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.47401
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 2.71001
  norm       = 4.27915
  Normalizat = 0.876618
  Prefactor  = 1.08389
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.058     FROM HESSE     STATUS=OK           399 CALLS     3089 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.333        46.385        .60212E-04   -1.4375    
   2  Prefactor     .10000E-03    23.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.6456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.724        11.582        .58492E-03   -1.5023    
   5  Prefactor     .24281E-01    6.7007        .54345E-01   -1.5677    
   6  Prefactor     .10000E-03    13.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    13.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     71.558        31.689        .47461E-04   -1.4014    
   9  norm          3.8181        7.3523        .20649E-03   -1.5317    
  10  Prefactor     .10000E-03    4.9745        .16491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    31.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.5686        .15879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9853        157.19        .28739E-03   -1.5426    
  14  Prefactor     .10000E-03    9.4601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.8155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4740        1.1662        .70883E-04   -1.5465    
  19  Prefactor     .10000E-03    45.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    13.687        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.7100        4.8882        .22019E-03   -1.5379    
  22  norm          4.2792        8.2214        .19471E-03   -1.5294    
  23  Normalizat    .87662        .33033        .40874E-03   -.97287    
  24  Prefactor     1.0839        .15055        .17251E-03   -.89983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39512e-09
Minuit parameter uncertainties:
  1  46.4223
  2  0.000351646
  3  7.94594e-06
  4  11.5842
  5  0.805149
  6  0.000157002
  7  0.000109297
  8  31.6969
  9  7.35404
  10  0.000144541
  11  0.000469349
  12  6.04999e-07
  13  35.4269
  14  3.28213e-06
  15  0.00027048
  16  0.000358592
  17  1.31607e-05
  18  1.16624
  19  0.000339003
  20  4.80514e-05
  21  4.88892
  22  8.22357
  23  0.331098
  24  0.150607
Done.

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

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.985e+00  3.543e+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:  1.084e+00  1.506e-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:  8.766e-01  3.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 182.901 -27.588
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/395318/likelihoodResults_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.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): 102
logL (Free Index) = 5791.59144562
delta logL = 0.466071919093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5791.34505894
delta logL = 0.712458603915

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20346E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    8.1867       1.0000          .0000       10.000    
     3 'Normalizat'    .71447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1337       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.

 FCN=   5791.345     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      329 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19940E-02    .25158E-01    .68486E-03** at limit **
   2  Index         8.1974        2.5159        .17744        .14855E-03
   3  Normalizat    .71392        .59540E-01    .10135        .44548E-04
   4  Prefactor     1.1339        .27765E-01    .36427E-01    .83359E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00199403
  Index      = 8.19742
  Normalizat = 0.713916
  Prefactor  = 1.13388
 **********
 **   18 **HESSE 
 **********

 FCN=   5791.345     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      364 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19940E-02    .74349E-01    .29625E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.1974        8.3896        .66639E-02    .69383    
   3  Normalizat    .71392        .24025        .44919E-03   -1.0335    
   4  Prefactor     1.1339        .10873        .16906E-03   -.88391    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.3181e-11
Minuit parameter uncertainties:
  1  0.0237335
  2  5.73672
  3  0.240603
  4  0.108751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/395318': 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): 102
logL (Free Index) = 5791.34505325
delta logL = 0.712464292978

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.994e-03  2.373e-02  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  8.197e+00  5.737e+00  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:  1.134e+00  1.088e-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:  7.139e-01  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 182.901 -27.588
Photon Index (Free Index): 8.20 +/- 5.74
Photon Flux (Free Index): 1.46e-07 +/- 1.25e-07
Energy Flux (Free Index): 1.69e-05 +/- 1.52e-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/395318/cmap_HighResolution_309312001_309571201_4FGL_J1211.6-2735_daily_bin270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='7.12e-01', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-09-05 03:30:32.865598', photon_index_error2='5.74', photon_index2='8.20', ts='0.00', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.52e-05', EG='0.88', time_epoch_completed='1630837832.87', return_code='0', job_id='395318', GAL2='1.13', EG2='0.71', return_code2='102', photon_flux_error2='1.25e-07', ts2='1.67', photon_index='2.57' WHERE bin_id='270' AND source_name='4FGL J1211.6-2735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:30:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 395318: <4FGL_J1211.6-2735_daily_bin270> in cluster <slac> Done

Job <4FGL_J1211.6-2735_daily_bin270> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 03:15:29 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:15:30 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:15:30 2021
Terminated at Sun Sep  5 03:30:33 2021
Results reported at Sun Sep  5 03:30:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.6-2735_daily_bin270 182.901 -27.5877 309312001 309571201 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 :                                   718.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

