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


Performing analysis on: 4FGL_J0617.6-4028_daily_bin1261
RA = 94.4106, Dec = -40.4803
tmin = 566179201, tmax = 566438401
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='287691', job_status='RUN', time_executed='2021-08-24 20:53:45.412132', time_epoch_executed='1629863625.41' WHERE source_name='4FGL J0617.6-4028' and cadence='daily' and bin_id='1261'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/287691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/287691/ft1_4FGL_J0617.6-4028_daily_bin1261.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/287691/ft1_4FGL_J0617.6-4028_daily_bin1261.fits outfile=/scratch/kocevski/287691/ft1_filteredMKT_4FGL_J0617.6-4028_daily_bin1261.fits ra=94.4106 dec=-40.4803 rad=12.0 tmin=566179201.0 tmax=566438401.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 13.99
user 3.30
sys 9.57

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.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/287691/ft1_filteredMKT_4FGL_J0617.6-4028_daily_bin1261.fits evtable="EVENTS" outfile="/scratch/kocevski/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.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 9.79
user 0.34
sys 9.31

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits" evtable="EVENTS" scfile=/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits sctable="SC_DATA" outfile=/scratch/kocevski/287691/ltcube_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.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/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits
.....................!
real 23.32
user 12.08
sys 10.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits sctable="SC_DATA" expcube=/scratch/kocevski/287691/ltcube_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.fits outfile=/scratch/kocevski/287691/expmap_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.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/287691/ltcube_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.fits
.....................!
real 203.87
user 186.33
sys 16.36

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/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits scfile=/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits outfile=/scratch/kocevski/287691/cmap_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.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 9.79
user 0.37
sys 9.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits scfile=/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits outfile=/scratch/kocevski/287691/cmap_HighResolution_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.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 9.53
user 0.39
sys 9.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/287691/Model_4FGL_J0617.6-4028_daily_bin1261.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/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits.....!
real 26.85
user 13.17
sys 13.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits', '/scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits', expMap='/scratch/kocevski/287691/expmap_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.fits', expCube='/scratch/kocevski/287691/ltcube_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/287691/Model_4FGL_J0617.6-4028_daily_bin1261.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/287691/ft1_filtered_4FGL_J0617.6-4028_daily_bin1261.fits
Spacecraft file(s): /scratch/kocevski/287691/ft2_4FGL_J0617.6-4028_daily_bin1261.fits
Exposure map: /scratch/kocevski/287691/expmap_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.fits
Exposure cube: /scratch/kocevski/287691/ltcube_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/287691/Model_4FGL_J0617.6-4028_daily_bin1261.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 76.8683168053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 75.7371586465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1992       1.0000         .10000E-03   10000.    
     2 'norm      '    6.3645       1.0000         .10000E-03   10000.    
     3 'norm      '    5.5370       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4581       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7989       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15264       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0377       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8280       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4622       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1751       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1781       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1376       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0192       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5028       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6280       1.0000         .10000E-03   10000.    
    16 'Prefactor '    94.654       1.0000         .10000E-03   10000.    
    17 'norm      '    .46688       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6835       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .52161E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .59413E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    58.655       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .25295E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.9154       1.0000         .10000E-03   10000.    
    24 'norm      '    .67517       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .56814       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .21141E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   75.71909     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      278 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1992        1.1352         .0000         .0000    
   2  norm          6.3645        1.0031         .0000         .0000    
   3  norm          5.5370        1.0041         .0000         .0000    
   4  Prefactor     2.4581        1.0223         .0000         .0000    
   5  Prefactor     1.7989        1.0451         .0000         .0000    
   6  Prefactor     .10005E-03    364.13       -.56497E-05** at limit **
   7  norm          .10000E-03    237.73       -.25496E-05** at limit **
   8  Prefactor     1.8280        1.0434         .0000         .0000    
   9  norm          5.4622        1.0042         .0000         .0000    
  10  norm          2.1751        1.0292         .0000         .0000    
  11  Prefactor     .16230E-03    376.63       -.77652E-05** at limit **
  12  Prefactor     .77659E-02    126.41        .41518E-05   -.21278E-02
  13  Prefactor     .10018E-03    288.34       -.60263E-05** at limit **
  14  Prefactor     2.5028        1.0215         .0000         .0000    
  15  Prefactor     2.6280        1.0193         .0000         .0000    
  16  Prefactor     89.346        146.10        .83474E-05    .18403E-02
  17  norm          .10000E-03    121.91       -.11337E-05** at limit **
  18  Prefactor     2.6835        1.0185         .0000         .0000    
  19  Prefactor     .10000E-03    52.998        .12079E-05** at limit **
  20  Prefactor     .10000E-03    64.800        .46610E-06** at limit **
  21  norm          58.987        8.9117       -.61431E-06   -.12281E-02
  22  Prefactor     .10000E-03    44.592       -.26493E-06** at limit **
  23  norm          5.9154        1.0036         .0000         .0000    
  24  norm          .10000E-03    102.82        .23027E-05** at limit **
  25  Normalizat    .57885        .52605       -.75090E-06    .12152E-04
  26  Prefactor     .27145E-12    .13583       -.18020E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19919
  norm       = 6.36447
  norm       = 5.53697
  Prefactor  = 2.45808
  Prefactor  = 1.79886
  Prefactor  = 0.000100045
  norm       = 0.000100001
  Prefactor  = 1.82801
  norm       = 5.46221
  norm       = 2.17515
  Prefactor  = 0.000162304
  Prefactor  = 0.00776588
  Prefactor  = 0.000100176
  Prefactor  = 2.50279
  Prefactor  = 2.62797
  Prefactor  = 89.3464
  norm       = 0.0001
  Prefactor  = 2.68351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 58.9867
  Prefactor  = 0.0001
  norm       = 5.91535
  norm       = 0.0001
  Normalizat = 0.578851
  Prefactor  = 2.7145e-13
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   75.71909     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     583.87        582.40         .0000       -1.5489    
   2  norm          6.3645        1.0031         .0000       -1.5203    
   3  norm          5.5370        1.0041         .0000       -1.5237    
   4  Prefactor     2.4581        1.0223         .0000       -1.5394    
   5  Prefactor     1.7989        1.0451         .0000       -1.5440    
   6  Prefactor     .10005E-03    .23811       -.56497E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .38039       -.25496E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8280        1.0434         .0000       -1.5438    
   9  norm          5.4622        1.0042         .0000       -1.5240    
  10  norm          2.1751        1.0292         .0000       -1.5413    
  11  Prefactor     .16230E-03    .60745E-01   -.77652E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77659E-02    .29771        .41518E-05   -1.5725    
  13  Prefactor     .10018E-03    .13254       -.60263E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5028        1.0215         .0000       -1.5392    
  15  Prefactor     2.6280        1.0193         .0000       -1.5384    
  16  Prefactor     89.346        .97183        .83474E-05   -1.3815    
  17  norm          .10000E-03    .30996       -.11337E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.6835        1.0185         .0000       -1.5380    
  19  Prefactor     .10000E-03    .21532        .12079E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .27744        .46610E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          58.987        1.0028       -.61431E-06   -1.4170    
  22  Prefactor     .10000E-03    .28784       -.26493E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.9154        1.0036         .0000       -1.5221    
  24  norm          .10000E-03    .35797        .23027E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .57885        .91219       -.75090E-06   -1.0889    
  26  Prefactor     .27145E-12    .25504       -.18020E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.82782e-10
Minuit parameter uncertainties:
  1  1.13525
  2  1.00312
  3  1.00414
  4  1.02235
  5  1.04506
  6  0.000207797
  7  4.64975e-05
  8  1.04339
  9  1.00425
  10  1.02922
  11  0.00389085
  12  0.0955459
  13  0.000305156
  14  1.02149
  15  1.01935
  16  0.971832
  17  1.3693e-05
  18  1.01851
  19  9.95704e-06
  20  3.53375e-06
  21  1.00284
  22  2.85955e-06
  23  1.00362
  24  2.58738e-05
  25  0.93761
  26  5.28454e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 75.7190930453

Extracting fit parameters...

4FGL J0617.6-4028
   Spectrum: PowerLaw
323    Prefactor:  2.503e+00  1.021e+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

GAL_V02
   Spectrum: PowerLaw
654    Prefactor:  2.714e-13  5.285e-07  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:  5.789e-01  9.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 94.411 -40.480
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.93e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/287691/likelihoodResults_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.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): 101
logL (Free Index) = 75.7195076933
delta logL = -0.000414647978346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 75.7195076933
delta logL = -0.000414647978346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.8339       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   75.71951     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.8339        1.0061        .22516         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.83391
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   75.71951     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .90961        1.9790        .22516       -.44806    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.01467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/287691': 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): 101
logL (Free Index) = 75.7195076933
delta logL = -0.000414647978346

Extracting fit parameters...

4FGL J0617.6-4028
   Spectrum: PowerLaw
323    Prefactor:  2.503e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
324        Index:  2.834e+00  1.015e+00  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:  3.360e-09  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  5.788e-01  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 94.411 -40.480

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/287691/cmap_HighResolution_566179201_566438401_4FGL_J0617.6-4028_daily_bin1261.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.93e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-08-24 21:02:38.443871', job_id='287691', GAL2='0.00', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1629864158.44', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-4.15e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.83' WHERE bin_id='1261' AND source_name='4FGL J0617.6-4028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 21:02:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 287691: <4FGL_J0617.6-4028_daily_bin1261> in cluster <slac> Done

Job <4FGL_J0617.6-4028_daily_bin1261> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 24 20:51:01 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 20:51:03 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:51:03 2021
Terminated at Tue Aug 24 21:02:40 2021
Results reported at Tue Aug 24 21:02:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0617.6-4028_daily_bin1261 94.4106 -40.4803 566179201 566438401 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 :                                   605.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            699 sec.

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

