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


Performing analysis on: 4FGL_J0614.8+6136_daily_bin1460
RA = 93.7213, Dec = 61.6079
tmin = 617760001, tmax = 618019201
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='229258', job_status='RUN', time_executed='2021-08-24 19:16:14.484820', time_epoch_executed='1629857774.48' WHERE source_name='4FGL J0614.8+6136' and cadence='daily' and bin_id='1460'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229258

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229258/ft1_4FGL_J0614.8+6136_daily_bin1460.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229258/ft1_4FGL_J0614.8+6136_daily_bin1460.fits outfile=/scratch/kocevski/229258/ft1_filteredMKT_4FGL_J0614.8+6136_daily_bin1460.fits ra=93.7213 dec=61.6079 rad=12.0 tmin=617760001.0 tmax=618019201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.58
user 2.62
sys 1.88

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.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/229258/ft1_filteredMKT_4FGL_J0614.8+6136_daily_bin1460.fits evtable="EVENTS" outfile="/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.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.30
user 0.36
sys 1.92

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits" evtable="EVENTS" scfile=/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits sctable="SC_DATA" outfile=/scratch/kocevski/229258/ltcube_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.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/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits
.....................!
real 20.41
user 18.17
sys 2.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits evtable="EVENTS" scfile=/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits sctable="SC_DATA" expcube=/scratch/kocevski/229258/ltcube_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.fits outfile=/scratch/kocevski/229258/expmap_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.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/229258/ltcube_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.fits
.....................!
real 197.47
user 188.82
sys 7.55

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
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Added 185 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0614.8+6136 @ 93.7213 61.6079

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits scfile=/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits outfile=/scratch/kocevski/229258/cmap_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.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=93.7213 yref=61.6079 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.27
user 0.41
sys 1.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits scfile=/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits outfile=/scratch/kocevski/229258/cmap_HighResolution_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.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=93.7213 yref=61.6079 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.58
user 0.41
sys 1.87

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits evtable="EVENTS" scfile=/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229258/Model_4FGL_J0614.8+6136_daily_bin1460.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
Working on...
/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits.....................!
real 84.15
user 79.30
sys 3.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits', '/scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits', expMap='/scratch/kocevski/229258/expmap_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.fits', expCube='/scratch/kocevski/229258/ltcube_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229258/Model_4FGL_J0614.8+6136_daily_bin1460.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0614.8+6136'

4FGL J0614.8+6136
   Spectrum: PowerLaw
249    Prefactor:  3.640e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  8.979e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/229258/ft1_filtered_4FGL_J0614.8+6136_daily_bin1460.fits
Spacecraft file(s): /scratch/kocevski/229258/ft2_4FGL_J0614.8+6136_daily_bin1460.fits
Exposure map: /scratch/kocevski/229258/expmap_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.fits
Exposure cube: /scratch/kocevski/229258/ltcube_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229258/Model_4FGL_J0614.8+6136_daily_bin1460.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) = 4198.19277011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52098       1.0000         .10000E-03   10000.    
     2 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2520.6       1.0000         .10000E-03   10000.    
     5 'norm      '    .13581E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1371       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    99.089       1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.288       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8883       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    237.49       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .70841       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80804       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4197.968     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     2218 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50566        10.500        .17464E-05   -.36658E-03
   2  norm          .10000E-03    21.951        .65980E-06** at limit **
   3  Prefactor     .10000E-03    5.2462        .21988E-06** at limit **
   4  Prefactor     2520.6        654.99       -.20340E-04   -.51299E-04
   5  norm          .10000E-03    523.10       -.15358E-03** at limit **
   6  Prefactor     .10000E-03    79.355        .27460E-05** at limit **
   7  Prefactor     8.2330        77.152        .19392E-04   -.24296E-04
   8  Prefactor     .10000E-03    316.59        .13163E-03** at limit **
   9  Prefactor     99.085        94.384       -.22103E-05   -.12610E-04
  10  Prefactor     47.294        30.066       -.52140E-06   -.75446E-05
  11  Prefactor     .10000E-03    28.680       -.22408E-05** at limit **
  12  Prefactor     .10000E-03    166.57       -.26457E-04** at limit **
  13  Prefactor     .10000E-03    48.177       -.79208E-06** at limit **
  14  Prefactor     .10000E-03    31.655        .42576E-05** at limit **
  15  Prefactor     .10000E-03    27.624        .45941E-06** at limit **
  16  norm          1.8884        .83475       -.79321E-08    .92319E-04
  17  Prefactor     .10000E-03    32.553       -.24554E-05** at limit **
  18  Prefactor     237.47        391.24       -.81252E-05   -.17583E-05
  19  Normalizat    .70816        .32101        .41106E-06   -.89213E-04
  20  Prefactor     .80805        .86496E-01    .51313E-06   -.28739E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.505662
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2520.56
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.23304
  Prefactor  = 0.0001
  Prefactor  = 99.0851
  Prefactor  = 47.2943
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.88839
  Prefactor  = 0.0001
  Prefactor  = 237.474
  Normalizat = 0.708157
  Prefactor  = 0.808052
 **********
 **   18 **HESSE 
 **********

 FCN=   4197.968     FROM HESSE     STATUS=OK           283 CALLS     2501 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50566        42.445        .39549E-02   -1.5566    
   2  norm          .10000E-03    21.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.2523        .14494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2520.6        651.42        .46062E-04   -.51886    
   5  norm          .10000E-03    522.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    79.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.2330        77.146        .14055E-03   -1.5134    
   8  Prefactor     .10000E-03    316.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     99.085        94.395        .40385E-04   -1.3714    
  10  Prefactor     47.294        30.125        .58309E-04   -1.4331    
  11  Prefactor     .10000E-03    28.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    166.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    48.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    27.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8884        .83707        .37929E-04   -1.5433    
  17  Prefactor     .10000E-03    32.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     237.47        396.24        .26270E-04   -1.2614    
  19  Normalizat    .70816        .33285        .46767E-03   -1.0357    
  20  Prefactor     .80805        .90194E-01    .13952E-03   -.99432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6431e-09
Minuit parameter uncertainties:
  1  9.27147
  2  8.17053e-05
  3  3.88525e-06
  4  653.886
  5  6.05139e-05
  6  3.14055e-06
  7  50.4899
  8  0.000508318
  9  94.5384
  10  30.1343
  11  2.05866e-07
  12  2.98848e-06
  13  7.7067e-06
  14  2.26571e-06
  15  1.97308e-07
  16  0.837075
  17  8.28724e-07
  18  400.858
  19  0.333804
  20  0.0902108
Done.

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

Extracting fit parameters...

4FGL J0614.8+6136
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  5.083e-04  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  8.979e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  8.081e-01  9.021e-02  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  7.082e-01  3.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 93.721 61.608
Photon Flux Upper Limit: 6.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/229258/likelihoodResults_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.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) = 4197.96849576
delta logL = -1.49031247929e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4197.96848088
delta logL = -2.09074642044e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4197.968     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      249 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    9547.0        .90712E-02** at limit **
   2  Index         2.5766        5.8319        .50000       -.40047E-05
   3  Normalizat    .70815        .51676E-01    .10546       -.20537E-03
   4  Prefactor     .80805        .16533E-01    .31573E-01    .56682E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.57659
  Normalizat = 0.708151
  Prefactor  = 0.808053
 **********
 **   18 **HESSE 
 **********

 FCN=   4197.968     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    7003.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5766        7.5583        .50000       -.50600    
   3  Normalizat    .70815        .11571        .46767E-03   -1.0357    
   4  Prefactor     .80805        .37177E-01    .13952E-03   -.99432    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.64808e-09
Minuit parameter uncertainties:
  1  0.0459327
  2  50.2576
  3  0.115749
  4  0.0371778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229258': 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) = 4197.96848079
delta logL = 6.6555912781e-08

Extracting fit parameters...

4FGL J0614.8+6136
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  4.593e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.577e+00  5.026e+01  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  8.979e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  8.081e-01  3.718e-02  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  7.082e-01  1.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 93.721 61.608

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/229258/cmap_HighResolution_617760001_618019201_4FGL_J0614.8+6136_daily_bin1460.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-02', job_status='DONE', photon_flux_upper_limit='6.69e-07', time_completed='2021-08-24 19:27:14.220026', job_id='229258', GAL2='0.81', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1629858434.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='6.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1460' AND source_name='4FGL J0614.8+6136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 19:27:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 229258: <4FGL_J0614.8+6136_daily_bin1460> in cluster <slac> Done

Job <4FGL_J0614.8+6136_daily_bin1460> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 19:15:29 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 19:15:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 19:15:30 2021
Terminated at Tue Aug 24 19:27:15 2021
Results reported at Tue Aug 24 19:27:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0614.8+6136_daily_bin1460 93.7213 61.6079 617760001 618019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0614.8+6136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.30 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             319.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            706 sec.

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

