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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1773
RA = 351.436, Dec = 18.3654
tmin = 698889601, tmax = 699148801
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='807266', job_status='RUN', time_executed='2023-02-27 10:44:43.772276', time_epoch_executed='1677523483.77' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807266/ft1_4FGL_J2325.7+1821_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807266/ft1_4FGL_J2325.7+1821_daily_bin1773.fits outfile=/scratch/kocevski/807266/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1773.fits ra=351.436 dec=18.3654 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.94
user 2.73
sys 0.19

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

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

Number of photons that the gtmktime cut: 852

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807266/ft1_filtered_4FGL_J2325.7+1821_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807266/ltcube_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.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/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits
.....................!
real 13.19
user 12.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807266/ft1_filtered_4FGL_J2325.7+1821_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807266/ltcube_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.fits outfile=/scratch/kocevski/807266/expmap_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.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/807266/ltcube_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.fits
.....................!
real 191.02
user 184.64
sys 6.03

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/807266/ft1_filtered_4FGL_J2325.7+1821_daily_bin1773.fits scfile=/scratch/kocevski/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits outfile=/scratch/kocevski/807266/cmap_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807266/ft1_filtered_4FGL_J2325.7+1821_daily_bin1773.fits scfile=/scratch/kocevski/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits outfile=/scratch/kocevski/807266/cmap_HighResolution_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807266/ft1_filtered_4FGL_J2325.7+1821_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807266/ft2_4FGL_J2325.7+1821_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807266/Model_4FGL_J2325.7+1821_daily_bin1773.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/807266/ft1_filtered_4FGL_J2325.7+1821_daily_bin1773.fits.....................!
real 106.14
user 104.43
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28903E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.452       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.1303       1.0000          .0000       .10000E+07
     4 'norm      '    .76523       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38212       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.600       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5116       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .42909E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    29.535       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.404       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30618E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    18.906       1.0000          .0000       .10000E+07
    13 'Prefactor '    16.522       1.0000          .0000       .10000E+07
    14 'norm      '    .10254E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .37942E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    57.513       1.0000          .0000       .10000E+07
    17 'norm      '    .11072E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .28510E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2063       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92507       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=   9525.544     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1540 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12499E-01    99.035        .27585E-05** at limit **
   2  Prefactor     14.480        9.6391        .58408E-07   -.19837E-01
   3  Prefactor     8.2435        8.0259       -.17113E-07    .55585E-02
   4  norm          .76625        .76703        .76270E-08   -.38221E-03
   5  Prefactor     .19632E-05    17.918        .50661E-06** at limit **
   6  Prefactor     21.580        3.4908        .73518E-07   -.33406E-01
   7  Prefactor     1.5126        .24121        .22279E-07    .80357E-04
   8  Prefactor      .0000        3.8624        .29081E-07** at limit **
   9  Prefactor     29.878        17.099        .90244E-07    .70140E-01
  10  Prefactor     12.586        3.7003        .18756E-07   -.27560E-01
  11  Prefactor     .16653E-09    2.9074       -.23924E-07** at limit **
  12  Prefactor     18.839        19.490        .31730E-06   -.31634E-01
  13  Prefactor     16.496        2.9536        .20297E-07   -.42842E-02
  14  norm          .18319E-08    5.3189        .36204E-06** at limit **
  15  Prefactor     .24925E-07    6.3199       -.58087E-07** at limit **
  16  Prefactor     58.915        50.946        .28673E-06   -.17133E-01
  17  norm          .61062E-09    5.1433        .48819E-07** at limit **
  18  Prefactor     .22204E-09    2.8274       -.18008E-07** at limit **
  19  Normalizat    1.2062        .22629       -.22414E-05    .58718E-04
  20  Prefactor     .92457        .12784       -.36821E-06    .77180E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0124992
  Prefactor  = 14.4803
  Prefactor  = 8.24351
  norm       = 0.766252
  Prefactor  = 1.96321e-06
  Prefactor  = 21.58
  Prefactor  = 1.51264
  Prefactor  = 0
  Prefactor  = 29.8779
  Prefactor  = 12.5855
  Prefactor  = 1.66533e-10
  Prefactor  = 18.8392
  Prefactor  = 16.4956
  norm       = 1.83187e-09
  Prefactor  = 2.49245e-08
  Prefactor  = 58.9153
  norm       = 6.10623e-10
  Prefactor  = 2.22045e-10
  Normalizat = 1.20621
  Prefactor  = 0.924572
 **********
 **   18 **HESSE 
 **********

 FCN=   9525.544     FROM HESSE     STATUS=OK           341 CALLS     1881 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12499E-01    .91849        .79996E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.480        9.9140        .26321E-03   -1.5632    
   3  Prefactor     8.2435        8.0398        .35138E-03   -1.5651    
   4  norm          .76625        .76411        .55563E-03   -1.5690    
   5  Prefactor     .19632E-05    44.127        .91588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.580        13.491        .21523E-03   -1.5615    
   7  Prefactor     1.5126        .24170        .41289E-02   -1.5462    
   8  Prefactor      .0000        3.8503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.878        21.487        .18404E-03   -1.5599    
  10  Prefactor     12.586        18.201        .28417E-03   -1.5637    
  11  Prefactor     .16653E-09    2.8994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.839        20.214        .23007E-03   -1.5621    
  13  Prefactor     16.496        15.718        .24613E-03   -1.5627    
  14  norm          .18319E-08    8.6550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .24925E-07    8.2922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     58.915        51.356        .13187E-03   -1.5554    
  17  norm          .61062E-09    5.1477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    2.8243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2062        .19748        .75137E-01   -.86411    
  20  Prefactor     .92457        .11028        .45324E-01   -.95288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84048e-07
Minuit parameter uncertainties:
  1  0.214294
  2  9.91403
  3  8.03983
  4  0.764109
  5  0.0186153
  6  13.4912
  7  0.241704
  8  1.91865e-05
  9  21.4868
  10  18.2016
  11  4.25609e-05
  12  20.2142
  13  15.7179
  14  0.000250678
  15  0.000909272
  16  51.3566
  17  0.000114646
  18  5.20271e-05
  19  0.197602
  20  0.110303
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.650e+01  1.572e+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.246e-01  1.103e-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.206e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.65
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.04e-05

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

Saving results to:
/scratch/kocevski/807266/likelihoodResults_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.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) = 9525.43198277
delta logL = 0.111664956585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9525.42628574
delta logL = 0.117361985636

Fit tolerance = 1e-08

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

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

 FCN=   9525.426     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      303 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.932        23.957        .12106E-04    .27722E-02
   2  Index         2.9112        1.4667        .86696E-02    .31933E-04
   3  Normalizat    1.1820        .23226        .33545E-03    .47314E-03
   4  Prefactor     .93324        .13003        .21378E-03    .25520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9317
  Index      = 2.91118
  Normalizat = 1.182
  Prefactor  = 0.933237
 **********
 **   18 **HESSE 
 **********

 FCN=   9525.426     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.932        17.149        .48425E-06   -1.5642    
   2  Index         2.9112        1.0570        .34678E-03   -.43098    
   3  Normalizat    1.1820        .22884        .67090E-04   -.87161    
   4  Prefactor     .93324        .12882        .42755E-04   -.94989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27791e-10
Minuit parameter uncertainties:
  1  17.1493
  2  1.0668
  3  0.229032
  4  0.128861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807266': 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) = 9525.42628328
delta logL = 0.11736444977

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.093e+01  1.715e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.911e+00  1.067e+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.332e-01  1.289e-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.182e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 351.436 18.365
Photon Index (Free Index): 2.91 +/- 1.07
Photon Flux (Free Index): 5.34e-08 +/- 5.67e-08
Energy Flux (Free Index): 1.12e-05 +/- 9.55e-06

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/807266/cmap_HighResolution_698889601_699148801_4FGL_J2325.7+1821_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.52e-03', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.12e-05', photon_flux_error='3.32e-08', dlogl='1.17e-01', energy_flux='1.10e-05', photon_flux2='5.34e-08', job_status='DONE', time_completed='2023-02-27 10:56:31.249874', photon_index_error2='1.07', photon_index2='2.91', ts='1.65', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='9.55e-06', EG='1.21', time_epoch_completed='1677524191.25', return_code='0', job_id='807266', GAL2='0.93', EG2='1.18', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='5.67e-08', ts2='1.90', photon_index='2.43' WHERE bin_id='1773' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:56:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 807266: <4FGL_J2325.7+1821_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:20 2023
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:22 2023
Terminated at Mon Feb 27 10:56:32 2023
Results reported at Mon Feb 27 10:56:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1773 351.436 18.3654 698889601 699148801 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 :                                   709.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            972 sec.

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

