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


Performing analysis on: 4FGL_J2325.2+3957_daily_bin1732
RA = 351.315, Dec = 39.9542
tmin = 688262401, tmax = 688521601
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='647735', job_status='RUN', time_executed='2022-10-27 00:36:15.933719', time_epoch_executed='1666856175.93' WHERE source_name='4FGL J2325.2+3957' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647735

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647735/ft1_4FGL_J2325.2+3957_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647735/ft1_4FGL_J2325.2+3957_daily_bin1732.fits outfile=/scratch/kocevski/647735/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1732.fits ra=351.315 dec=39.9542 rad=12.0 tmin=688262401.0 tmax=688521601.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.54
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.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/647735/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647735/ft1_filtered_4FGL_J2325.2+3957_daily_bin1732.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1096

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647735/ft1_filtered_4FGL_J2325.2+3957_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647735/ltcube_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.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/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.fits
.....................!
real 12.05
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647735/ft1_filtered_4FGL_J2325.2+3957_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647735/ltcube_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.fits outfile=/scratch/kocevski/647735/expmap_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.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/647735/ltcube_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.fits
.....................!
real 190.22
user 184.92
sys 4.94

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/647735/ft1_filtered_4FGL_J2325.2+3957_daily_bin1732.fits scfile=/scratch/kocevski/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.fits outfile=/scratch/kocevski/647735/cmap_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.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/647735/ft1_filtered_4FGL_J2325.2+3957_daily_bin1732.fits scfile=/scratch/kocevski/647735/ft2_4FGL_J2325.2+3957_daily_bin1732.fits outfile=/scratch/kocevski/647735/cmap_HighResolution_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87833E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .38641E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .29131E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.319       1.0000          .0000       .10000E+07
     5 'norm      '    .40179E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .76072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12241E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.6595       1.0000          .0000       .10000E+07
     9 'norm      '    3.5189       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50131E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.742       1.0000          .0000       .10000E+07
    12 'norm      '    7.3817       1.0000          .0000       .10000E+07
    13 'norm      '    .63119E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .28955E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .63858       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.884       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11801E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39026       1.0000          .0000       .10000E+07
    19 'Prefactor '    .27051E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2196       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91683       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=   11369.94     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1674 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    9.1303       -.41682E-06** at limit **
   2  norm          .82712E-08    15.232       -.38905E-06** at limit **
   3  Prefactor      .0000        1.9765       -.54441E-08** at limit **
   4  Prefactor     10.274        4.9377        .90881E-08   -.26017E-03
   5  norm           .0000        .86369        .53271E-07** at limit **
   6  Prefactor     .77273        5.5536       -.40581E-06   -.25446E-01
   7  Prefactor     .48935E-02    359.35        .17288E-05** at limit **
   8  Prefactor     6.6600        1.3469        .41362E-07    .10835E-02
   9  norm          3.5196        1.4722        .21314E-09    .16232E-03
  10  Prefactor      .0000        5.7438       -.37187E-07** at limit **
  11  Prefactor     17.372        28.631        .79582E-06   -.14480E-01
  12  norm          7.3976        4.7147        .67235E-07    .31626E-03
  13  norm           .0000        2.6437       -.21346E-07** at limit **
  14  Prefactor      .0000        5.4157       -.25497E-06** at limit **
  15  norm          .63498        1.4870        .38883E-08   -.97625E-03
  16  Prefactor     20.379        37.918        .13282E-06   -.35966E-02
  17  Prefactor      .0000        7.9290        .47811E-06** at limit **
  18  Prefactor     .50876E-06    59.906       -.47074E-06** at limit **
  19  Prefactor      .0000        2.8446        .19567E-06** at limit **
  20  Normalizat    1.2201        .22312       -.52354E-05   -.20588E-04
  21  Prefactor     .91686        .85177E-01    .17432E-05   -.68485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  norm       = 8.27116e-09
  Prefactor  = 0
  Prefactor  = 10.274
  norm       = 0
  Prefactor  = 0.772726
  Prefactor  = 0.00489347
  Prefactor  = 6.65996
  norm       = 3.51963
  Prefactor  = 0
  Prefactor  = 17.3723
  norm       = 7.39765
  norm       = 0
  Prefactor  = 0
  norm       = 0.634983
  Prefactor  = 20.3789
  Prefactor  = 0
  Prefactor  = 5.0876e-07
  Prefactor  = 0
  Normalizat = 1.22011
  Prefactor  = 0.916862
 **********
 **   18 **HESSE 
 **********

 FCN=   11369.94     FROM HESSE     STATUS=OK           363 CALLS     2037 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    9.1575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .82712E-08    15.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.274        4.9302        .31167E-03   -1.5644    
   5  norm           .0000        .86727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77273        39.854        .55910E-03   -1.5690    
   7  Prefactor     .48935E-02    3.6345        .61819E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6600        21.863        .38861E-03   -1.5656    
   9  norm          3.5196        1.4765        .53867E-03   -1.5670    
  10  Prefactor      .0000        5.7735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.372        29.958        .23751E-03   -1.5625    
  12  norm          7.3976        4.7247        .36892E-03   -1.5654    
  13  norm           .0000        2.6483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        5.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .63498        1.5089        .65840E-03   -1.5692    
  16  Prefactor     20.379        50.154        .21889E-03   -1.5618    
  17  Prefactor      .0000        7.9506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .50876E-06    63.935        .90624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.8442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2201        .19129        .81828E-01   -.85984    
  21  Prefactor     .91686        .72500E-01    .45219E-01   -.95554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23506e-07
Minuit parameter uncertainties:
  1  7.74928e-05
  2  0.000713255
  3  2.63031e-06
  4  4.93016
  5  2.13511e-06
  6  11.0989
  7  0.266722
  8  21.8635
  9  1.47646
  10  1.81811e-05
  11  29.9579
  12  4.72473
  13  2.05389e-06
  14  1.25926e-05
  15  1.50891
  16  50.1549
  17  5.3069e-06
  18  0.0114065
  19  4.9086e-06
  20  0.191399
  21  0.0725076
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  6.350e-01  1.509e+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:  9.169e-01  7.251e-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.220e+00  1.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/647735/likelihoodResults_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.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) = 11369.6456814
delta logL = 0.291457619103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11369.6220709
delta logL = 0.315068175694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41488       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0947       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92024       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=   11369.62     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41412        5.4816        .19063E-02    .27843E-01
   2  alpha         3.0956        3.7467        .42729        .70106E-04
   3  Normalizat    1.1979        .28967E-01    .82476E-01   -.10367E-03
   4  Prefactor     .92022        .11191E-01    .45262E-01   -.58116E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.414117
  alpha      = 3.09555
  Normalizat = 1.19793
  Prefactor  = 0.92022
 **********
 **   18 **HESSE 
 **********

 FCN=   11369.62     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      252 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41412        32.344        .88411E-04   -1.5695    
   2  alpha         3.0956        3.3243        .20816E-01    .24053    
   3  Normalizat    1.1979        .22347        .36514E-03   -.86667    
   4  Prefactor     .92022        .75873E-01    .15822E-03   -.95438    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.15581e-09
Minuit parameter uncertainties:
  1  7.3197
  2  10.9178
  3  0.223644
  4  0.0758812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647735': 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) = 11369.6220705
delta logL = 0.315068520422

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  4.141e-01  7.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  3.096e+00  1.092e+01  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:  9.202e-01  7.588e-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.198e+00  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/647735/cmap_HighResolution_688262401_688521601_4FGL_J2325.2+3957_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', job_status='DONE', photon_flux_upper_limit='4.98e-08', time_completed='2022-10-27 00:49:40.464206', job_id='647735', GAL2='0.92', fit_tolerance='1e-08', EG2='1.20', EG='1.22', time_epoch_completed='1666856980.46', return_code2='102', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.15e-01', ts2='0.86', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1732' AND source_name='4FGL J2325.2+3957' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:49:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 647735: <4FGL_J2325.2+3957_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2325.2+3957_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:50 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:51 2022
Terminated at Thu Oct 27 00:49:41 2022
Results reported at Thu Oct 27 00:49:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.2+3957_daily_bin1732 351.315 39.9542 688262401 688521601 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 :                                   805.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

