aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 109 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 = 17215
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0625.3+4439_weekly_bin521
RA = 96.3288, Dec = 44.6648
tmin = 554083201, tmax = 554688001
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='544210', job_status='RUN', time_executed='2021-07-09 18:08:17.761887', time_epoch_executed='1625879297.76' WHERE source_name='4FGL J0625.3+4439' and cadence='weekly' and bin_id='521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/544210

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/544210/ft1_4FGL_J0625.3+4439_weekly_bin521.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/544210/ft1_4FGL_J0625.3+4439_weekly_bin521.fits outfile=/scratch/kocevski/544210/ft1_filteredMKT_4FGL_J0625.3+4439_weekly_bin521.fits ra=96.3288 dec=44.6648 rad=12.0 tmin=554083201.0 tmax=554688001.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.09
user 7.64
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.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/544210/ft1_filteredMKT_4FGL_J0625.3+4439_weekly_bin521.fits evtable="EVENTS" outfile="/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.66
user 0.37
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits" evtable="EVENTS" scfile=/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits sctable="SC_DATA" outfile=/scratch/kocevski/544210/ltcube_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.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/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits
.....................!
real 28.28
user 27.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits evtable="EVENTS" scfile=/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits sctable="SC_DATA" expcube=/scratch/kocevski/544210/ltcube_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.fits outfile=/scratch/kocevski/544210/expmap_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.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/544210/ltcube_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.fits
.....................!
real 191.82
user 185.40
sys 5.10

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 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.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 166 point sources and 3 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 J0625.3+4439 @ 96.3288 44.6648

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits scfile=/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits outfile=/scratch/kocevski/544210/cmap_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.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=96.3288 yref=44.6648 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits scfile=/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits outfile=/scratch/kocevski/544210/cmap_HighResolution_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.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=96.3288 yref=44.6648 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits evtable="EVENTS" scfile=/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/544210/Model_4FGL_J0625.3+4439_weekly_bin521.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
adding source S 147
Working on...
/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits......................!
real 35.44
user 32.57
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits', '/scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits', expMap='/scratch/kocevski/544210/expmap_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.fits', expCube='/scratch/kocevski/544210/ltcube_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/544210/Model_4FGL_J0625.3+4439_weekly_bin521.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0625.3+4439'

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  2.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.093e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/544210/ft1_filtered_4FGL_J0625.3+4439_weekly_bin521.fits
Spacecraft file(s): /scratch/kocevski/544210/ft2_4FGL_J0625.3+4439_weekly_bin521.fits
Exposure map: /scratch/kocevski/544210/expmap_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.fits
Exposure cube: /scratch/kocevski/544210/ltcube_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/544210/Model_4FGL_J0625.3+4439_weekly_bin521.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) = 920.785419129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6948       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .54717E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     9 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    10 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14001E-02   1.0000         .10000E-03   10000.    
    12 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23189E-02   1.0000         .10000E-03   10000.    
    15 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98113       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   901.1468     FROM MIGRAD    STATUS=CONVERGED     42 CALLS     1574 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1858       -.26673E-05** at limit **
   2  Prefactor     .10002E-03    9.7892        .81151E-04** at limit **
   3  norm          1.6952        1.0522        .28463E-06    .10776E-04
   4  Prefactor     .50359E-02    .35684       -.13910E-04    .14226E-02
   5  norm          .10006E-03    12.544       -.11908E-03** at limit **
   6  norm          .10027E-03    7.4218        .48807E-04** at limit **
   7  norm          .10000E-03    10.746        .40640E-04** at limit **
   8  Prefactor     .10079E-03    49.247       -.14724E-03** at limit **
   9  norm         10000.0        .31805        .10823E-04   -.10509E-02
  10  norm         10000.0        1.4150        .42378E-04   -.46688E-02
  11  Prefactor     .11605E-02    .42988       -.15678E-04** at limit **
  12  norm         10000.0        .28270        .30140E-05** at limit **
  13  Prefactor    10000.0        .35429        .14848E-04   -.16723E-02
  14  Prefactor     .19736E-02    .45334       -.17256E-04** at limit **
  15  norm         10000.0        .23770        .43537E-05   -.45451E-03
  16  Normalizat    .10000E-01    .44570        .23009E-04** at limit **
  17  Prefactor     .98100        .12429       -.83147E-05   -.53953E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100019
  norm       = 1.69516
  Prefactor  = 0.00503594
  norm       = 0.000100061
  norm       = 0.000100266
  norm       = 0.000100004
  Prefactor  = 0.000100792
  norm       = 10000
  norm       = 9999.97
  Prefactor  = 0.00116053
  norm       = 10000
  Prefactor  = 9999.99
  Prefactor  = 0.0019736
  norm       = 9999.99
  Normalizat = 0.01
  Prefactor  = 0.980997
 **********
 **   18 **HESSE 
 **********

 FCN=   901.1468     FROM HESSE     STATUS=OK           245 CALLS     1819 TOTAL
                     EDM=   .24E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1824        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    17.060        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6952        8.1154        .80814E-02   -1.5448    
   4  Prefactor     .50359E-02    2272.7        .95377E-02   -1.5694    
   5  norm          .10006E-03    12.759        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10027E-03    16.159        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10079E-03    49.350        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm         10000.0        6255.1        .97925E-02    1.5696    
  10  norm         10000.0        1626.6        .91674E-02    1.5676    
  11  Prefactor     .11605E-02    1153.1        .10262E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm         10000.0        6892.5        .10519E-01    1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        6268.2        .91013E-02    1.5689    
  14  Prefactor     .19736E-02    1318.3        .10046E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm         10000.0        8108.5        .94891E-02    1.5693    
  16  Normalizat    .10000E-01    .42979        .28217       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .98100        .13580        .27692E-01   -.93366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44183e-05
Minuit parameter uncertainties:
  1  1.7814e-06
  2  0.00113804
  3  7.41949
  4  6.9824
  5  0.00177027
  6  0.00414469
  7  0.000399694
  8  0.0125165
  9  6.05469
  10  13.3605
  11  2.25653
  12  2.96027
  13  9.78311
  14  3.21672
  15  13.591
  16  4.18822e-06
  17  0.135843
Done.

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

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.008e-04  1.252e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.093e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.810e-01  1.358e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.000e-02  4.188e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 96.329 44.665
Photon Flux Upper Limit: 1.19e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.97e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/544210/likelihoodResults_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.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) = 901.14685278
delta logL = -9.73283472376e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 901.146756716
delta logL = -1.2644184153e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14705E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3075       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+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=   901.1468     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10264E-03    22.052        .18061E-01** at limit **
   2  Index         2.2341        8.7648        .50000        .85693E-05
   3  Normalizat    .10000E-01    .49898E-03    .11807E-01** at limit **
   4  Prefactor     .98100        .41245E-02    .12240E-03    .18467E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102645
  Index      = 2.2341
  Normalizat = 0.01
  Prefactor  = 0.980998
 **********
 **   18 **HESSE 
 **********

 FCN=   901.1468     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10264E-03    208.77        .18544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2341        6.8588        .50000       -.58618    
   3  Normalizat    .10000E-01    .47982E-02    .23615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .98100        .12789E-01    .24481E-04   -.93366    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42751e-09
Minuit parameter uncertainties:
  1  0.0471593
  2  299.327
  3  1.72161e-06
  4  0.0127895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/544210': 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) = 901.146755716
delta logL = -2.63861238636e-07

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.026e-04  4.716e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.234e+00  2.993e+02  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.810e-01  1.279e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.000e-02  1.722e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 96.329 44.665

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/544210/cmap_HighResolution_554083201_554688001_4FGL_J0625.3+4439_weekly_bin521.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-02', job_status='DONE', photon_flux_upper_limit='1.19e-06', time_completed='2021-07-09 18:15:44.285665', job_id='544210', GAL2='0.98', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1625879744.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-2.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='521' AND source_name='4FGL J0625.3+4439' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul  9 18:15:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 544210: <4FGL_J0625.3+4439_weekly_bin521> in cluster <slac> Done

Job <4FGL_J0625.3+4439_weekly_bin521> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Jul  9 18:02:53 2021
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  9 18:05:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  9 18:05:22 2021
Terminated at Fri Jul  9 18:15:45 2021
Results reported at Fri Jul  9 18:15:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0625.3+4439_weekly_bin521 96.3288 44.6648 554083201 554688001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0625.3+4439 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   411.24 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             255.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            772 sec.

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

