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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1772
RA = 351.436, Dec = 18.3654
tmin = 698630401, tmax = 698889601
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='654778', job_status='RUN', time_executed='2023-02-24 03:06:42.927332', time_epoch_executed='1677236802.93' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654778

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654778/ft1_4FGL_J2325.7+1821_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654778/ft1_4FGL_J2325.7+1821_daily_bin1772.fits outfile=/scratch/kocevski/654778/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1772.fits ra=351.436 dec=18.3654 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.80
sys 0.18

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

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

Number of photons that the gtmktime cut: 921

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/654778/ltcube_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.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/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits
.....................!
real 12.35
user 12.03
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/654778/ltcube_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.fits outfile=/scratch/kocevski/654778/expmap_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.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/654778/ltcube_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.fits
.....................!
real 189.02
user 184.65
sys 4.04

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/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits scfile=/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits outfile=/scratch/kocevski/654778/cmap_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits scfile=/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits outfile=/scratch/kocevski/654778/cmap_HighResolution_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/654778/Model_4FGL_J2325.7+1821_daily_bin1772.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/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits.....................!
real 110.09
user 108.77
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits', '/scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits', expMap='/scratch/kocevski/654778/expmap_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.fits', expCube='/scratch/kocevski/654778/ltcube_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/654778/Model_4FGL_J2325.7+1821_daily_bin1772.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/654778/ft1_filtered_4FGL_J2325.7+1821_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/654778/ft2_4FGL_J2325.7+1821_daily_bin1772.fits
Exposure map: /scratch/kocevski/654778/expmap_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.fits
Exposure cube: /scratch/kocevski/654778/ltcube_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/654778/Model_4FGL_J2325.7+1821_daily_bin1772.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) = 10087.6503951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24208E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.811       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.809       1.0000          .0000       .10000E+07
     4 'norm      '    1.3777       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19789E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.507       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2707       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2689       1.0000          .0000       .10000E+07
     9 'Prefactor '    .42523       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.5892       1.0000          .0000       .10000E+07
    11 'Prefactor '    .32146E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97774E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.440       1.0000          .0000       .10000E+07
    14 'norm      '    2.6320       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.5667       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12678E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .31218E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .56635E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2199       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98374       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=   10087.62     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1485 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    .93878        .16387E-06** at limit **
   2  Prefactor     15.811        5.9095       -.61195E-07    .21768E-01
   3  Prefactor     12.821        7.0242       -.61111E-07    .28755E-01
   4  norm          1.3768        1.1358        .11208E-07    .13378E-02
   5  Prefactor     .71609E-08    9.7565       -.17227E-06** at limit **
   6  Prefactor     10.521        4.4582        .35012E-07    .52669E-02
   7  Prefactor     2.2704        .27218       -.53372E-07   -.22790E-02
   8  Prefactor     4.2578        4.5719       -.94032E-08   -.61653E-03
   9  Prefactor     .15385E-05    6.7157       -.76524E-07** at limit **
  10  Prefactor     6.5613        1.2493        .85427E-08   -.38797E-02
  11  Prefactor     .24267E-05    45.533       -.41175E-06** at limit **
  12  Prefactor      .0000        4.2465       -.29257E-07** at limit **
  13  Prefactor     17.267        9.4558        .24075E-07    .80773E-01
  14  norm          2.6601        6.9941       -.27021E-06   -.18495E-01
  15  Prefactor     4.5989        8.1796        .47097E-07    .44041E-01
  16  Prefactor     .25474E-06    14.037       -.31983E-07** at limit **
  17  norm          .55511E-10    5.6413        .36208E-07** at limit **
  18  Prefactor     .23118E-03    14.917        .93412E-07** at limit **
  19  Normalizat    1.2210        .23498       -.43843E-06   -.15753E-03
  20  Prefactor     .98378        .13207       -.53734E-06   -.24956E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 15.8114
  Prefactor  = 12.8211
  norm       = 1.37677
  Prefactor  = 7.16094e-09
  Prefactor  = 10.5205
  Prefactor  = 2.27039
  Prefactor  = 4.25778
  Prefactor  = 1.53855e-06
  Prefactor  = 6.56126
  Prefactor  = 2.42667e-06
  Prefactor  = 0
  Prefactor  = 17.2669
  norm       = 2.66008
  Prefactor  = 4.59889
  Prefactor  = 2.54741e-07
  norm       = 5.55112e-11
  Prefactor  = 0.000231184
  Normalizat = 1.22097
  Prefactor  = 0.983776
 **********
 **   18 **HESSE 
 **********

 FCN=   10087.62     FROM HESSE     STATUS=OK           345 CALLS     1830 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .93677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.811        10.242        .25162E-03   -1.5628    
   3  Prefactor     12.821        10.075        .27963E-03   -1.5636    
   4  norm          1.3768        1.1400        .92739E-03   -1.5684    
   5  Prefactor     .71609E-08    9.7651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.521        11.105        .30886E-03   -1.5643    
   7  Prefactor     2.2704        .27242        .39088E-02   -1.5407    
   8  Prefactor     4.2578        4.5669        .48740E-03   -1.5667    
   9  Prefactor     .15385E-05    63.798        .86620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.5613        12.270        .39070E-03   -1.5657    
  11  Prefactor     .24267E-05    49.631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.2434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.267        24.228        .23956E-03   -1.5625    
  14  norm          2.6601        7.4321        .62828E-03   -1.5675    
  15  Prefactor     4.5989        9.1984        .47081E-03   -1.5665    
  16  Prefactor     .25474E-06    15.687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    5.6437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .23118E-03    2.8244        .10618E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2210        .20559        .77491E-01   -.85957    
  20  Prefactor     .98378        .11202        .46064E-01   -.93272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66966e-07
Minuit parameter uncertainties:
  1  1.85748e-05
  2  10.2425
  3  10.0754
  4  1.14003
  5  0.000528615
  6  11.1052
  7  0.272416
  8  4.56687
  9  0.019815
  10  12.2697
  11  0.0219491
  12  1.44803e-06
  13  24.2277
  14  7.43213
  15  9.19839
  16  0.00399799
  17  4.00253e-05
  18  0.0511058
  19  0.205724
  20  0.112043
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.727e+01  2.423e+01  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:  9.838e-01  1.120e-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.221e+00  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654778/likelihoodResults_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.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) = 10085.6468952
delta logL = 1.96863370169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10085.6077689
delta logL = 2.00775998964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35553       1.0000          .0000       .10000E+07
     2 'Index     '    5.1512       1.0000          .0000       10.000    
     3 'Normalizat'    1.0577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0505       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.

 FCN=   10085.61     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      297 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35042        2.0295        .66700E-03    .26055E-01
   2  Index         5.1584        1.8333        .10454        .30427E-03
   3  Normalizat    1.0574        .53192E-01    .82404E-01    .37043E-04
   4  Prefactor     1.0506        .30486E-01    .39880E-01    .12721E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.350424
  Index      = 5.15844
  Normalizat = 1.05745
  Prefactor  = 1.05061
 **********
 **   18 **HESSE 
 **********

 FCN=   10085.61     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      330 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35042        4.5902        .30150E-05   -1.5696    
   2  Index         5.1584        3.1191        .39742E-02    .31694E-01
   3  Normalizat    1.0574        .20815        .36482E-03   -.91130    
   4  Prefactor     1.0506        .11599        .20927E-03   -.91061    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.35622e-10
Minuit parameter uncertainties:
  1  2.53656
  2  3.36837
  3  0.208307
  4  0.116023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654778': 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) = 10085.6077642
delta logL = 2.00776465388

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.504e-01  2.537e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  5.158e+00  3.368e+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.051e+00  1.160e-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.057e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 351.436 18.365
Photon Index (Free Index): 5.16 +/- 3.37
Photon Flux (Free Index): 1.55e-07 +/- 8.33e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.31e-05

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/654778/cmap_HighResolution_698630401_698889601_4FGL_J2325.7+1821_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', energy_flux2='2.03e-05', dlogl='2.01e+00', photon_flux2='1.55e-07', job_status='DONE', time_completed='2023-02-24 03:18:34.168108', photon_index_error2='3.37', photon_index2='5.16', ts='0.60', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.31e-05', EG='1.22', time_epoch_completed='1677237514.17', return_code='0', job_id='654778', GAL2='1.05', EG2='1.06', return_code2='102', photon_flux_error2='8.33e-08', ts2='5.23', photon_index='2.43' WHERE bin_id='1772' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 03:18:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 654778: <4FGL_J2325.7+1821_daily_bin1772> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 03:05:16 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 03:05:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 03:05:17 2023
Terminated at Fri Feb 24 03:18:34 2023
Results reported at Fri Feb 24 03:18:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1772 351.436 18.3654 698630401 698889601 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 :                                   713.00 sec.
    Max Memory :                                 1033 MB
    Average Memory :                             329.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            798 sec.

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

