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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1730
RA = 351.436, Dec = 18.3654
tmin = 687744001, tmax = 688003201
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='469230', job_status='RUN', time_executed='2022-10-21 00:38:03.837346', time_epoch_executed='1666337883.84' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469230

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469230/ft1_4FGL_J2325.7+1821_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469230/ft1_4FGL_J2325.7+1821_daily_bin1730.fits outfile=/scratch/kocevski/469230/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1730.fits ra=351.436 dec=18.3654 rad=12.0 tmin=687744001.0 tmax=688003201.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 4.90
user 4.66
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.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/469230/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.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.14

Number of photons that the gtmktime cut: 1088

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469230/ltcube_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.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/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits
.....................!
real 11.67
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469230/ltcube_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits outfile=/scratch/kocevski/469230/expmap_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.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/469230/ltcube_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits
.....................!
real 190.43
user 185.64
sys 4.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits scfile=/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits outfile=/scratch/kocevski/469230/cmap_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits scfile=/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits outfile=/scratch/kocevski/469230/cmap_HighResolution_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469230/Model_4FGL_J2325.7+1821_daily_bin1730.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits.....................!
real 118.04
user 116.48
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits', '/scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits', expMap='/scratch/kocevski/469230/expmap_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits', expCube='/scratch/kocevski/469230/ltcube_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469230/Model_4FGL_J2325.7+1821_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469230/ft1_filtered_4FGL_J2325.7+1821_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469230/ft2_4FGL_J2325.7+1821_daily_bin1730.fits
Exposure map: /scratch/kocevski/469230/expmap_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469230/ltcube_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469230/Model_4FGL_J2325.7+1821_daily_bin1730.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) = 10484.4697844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15966E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.491       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10738E-01   1.0000          .0000       .10000E+07
     4 'norm      '    2.0366       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10300E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    29.174       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7567       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58148E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.050       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9658       1.0000          .0000       .10000E+07
    11 'Prefactor '    .40155E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78937E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .34589E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .20212E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9735       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22742E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .57121E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .50635E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1212       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99511       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10484.43     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1222 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.5867        .14073E-06** at limit **
   2  Prefactor     32.462        2.5971       -.98850E-07   -.10437E-01
   3  Prefactor     .25252E-06    8.9752       -.77793E-06** at limit **
   4  norm          2.0368        1.6203        .12624E-06   -.16222E-04
   5  Prefactor     .52014E-07    5.2476       -.14587E-05** at limit **
   6  Prefactor     29.132        1.3043        .43498E-07    .41133E-02
   7  Prefactor     6.7561        .38886       -.12344E-06   -.62903E-03
   8  Prefactor      .0000        2.6923        .44008E-06** at limit **
   9  Prefactor     20.229        3.9254       -.32260E-06    .49815E-02
  10  Prefactor     3.6056        40.365        .18718E-05    .14889E-02
  11  Prefactor     .11102E-09    5.6892        .53492E-07** at limit **
  12  Prefactor     .25535E-08    7.0128       -.26977E-05** at limit **
  13  Prefactor     .24120E-06    10.821        .13501E-05** at limit **
  14  norm          .55511E-10    4.4437       -.36700E-06** at limit **
  15  Prefactor     9.9253        8.3611        .72325E-06    .17468E-02
  16  Prefactor     .20539E-07    9.2272        .21004E-05** at limit **
  17  norm          .55511E-10    6.4641       -.44462E-06** at limit **
  18  Prefactor      .0000        2.4938       -.34392E-06** at limit **
  19  Normalizat    1.1217        .24354       -.80180E-05   -.12746E-04
  20  Prefactor     .99566        .14354        .48595E-05   -.52644E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 32.4616
  Prefactor  = 2.5252e-07
  norm       = 2.03684
  Prefactor  = 5.20139e-08
  Prefactor  = 29.1317
  Prefactor  = 6.75611
  Prefactor  = 0
  Prefactor  = 20.2291
  Prefactor  = 3.60564
  Prefactor  = 1.11022e-10
  Prefactor  = 2.55351e-09
  Prefactor  = 2.41196e-07
  norm       = 5.55112e-11
  Prefactor  = 9.92534
  Prefactor  = 2.05391e-08
  norm       = 5.55112e-11
  Prefactor  = 0
  Normalizat = 1.1217
  Prefactor  = 0.995656
 **********
 **   18 **HESSE 
 **********

 FCN=   10484.43     FROM HESSE     STATUS=OK           329 CALLS     1551 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.4954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.462        13.260        .17546E-03   -1.5594    
   3  Prefactor     .25252E-06    17.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0368        1.6601        .72445E-03   -1.5679    
   5  Prefactor     .52014E-07    11.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.132        14.295        .18517E-03   -1.5600    
   7  Prefactor     6.7561        .38991        .33397E-02   -1.5188    
   8  Prefactor      .0000        2.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.229        17.888        .22340E-03   -1.5618    
  10  Prefactor     3.6056        41.132        .45107E-03   -1.5670    
  11  Prefactor     .11102E-09    5.6731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .25535E-08    12.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .24120E-06    18.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    4.4505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.9253        8.3772        .31705E-03   -1.5645    
  16  Prefactor     .20539E-07    10.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    6.5001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.4962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1217        .21018        .86087E-01   -.89058    
  20  Prefactor     .99566        .12190        .46206E-01   -.92874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54894e-08
Minuit parameter uncertainties:
  1  6.89748e-06
  2  13.2597
  3  0.00422162
  4  1.66013
  5  0.0015303
  6  14.2953
  7  0.38991
  8  8.20002e-06
  9  17.8877
  10  24.3564
  11  5.43883e-05
  12  0.000362022
  13  0.00427007
  14  2.49705e-05
  15  8.37716
  16  0.000921306
  17  4.14026e-05
  18  9.31546e-06
  19  0.210339
  20  0.121938
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.412e-07  4.270e-03  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.957e-01  1.219e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.122e+00  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 7.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469230/likelihoodResults_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.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) = 10484.459605
delta logL = -0.0269582452056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10484.4326478
delta logL = -1.10401197162e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27272E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.0360       1.0000          .0000       10.000    
     3 'Normalizat'    1.1219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10484.43     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      239 TOTAL
                     EDM=   .74E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .32176        .42118E-03** at limit **
   2  Index         .93837        9.1760        .50000       -.72760E-10
   3  Normalizat    1.1217        .17791E-02    .86087E-01    .64840E-04
   4  Prefactor     .99566        .10660E-02    .46211E-01    .96806E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.938369
  Normalizat = 1.1217
  Prefactor  = 0.995656
 **********
 **   18 **HESSE 
 **********

 FCN=   10484.43     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.6043        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93837        5.5664        .50000       -.94813    
   3  Normalizat    1.1217        .39645E-02    .38122E-03   -.89058    
   4  Prefactor     .99566        .23798E-02    .23966E-03   -.92874    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.60851e-13
Minuit parameter uncertainties:
  1  1.69556e-05
  2  93262.9
  3  0.00396447
  4  0.00237978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469230': 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) = 10484.4326467
delta logL = 6.34827301838e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  5.551e-11  1.696e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  9.384e-01  9.326e+04  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.957e-01  2.380e-03  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.122e+00  3.964e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

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/469230/cmap_HighResolution_687744001_688003201_4FGL_J2325.7+1821_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-03', job_status='DONE', photon_flux_upper_limit='7.07e-08', time_completed='2022-10-21 00:50:39.470338', job_id='469230', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1666338639.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.35e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1730' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:50:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 469230: <4FGL_J2325.7+1821_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:32 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:33 2022
Terminated at Fri Oct 21 00:50:43 2022
Results reported at Fri Oct 21 00:50:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1730 351.436 18.3654 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   758.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            911 sec.

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

