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


Performing analysis on: 4FGL_J0611.6-2712_daily_bin948
RA = 92.9115, Dec = -27.2152
tmin = 485049601, tmax = 485308801
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='186585', job_status='RUN', time_executed='2021-08-24 16:56:23.299786', time_epoch_executed='1629849383.3' WHERE source_name='4FGL J0611.6-2712' and cadence='daily' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/186585

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/186585/ft1_4FGL_J0611.6-2712_daily_bin948.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/186585/ft1_4FGL_J0611.6-2712_daily_bin948.fits outfile=/scratch/kocevski/186585/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin948.fits ra=92.9115 dec=-27.2152 rad=12.0 tmin=485049601.0 tmax=485308801.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.50
user 3.29
sys 1.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.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/186585/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin948.fits evtable="EVENTS" outfile="/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.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 1.54
user 0.33
sys 1.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits" evtable="EVENTS" scfile=/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits sctable="SC_DATA" outfile=/scratch/kocevski/186585/ltcube_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.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/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits
.....................!
real 13.38
user 11.87
sys 1.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits sctable="SC_DATA" expcube=/scratch/kocevski/186585/ltcube_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.fits outfile=/scratch/kocevski/186585/expmap_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.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/186585/ltcube_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.fits
.....................!
real 191.45
user 185.19
sys 5.89

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0611.6-2712 @ 92.9115 -27.2152

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits scfile=/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits outfile=/scratch/kocevski/186585/cmap_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.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=92.9115 yref=-27.2152 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 1.69
user 0.38
sys 1.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits scfile=/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits outfile=/scratch/kocevski/186585/cmap_HighResolution_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.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=92.9115 yref=-27.2152 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 1.52
user 0.38
sys 1.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/186585/Model_4FGL_J0611.6-2712_daily_bin948.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/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits.....................!
real 95.27
user 92.43
sys 2.63

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits', '/scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits', expMap='/scratch/kocevski/186585/expmap_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.fits', expCube='/scratch/kocevski/186585/ltcube_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/186585/Model_4FGL_J0611.6-2712_daily_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0611.6-2712'

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  6.806e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.485e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  7.887e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/186585/ft1_filtered_4FGL_J0611.6-2712_daily_bin948.fits
Spacecraft file(s): /scratch/kocevski/186585/ft2_4FGL_J0611.6-2712_daily_bin948.fits
Exposure map: /scratch/kocevski/186585/expmap_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.fits
Exposure cube: /scratch/kocevski/186585/ltcube_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/186585/Model_4FGL_J0611.6-2712_daily_bin948.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) = 6776.17343987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.238       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.033       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0464       1.0000         .10000E-03   10000.    
     5 'norm      '    9.7331       1.0000         .10000E-03   10000.    
     6 'norm      '    46.014       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .42726E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9615       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7739       1.0000         .10000E-03   10000.    
    11 'Prefactor '    67.428       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.905       1.0000         .10000E-03   10000.    
    13 'Prefactor '    56.569       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1912       1.0000         .10000E-03   10000.    
    15 'Prefactor '    37.834       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .43036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8786       1.0000         .10000E-03   10000.    
    20 'norm      '    .13640E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9027       1.0000         .10000E-03   10000.    
    22 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.1230       1.0000         .10000E-03   10000.    
    24 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    165.35       1.0000         .10000E-03   10000.    
    27 'norm      '    64.288       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.6024       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .88252       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6776.116     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3781 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.240        49.329        .67309E-06    .24232E-05
   2  Prefactor     .10000E-03    12.282        .46177E-06** at limit **
   3  norm          15.034        8.7538        .14913E-06   -.12584E-03
   4  norm          3.0463        2.7596        .18569E-06    .27064E-04
   5  norm          9.7214        64.947        .32013E-05   -.31973E-06
   6  norm          46.012        23.573        .38188E-06    .48299E-04
   7  Prefactor     .10000E-03    7.6556        .51942E-07** at limit **
   8  Prefactor     3.9600        11.477        .33786E-06    .22260E-04
   9  Prefactor     .10000E-03    26.947       -.25129E-07** at limit **
  10  Prefactor     8.7741        15.045        .12203E-05    .68131E-04
  11  Prefactor     67.440        55.753       -.31046E-05   -.12020E-03
  12  Prefactor     14.904        34.749        .83817E-06   -.18178E-04
  13  Prefactor     56.589        68.858       -.21946E-05   -.22718E-04
  14  norm          2.2148        8.3890        .95820E-05   -.22526E-03
  15  Prefactor     37.844        24.977       -.14436E-05    .17936E-04
  16  Prefactor     .10004E-03    6.6807       -.26275E-05** at limit **
  17  Prefactor     .10000E-03    12.710        .10762E-05** at limit **
  18  norm          .10000E-03    27.341        .41315E-06** at limit **
  19  Prefactor     4.8781        7.0631        .19579E-05    .12175E-03
  20  norm          .10000E-03    10.809        .16385E-06** at limit **
  21  norm          1.9026        1.8349       -.16318E-06   -.68123E-04
  22  norm          .10000E-03    15.928       -.29524E-06** at limit **
  23  Prefactor     6.1255        8.2300        .60519E-07    .33789E-04
  24  norm          .10000E-03    5.5896        .40380E-06** at limit **
  25  Prefactor     .10000E-03    5.4195        .81881E-07** at limit **
  26  norm          165.42        111.93       -.45232E-05   -.42681E-05
  27  norm          64.260        61.945        .29846E-05   -.29240E-05
  28  Normalizat    1.6023        .28392       -.28203E-05   -.14427E-03
  29  Prefactor     .88263        .11791        .69851E-06   -.88632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.2405
  Prefactor  = 0.0001
  norm       = 15.0338
  norm       = 3.04634
  norm       = 9.72143
  norm       = 46.0123
  Prefactor  = 0.0001
  Prefactor  = 3.96005
  Prefactor  = 0.0001
  Prefactor  = 8.77405
  Prefactor  = 67.4398
  Prefactor  = 14.9038
  Prefactor  = 56.589
  norm       = 2.21484
  Prefactor  = 37.8438
  Prefactor  = 0.000100038
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.87811
  norm       = 0.0001
  norm       = 1.90261
  norm       = 0.0001
  Prefactor  = 6.12555
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 165.422
  norm       = 64.2596
  Normalizat = 1.6023
  Prefactor  = 0.882631
 **********
 **   18 **HESSE 
 **********

 FCN=   6776.116     FROM HESSE     STATUS=OK           561 CALLS     4342 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.240        49.529        .75392E-04   -1.4645    
   2  Prefactor     .10000E-03    12.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.034        8.8166        .10330E-03   -1.4932    
   4  norm          3.0463        2.7633        .12255E-03   -1.5359    
   5  norm          9.7214        65.161        .12845E-03   -1.5084    
   6  norm          46.012        23.297        .59108E-04   -1.4350    
   7  Prefactor     .10000E-03    35.671        .42058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9600        11.459        .20266E-03   -1.5310    
   9  Prefactor     .10000E-03    26.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.7741        14.863        .67661E-03   -1.5115    
  11  Prefactor     67.440        55.958        .48879E-04   -1.4064    
  12  Prefactor     14.904        34.772        .10375E-03   -1.4936    
  13  Prefactor     56.589        68.880        .53336E-04   -1.4202    
  14  norm          2.2148        8.5637        .13901E-02   -1.5410    
  15  Prefactor     37.844        24.922        .65160E-04   -1.4477    
  16  Prefactor     .10004E-03    25.518        .38928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    27.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8781        6.9997        .91056E-03   -1.5266    
  20  norm          .10000E-03    11.212        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9026        1.8305        .10303E-03   -1.5432    
  22  norm          .10000E-03    16.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.1255        8.1776        .16225E-03   -1.5213    
  24  norm          .10000E-03    5.6006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.4252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          165.42        112.00        .15684E-03   -1.3128    
  27  norm          64.260        62.055        .25025E-03   -1.4103    
  28  Normalizat    1.6023        .31898        .36293E-03   -.74943    
  29  Prefactor     .88263        .13358        .20864E-03   -.96751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73049e-09
Minuit parameter uncertainties:
  1  49.6016
  2  9.30562e-06
  3  8.81738
  4  2.76343
  5  50.4166
  6  23.3018
  7  1.16778e-05
  8  11.4651
  9  2.03333e-05
  10  14.8688
  11  56.0013
  12  34.8189
  13  68.9769
  14  8.56848
  15  24.9284
  16  0.00197823
  17  6.19145e-05
  18  5.09949e-06
  19  7.00091
  20  0.000129423
  21  1.83051
  22  6.71792e-05
  23  8.17907
  24  4.19758e-05
  25  1.24176e-05
  26  112.149
  27  62.1171
  28  0.319385
  29  0.133633
Done.

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

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  6.744e+01  5.600e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.485e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  7.887e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  8.826e-01  1.336e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.602e+00  3.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.99
Ra Dec: 92.912 -27.215
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 7.70e-08 +/- 6.39e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.89e-05

TS (Fixed Index): 2.99
Ra Dec: 92.912 -27.215
Photon Flux Upper Limit: 2.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/186585/likelihoodResults_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6774.00816264
delta logL = 2.10793519396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6774.00012716
delta logL = 2.11597067456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.005       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3897       1.0000          .0000       10.000    
     3 'Normalizat'    1.6465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87022       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6774.000     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.991        63.272       -.58038E-05   -.10512E-03
   2  Index         1.3897        .40408       -.14552E-04    .42927E-04
   3  Normalizat    1.6465        .25031        .65398E-06    .23325E-04
   4  Prefactor     .87023        .11135       -.11524E-06    .55965E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.9911
  Index      = 1.38973
  Normalizat = 1.64652
  Prefactor  = 0.870231
 **********
 **   18 **HESSE 
 **********

 FCN=   6774.000     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.991        61.234        .23655E-03   -1.4009    
   2  Index         1.3897        .39183        .64612E-02   -.80677    
   3  Normalizat    1.6465        .27716        .35830E-03   -.73740    
   4  Prefactor     .87023        .12352        .20974E-03   -.97189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06502e-11
Minuit parameter uncertainties:
  1  61.2877
  2  0.39267
  3  0.277419
  4  0.123557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/186585': 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) = 6774.00012708
delta logL = 2.1159707479

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  7.199e+01  6.129e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  1.390e+00  3.927e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  7.887e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  8.702e-01  1.236e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.647e+00  2.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.17
Ra Dec: 92.912 -27.215
Photon Index (Free Index): 1.39 +/- 0.39
Photon Flux (Free Index): 3.04e-08 +/- 2.59e-08
Energy Flux (Free Index): 1.39e-04 +/- 1.38e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/186585/cmap_HighResolution_485049601_485308801_4FGL_J0611.6-2712_daily_bin948.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', comment='SUCCESS', photon_flux='7.70e-08', energy_flux2='1.39e-04', photon_flux_error='6.39e-08', dlogl='2.12e+00', energy_flux='2.27e-05', photon_flux2='3.04e-08', job_status='DONE', time_completed='2021-08-24 17:10:35.946659', photon_index_error2='0.39', photon_index2='1.39', ts='2.99', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='2.16e-07', energy_flux_error2='1.38e-04', EG='1.60', time_epoch_completed='1629850235.95', return_code='0', job_id='186585', GAL2='0.87', EG2='1.65', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='2.59e-08', ts2='7.17', photon_index='2.49' WHERE bin_id='948' AND source_name='4FGL J0611.6-2712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 17:10:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0141>
Subject: Job 186585: <4FGL_J0611.6-2712_daily_bin948> in cluster <slac> Done

Job <4FGL_J0611.6-2712_daily_bin948> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 16:55:37 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 16:55:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 16:55:38 2021
Terminated at Tue Aug 24 17:10:36 2021
Results reported at Tue Aug 24 17:10:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0611.6-2712_daily_bin948 92.9115 -27.2152 485049601 485308801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0611.6-2712 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   865.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            899 sec.

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

