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


Performing analysis on: 4FGL_J0611.6-2712_daily_bin1302
RA = 92.9115, Dec = -27.2152
tmin = 576806401, tmax = 577065601
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='189664', job_status='RUN', time_executed='2021-08-24 17:05:59.819465', time_epoch_executed='1629849959.82' WHERE source_name='4FGL J0611.6-2712' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189664/ft1_4FGL_J0611.6-2712_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189664/ft1_4FGL_J0611.6-2712_daily_bin1302.fits outfile=/scratch/kocevski/189664/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin1302.fits ra=92.9115 dec=-27.2152 rad=12.0 tmin=576806401.0 tmax=577065601.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.03
user 2.81
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189664/ft1_filtered_4FGL_J0611.6-2712_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/189664/ltcube_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.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/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits
.....................!
real 12.26
user 11.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189664/ft1_filtered_4FGL_J0611.6-2712_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/189664/ltcube_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.fits outfile=/scratch/kocevski/189664/expmap_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.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/189664/ltcube_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.fits
.....................!
real 190.73
user 184.94
sys 5.45

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/189664/ft1_filtered_4FGL_J0611.6-2712_daily_bin1302.fits scfile=/scratch/kocevski/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits outfile=/scratch/kocevski/189664/cmap_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.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 0.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189664/ft1_filtered_4FGL_J0611.6-2712_daily_bin1302.fits scfile=/scratch/kocevski/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits outfile=/scratch/kocevski/189664/cmap_HighResolution_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.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 0.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/189664/ft1_filtered_4FGL_J0611.6-2712_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/189664/ft2_4FGL_J0611.6-2712_daily_bin1302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189664/Model_4FGL_J0611.6-2712_daily_bin1302.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/189664/ft1_filtered_4FGL_J0611.6-2712_daily_bin1302.fits.....................!
real 110.86
user 109.40
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    26.460       1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.1855       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.879       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.188       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    67.128       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11536E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9225       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    26.920       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.4770       1.0000         .10000E-03   10000.    
    20 'norm      '    .11338E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .68463       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    12.291       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    57.456       1.0000         .10000E-03   10000.    
    27 'norm      '    .32733E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .72657       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1448       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=   8677.809     FROM MIGRAD    STATUS=CONVERGED    700 CALLS     3655 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.644        .36403E-06** at limit **
   2  Prefactor     26.466        12.967        .18896E-06   -.25882E-04
   3  norm          .10000E-03    4.0684        .12924E-06** at limit **
   4  norm          4.1861        1.9209        .10057E-06   -.54713E-04
   5  norm          .10000E-03    9.3198        .17329E-06** at limit **
   6  norm          .10000E-03    3.8729       -.14489E-06** at limit **
   7  Prefactor     5.8187        7.1164        .53871E-05   -.11161E-03
   8  Prefactor     .10000E-03    4.7038       -.58114E-07** at limit **
   9  Prefactor     28.875        35.069       -.88303E-06   -.31086E-04
  10  Prefactor     17.184        14.434       -.14485E-05   -.35636E-04
  11  Prefactor     .10000E-03    17.969       -.27853E-06** at limit **
  12  Prefactor     67.142        29.155        .62734E-06    .21258E-03
  13  Prefactor     .10000E-03    27.945        .10973E-05** at limit **
  14  norm          .10000E-03    6.4303        .18883E-06** at limit **
  15  Prefactor     .10007E-03    7.9705       -.98751E-06** at limit **
  16  Prefactor     7.9220        5.3437        .30764E-07    .23046E-04
  17  Prefactor     .10000E-03    16.299        .25448E-06** at limit **
  18  norm          26.924        28.446        .36360E-06    .48581E-04
  19  Prefactor     6.4773        5.1139        .57526E-07    .86650E-05
  20  norm          .10001E-03    3.2370        .10001E-05** at limit **
  21  norm          .68448        .99219        .56772E-06   -.52422E-04
  22  norm          .10000E-03    2.0990        .68419E-08** at limit **
  23  Prefactor     .10000E-03    2.3542       -.38155E-07** at limit **
  24  norm          12.290        15.366        .34022E-06    .24952E-04
  25  Prefactor     .10000E-03    8.4049       -.12393E-06** at limit **
  26  norm          57.381        73.010       -.27391E-05   -.30898E-03
  27  norm          .10001E-03    115.53       -.50142E-05** at limit **
  28  Normalizat    .72639        .19529       -.37141E-05   -.35318E-05
  29  Prefactor     1.1448        .95178E-01    .51886E-06   -.25521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 26.4658
  norm       = 0.0001
  norm       = 4.18611
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.81872
  Prefactor  = 0.0001
  Prefactor  = 28.8755
  Prefactor  = 17.1843
  Prefactor  = 0.0001
  Prefactor  = 67.142
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100069
  Prefactor  = 7.92197
  Prefactor  = 0.0001
  norm       = 26.9245
  Prefactor  = 6.47726
  norm       = 0.000100006
  norm       = 0.68448
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.29
  Prefactor  = 0.0001
  norm       = 57.3814
  norm       = 0.000100008
  Normalizat = 0.726393
  Prefactor  = 1.14483
 **********
 **   18 **HESSE 
 **********

 FCN=   8677.809     FROM HESSE     STATUS=OK           549 CALLS     4204 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.466        12.916        .77879E-04   -1.4679    
   3  norm          .10000E-03    4.1234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1861        1.9220        .83455E-04   -1.5299    
   5  norm          .10000E-03    9.3207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.8783        .17906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8187        7.1433        .83254E-03   -1.5225    
   8  Prefactor     .10000E-03    4.7263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.875        35.035        .74552E-04   -1.4633    
  10  Prefactor     17.184        14.431        .96606E-04   -1.4879    
  11  Prefactor     .10000E-03    17.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     67.142        29.155        .48987E-04   -1.4067    
  13  Prefactor     .10000E-03    27.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.6295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10007E-03    58.499        .49837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9220        5.3349        .14245E-03   -1.5145    
  17  Prefactor     .10000E-03    16.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          26.924        28.419        .77211E-04   -1.4670    
  19  Prefactor     6.4773        5.1107        .15770E-03   -1.5199    
  20  norm          .10001E-03    9.1408        .31721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .68448        .99186        .24005E-03   -1.5543    
  22  norm          .10000E-03    2.1011        .13179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.3842        .13944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.290        15.326        .11426E-03   -1.5007    
  25  Prefactor     .10000E-03    8.4346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          57.381        73.109        .26462E-03   -1.4192    
  27  norm          .10001E-03    117.29        .21353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .72639        .20608        .41272E-03   -1.0286    
  29  Prefactor     1.1448        .10132        .16994E-03   -.88046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91573e-09
Minuit parameter uncertainties:
  1  0.000124821
  2  12.9169
  3  1.5961e-05
  4  1.92208
  5  5.17637e-05
  6  1.60343e-05
  7  7.14436
  8  1.34455e-05
  9  35.06
  10  14.4339
  11  0.000156916
  12  29.1617
  13  0.000237881
  14  3.54903e-05
  15  0.00402421
  16  5.33522
  17  3.92588e-05
  18  28.4332
  19  5.111
  20  0.000457686
  21  0.991879
  22  4.56431e-07
  23  3.08678e-06
  24  15.3311
  25  8.88279e-05
  26  73.224
  27  0.00188137
  28  0.206299
  29  0.101338
Done.

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

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.569e-04  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.145e+00  1.013e-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:  7.264e-01  2.063e-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: 7.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/189664/likelihoodResults_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.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) = 8677.809461
delta logL = -0.000264707221504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8677.80919877
delta logL = -2.47923890129e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1205       1.0000          .0000       10.000    
     3 'Normalizat'    .72638       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1448       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8677.809     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      271 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11212E-03    7.6115        .18142E-01** at limit **
   2  Index         2.8808        5.6465        .50000        .20141E-04
   3  Normalizat    .72639        .40639E-02    .41272E-03    .77403E-04
   4  Prefactor     1.1448        .20734E-02    .16993E-03    .93928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000112124
  Index      = 2.88082
  Normalizat = 0.726392
  Prefactor  = 1.14483
 **********
 **   18 **HESSE 
 **********

 FCN=   8677.809     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11212E-03    110.35        .32191E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8808        7.9408        .50000       -.43768    
   3  Normalizat    .72639        .15523E-01    .16509E-04   -1.0286    
   4  Prefactor     1.1448        .79201E-02    .67974E-05   -.88046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.76719e-08
Minuit parameter uncertainties:
  1  0.0732896
  2  642.105
  3  0.015523
  4  0.00792008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189664': 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) = 8677.80919793
delta logL = -1.63866388903e-06

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  1.121e-04  7.329e-02  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.881e+00  6.421e+02  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.145e+00  7.920e-03  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:  7.264e-01  1.552e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/189664/cmap_HighResolution_576806401_577065601_4FGL_J0611.6-2712_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.33e-08', time_completed='2021-08-24 17:22:16.235208', job_id='189664', GAL2='1.14', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1629850936.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-1.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1302' AND source_name='4FGL J0611.6-2712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 17:22:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 189664: <4FGL_J0611.6-2712_daily_bin1302> in cluster <slac> Done

Job <4FGL_J0611.6-2712_daily_bin1302> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 17:05:46 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 17:05:47 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:05:47 2021
Terminated at Tue Aug 24 17:22:17 2021
Results reported at Tue Aug 24 17:22:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0611.6-2712_daily_bin1302 92.9115 -27.2152 576806401 577065601 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 :                                   970.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             343.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

