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


Performing analysis on: 4FGL_J0625.3+4439_weekly_bin596
RA = 96.3288, Dec = 44.6648
tmin = 599443201, tmax = 600048001
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='545576', job_status='RUN', time_executed='2021-07-09 18:12:29.048828', time_epoch_executed='1625879549.05' WHERE source_name='4FGL J0625.3+4439' and cadence='weekly' and bin_id='596'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/545576

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/545576/ft1_4FGL_J0625.3+4439_weekly_bin596.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/545576/ft1_4FGL_J0625.3+4439_weekly_bin596.fits outfile=/scratch/kocevski/545576/ft1_filteredMKT_4FGL_J0625.3+4439_weekly_bin596.fits ra=96.3288 dec=44.6648 rad=12.0 tmin=599443201.0 tmax=600048001.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 9.21
user 4.95
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.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/545576/ft1_filteredMKT_4FGL_J0625.3+4439_weekly_bin596.fits evtable="EVENTS" outfile="/scratch/kocevski/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.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.82
user 0.36
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits sctable="SC_DATA" expcube=/scratch/kocevski/545576/ltcube_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.fits outfile=/scratch/kocevski/545576/expmap_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.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/545576/ltcube_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.fits
.....................!
real 201.00
user 185.85
sys 5.34

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/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits scfile=/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits outfile=/scratch/kocevski/545576/cmap_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.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.78
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits scfile=/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits outfile=/scratch/kocevski/545576/cmap_HighResolution_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.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 1.54
user 0.42
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/545576/Model_4FGL_J0625.3+4439_weekly_bin596.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/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits........................!
real 30.30
user 17.42
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits', '/scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits', expMap='/scratch/kocevski/545576/expmap_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.fits', expCube='/scratch/kocevski/545576/ltcube_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/545576/Model_4FGL_J0625.3+4439_weekly_bin596.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/545576/ft1_filtered_4FGL_J0625.3+4439_weekly_bin596.fits
Spacecraft file(s): /scratch/kocevski/545576/ft2_4FGL_J0625.3+4439_weekly_bin596.fits
Exposure map: /scratch/kocevski/545576/expmap_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.fits
Exposure cube: /scratch/kocevski/545576/ltcube_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/545576/Model_4FGL_J0625.3+4439_weekly_bin596.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) = 324.540724295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22747E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1699       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5670       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7009       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4141       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2362       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2983       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3826       1.0000         .10000E-03   10000.    
     9 'norm      '    8.7143       1.0000         .10000E-03   10000.    
    10 'norm      '    .48532       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3815       1.0000         .10000E-03   10000.    
    12 'norm      '    .68370E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .46690E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    218.68       1.0000         .10000E-03   10000.    
    15 'norm      '    62.693       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .85075       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .23956       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=   318.1412     FROM MIGRAD    STATUS=CONVERGED    295 CALLS      478 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    31.433        .30795E-06** at limit **
   2  Prefactor     .10000E-03    301.43       -.26017E-04** at limit **
   3  norm          1.5670        5537.2         .0000         .0000    
   4  Prefactor    10000.0        9887.1       -.73165E-04** at limit **
   5  norm         10000.0        7398.6        .12439E-05** at limit **
   6  norm          3.2362        5519.5         .0000         .0000    
   7  norm          5.2983        5503.2         .0000         .0000    
   8  Prefactor    10000.0        9926.3        .27292E-03** at limit **
   9  norm          4.7987        43.693       -.30677E-05   -.13048E-04
  10  norm          9.9229        98.948        .38509E-05   -.40889E-04
  11  Prefactor     .10008E-03    1400.7       -.12217E-04** at limit **
  12  norm          .10000E-03    17.376       -.20922E-06** at limit **
  13  Prefactor     .10000E-03    20.364        .10891E-05** at limit **
  14  Prefactor     231.55        119.35       -.39556E-05   -.33157E-04
  15  norm          80.914        66.761        .69508E-06   -.91964E-04
  16  Normalizat    .63535        .93920        .28927E-04   -.20716E-04
  17  Prefactor     .13387        .37771       -.94711E-05   -.30062E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.56697
  Prefactor  = 10000
  norm       = 10000
  norm       = 3.23619
  norm       = 5.29827
  Prefactor  = 10000
  norm       = 4.79872
  norm       = 9.92287
  Prefactor  = 0.000100077
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 231.549
  norm       = 80.9138
  Normalizat = 0.635352
  Prefactor  = 0.133872
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   318.1412     FROM HESSE     STATUS=FAILED        17 CALLS      495 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    31.618        .10055E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    295.29        .69890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          576.54        574.80         .0000       -1.5458    
   4  Prefactor    10000.0        .25865E-01   -.73165E-04   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm         10000.0        .10846        .12439E-05    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2362        1.0125         .0000       -1.5348    
   7  norm          5.2983        1.0045         .0000       -1.5248    
   8  Prefactor    10000.0        .11004        .27292E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7987        .74344       -.30677E-05   -1.5270    
  10  norm          9.9229        3.5296        .38509E-05   -1.5078    
  11  Prefactor     .10008E-03    .11009       -.12217E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .27544       -.20922E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .23269        .10891E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     231.55        1.0283       -.39556E-05   -1.2653    
  15  norm          80.914        1.1351        .69508E-06   -1.3906    
  16  Normalizat    .63535        1.0366        .28927E-04   -1.0650    
  17  Prefactor     .13387        .40358       -.94711E-05   -1.3389    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.15562e-10
Minuit parameter uncertainties:
  1  9.19063e-06
  2  0.00180285
  3  1.06302
  4  0.000366308
  5  8.46145e-05
  6  1.01246
  7  1.00452
  8  0.000349534
  9  0.743443
  10  3.52966
  11  0.000184036
  12  1.9528e-06
  13  1.26531e-05
  14  1.02833
  15  1.13506
  16  1.07129
  17  0.412367
Done.

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

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.000e+04  3.495e-04  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:  1.339e-01  4.124e-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:  6.354e-01  1.071e+00  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 1.65799178831e-07

TS (Fixed Index): 0.35
Ra Dec: 96.329 44.665
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.56e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/545576/likelihoodResults_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.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): 0
logL (Free Index) = 278.208515516
delta logL = 39.9326383015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 278.206484155
delta logL = 39.9346696622

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    10.000       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.

 FCN=   278.2065     FROM MIGRAD    STATUS=CONVERGED     11 CALLS       50 TOTAL
                     EDM=   .23E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       10.000        .66540E-01    .60243E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   278.2065     FROM HESSE     STATUS=OK             5 CALLS       55 TOTAL
                     EDM=   .23E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       10.000        .66517E-01    .13314E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27844e-16
Minuit parameter uncertainties:
  1  2.01474e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/545576': 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) = 278.206484155
delta logL = 39.9346696622

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
250        Index:  1.000e+01  2.015e-09  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:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  6.336e-01  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 80.22
Ra Dec: 96.329 44.665
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.55e+04 +/- 3.61e-04
Energy Flux (Free Index): 7.32e+06 +/- 4.04e-02

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/545576/cmap_HighResolution_599443201_600048001_4FGL_J0625.3+4439_weekly_bin596.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.56e+04', comment='SUCCESS', energy_flux2='7.32e+06', dlogl='3.99e+01', photon_flux2='6.55e+04', job_status='DONE', time_completed='2021-07-09 18:19:27.424932', photon_index_error2='0.00', photon_index2='10.00', ts='0.35', fit_tolerance='1e-08', GAL='0.13', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='4.04e-02', EG='0.64', time_epoch_completed='1625879967.43', return_code='101', job_id='545576', GAL2='0.13', EG2='0.63', return_code2='0', photon_flux_error2='3.61e-04', ts2='80.22', photon_index='2.09' WHERE bin_id='596' AND source_name='4FGL J0625.3+4439' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul  9 18:19:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 545576: <4FGL_J0625.3+4439_weekly_bin596> in cluster <slac> Done

Job <4FGL_J0625.3+4439_weekly_bin596> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul  9 18:08:16 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  9 18:08:36 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:08:36 2021
Terminated at Fri Jul  9 18:19:37 2021
Results reported at Fri Jul  9 18:19:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0625.3+4439_weekly_bin596 96.3288 44.6648 599443201 600048001 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 :                                   361.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            681 sec.

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

