/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 233 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1520
RA = 351.436, Dec = 18.3654
tmin = 633312001, tmax = 633571201
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='888470', job_status='RUN', time_executed='2021-09-29 18:44:27.536059', time_epoch_executed='1632966267.54' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888470

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888470/ft1_4FGL_J2325.7+1821_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888470/ft1_4FGL_J2325.7+1821_daily_bin1520.fits outfile=/scratch/kocevski/888470/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1520.fits ra=351.436 dec=18.3654 rad=12.0 tmin=633312001.0 tmax=633571201.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.07
user 2.85
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.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/888470/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1520.fits evtable="EVENTS" outfile="/scratch/kocevski/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.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.43
user 0.29
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/888470/ltcube_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.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/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits
.....................!
real 10.53
user 10.21
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/888470/ltcube_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.fits outfile=/scratch/kocevski/888470/expmap_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.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/888470/ltcube_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.fits
.....................!
real 151.17
user 146.99
sys 3.93

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/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits scfile=/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits outfile=/scratch/kocevski/888470/cmap_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.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.45
user 0.32
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits scfile=/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits outfile=/scratch/kocevski/888470/cmap_HighResolution_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.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.46
user 0.32
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888470/Model_4FGL_J2325.7+1821_daily_bin1520.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/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits....................!
real 59.15
user 58.05
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits', '/scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits', expMap='/scratch/kocevski/888470/expmap_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.fits', expCube='/scratch/kocevski/888470/ltcube_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/888470/Model_4FGL_J2325.7+1821_daily_bin1520.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  1.000e-04  1.000e+04 ( 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/888470/ft1_filtered_4FGL_J2325.7+1821_daily_bin1520.fits
Spacecraft file(s): /scratch/kocevski/888470/ft2_4FGL_J2325.7+1821_daily_bin1520.fits
Exposure map: /scratch/kocevski/888470/expmap_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.fits
Exposure cube: /scratch/kocevski/888470/ltcube_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/888470/Model_4FGL_J2325.7+1821_daily_bin1520.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) = 6764.59172284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2753       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0054       1.0000         .10000E-03   10000.    
     4 'norm      '    5.5857       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.692       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .86953       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19527       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1945       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1399       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8784       1.0000         .10000E-03   10000.    
    17 'norm      '    8.7932       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .54161E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.565       1.0000         .10000E-03   10000.    
    20 'norm      '    9.6549       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .40829E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95233       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90106       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6764.557     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2237 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2749        3.1029       -.71558E-08   -.79668E-04
   2  Prefactor     .10000E-03    4.0389       -.84219E-07** at limit **
   3  Prefactor     7.0057        9.6994       -.80359E-08   -.30915E-04
   4  norm          5.5859        2.1593       -.83870E-09    .15938E-04
   5  Prefactor     31.691        21.446        .22326E-07    .42777E-06
   6  Prefactor     .86937        .87004        .10402E-06   -.42325E-03
   7  Prefactor     .10000E-03    5.1376        .56730E-06** at limit **
   8  Prefactor     .19527        .11464       -.19390E-08    .29043E-03
   9  Prefactor     .10000E-03    2.6425        .11225E-07** at limit **
  10  Prefactor     2.1937        6.1541       -.46989E-07    .68070E-04
  11  Prefactor     .10000E-03    15.652       -.12825E-05** at limit **
  12  Prefactor     9.1386        16.787        .55635E-07    .30109E-04
  13  Prefactor     .10000E-03    5.9892       -.11155E-05** at limit **
  14  Prefactor     .10000E-03    4.0847       -.99736E-06** at limit **
  15  Prefactor     .10000E-03    7.2381        .31187E-06** at limit **
  16  Prefactor     4.8684        14.974        .61345E-06    .11606E-03
  17  norm          8.8206        8.8729        .16486E-05    .14182E-03
  18  Prefactor     .10000E-03    32.832       -.10062E-04** at limit **
  19  Prefactor     13.565        23.997        .58048E-06   -.10630E-04
  20  norm          9.6568        13.777        .79922E-07    .18663E-04
  21  Prefactor     .10000E-03    4.5306       -.11476E-05** at limit **
  22  Normalizat    .95237        .19729       -.36204E-07    .26157E-03
  23  Prefactor     .90102        .11393        .25619E-07    .17216E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.27494
  Prefactor  = 0.0001
  Prefactor  = 7.00573
  norm       = 5.58586
  Prefactor  = 31.6914
  Prefactor  = 0.869373
  Prefactor  = 0.0001
  Prefactor  = 0.195271
  Prefactor  = 0.0001
  Prefactor  = 2.19372
  Prefactor  = 0.0001
  Prefactor  = 9.13856
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.86844
  norm       = 8.82065
  Prefactor  = 0.000100002
  Prefactor  = 13.5652
  norm       = 9.65681
  Prefactor  = 0.000100004
  Normalizat = 0.952375
  Prefactor  = 0.901024
 **********
 **   18 **HESSE 
 **********

 FCN=   6764.557     FROM HESSE     STATUS=OK           378 CALLS     2615 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2749        3.1091        .96359E-04   -1.5207    
   2  Prefactor     .10000E-03    4.0442        .16135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0057        9.7024        .75785E-03   -1.5179    
   4  norm          5.5859        2.1840        .73003E-04   -1.5235    
   5  Prefactor     31.691        21.447        .71176E-04   -1.4581    
   6  Prefactor     .86937        11.871        .25393E-02   -1.5521    
   7  Prefactor     .10000E-03    5.1354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19527        .11206        .20249E-04   -1.5620    
   9  Prefactor     .10000E-03    2.6468        .13057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1937        6.1229        .27779E-03   -1.5412    
  11  Prefactor     .10000E-03    15.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1386        16.786        .13257E-03   -1.5103    
  13  Prefactor     .10000E-03    5.9691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.766        .30220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.2603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.8684        14.831        .18212E-03   -1.5267    
  17  norm          8.8206        8.9349        .13517E-03   -1.5114    
  18  Prefactor     .10000E-03    34.648        .38198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.565        23.930        .10875E-03   -1.4971    
  20  norm          9.6568        13.781        .12897E-03   -1.5086    
  21  Prefactor     .10000E-03    13.383        .31805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95237        .23187        .29953E-03   -.94643    
  23  Prefactor     .90102        .13549        .18412E-03   -.96105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46703e-09
Minuit parameter uncertainties:
  1  3.10917
  2  3.66979e-06
  3  9.70457
  4  2.18405
  5  21.4519
  6  6.4261
  7  3.96333e-06
  8  0.112058
  9  1.60132e-06
  10  6.12464
  11  9.9182e-05
  12  16.7942
  13  1.37587e-05
  14  0.000317658
  15  3.02162e-05
  16  14.8418
  17  8.93621
  18  0.000491571
  19  23.9467
  20  13.7856
  21  0.000473174
  22  0.232112
  23  0.135537
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.868e+00  1.484e+01  1.000e-04  1.000e+04 ( 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.010e-01  1.355e-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:  9.524e-01  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/888470/likelihoodResults_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.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) = 6764.55234049
delta logL = 0.00442291159652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6764.55029226
delta logL = 0.00647114469029

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0136       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2661       1.0000          .0000       10.000    
     3 'Normalizat'    .95378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90022       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6764.550     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      261 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0099        19.623        .16374E-03   -.52075E-05
   2  Index         2.2659        1.4086        .98275E-02    .64681E-04
   3  Normalizat    .95384        .22343        .29932E-03   -.66291E-03
   4  Prefactor     .90021        .13434        .18420E-03   -.10777E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.00988
  Index      = 2.26588
  Normalizat = 0.953842
  Prefactor  = 0.900205
 **********
 **   18 **HESSE 
 **********

 FCN=   6764.550     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0099        19.024        .65494E-05   -1.5218    
   2  Index         2.2659        1.3673        .19655E-02   -.57857    
   3  Normalizat    .95384        .22360        .59864E-04   -.94593    
   4  Prefactor     .90021        .13442        .36839E-04   -.96134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7094e-10
Minuit parameter uncertainties:
  1  19.0431
  2  1.39289
  3  0.223818
  4  0.134469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888470': 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) = 6764.55029215
delta logL = 0.00647125256637

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  6.010e+00  1.904e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.266e+00  1.393e+00  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.002e-01  1.345e-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:  9.538e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 351.436 18.365

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/888470/cmap_HighResolution_633312001_633571201_4FGL_J2325.7+1821_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.87e-03', job_status='DONE', photon_flux_upper_limit='8.87e-08', time_completed='2021-09-29 18:53:36.221823', job_id='888470', GAL2='0.90', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1632966816.22', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='6.47e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1520' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:53:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 888470: <4FGL_J2325.7+1821_daily_bin1520> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1520> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:25 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:40:26 2021
Terminated at Wed Sep 29 18:53:36 2021
Results reported at Wed Sep 29 18:53:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1520 351.436 18.3654 633312001 633571201 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 :                                   535.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            791 sec.

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

