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


Performing analysis on: 4FGL_J0611.6-2712_daily_bin1071
RA = 92.9115, Dec = -27.2152
tmin = 516931201, tmax = 517190401
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='187923', job_status='RUN', time_executed='2021-08-24 17:02:03.695153', time_epoch_executed='1629849723.7' WHERE source_name='4FGL J0611.6-2712' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/187923

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/187923/ft1_4FGL_J0611.6-2712_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/187923/ft1_4FGL_J0611.6-2712_daily_bin1071.fits outfile=/scratch/kocevski/187923/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin1071.fits ra=92.9115 dec=-27.2152 rad=12.0 tmin=516931201.0 tmax=517190401.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.58
user 3.68
sys 0.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.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/187923/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.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.13
user 0.32
sys 0.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/187923/ltcube_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.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/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits
.....................!
real 12.66
user 11.62
sys 0.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/187923/ltcube_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.fits outfile=/scratch/kocevski/187923/expmap_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.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/187923/ltcube_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.fits
.....................!
real 195.96
user 189.14
sys 5.88

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/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits scfile=/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits outfile=/scratch/kocevski/187923/cmap_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.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.11
user 0.36
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits scfile=/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits outfile=/scratch/kocevski/187923/cmap_HighResolution_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.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.12
user 0.37
sys 0.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/187923/Model_4FGL_J0611.6-2712_daily_bin1071.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/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits.....................!
real 85.29
user 82.89
sys 2.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits', '/scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits', expMap='/scratch/kocevski/187923/expmap_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.fits', expCube='/scratch/kocevski/187923/ltcube_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/187923/Model_4FGL_J0611.6-2712_daily_bin1071.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/187923/ft1_filtered_4FGL_J0611.6-2712_daily_bin1071.fits
Spacecraft file(s): /scratch/kocevski/187923/ft2_4FGL_J0611.6-2712_daily_bin1071.fits
Exposure map: /scratch/kocevski/187923/expmap_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.fits
Exposure cube: /scratch/kocevski/187923/ltcube_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/187923/Model_4FGL_J0611.6-2712_daily_bin1071.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) = 6292.61874267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.520       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.806       1.0000         .10000E-03   10000.    
     3 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4892       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.9255       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .50048       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    83.470       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10428E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.415       1.0000         .10000E-03   10000.    
    14 'norm      '    25.751       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10382E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    34.859       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.5072       1.0000         .10000E-03   10000.    
    20 'norm      '    1.3237       1.0000         .10000E-03   10000.    
    21 'norm      '    2.9895       1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    103.39       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .92885       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1591       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=   6292.608     FROM MIGRAD    STATUS=CONVERGED    731 CALLS     3689 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.517        55.011       -.11444E-05   -.46057E-04
   2  Prefactor     12.807        12.264        .23278E-06    .72443E-04
   3  norm          .10000E-03    9.6856        .68733E-06** at limit **
   4  norm          1.4888        3.0565       -.17956E-06   -.16627E-03
   5  norm          .10000E-03    12.055       -.65812E-06** at limit **
   6  norm          5.9349        19.781       -.15665E-05   -.19801E-03
   7  Prefactor     .49058        20.896        .20673E-05   -.62024E-03
   8  Prefactor     .10000E-03    5.8413        .98351E-07** at limit **
   9  Prefactor     83.495        86.198        .13709E-05   -.35301E-04
  10  Prefactor     .10017E-03    153.82        .88581E-05** at limit **
  11  Prefactor     .10001E-03    210.26       -.67221E-05** at limit **
  12  Prefactor     .10000E-03    52.733        .13941E-05** at limit **
  13  Prefactor     17.408        51.776       -.34556E-06   -.10959E-04
  14  norm          25.754        11.257       -.48727E-07   -.16209E-03
  15  Prefactor     .10000E-03    10.132       -.12037E-06** at limit **
  16  Prefactor     .10000E-03    10.094        .14700E-05** at limit **
  17  Prefactor     .10000E-03    23.534        .95370E-06** at limit **
  18  norm          34.851        32.413       -.41014E-07   -.17145E-04
  19  Prefactor     5.5073        8.6337       -.14764E-06   -.60568E-04
  20  norm          1.3220        6.4862       -.16153E-05   -.35775E-03
  21  norm          2.9894        1.8593       -.65537E-08   -.14354E-03
  22  norm          .10000E-03    3.7515       -.71244E-07** at limit **
  23  Prefactor     .10000E-03    3.6905        .19864E-06** at limit **
  24  norm          .10000E-03    11.704        .11683E-05** at limit **
  25  Prefactor     .10000E-03    7.1589        .19792E-06** at limit **
  26  norm          .10000E-03    29.670        .25749E-06** at limit **
  27  norm          103.35        78.531       -.27266E-05   -.17371E-03
  28  Normalizat    .92896        .27760        .15779E-05   -.28254E-03
  29  Prefactor     1.1592        .12264       -.96282E-06   -.80139E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.517
  Prefactor  = 12.8075
  norm       = 0.0001
  norm       = 1.4888
  norm       = 0.0001
  norm       = 5.93489
  Prefactor  = 0.49058
  Prefactor  = 0.0001
  Prefactor  = 83.4946
  Prefactor  = 0.000100165
  Prefactor  = 0.000100006
  Prefactor  = 0.000100001
  Prefactor  = 17.4081
  norm       = 25.7541
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 34.851
  Prefactor  = 5.50731
  norm       = 1.32205
  norm       = 2.98943
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 103.352
  Normalizat = 0.928964
  Prefactor  = 1.15918
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.608     FROM HESSE     STATUS=OK           547 CALLS     4236 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.517        55.071        .71368E-04   -1.4585    
   2  Prefactor     12.807        12.233        .11193E-03   -1.4992    
   3  norm          .10000E-03    10.019        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4888        3.0513        .17789E-03   -1.5464    
   5  norm          .10000E-03    12.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.9349        19.648        .16496E-03   -1.5221    
   7  Prefactor     .49058        59.396        .43386E-02   -1.5568    
   8  Prefactor     .10000E-03    5.8534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     83.495        87.192        .43967E-04   -1.3878    
  10  Prefactor     .10017E-03    160.94        .57835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    212.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.408        51.749        .95974E-04   -1.4873    
  14  norm          25.754        11.235        .78941E-04   -1.4693    
  15  Prefactor     .10000E-03    10.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          34.851        32.391        .67874E-04   -1.4527    
  19  Prefactor     5.5073        8.6293        .17121E-03   -1.5239    
  20  norm          1.3220        6.6872        .38222E-03   -1.5478    
  21  norm          2.9894        1.8603        .82823E-04   -1.5362    
  22  norm          .10000E-03    3.7547        .15002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.7335        .14886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    11.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.1746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    29.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          103.35        79.642        .19773E-03   -1.3671    
  28  Normalizat    .92896        .30358        .41891E-03   -.95450    
  29  Prefactor     1.1592        .13398        .18026E-03   -.87597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82519e-09
Minuit parameter uncertainties:
  1  55.16
  2  12.235
  3  8.60441e-05
  4  3.0516
  5  7.21119e-05
  6  19.6698
  7  10.8059
  8  3.90225e-06
  9  87.3263
  10  0.0103443
  11  0.00229278
  12  0.000421738
  13  51.8832
  14  11.2355
  15  1.94787e-05
  16  0.000163705
  17  0.000176565
  18  32.4076
  19  8.63128
  20  5.94753
  21  1.86034
  22  4.12645e-06
  23  1.65509e-05
  24  0.000152714
  25  2.26464e-05
  26  7.52953e-05
  27  79.7244
  28  0.304146
  29  0.134016
Done.

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

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  2.293e-03  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:  1.159e+00  1.340e-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:  9.290e-01  3.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/187923/likelihoodResults_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.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) = 6292.60759488
delta logL = -2.22815415327e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6292.60757399
delta logL = -1.3953049347e-06

Fit tolerance = 1e-08

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

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

 FCN=   6292.608     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      252 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26170E-03    1.7513        .14466    ** at limit **
   2  Index         2.6284        5.4262        .50000       -.81573E-05
   3  Normalizat    .92897        .15400E-02    .94561E-01    .13715E-03
   4  Prefactor     1.1592        .73476E-03    .35676E-01    .79400E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000261696
  Index      = 2.62836
  Normalizat = 0.928966
  Prefactor  = 1.15918
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.608     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      293 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26170E-03    1.8953        .13938       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6284        5.7180        .50000       -.49420    
   3  Normalizat    .92897        .15567E-02    .41891E-03   -.95450    
   4  Prefactor     1.1592        .74489E-03    .18026E-03   -.87597    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2345e-08
Minuit parameter uncertainties:
  1  0.0350131
  2  38.4815
  3  0.00155667
  4  0.000744892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/187923': 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) = 6292.60757266
delta logL = -6.36155164102e-08

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  2.617e-04  3.501e-02  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.628e+00  3.848e+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:  1.159e+00  7.449e-04  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:  9.290e-01  1.557e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.912 -27.215

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/187923/cmap_HighResolution_516931201_517190401_4FGL_J0611.6-2712_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-08-24 17:15:36.435028', job_id='187923', GAL2='1.16', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1629850536.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-6.36e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1071' AND source_name='4FGL J0611.6-2712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 17:15:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 187923: <4FGL_J0611.6-2712_daily_bin1071> in cluster <slac> Done

Job <4FGL_J0611.6-2712_daily_bin1071> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 17:00:19 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 17:00:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 17:00:21 2021
Terminated at Tue Aug 24 17:15:37 2021
Results reported at Tue Aug 24 17:15:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0611.6-2712_daily_bin1071 92.9115 -27.2152 516931201 517190401 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 :                                   810.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            918 sec.

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

