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


Performing analysis on: 4FGL_J2325.2+3957_daily_bin1734
RA = 351.315, Dec = 39.9542
tmin = 688780801, tmax = 689040001
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='776558', job_status='RUN', time_executed='2022-11-02 00:39:18.889101', time_epoch_executed='1667374758.89' WHERE source_name='4FGL J2325.2+3957' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776558

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776558/ft1_4FGL_J2325.2+3957_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776558/ft1_4FGL_J2325.2+3957_daily_bin1734.fits outfile=/scratch/kocevski/776558/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1734.fits ra=351.315 dec=39.9542 rad=12.0 tmin=688780801.0 tmax=689040001.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.61
user 3.37
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.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/776558/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.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.49
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1013

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776558/ltcube_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.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/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits
.....................!
real 11.96
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776558/ltcube_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.fits outfile=/scratch/kocevski/776558/expmap_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.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/776558/ltcube_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.fits
.....................!
real 189.45
user 185.10
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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 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 J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits scfile=/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits outfile=/scratch/kocevski/776558/cmap_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.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.315 yref=39.9542 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits scfile=/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits outfile=/scratch/kocevski/776558/cmap_HighResolution_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.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.315 yref=39.9542 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776558/Model_4FGL_J2325.2+3957_daily_bin1734.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits.....................!
real 121.39
user 119.99
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits', '/scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits', expMap='/scratch/kocevski/776558/expmap_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.fits', expCube='/scratch/kocevski/776558/ltcube_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776558/Model_4FGL_J2325.2+3957_daily_bin1734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/776558/ft1_filtered_4FGL_J2325.2+3957_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776558/ft2_4FGL_J2325.2+3957_daily_bin1734.fits
Exposure map: /scratch/kocevski/776558/expmap_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776558/ltcube_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776558/Model_4FGL_J2325.2+3957_daily_bin1734.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) = 10664.2950014

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13266E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .24897E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3589       1.0000          .0000       .10000E+07
     4 'Prefactor '    .43743E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .85491       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.514       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2419       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99292E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .11600E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.0545       1.0000          .0000       .10000E+07
    11 'Prefactor '    112.34       1.0000          .0000       .10000E+07
    12 'norm      '    .58287E-08   1.0000          .0000       .10000E+07
    13 'norm      '    15.475       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.131       1.0000          .0000       .10000E+07
    15 'norm      '    .42188E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .83766E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .26519E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22240E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .79410E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4472       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89796       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10662.10     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1037 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14216E-06    3.3896       -.16903E-06** at limit **
   2  norm          .74973E-06    12.299       -.88353E-06** at limit **
   3  Prefactor     8.3592        7.7340        .17704E-07    .73345E-03
   4  Prefactor     .22204E-09    1.1643        .23243E-06** at limit **
   5  norm          .85543        2.6232       -.63861E-06   -.16045E-02
   6  Prefactor     11.552        1.7736       -.15355E-07    .13536E-01
   7  Prefactor     4.2410        5.1321       -.34756E-06   -.64039E-03
   8  Prefactor     .71024E-05    24.504        .89975E-06** at limit **
   9  norm          .15375E-05    3.5961       -.61925E-07** at limit **
  10  Prefactor     7.0890        11.548       -.31655E-06   -.37571E-01
  11  Prefactor     112.65        24.791        .96373E-07   -.29533    
  12  norm          .33307E-09    1.6358       -.58443E-07** at limit **
  13  norm          15.483        9.4934       -.17976E-07    .11718E-01
  14  Prefactor     10.190        5.3057       -.49278E-07    .80546E-01
  15  norm          .11102E-09    .66442        .12855E-06** at limit **
  16  Prefactor     .44836E-06    7.3411       -.36924E-06** at limit **
  17  Prefactor     .50229E-05    20.442        .97107E-06** at limit **
  18  Prefactor      .0000        28.900       -.84713E-06** at limit **
  19  Prefactor     .39024E-07    8.7497        .52838E-07** at limit **
  20  Normalizat    1.4468        .23755        .86423E-05    .11942E-04
  21  Prefactor     .89798        .87352E-01   -.25681E-05   -.39320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42164e-07
  norm       = 7.49734e-07
  Prefactor  = 8.35916
  Prefactor  = 2.22045e-10
  norm       = 0.855431
  Prefactor  = 11.5524
  Prefactor  = 4.24099
  Prefactor  = 7.10237e-06
  norm       = 1.53755e-06
  Prefactor  = 7.08903
  Prefactor  = 112.648
  norm       = 3.33067e-10
  norm       = 15.4833
  Prefactor  = 10.1899
  norm       = 1.11022e-10
  Prefactor  = 4.48364e-07
  Prefactor  = 5.02293e-06
  Prefactor  = 0
  Prefactor  = 3.90243e-08
  Normalizat = 1.44684
  Prefactor  = 0.897979
 **********
 **   18 **HESSE 
 **********

 FCN=   10662.10     FROM HESSE     STATUS=OK           357 CALLS     1394 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14216E-06    10.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .74973E-06    13.226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3592        7.7301        .34650E-03   -1.5650    
   4  Prefactor     .22204E-09    1.1656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .85543        2.6419        .48929E-03   -1.5689    
   6  Prefactor     11.552        14.103        .29499E-03   -1.5640    
   7  Prefactor     4.2410        5.1648        .48899E-03   -1.5667    
   8  Prefactor     .71024E-05    28.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .15375E-05    .71446        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0890        11.996        .37746E-03   -1.5655    
  11  Prefactor     112.65        44.299        .94356E-04   -1.5496    
  12  norm          .33307E-09    1.6382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.483        9.5130        .25434E-03   -1.5629    
  14  Prefactor     10.190        12.600        .31456E-03   -1.5644    
  15  norm          .11102E-09    .66389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44836E-06    10.837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50229E-05    25.238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        28.793        .16894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .39024E-07    10.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4468        .20800        .81341E-01   -.79283    
  21  Prefactor     .89798        .75487E-01    .44979E-01   -.96212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75072e-06
Minuit parameter uncertainties:
  1  0.00241223
  2  0.00629789
  3  7.7301
  4  3.06608e-05
  5  2.64186
  6  14.1029
  7  5.16483
  8  0.0286771
  9  0.00209619
  10  11.9962
  11  44.2987
  12  4.8492e-05
  13  9.51304
  14  12.5996
  15  1.6056e-05
  16  0.00440858
  17  0.0225186
  18  4.71291e-05
  19  0.00127835
  20  0.208118
  21  0.0754954
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.110e-10  1.606e-05  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.980e-01  7.550e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.447e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776558/likelihoodResults_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.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) = 10662.6490633
delta logL = -0.548256932092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10662.1008093
delta logL = -2.91116521112e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10443E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.6605       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10662.10     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    .34073E-01    .42118E-03** at limit **
   2  alpha         1.7963        3.1405        .41259        .11022E-10
   3  Normalizat    1.4468        .12449E-02    .81341E-01   -.23043E-04
   4  Prefactor     .89798        .47100E-03    .44980E-01    .20308E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  alpha      = 1.79631
  Normalizat = 1.44684
  Prefactor  = 0.89798
 **********
 **   18 **HESSE 
 **********

 FCN=   10662.10     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      242 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .13352        .83640E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7963        3.3689        .51000       -.28533    
   3  Normalizat    1.4468        .24585E-02    .36005E-03   -.79283    
   4  Prefactor     .89798        .93136E-03    .16704E-03   -.96212    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.23716e-11
Minuit parameter uncertainties:
  1  8.01677e-06
  2  34760.6
  3  0.00245852
  4  0.00093136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776558': 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) = 10662.1008063
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.110e-10  8.017e-06  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.796e+00  3.476e+04  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.980e-01  9.314e-04  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.447e+00  2.459e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.315 39.954

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/776558/cmap_HighResolution_688780801_689040001_4FGL_J2325.2+3957_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='3.44e-08', time_completed='2022-11-02 00:50:43.813055', job_id='776558', GAL2='0.90', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1667375443.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-3.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1734' AND source_name='4FGL J2325.2+3957' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:50:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 776558: <4FGL_J2325.2+3957_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2325.2+3957_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:34 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:36 2022
Terminated at Wed Nov  2 00:50:44 2022
Results reported at Wed Nov  2 00:50:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.2+3957_daily_bin1734 351.315 39.9542 688780801 689040001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.2+3957 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   687.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            910 sec.

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

