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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1697
RA = 351.436, Dec = 18.3654
tmin = 679190401, tmax = 679449601
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='857757', job_status='RUN', time_executed='2022-07-14 00:38:20.409344', time_epoch_executed='1657784300.41' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857757

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857757/ft1_4FGL_J2325.7+1821_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857757/ft1_4FGL_J2325.7+1821_daily_bin1697.fits outfile=/scratch/kocevski/857757/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1697.fits ra=351.436 dec=18.3654 rad=12.0 tmin=679190401.0 tmax=679449601.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 3.49
user 3.25
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.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/857757/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1697.fits evtable="EVENTS" outfile="/scratch/kocevski/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.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.50
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 806

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857757/ltcube_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.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/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits
.....................!
real 13.03
user 12.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857757/ltcube_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.fits outfile=/scratch/kocevski/857757/expmap_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.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/857757/ltcube_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.fits
.....................!
real 190.40
user 185.61
sys 4.43

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/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits scfile=/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits outfile=/scratch/kocevski/857757/cmap_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits scfile=/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits outfile=/scratch/kocevski/857757/cmap_HighResolution_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857757/Model_4FGL_J2325.7+1821_daily_bin1697.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/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits.....................!
real 95.41
user 94.01
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits', '/scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits', expMap='/scratch/kocevski/857757/expmap_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.fits', expCube='/scratch/kocevski/857757/ltcube_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857757/Model_4FGL_J2325.7+1821_daily_bin1697.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  1.000e-04  1.000e+04 ( 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/857757/ft1_filtered_4FGL_J2325.7+1821_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857757/ft2_4FGL_J2325.7+1821_daily_bin1697.fits
Exposure map: /scratch/kocevski/857757/expmap_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857757/ltcube_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857757/Model_4FGL_J2325.7+1821_daily_bin1697.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) = 8682.60496024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6383       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10585E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.745       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0585       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9730       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7715       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3820       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.344       1.0000         .10000E-03   10000.    
    17 'norm      '    .79926E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27737E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.453       1.0000         .10000E-03   10000.    
    20 'norm      '    31.215       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14076E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2304       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89370       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8682.582     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2265 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6393        3.7105       -.19676E-06    .29072E-04
   2  Prefactor     6.9844        13.071       -.49051E-06   -.95199E-04
   3  Prefactor     .10000E-03    20.499        .31038E-06** at limit **
   4  norm          .10000E-03    .50994       -.12055E-07** at limit **
   5  Prefactor     .10000E-03    8.9978        .85882E-07** at limit **
   6  Prefactor     32.744        12.347       -.13182E-06    .10091E-04
   7  Prefactor     .10000E-03    6.9670       -.68677E-06** at limit **
   8  Prefactor     1.0585        .18583       -.11931E-07    .79757E-03
   9  Prefactor     3.9743        7.5750       -.24524E-06   -.20507E-04
  10  Prefactor     3.7724        4.2646        .13092E-06    .14331E-03
  11  Prefactor     .10000E-03    25.375        .45515E-06** at limit **
  12  Prefactor     4.3846        14.252       -.12390E-05   -.12189E-03
  13  Prefactor     .10000E-03    10.280        .43100E-06** at limit **
  14  Prefactor     .10000E-03    2.9766       -.57443E-07** at limit **
  15  Prefactor     .10000E-03    13.370       -.19985E-05** at limit **
  16  Prefactor     11.345        20.180       -.20742E-06    .69413E-04
  17  norm          .10000E-03    52.686       -.48351E-05** at limit **
  18  Prefactor     .10003E-03    7.1407       -.16115E-05** at limit **
  19  Prefactor     34.437        28.481       -.42733E-07    .44178E-04
  20  norm          31.209        17.379       -.14923E-06    .58268E-04
  21  Prefactor     .10000E-03    4.0161       -.10281E-05** at limit **
  22  Normalizat    1.2306        .20071        .92911E-06    .46552E-03
  23  Prefactor     .89353        .11435        .59363E-06    .64387E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63932
  Prefactor  = 6.98436
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7439
  Prefactor  = 0.0001
  Prefactor  = 1.05849
  Prefactor  = 3.97435
  Prefactor  = 3.77242
  Prefactor  = 0.0001
  Prefactor  = 4.38456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3449
  norm       = 0.000100001
  Prefactor  = 0.000100028
  Prefactor  = 34.4369
  norm       = 31.2089
  Prefactor  = 0.000100004
  Normalizat = 1.2306
  Prefactor  = 0.893529
 **********
 **   18 **HESSE 
 **********

 FCN=   8682.582     FROM HESSE     STATUS=OK           374 CALLS     2639 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6393        3.6680        .18187E-03   -1.5383    
   2  Prefactor     6.9844        13.121        .75901E-03   -1.5179    
   3  Prefactor     .10000E-03    21.323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .51352        .64940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.0044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.744        12.347        .70025E-04   -1.4563    
   7  Prefactor     .10000E-03    7.0179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0585        .18593        .16106E-04   -1.5502    
   9  Prefactor     3.9743        7.5721        .20236E-03   -1.5309    
  10  Prefactor     3.7724        4.2603        .19814E-03   -1.5319    
  11  Prefactor     .10000E-03    25.982        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3846        14.581        .96200E-03   -1.5289    
  13  Prefactor     .10000E-03    10.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0030        .15684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.345        20.245        .11895E-03   -1.5034    
  17  norm          .10000E-03    52.115        .40663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    22.952        .38892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.437        28.545        .68272E-04   -1.4534    
  20  norm          31.209        17.378        .71715E-04   -1.4590    
  21  Prefactor     .10000E-03    6.6794        .30060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2306        .23429        .30926E-03   -.85662    
  23  Prefactor     .89353        .13346        .21058E-03   -.96368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16185e-09
Minuit parameter uncertainties:
  1  3.66832
  2  13.1269
  3  3.37758e-05
  4  4.51417e-07
  5  5.83171e-06
  6  12.3483
  7  5.82202e-05
  8  0.185932
  9  7.57388
  10  4.26064
  11  3.19866e-05
  12  14.5933
  13  3.27157e-05
  14  1.06991e-05
  15  0.000126944
  16  20.2568
  17  0.000498836
  18  0.00159736
  19  28.5563
  20  17.3805
  21  0.000307633
  22  0.234494
  23  0.133505
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.134e+01  2.026e+01  1.000e-04  1.000e+04 ( 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:  8.935e-01  1.335e-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:  1.231e+00  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857757/likelihoodResults_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.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) = 8682.36911852
delta logL = 0.213233829749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8682.35928113
delta logL = 0.223071217208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3184       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2256       1.0000          .0000       10.000    
     3 'Normalizat'    1.1983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90571       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8682.359     FROM MIGRAD    STATUS=FAILED        95 CALLS      297 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3130        343.71        .17427E-03   -.65234E-05
   2  Index         3.2260        6.1920        .84262E-02    .70953E-03
   3  Normalizat    1.1984        .22942        .31281E-03    .78138E-04
   4  Prefactor     .90569        .14065        .20932E-03   -.13980E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8682.359     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      383 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3130        343.71        .35100E-03   -.65234E-05
   2  Index         3.2260        6.1920        .15258E-02    .70953E-03
   3  Normalizat    1.1984        .22942        .18431E-03    .78138E-04
   4  Prefactor     .90569        .14065        .17547E-03   -.13980E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8682.359     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      413 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3129        17.024        .69710E-05   -.41098E-04
   2  Index         3.2260        1.6292        .16852E-02    .67595E-05
   3  Normalizat    1.1984        .23241        .12513E-04    .65781E-04
   4  Prefactor     .90569        .13468        .83726E-05   -.12492E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.31293
  Index      = 3.22605
  Normalizat = 1.19838
  Prefactor  = 0.905686
 **********
 **   18 **HESSE 
 **********

 FCN=   8682.359     FROM HESSE     STATUS=OK            23 CALLS      436 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3129        15.124        .13942E-05   -1.5247    
   2  Index         3.2260        1.4528        .67409E-04   -.36269    
   3  Normalizat    1.1984        .23252        .25025E-05   -.86653    
   4  Prefactor     .90569        .13464        .16745E-05   -.95943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17031e-10
Minuit parameter uncertainties:
  1  15.1354
  2  1.47724
  3  0.232724
  4  0.134688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857757': 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) = 8682.35928104
delta logL = 0.223071307608

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  5.313e+00  1.514e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  3.226e+00  1.477e+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:  9.057e-01  1.347e-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:  1.198e+00  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
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/857757/cmap_HighResolution_679190401_679449601_4FGL_J2325.7+1821_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.94e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2022-07-14 00:51:14.638860', job_id='857757', GAL2='0.91', fit_tolerance='1e-08', EG2='1.20', EG='1.23', time_epoch_completed='1657785074.64', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.23e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1697' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:51:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 857757: <4FGL_J2325.7+1821_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:58 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:59 2022
Terminated at Thu Jul 14 00:51:15 2022
Results reported at Thu Jul 14 00:51:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1697 351.436 18.3654 679190401 679449601 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 :                                   776.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            917 sec.

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

