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


Performing analysis on: 4FGL_J2325.2+3957_daily_bin1735
RA = 351.315, Dec = 39.9542
tmin = 689040001, tmax = 689299201
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='866731', job_status='RUN', time_executed='2022-11-05 00:37:49.423520', time_epoch_executed='1667633869.42' WHERE source_name='4FGL J2325.2+3957' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866731

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866731/ft1_4FGL_J2325.2+3957_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866731/ft1_4FGL_J2325.2+3957_daily_bin1735.fits outfile=/scratch/kocevski/866731/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1735.fits ra=351.315 dec=39.9542 rad=12.0 tmin=689040001.0 tmax=689299201.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.63
user 3.42
sys 0.19

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

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

Number of photons that the gtmktime cut: 952

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866731/ltcube_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.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/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits
.....................!
real 12.02
user 11.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866731/ltcube_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.fits outfile=/scratch/kocevski/866731/expmap_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.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/866731/ltcube_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.fits
.....................!
real 191.39
user 186.27
sys 4.64

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/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits scfile=/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits outfile=/scratch/kocevski/866731/cmap_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits scfile=/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits outfile=/scratch/kocevski/866731/cmap_HighResolution_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866731/Model_4FGL_J2325.2+3957_daily_bin1735.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/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits.....................!
real 115.58
user 114.14
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits', '/scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits', expMap='/scratch/kocevski/866731/expmap_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.fits', expCube='/scratch/kocevski/866731/ltcube_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866731/Model_4FGL_J2325.2+3957_daily_bin1735.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/866731/ft1_filtered_4FGL_J2325.2+3957_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866731/ft2_4FGL_J2325.2+3957_daily_bin1735.fits
Exposure map: /scratch/kocevski/866731/expmap_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866731/ltcube_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866731/Model_4FGL_J2325.2+3957_daily_bin1735.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) = 10368.4822326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0848       1.0000          .0000       .10000E+07
     2 'norm      '    29.101       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0682       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54211E-03   1.0000          .0000       .10000E+07
     5 'norm      '    5.9872       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32894E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.0171       1.0000          .0000       .10000E+07
     8 'Prefactor '    .98589E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .41831       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13780E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .59815E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .68667E-07   1.0000          .0000       .10000E+07
    13 'norm      '    .32438E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .66035E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .60244       1.0000          .0000       .10000E+07
    16 'Prefactor '    .92034E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5861       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19837E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .32439E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3452       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84906       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=   10368.41     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1348 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2902        12.994       -.28642E-05    .20649E-01
   2  norm          29.234        18.918       -.18053E-05   -.26534E-01
   3  Prefactor     1.0708        9.6341        .12603E-06    .30251E-03
   4  Prefactor     .55511E-10    3.0089        .51295E-06** at limit **
   5  norm          5.9326        4.2442        .17372E-06   -.43734E-02
   6  Prefactor     .55511E-10    3.8495        .13244E-05** at limit **
   7  Prefactor     5.0542        6.9335       -.27421E-07   -.17431E-02
   8  Prefactor     .44409E-09    8.4189       -.22953E-05** at limit **
   9  norm          .41956        1.3570       -.41715E-06    .70112E-03
  10  Prefactor     .55511E-10    2.2709        .55350E-06** at limit **
  11  Prefactor     .33307E-09    5.5551       -.19078E-05** at limit **
  12  norm          .55511E-10    1.6463        .43667E-06** at limit **
  13  norm          .11102E-09    2.5954       -.16172E-06** at limit **
  14  Prefactor     .49960E-09    13.352       -.70524E-06** at limit **
  15  norm          .60218        2.1425       -.12991E-06    .27780E-02
  16  Prefactor     .55511E-10    34.409        .10030E-05** at limit **
  17  Prefactor     4.5788        2.2664        .59141E-06   -.26615E-02
  18  Prefactor     .38858E-09    73.293       -.66796E-06** at limit **
  19  Prefactor     .17208E-08    9.5298        .25165E-05** at limit **
  20  Normalizat    1.3447        .23819        .80179E-05    .11679E-04
  21  Prefactor     .84917        .87046E-01   -.15334E-05   -.90213E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.29019
  norm       = 29.2342
  Prefactor  = 1.07079
  Prefactor  = 5.55112e-11
  norm       = 5.93256
  Prefactor  = 5.55112e-11
  Prefactor  = 5.05418
  Prefactor  = 4.44089e-10
  norm       = 0.419562
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-10
  norm       = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 4.996e-10
  norm       = 0.602179
  Prefactor  = 5.55112e-11
  Prefactor  = 4.57881
  Prefactor  = 3.88578e-10
  Prefactor  = 1.72085e-09
  Normalizat = 1.34467
  Prefactor  = 0.849169
 **********
 **   18 **HESSE 
 **********

 FCN=   10368.41     FROM HESSE     STATUS=OK           355 CALLS     1703 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2902        24.806        .35237E-03   -1.5650    
   2  norm          29.234        22.352        .18540E-03   -1.5600    
   3  Prefactor     1.0708        10.373        .11769E-02   -1.5687    
   4  Prefactor     .55511E-10    2.9926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.9326        4.2647        .41013E-03   -1.5659    
   6  Prefactor     .55511E-10    5.8579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0542        6.9748        .44871E-03   -1.5663    
   8  Prefactor     .44409E-09    8.4373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .41956        1.3642        .87395E-03   -1.5695    
  10  Prefactor     .55511E-10    5.9569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33307E-09    5.7538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.6447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11102E-09    2.5955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .49960E-09    13.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60218        2.1428        .69010E-03   -1.5692    
  16  Prefactor     .55511E-10    34.346        .14148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.5788        75.168        .46980E-03   -1.5665    
  18  Prefactor     .38858E-09    73.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17208E-08    9.5608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3447        .21116        .80161E-01   -.82243    
  21  Prefactor     .84917        .74558E-01    .44352E-01   -.97941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18979e-07
Minuit parameter uncertainties:
  1  24.8065
  2  22.3517
  3  6.66542
  4  1.94937e-05
  5  4.26467
  6  3.43311e-05
  7  6.97485
  8  0.000126129
  9  1.36424
  10  2.95474e-05
  11  9.11158e-05
  12  2.33603e-05
  13  3.6171e-05
  14  0.000166787
  15  2.14281
  16  6.17608e-05
  17  37.1047
  18  0.000348874
  19  0.00025531
  20  0.211297
  21  0.0745666
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  6.022e-01  2.143e+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

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.492e-01  7.457e-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.345e+00  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/866731/likelihoodResults_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.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) = 10368.3438724
delta logL = 0.0682062050855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10368.3356422
delta logL = 0.0764364470288

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86751       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4146       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84801       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=   10368.34     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      206 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86752        4.6716        .48033E-03   -.28258E-01
   2  alpha         1.4147        1.6530        .47622       -.71553E-04
   3  Normalizat    1.3478        .19672        .80079E-01    .73899E-04
   4  Prefactor     .84799        .74217E-01    .44339E-01    .14445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.867517
  alpha      = 1.41465
  Normalizat = 1.34779
  Prefactor  = 0.847993
 **********
 **   18 **HESSE 
 **********

 FCN=   10368.34     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86752        2.0617        .19213E-04   -1.5689    
   2  alpha         1.4147        1.1522        .40355E-01   -.44908    
   3  Normalizat    1.3478        .22838        .35446E-03   -.82151    
   4  Prefactor     .84799        .86109E-01    .16250E-03   -.97983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79977e-09
Minuit parameter uncertainties:
  1  2.06165
  2  1.20949
  3  0.228551
  4  0.0861222
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866731': 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) = 10368.3356421
delta logL = 0.0764365295563

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  8.675e-01  2.062e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.415e+00  1.209e+00  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.480e-01  8.612e-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.348e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/866731/cmap_HighResolution_689040001_689299201_4FGL_J2325.2+3957_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-05', job_status='DONE', photon_flux_upper_limit='6.25e-08', time_completed='2022-11-05 00:49:24.027222', job_id='866731', GAL2='0.85', fit_tolerance='1e-08', EG2='1.35', EG='1.34', time_epoch_completed='1667634564.03', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.64e-02', ts2='0.24', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1735' AND source_name='4FGL J2325.2+3957' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:49:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 866731: <4FGL_J2325.2+3957_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2325.2+3957_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:30 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:31 2022
Terminated at Sat Nov  5 00:49:24 2022
Results reported at Sat Nov  5 00:49:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.2+3957_daily_bin1735 351.315 39.9542 689040001 689299201 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 :                                   696.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            834 sec.

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

