aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 126 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2325.7+1821_weekly_bin740
RA = 351.436, Dec = 18.3654
tmin = 686534401, tmax = 687139201
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='835792', job_status='RUN', time_executed='2022-10-11 00:57:47.440782', time_epoch_executed='1665475067.44' WHERE source_name='4FGL J2325.7+1821' and cadence='weekly' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835792

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835792/ft1_4FGL_J2325.7+1821_weekly_bin740.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835792/ft1_4FGL_J2325.7+1821_weekly_bin740.fits outfile=/scratch/kocevski/835792/ft1_filteredMKT_4FGL_J2325.7+1821_weekly_bin740.fits ra=351.436 dec=18.3654 rad=12.0 tmin=686534401.0 tmax=687139201.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 7.27
user 6.93
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.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/835792/ft1_filteredMKT_4FGL_J2325.7+1821_weekly_bin740.fits evtable="EVENTS" outfile="/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.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.55
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 728

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/835792/ltcube_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.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/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits
.....................!
real 32.53
user 32.04
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/835792/ltcube_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.fits outfile=/scratch/kocevski/835792/expmap_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.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/835792/ltcube_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.fits
.....................!
real 192.48
user 186.73
sys 5.40

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

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits scfile=/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits outfile=/scratch/kocevski/835792/cmap_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.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=351.436 yref=18.3654 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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits scfile=/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits outfile=/scratch/kocevski/835792/cmap_HighResolution_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.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=351.436 yref=18.3654 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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835792/Model_4FGL_J2325.7+1821_weekly_bin740.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/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits.....................!
real 96.08
user 94.51
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits', '/scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits', expMap='/scratch/kocevski/835792/expmap_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.fits', expCube='/scratch/kocevski/835792/ltcube_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835792/Model_4FGL_J2325.7+1821_weekly_bin740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/835792/ft1_filtered_4FGL_J2325.7+1821_weekly_bin740.fits
Spacecraft file(s): /scratch/kocevski/835792/ft2_4FGL_J2325.7+1821_weekly_bin740.fits
Exposure map: /scratch/kocevski/835792/expmap_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.fits
Exposure cube: /scratch/kocevski/835792/ltcube_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835792/Model_4FGL_J2325.7+1821_weekly_bin740.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) = 7561.62830098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .47140E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25245E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .51275E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    61.287       1.0000          .0000       .10000E+07
     6 'Prefactor '    45.202       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5743       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19871E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    56.254       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.216       1.0000          .0000       .10000E+07
    11 'Prefactor '    .50765E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19954E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .74729E-06   1.0000          .0000       .10000E+07
    14 'norm      '    14.585       1.0000          .0000       .10000E+07
    15 'Prefactor '    .60843E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20087E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .47567E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20129E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .71264       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1461       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7561.464     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1527 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8393        5.6418        .27390E-07    .27338E-03
   2  Prefactor     .44409E-09    9.5358       -.22262E-07** at limit **
   3  Prefactor     .29421E-08    8.0451        .30506E-06** at limit **
   4  norm           .0000        1.4252        .18014E-06** at limit **
   5  Prefactor     60.882        2.9036       -.53403E-08   -.99752E-02
   6  Prefactor     45.026        3.2471       -.12543E-07    .33275E-01
   7  Prefactor     5.5778        .41328        .17301E-06   -.35308E-03
   8  Prefactor      .0000        2.2919       -.47368E-07** at limit **
   9  Prefactor     57.356        32.449       -.32144E-07   -.71637E-02
  10  Prefactor     38.811        22.036        .49556E-07    .10575E-01
  11  Prefactor     .11102E-08    17.473        .18043E-06** at limit **
  12  Prefactor     .10936E-07    5.9518       -.34589E-07** at limit **
  13  Prefactor     .26079E-06    88.440       -.35912E-06** at limit **
  14  norm          14.562        13.801        .24086E-06   -.25494E-03
  15  Prefactor     .11102E-08    17.557        .16642E-06** at limit **
  16  Prefactor      .0000        69.931       -.20543E-07** at limit **
  17  norm          .20983E-07    4.1368        .48064E-07** at limit **
  18  Prefactor      .0000        3.8544       -.24058E-06** at limit **
  19  Normalizat    .71175        .32190       -.28613E-05    .12955E-04
  20  Prefactor     1.1442        .18031       -.59968E-06    .26293E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.83933
  Prefactor  = 4.44089e-10
  Prefactor  = 2.94209e-09
  norm       = 0
  Prefactor  = 60.8816
  Prefactor  = 45.0258
  Prefactor  = 5.57785
  Prefactor  = 0
  Prefactor  = 57.3558
  Prefactor  = 38.8105
  Prefactor  = 1.11022e-09
  Prefactor  = 1.09357e-08
  Prefactor  = 2.60791e-07
  norm       = 14.5616
  Prefactor  = 1.11022e-09
  Prefactor  = 0
  norm       = 2.09832e-08
  Prefactor  = 0
  Normalizat = 0.711746
  Prefactor  = 1.1442
 **********
 **   18 **HESSE 
 **********

 FCN=   7561.464     FROM HESSE     STATUS=OK           329 CALLS     1856 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8393        5.6282        .33731E-03   -1.5649    
   2  Prefactor     .44409E-09    9.6875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .29421E-08    8.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.4012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     60.882        43.162        .12775E-03   -1.5552    
   6  Prefactor     45.026        18.586        .14875E-03   -1.5574    
   7  Prefactor     5.5778        .42169        .32588E-02   -1.5236    
   8  Prefactor      .0000        2.2914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     57.356        36.382        .13334E-03   -1.5556    
  10  Prefactor     38.811        46.540        .16619E-03   -1.5583    
  11  Prefactor     .11102E-08    17.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10936E-07    9.2593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .26079E-06    106.53        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          14.562        13.915        .26200E-03   -1.5632    
  15  Prefactor     .11102E-08    17.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        70.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .20983E-07    9.0484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        3.8510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .71175        .29085        .11831       -1.0343    
  20  Prefactor     1.1442        .16046        .54675E-01   -.88066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80243e-08
Minuit parameter uncertainties:
  1  5.62823
  2  0.0001318
  3  0.000320362
  4  3.44624e-06
  5  43.1626
  6  18.5861
  7  0.421686
  8  2.14889e-06
  9  36.3817
  10  46.5401
  11  0.000277304
  12  0.000637027
  13  0.0105423
  14  13.9149
  15  0.000281237
  16  7.77237e-05
  17  0.000871618
  18  6.26037e-07
  19  0.291486
  20  0.160527
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.608e-07  1.054e-02  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.144e+00  1.605e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  7.117e-01  2.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835792/likelihoodResults_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.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) = 7561.46932823
delta logL = -0.00495954226153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7560.67827078
delta logL = 0.78609791227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25693E-04   1.0000          .0000       .10000E+07
     2 'Index     '    9.2698       1.0000          .0000       10.000    
     3 'Normalizat'    .59762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1886       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7561.464     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      423 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3052        .42118E-03** at limit **
   2  Index         .75644        1.0976        .27295E-05     .0000    
   3  Normalizat    .71175        1.0155        .55622E-05    .54221E-05
   4  Prefactor     1.1442        1.0887       -.25222E-05   -.21419E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.756439
  Normalizat = 0.711746
  Prefactor  = 1.1442
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7561.464     FROM HESSE     STATUS=FAILED         9 CALLS      432 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .55806E-02    1.1337        .27295E-05   -924.64    
   3  Normalizat    .71175        1.0155        .55622E-05   -2.1073    
   4  Prefactor     1.1442        1.0887       -.25222E-05   -2.2609    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.42229e-12
Minuit parameter uncertainties:
  1  1.41138e-05
  2  1.13181
  3  1.04436
  4  1.11112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835792': 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) = 7561.46436869
delta logL = 1.21690391097e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  0.000e+00  1.411e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  7.564e-01  1.132e+00  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.144e+00  1.111e+00  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  7.117e-01  1.044e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/835792/cmap_HighResolution_686534401_687139201_4FGL_J2325.7+1821_weekly_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2022-10-11 01:09:18.299992', job_id='835792', GAL2='1.14', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1665475758.3', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.22e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='740' AND source_name='4FGL J2325.7+1821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 11 01:09:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 835792: <4FGL_J2325.7+1821_weekly_bin740> in cluster <slac> Done

Job <4FGL_J2325.7+1821_weekly_bin740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Oct 11 00:55:30 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 11 00:55:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 11 00:55:31 2022
Terminated at Tue Oct 11 01:09:19 2022
Results reported at Tue Oct 11 01:09:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_weekly_bin740 351.436 18.3654 686534401 687139201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             269.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

