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


Performing analysis on: 4FGL_J2325.2+3957_daily_bin1763
RA = 351.315, Dec = 39.9542
tmin = 696297601, tmax = 696556801
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='297874', job_status='RUN', time_executed='2023-01-28 01:51:46.759288', time_epoch_executed='1674899506.76' WHERE source_name='4FGL J2325.2+3957' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297874

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297874/ft1_4FGL_J2325.2+3957_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297874/ft2_4FGL_J2325.2+3957_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297874/ft1_4FGL_J2325.2+3957_daily_bin1763.fits outfile=/scratch/kocevski/297874/ft1_filteredMKT_4FGL_J2325.2+3957_daily_bin1763.fits ra=351.315 dec=39.9542 rad=12.0 tmin=696297601.0 tmax=696556801.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.68
user 3.41
sys 0.23

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

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

Number of photons that the gtmktime cut: 918

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297874/ft1_filtered_4FGL_J2325.2+3957_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/297874/ft2_4FGL_J2325.2+3957_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/297874/ltcube_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.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/297874/ft2_4FGL_J2325.2+3957_daily_bin1763.fits
.....................!
real 14.95
user 14.47
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297874/ft1_filtered_4FGL_J2325.2+3957_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297874/ft2_4FGL_J2325.2+3957_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/297874/ltcube_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.fits outfile=/scratch/kocevski/297874/expmap_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.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/297874/ltcube_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.fits
.....................!
real 193.79
user 186.88
sys 5.56

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/297874/ft1_filtered_4FGL_J2325.2+3957_daily_bin1763.fits scfile=/scratch/kocevski/297874/ft2_4FGL_J2325.2+3957_daily_bin1763.fits outfile=/scratch/kocevski/297874/cmap_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297874/ft1_filtered_4FGL_J2325.2+3957_daily_bin1763.fits scfile=/scratch/kocevski/297874/ft2_4FGL_J2325.2+3957_daily_bin1763.fits outfile=/scratch/kocevski/297874/cmap_HighResolution_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9406       1.0000          .0000       .10000E+07
     2 'norm      '    3.5271       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.2739       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42853E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .74463E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31936E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3510       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0140       1.0000          .0000       .10000E+07
     9 'norm      '    .40551E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14733E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28386E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.1105       1.0000          .0000       .10000E+07
    13 'norm      '    .50637       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18529E-03   1.0000          .0000       .10000E+07
    15 'norm      '    2.4237       1.0000          .0000       .10000E+07
    16 'Prefactor '    44.636       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.8828       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29516E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49031E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5221       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80992       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=   9516.831     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1344 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8750        1.4129        .23384E-07   -.28692E-02
   2  norm          3.5734        2.5964        .17273E-06   -.12758E-01
   3  Prefactor     9.3161        6.7562        .77043E-07    .21240E-02
   4  Prefactor     .83267E-09    9.3644        .52962E-06** at limit **
   5  norm          .49960E-09    3.4330        .80324E-07** at limit **
   6  Prefactor     .38921E-05    15.916       -.12955E-05** at limit **
   7  Prefactor     2.3469        4.6404        .17765E-06    .72472E-03
   8  Prefactor     1.8359        1.1947       -.97228E-07   -.26903E-02
   9  norm           .0000        1.2731        .37948E-07** at limit **
  10  Prefactor     .44409E-08    5.9726       -.37325E-07** at limit **
  11  Prefactor     .17930E-07    8.1422       -.83772E-07** at limit **
  12  norm          4.1163        4.0576        .12596E-07    .33226E-04
  13  norm          .47533        8.0786       -.89759E-07   -.20863E-03
  14  Prefactor     .22204E-08    11.922       -.93809E-06** at limit **
  15  norm          2.4253        1.6393       -.11976E-07    .14694E-03
  16  Prefactor     47.971        38.424       -.62880E-06   -.27921E-01
  17  Prefactor     3.5574        4.3160        .29315E-06   -.10866E-01
  18  Prefactor     .20393E-05    30.029        .52800E-06** at limit **
  19  Prefactor     .18743E-04    7.2359       -.84609E-06** at limit **
  20  Normalizat    1.5213        .22885       -.35771E-05   -.26557E-04
  21  Prefactor     .80992        .88094E-01    .39239E-05   -.52874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.87504
  norm       = 3.57338
  Prefactor  = 9.31608
  Prefactor  = 8.32667e-10
  norm       = 4.996e-10
  Prefactor  = 3.89205e-06
  Prefactor  = 2.34693
  Prefactor  = 1.83592
  norm       = 0
  Prefactor  = 4.44089e-09
  Prefactor  = 1.79301e-08
  norm       = 4.11626
  norm       = 0.475332
  Prefactor  = 2.22045e-09
  norm       = 2.4253
  Prefactor  = 47.971
  Prefactor  = 3.55744
  Prefactor  = 2.03926e-06
  Prefactor  = 1.87433e-05
  Normalizat = 1.52134
  Prefactor  = 0.809923
 **********
 **   18 **HESSE 
 **********

 FCN=   9516.831     FROM HESSE     STATUS=OK           367 CALLS     1711 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8750        13.728        .45224E-03   -1.5664    
   2  norm          3.5734        14.186        .53801E-03   -1.5670    
   3  Prefactor     9.3161        7.4231        .32885E-03   -1.5647    
   4  Prefactor     .83267E-09    1.5399        .63444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49960E-09    3.3961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .38921E-05    19.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3469        4.6565        .66825E-03   -1.5677    
   8  Prefactor     1.8359        55.181        .72910E-03   -1.5681    
   9  norm           .0000        1.2354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .44409E-08    5.9598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .17930E-07    8.1921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.1163        4.0575        .49698E-03   -1.5667    
  13  norm          .47533        8.0197        .78071E-03   -1.5694    
  14  Prefactor     .22204E-08    11.981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4253        1.6339        .65714E-03   -1.5677    
  16  Prefactor     47.971        39.139        .14969E-03   -1.5569    
  17  Prefactor     3.5574        98.764        .51182E-03   -1.5670    
  18  Prefactor     .20393E-05    32.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18743E-04    25.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5213        .20457        .73641E-01   -.77180    
  21  Prefactor     .80992        .76252E-01    .43846E-01   -.99364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7421e-06
Minuit parameter uncertainties:
  1  13.7276
  2  14.1856
  3  7.42315
  4  7.07128e-05
  5  8.45332e-05
  6  0.0175332
  7  4.65647
  8  20.1307
  9  1.55217e-06
  10  0.000325096
  11  0.000766396
  12  4.05748
  13  3.90488
  14  0.000325719
  15  1.63389
  16  39.1392
  17  37.4893
  18  0.0161842
  19  0.0434255
  20  0.204678
  21  0.0762615
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  2.425e+00  1.634e+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.099e-01  7.626e-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.521e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.94
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.47e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.07e-05

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) = 9515.70373799
delta logL = 1.12699944108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9515.6826812
delta logL = 1.14805622828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1415       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1596       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80992       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=   9515.683     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1422        1.4961        .70402E-03   -.37278E-02
   2  alpha         1.1598        .40563        .44985       -.37971E-04
   3  Normalizat    1.5296        .19488        .73478E-01    .10440E-04
   4  Prefactor     .80991        .75547E-01    .43846E-01    .66905E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14222
  alpha      = 1.15983
  Normalizat = 1.52964
  Prefactor  = 0.809911
 **********
 **   18 **HESSE 
 **********

 FCN=   9515.683     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1422        1.7832        .97276E-05   -1.5679    
   2  alpha         1.1598        .51792        .18398E-01   -.56577    
   3  Normalizat    1.5296        .22552        .32511E-03   -.76949    
   4  Prefactor     .80991        .87539E-01    .16571E-03   -.99364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41992e-09
Minuit parameter uncertainties:
  1  1.78324
  2  0.523266
  3  0.225672
  4  0.0875544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297874': 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) = 9515.68268109
delta logL = 1.14805633614

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  2.142e+00  1.783e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.160e+00  5.233e-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:  8.099e-01  8.755e-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.530e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.24
Ra Dec: 351.315 39.954
Photon Index (Free Index): 1.16 +/- 0.52
Photon Flux (Free Index): 1.13e-08 +/- 9.52e-09
Energy Flux (Free Index): 4.80e-05 +/- 5.24e-05

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/297874/cmap_HighResolution_696297601_696556801_4FGL_J2325.2+3957_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.47e-08', energy_flux2='4.80e-05', photon_flux_error='1.66e-08', dlogl='1.15e+00', energy_flux='1.59e-05', photon_flux2='1.13e-08', job_status='DONE', time_completed='2023-01-28 02:02:37.410266', photon_index_error2='0.52', photon_index2='1.16', ts='8.94', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='5.24e-05', EG='1.52', time_epoch_completed='1674900157.41', return_code='0', job_id='297874', GAL2='0.81', EG2='1.53', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='9.52e-09', ts2='11.24', photon_index='1.99' WHERE bin_id='1763' AND source_name='4FGL J2325.2+3957' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 02:02:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 297874: <4FGL_J2325.2+3957_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2325.2+3957_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 01:50:21 2023
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:51:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:51:13 2023
Terminated at Sat Jan 28 02:02:38 2023
Results reported at Sat Jan 28 02:02:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.2+3957_daily_bin1763 351.315 39.9542 696297601 696556801 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 :                                   650.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             391.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            737 sec.

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

