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


Performing analysis on: 4FGL_J0617.6-4028_daily_bin1561
RA = 94.4106, Dec = -40.4803
tmin = 643939201, tmax = 644198401
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='289287', job_status='RUN', time_executed='2021-08-24 20:57:42.940473', time_epoch_executed='1629863862.94' WHERE source_name='4FGL J0617.6-4028' and cadence='daily' and bin_id='1561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/289287

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/289287/ft1_4FGL_J0617.6-4028_daily_bin1561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/289287/ft1_4FGL_J0617.6-4028_daily_bin1561.fits outfile=/scratch/kocevski/289287/ft1_filteredMKT_4FGL_J0617.6-4028_daily_bin1561.fits ra=94.4106 dec=-40.4803 rad=12.0 tmin=643939201.0 tmax=644198401.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 6.28
user 4.16
sys 2.08

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.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/289287/ft1_filteredMKT_4FGL_J0617.6-4028_daily_bin1561.fits evtable="EVENTS" outfile="/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.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 2.43
user 0.33
sys 2.07

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits" evtable="EVENTS" scfile=/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits sctable="SC_DATA" outfile=/scratch/kocevski/289287/ltcube_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.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/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits
.....................!
real 13.95
user 11.37
sys 2.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits sctable="SC_DATA" expcube=/scratch/kocevski/289287/ltcube_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.fits outfile=/scratch/kocevski/289287/expmap_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.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/289287/ltcube_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.fits
.....................!
real 192.78
user 184.81
sys 7.57

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

Setting source of interest to:
4FGL J0617.6-4028 @ 94.4106 -40.4803

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits scfile=/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits outfile=/scratch/kocevski/289287/cmap_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.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=94.4106 yref=-40.4803 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 2.50
user 0.38
sys 2.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits scfile=/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits outfile=/scratch/kocevski/289287/cmap_HighResolution_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.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=94.4106 yref=-40.4803 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 2.52
user 0.39
sys 1.95

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/289287/Model_4FGL_J0617.6-4028_daily_bin1561.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/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits.....................!
real 91.74
user 87.29
sys 3.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits', '/scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits', expMap='/scratch/kocevski/289287/expmap_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.fits', expCube='/scratch/kocevski/289287/ltcube_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/289287/Model_4FGL_J0617.6-4028_daily_bin1561.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0617.6-4028'

4FGL J0617.6-4028
   Spectrum: PowerLaw
323    Prefactor:  2.503e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.834e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  4.593e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/289287/ft1_filtered_4FGL_J0617.6-4028_daily_bin1561.fits
Spacecraft file(s): /scratch/kocevski/289287/ft2_4FGL_J0617.6-4028_daily_bin1561.fits
Exposure map: /scratch/kocevski/289287/expmap_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.fits
Exposure cube: /scratch/kocevski/289287/ltcube_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/289287/Model_4FGL_J0617.6-4028_daily_bin1561.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) = 7810.94668952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    5.9035       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5277       1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0597       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.485       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.590       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5640       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9488       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21386E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    12.275       1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4325       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0018       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7810.901     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     2633 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5410        .12525E-06** at limit **
   2  norm          5.9040        2.8293        .82030E-07    .14320E-03
   3  norm          .10000E-03    1.4682        .88144E-07** at limit **
   4  Prefactor     .10000E-03    5.4820        .38004E-06** at limit **
   5  Prefactor     .10000E-03    8.6470       -.12604E-05** at limit **
   6  Prefactor     .10000E-03    3.3234        .35943E-07** at limit **
   7  norm          .10000E-03    3.5546        .27203E-06** at limit **
   8  Prefactor     .10000E-03    10.752        .16205E-05** at limit **
   9  norm          2.5278        1.0785        .68849E-07    .36739E-04
  10  norm          .10000E-03    13.545       -.10506E-05** at limit **
  11  Prefactor     .10000E-03    13.699       -.11806E-05** at limit **
  12  Prefactor     1.1276        107.94        .48594E-04   -.77605E-04
  13  Prefactor     .10000E-03    15.945       -.47624E-06** at limit **
  14  Prefactor     24.438        17.408       -.53725E-05   -.77777E-04
  15  Prefactor     .10000E-03    49.755       -.70856E-05** at limit **
  16  Prefactor     .10000E-03    24.597        .10737E-05** at limit **
  17  norm          19.577        28.717        .36082E-05    .11887E-03
  18  Prefactor     4.5658        20.636       -.30566E-06   -.73377E-05
  19  Prefactor     3.9486        3.9453        .46957E-06   -.52080E-04
  20  Prefactor     .10000E-03    2.9400        .24804E-06** at limit **
  21  norm          .10000E-03    16.434        .24930E-06** at limit **
  22  Prefactor     .10000E-03    9.5091        .12155E-05** at limit **
  23  norm          12.279        11.029        .85341E-07    .11906E-02
  24  norm          .10000E-03    21.350        .28094E-05** at limit **
  25  Normalizat    1.4325        .21247       -.18068E-05   -.39575E-03
  26  Prefactor     1.0017        .11275       -.13202E-05   -.97573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.90404
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.52784
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.1276
  Prefactor  = 0.0001
  Prefactor  = 24.4377
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 19.5765
  Prefactor  = 4.56585
  Prefactor  = 3.94857
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2786
  norm       = 0.000100001
  Normalizat = 1.43246
  Prefactor  = 1.00169
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.901     FROM HESSE     STATUS=OK           448 CALLS     3081 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5553        .10711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9040        2.8346        .99073E-04   -1.5222    
   3  norm          .10000E-03    1.4763        .10458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6254        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.6624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.3250        .15735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.6208        .16262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5278        1.0798        .57465E-04   -1.5390    
  10  norm          .10000E-03    13.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1276        122.64        .60117E-02   -1.5496    
  13  Prefactor     .10000E-03    15.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.438        18.299        .80954E-04   -1.4719    
  15  Prefactor     .10000E-03    49.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.577        28.705        .90493E-04   -1.4823    
  18  Prefactor     4.5658        20.586        .18843E-03   -1.5281    
  19  Prefactor     3.9486        3.9414        .17015E-03   -1.5311    
  20  Prefactor     .10000E-03    6.4607        .29142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    16.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.5806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          12.279        11.002        .57167E-03   -1.5007    
  24  norm          .10000E-03    21.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4325        .23905        .32398E-03   -.79694    
  26  Prefactor     1.0017        .12728        .20613E-03   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21155e-08
Minuit parameter uncertainties:
  1  1.10066e-05
  2  2.83462
  3  8.67946e-06
  4  7.51966e-05
  5  2.03817e-05
  6  6.35801e-06
  7  4.27427e-05
  8  0.000109804
  9  1.07978
  10  1.16761e-05
  11  7.43712e-05
  12  23.568
  13  3.86334e-05
  14  18.3029
  15  0.0007742
  16  0.000100671
  17  28.7257
  18  19.4008
  19  3.94169
  20  0.000184051
  21  5.45355e-05
  22  7.17736e-05
  23  11.0041
  24  0.000273044
  25  0.239236
  26  0.127316
Done.

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

Extracting fit parameters...

4FGL J0617.6-4028
   Spectrum: PowerLaw
323    Prefactor:  2.444e+01  1.830e+01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.834e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  4.593e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
654    Prefactor:  1.002e+00  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
655        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
656        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
653   Normalization:  1.432e+00  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.18
Ra Dec: 94.411 -40.480
Photon Index (Fixed Index): 2.83 +/- 0.00
Photon Flux (Fixed Index): 1.00e-07 +/- 7.51e-08
Energy Flux (Fixed Index): 2.20e-05 +/- 1.65e-05

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) = 7810.82530131
delta logL = 0.0752866011899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7810.82232196
delta logL = 0.0782659471188

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7810.822     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      261 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.112        382.92        .18898E-02    .33919E-03
   2  Index         2.6047        6.2695        .21955        .37083E-04
   3  Normalizat    1.4432        .11749        .72992E-01    .16502E-04
   4  Prefactor     .99699        .70010E-01    .46231E-01    .80416E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.112
  Index      = 2.60473
  Normalizat = 1.44324
  Prefactor  = 0.996985
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.822     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.112        17.959        .37796E-03   -1.4647    
   2  Index         2.6047        .55513        .80765E-02   -.49958    
   3  Normalizat    1.4432        .23349        .32297E-03   -.79386    
   4  Prefactor     .99699        .12631        .20652E-03   -.92830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96519e-10
Minuit parameter uncertainties:
  1  17.9628
  2  0.556625
  3  0.233663
  4  0.126346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/289287': 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) = 7810.82231643
delta logL = 0.0782714815223

Extracting fit parameters...

4FGL J0617.6-4028
   Spectrum: PowerLaw
323    Prefactor:  2.811e+01  1.796e+01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.605e+00  5.566e-01  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  4.593e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
654    Prefactor:  9.970e-01  1.263e-01  0.000e+00  1.000e+01 ( 1.000e+00)
655        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
656        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
653   Normalization:  1.443e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 94.411 -40.480
Photon Index (Free Index): 2.60 +/- 0.56
Photon Flux (Free Index): 9.30e-08 +/- 5.79e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.56e-05

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/289287/cmap_HighResolution_643939201_644198401_4FGL_J0617.6-4028_daily_bin1561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.00e-07', energy_flux2='2.43e-05', photon_flux_error='7.51e-08', dlogl='7.83e-02', energy_flux='2.20e-05', photon_flux2='9.30e-08', job_status='DONE', time_completed='2021-08-24 21:11:17.309833', photon_index_error2='0.56', photon_index2='2.60', ts='4.18', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='1.43', time_epoch_completed='1629864677.31', return_code='0', job_id='289287', GAL2='1.00', EG2='1.44', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='5.79e-08', ts2='4.31', photon_index='2.83' WHERE bin_id='1561' AND source_name='4FGL J0617.6-4028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 21:11:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 289287: <4FGL_J0617.6-4028_daily_bin1561> in cluster <slac> Done

Job <4FGL_J0617.6-4028_daily_bin1561> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 20:55:40 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 20:55:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 20:55:42 2021
Terminated at Tue Aug 24 21:11:18 2021
Results reported at Tue Aug 24 21:11:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0617.6-4028_daily_bin1561 94.4106 -40.4803 643939201 644198401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0617.6-4028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   838.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             298.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            938 sec.

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

