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


Performing analysis on: 4FGL_J0611.6-2712_daily_bin255
RA = 92.9115, Dec = -27.2152
tmin = 305424001, tmax = 305683201
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='180499', job_status='RUN', time_executed='2021-08-24 16:36:59.370847', time_epoch_executed='1629848219.37' WHERE source_name='4FGL J0611.6-2712' and cadence='daily' and bin_id='255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/180499

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/180499/ft1_4FGL_J0611.6-2712_daily_bin255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/180499/ft1_4FGL_J0611.6-2712_daily_bin255.fits outfile=/scratch/kocevski/180499/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin255.fits ra=92.9115 dec=-27.2152 rad=12.0 tmin=305424001.0 tmax=305683201.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 8.30
user 3.24
sys 5.00

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.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/180499/ft1_filteredMKT_4FGL_J0611.6-2712_daily_bin255.fits evtable="EVENTS" outfile="/scratch/kocevski/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.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 5.62
user 0.35
sys 4.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.fits" evtable="EVENTS" scfile=/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits sctable="SC_DATA" outfile=/scratch/kocevski/180499/ltcube_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.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/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits
.....................!
real 17.63
user 11.70
sys 5.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits sctable="SC_DATA" expcube=/scratch/kocevski/180499/ltcube_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.fits outfile=/scratch/kocevski/180499/expmap_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.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/180499/ltcube_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.fits
.....................!
real 197.43
user 185.78
sys 11.22

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/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.fits scfile=/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits outfile=/scratch/kocevski/180499/cmap_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.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 5.26
user 0.36
sys 4.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.fits scfile=/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits outfile=/scratch/kocevski/180499/cmap_HighResolution_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.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 5.26
user 0.38
sys 4.83

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/180499/ft2_4FGL_J0611.6-2712_daily_bin255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/180499/Model_4FGL_J0611.6-2712_daily_bin255.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/180499/ft1_filtered_4FGL_J0611.6-2712_daily_bin255.fits.....................!
real 80.83
user 73.35
sys 7.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.2396       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.7255       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3384       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.661       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15768E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .75834       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3350       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.117       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0419       1.0000         .10000E-03   10000.    
    20 'norm      '    12.197       1.0000         .10000E-03   10000.    
    21 'norm      '    4.4336       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .51158E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.0933       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0463       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91399       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=   5622.490     FROM MIGRAD    STATUS=CONVERGED    728 CALLS     3705 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.182       -.16470E-05** at limit **
   2  Prefactor     .10000E-03    4.8209        .24309E-07** at limit **
   3  norm          .10000E-03    6.0053        .12434E-06** at limit **
   4  norm          4.2395        3.0203        .71726E-07    .54915E-04
   5  norm          .10000E-03    14.287        .62807E-06** at limit **
   6  norm          4.7247        11.490        .16256E-06    .64011E-05
   7  Prefactor     2.3373        6.1699        .78864E-06    .15353E-03
   8  Prefactor     15.660        15.871        .42685E-06    .10095E-03
   9  Prefactor     .10000E-03    45.684       -.12691E-05** at limit **
  10  Prefactor     .10000E-03    46.654       -.15915E-05** at limit **
  11  Prefactor     .10000E-03    11.162       -.54933E-06** at limit **
  12  Prefactor     .10000E-03    27.972        .62047E-06** at limit **
  13  Prefactor     .10001E-03    93.455       -.19888E-05** at limit **
  14  norm          .73978        6.6702       -.36631E-05    .19225E-03
  15  Prefactor     2.3866        63.135       -.10496E-05    .34400E-05
  16  Prefactor     .10000E-03    2.6045       -.82232E-07** at limit **
  17  Prefactor     29.093        34.768        .16867E-05   -.25328E-05
  18  norm          .10000E-03    26.124        .32851E-06** at limit **
  19  Prefactor     3.0420        8.0380        .51002E-05    .16781E-03
  20  norm          12.193        8.1690        .23782E-06    .13578E-03
  21  norm          4.4355        2.2433       -.99636E-08   -.20435E-04
  22  norm          .10000E-03    5.7644        .13188E-06** at limit **
  23  Prefactor     .10001E-03    3.5869       -.14600E-05** at limit **
  24  norm          .10000E-03    5.4943       -.69968E-07** at limit **
  25  Prefactor     6.0923        11.172        .11173E-05    .38578E-04
  26  norm          .10000E-03    38.829        .21347E-05** at limit **
  27  norm          .10000E-03    24.862       -.30396E-06** at limit **
  28  Normalizat    1.0463        .23860        .64283E-07    .98237E-04
  29  Prefactor     .91405        .10775       -.82804E-06    .43887E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.23945
  norm       = 0.0001
  norm       = 4.72474
  Prefactor  = 2.33727
  Prefactor  = 15.6601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.739785
  Prefactor  = 2.38658
  Prefactor  = 0.0001
  Prefactor  = 29.0929
  norm       = 0.0001
  Prefactor  = 3.042
  norm       = 12.1934
  norm       = 4.43549
  norm       = 0.0001
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 6.09231
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.04634
  Prefactor  = 0.914052
 **********
 **   18 **HESSE 
 **********

 FCN=   5622.490     FROM HESSE     STATUS=OK           551 CALLS     4256 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.8248        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.1722        .35848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.2395        3.0457        .10257E-03   -1.5296    
   5  norm          .10000E-03    14.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.7247        11.469        .18510E-03   -1.5273    
   7  Prefactor     2.3373        6.1481        .26813E-03   -1.5402    
   8  Prefactor     15.660        15.886        .10121E-03   -1.4916    
   9  Prefactor     .10000E-03    45.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    46.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    93.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .73978        17.041        .29228E-02   -1.5536    
  15  Prefactor     2.3866        60.010        .26835E-03   -1.5399    
  16  Prefactor     .10000E-03    2.6064        .11813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.093        34.664        .74248E-04   -1.4629    
  18  norm          .10000E-03    26.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0420        8.6710        .11632E-02   -1.5359    
  20  norm          12.193        8.1509        .11470E-03   -1.5009    
  21  norm          4.4355        2.2266        .76380E-04   -1.5287    
  22  norm          .10000E-03    5.7941        .17576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    13.554        .24960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    5.5007        .17165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.0923        11.214        .81323E-03   -1.5214    
  26  norm          .10000E-03    38.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    24.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0463        .26548        .35301E-03   -.91494    
  29  Prefactor     .91405        .12014        .17645E-03   -.95652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30952e-09
Minuit parameter uncertainties:
  1  6.04416e-05
  2  3.8631e-06
  3  2.6202e-05
  4  3.04583
  5  2.37317e-05
  6  11.4741
  7  6.14973
  8  15.8904
  9  8.82691e-06
  10  0.000138215
  11  3.1565e-05
  12  0.000224836
  13  0.00155187
  14  7.103
  15  23.9611
  16  1.39377e-06
  17  34.6885
  18  4.71662e-05
  19  8.67456
  20  8.15161
  21  2.22664
  22  2.07609e-05
  23  0.000676348
  24  6.10659e-06
  25  11.2182
  26  0.000128306
  27  8.92933e-06
  28  0.265821
  29  0.120173
Done.

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

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  3.156e-05  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:  9.141e-01  1.202e-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.046e+00  2.658e-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: 6.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/180499/likelihoodResults_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.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) = 5622.4907843
delta logL = -0.000425143364737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5622.49035915
delta logL = 1.37870301842e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4726       1.0000          .0000       10.000    
     3 'Normalizat'    1.0463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91407       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=   5622.490     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      253 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    96.054        .18142E-01** at limit **
   2  Index         1.9471        8.8968        .50000        .23188E-06
   3  Normalizat    1.0463        .17871E-01    .35300E-03    .53139E-05
   4  Prefactor     .91405        .84655E-02    .17645E-03    .13710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.94705
  Normalizat = 1.04634
  Prefactor  = 0.914053
 **********
 **   18 **HESSE 
 **********

 FCN=   5622.490     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    709.45        .26534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9471        7.8178        .50000       -.65681    
   3  Normalizat    1.0463        .51905E-01    .14120E-04   -.91494    
   4  Prefactor     .91405        .24588E-01    .35291E-04   -.95652    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.61654e-09
Minuit parameter uncertainties:
  1  0.00123341
  2  1960.75
  3  0.051907
  4  0.0245886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/180499': 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) = 5622.49035849
delta logL = 6.65288098389e-07

Extracting fit parameters...

4FGL J0611.6-2712
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.233e-03  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  1.947e+00  1.961e+03  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:  9.141e-01  2.459e-02  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.046e+00  5.191e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/180499/cmap_HighResolution_305424001_305683201_4FGL_J0611.6-2712_daily_bin255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-03', job_status='DONE', photon_flux_upper_limit='6.94e-08', time_completed='2021-08-24 16:50:26.725155', job_id='180499', GAL2='0.91', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1629849026.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='255' AND source_name='4FGL J0611.6-2712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 16:50:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 180499: <4FGL_J0611.6-2712_daily_bin255> in cluster <slac> Done

Job <4FGL_J0611.6-2712_daily_bin255> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 16:35:25 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 16:35:27 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:35:27 2021
Terminated at Tue Aug 24 16:50:28 2021
Results reported at Tue Aug 24 16:50:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0611.6-2712_daily_bin255 92.9115 -27.2152 305424001 305683201 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 :                                   877.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            903 sec.

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

