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


Performing analysis on: 4FGL_J2325.2+3957_daily_bin1733
RA = 351.315, Dec = 39.9542
tmin = 688521601, tmax = 688780801
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='709794', job_status='RUN', time_executed='2022-10-30 00:41:46.802826', time_epoch_executed='1667115706.8' WHERE source_name='4FGL J2325.2+3957' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709794

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709794/ft1_4FGL_J2325.2+3957_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709794/ft2_4FGL_J2325.2+3957_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/709794/ft1_4FGL_J2325.2+3957_daily_bin1733.fits outfile=/scratch/kocevski/709794/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1733.fits ra=351.315 dec=39.9542 rad=12.0 tmin=688521601.0 tmax=688780801.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.52
user 3.27
sys 0.23

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

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

Number of photons that the gtmktime cut: 1031

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709794/ft1_filtered_4FGL_J2325.2+3957_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709794/ft2_4FGL_J2325.2+3957_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/709794/ltcube_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.fits outfile=/scratch/kocevski/709794/expmap_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.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/709794/ltcube_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.fits
.....................!
real 192.19
user 186.02
sys 5.68

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/709794/ft1_filtered_4FGL_J2325.2+3957_daily_bin1733.fits scfile=/scratch/kocevski/709794/ft2_4FGL_J2325.2+3957_daily_bin1733.fits outfile=/scratch/kocevski/709794/cmap_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709794/ft1_filtered_4FGL_J2325.2+3957_daily_bin1733.fits scfile=/scratch/kocevski/709794/ft2_4FGL_J2325.2+3957_daily_bin1733.fits outfile=/scratch/kocevski/709794/cmap_HighResolution_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10896       1.0000          .0000       .10000E+07
     2 'norm      '    .43994E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .30719E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.3792       1.0000          .0000       .10000E+07
     5 'norm      '    .45386E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.4951       1.0000          .0000       .10000E+07
     7 'Prefactor '    .39527E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    17.188       1.0000          .0000       .10000E+07
     9 'norm      '    1.3228       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25070E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    38.741       1.0000          .0000       .10000E+07
    12 'norm      '    .56466E-01   1.0000          .0000       .10000E+07
    13 'norm      '    14.222       1.0000          .0000       .10000E+07
    14 'Prefactor '    47.213       1.0000          .0000       .10000E+07
    15 'norm      '    .13385E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .50086E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .58245E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .62173E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .85040E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0009       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95959       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=   10897.59     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1722 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30636E-01    581.71       -.45186E-05** at limit **
   2  norm           .0000        5.6345        .65068E-07** at limit **
   3  Prefactor     .22204E-09    4.1372        .15088E-06** at limit **
   4  Prefactor     7.3797        4.3588       -.10782E-06   -.80613E-02
   5  norm          .55511E-10    2.0586       -.89483E-07** at limit **
   6  Prefactor     9.4921        2.2465        .53450E-07    .76011E-01
   7  Prefactor      .0000        2.2835       -.78183E-07** at limit **
   8  Prefactor     17.185        1.0567        .62863E-08    .15144E-01
   9  norm          1.3211        1.1354       -.33696E-07   -.70313E-02
  10  Prefactor     .55511E-09    3.8270        .42848E-07** at limit **
  11  Prefactor     38.747        8.3843       -.12399E-06   -.82134E-02
  12  norm          .55731E-01    16.816        .72681E-06** at limit **
  13  norm          14.219        1.8054       -.32167E-07   -.98975E-01
  14  Prefactor     47.238        6.4336       -.85802E-07   -.26443E-01
  15  norm          .55511E-10    .71531        .66597E-07** at limit **
  16  Prefactor     .24061E-05    10.085       -.15841E-06** at limit **
  17  Prefactor     .27948E-05    10.496       -.57095E-06** at limit **
  18  Prefactor     .11102E-09    10.633       -.43978E-07** at limit **
  19  Prefactor      .0000        1.6340        .28672E-07** at limit **
  20  Normalizat    1.0012        .21993       -.27826E-05   -.26995E-03
  21  Prefactor     .95953        .84021E-01    .54719E-06   -.41509E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0306357
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 7.37969
  norm       = 5.55112e-11
  Prefactor  = 9.49214
  Prefactor  = 0
  Prefactor  = 17.185
  norm       = 1.32108
  Prefactor  = 5.55112e-10
  Prefactor  = 38.7472
  norm       = 0.055731
  norm       = 14.2194
  Prefactor  = 47.2376
  norm       = 5.55112e-11
  Prefactor  = 2.40613e-06
  Prefactor  = 2.79482e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Normalizat = 1.00119
  Prefactor  = 0.959528
 **********
 **   18 **HESSE 
 **********

 FCN=   10897.59     FROM HESSE     STATUS=OK           365 CALLS     2087 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30636E-01    7.7872        .13695E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        5.6421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    4.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.3797        4.4129        .36898E-03   -1.5654    
   5  norm          .55511E-10    2.0346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4921        12.810        .32498E-03   -1.5646    
   7  Prefactor      .0000        2.2829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.185        15.584        .24131E-03   -1.5625    
   9  norm          1.3211        1.1437        .95592E-04   -1.5685    
  10  Prefactor     .55511E-09    3.8305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.747        37.761        .16068E-03   -1.5583    
  12  norm          .55731E-01    3.0825        .10701E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.219        10.138        .26533E-03   -1.5633    
  14  Prefactor     47.238        25.805        .14555E-03   -1.5571    
  15  norm          .55511E-10    .71669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24061E-05    17.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .27948E-05    18.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11102E-09    10.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.6345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0012        .20119        .88264E-01   -.92990    
  21  Prefactor     .95953        .74631E-01    .34764E-01   -.94091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75674e-07
Minuit parameter uncertainties:
  1  0.976865
  2  2.23221e-05
  3  6.25807e-05
  4  4.41289
  5  1.77601e-05
  6  12.8104
  7  1.34053e-05
  8  15.5845
  9  1.14372
  10  9.26227e-05
  11  37.7617
  12  0.828953
  13  10.1381
  14  25.8055
  15  9.28859e-06
  16  0.0131363
  17  0.0142764
  18  6.48206e-05
  19  7.06164e-06
  20  0.201344
  21  0.0746394
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  5.551e-11  9.289e-06  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.595e-01  7.464e-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.001e+00  2.013e-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.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/709794/likelihoodResults_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10897.6040547
delta logL = -0.0146192528591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10897.5615364
delta logL = 0.0278991193136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17293E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    4.2992       1.0000          .0000       5.0000    
     3 'Normalizat'    .98573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96234       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10897.56     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      328 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17225E-01    11.277        .39070E-04** at limit **
   2  alpha         4.3016        2.6443        .97180E-01    .21423E-04
   3  Normalizat    .98568        .95321E-01    .39361E-03    .85493E-05
   4  Prefactor     .96234        .36797E-01    .15341E-03   -.45798E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.017225
  alpha      = 4.30164
  Normalizat = 0.985676
  Prefactor  = 0.962336
 **********
 **   18 **HESSE 
 **********

 FCN=   10897.56     FROM HESSE     STATUS=OK            27 CALLS      355 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17225E-01    .39961        .15628E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.3016        4.6490        .38872E-02    .80475    
   3  Normalizat    .98568        .22498        .15745E-04   -.93512    
   4  Prefactor     .96234        .84593E-01    .61363E-05   -.93996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00187e-11
Minuit parameter uncertainties:
  1  0.165931
  2  4.02299
  3  0.225195
  4  0.084605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709794': 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) = 10897.561536
delta logL = 0.0278994591863

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.722e-02  1.659e-01  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  4.302e+00  4.023e+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:  9.623e-01  8.460e-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:  9.857e-01  2.252e-01  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/709794/cmap_HighResolution_688521601_688780801_4FGL_J2325.2+3957_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.33e-05', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2022-10-30 00:55:53.915957', job_id='709794', GAL2='0.96', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1667116553.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.79e-02', ts2='0.06', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1733' AND source_name='4FGL J2325.2+3957' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:55:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 709794: <4FGL_J2325.2+3957_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2325.2+3957_daily_bin1733> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Oct 30 00:40:14 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:40:16 2022
Terminated at Sun Oct 30 00:55:54 2022
Results reported at Sun Oct 30 00:55:54 2022

Your job looked like:

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

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

