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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1563
RA = 351.436, Dec = 18.3654
tmin = 644457601, tmax = 644716801
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='888538', job_status='RUN', time_executed='2021-09-29 18:40:43.260135', time_epoch_executed='1632966043.26' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1563'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888538/ft1_4FGL_J2325.7+1821_daily_bin1563.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888538/ft1_4FGL_J2325.7+1821_daily_bin1563.fits outfile=/scratch/kocevski/888538/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1563.fits ra=351.436 dec=18.3654 rad=12.0 tmin=644457601.0 tmax=644716801.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 2.76
user 2.54
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.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/888538/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1563.fits evtable="EVENTS" outfile="/scratch/kocevski/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits" evtable="EVENTS" scfile=/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits sctable="SC_DATA" outfile=/scratch/kocevski/888538/ltcube_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.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/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits
.....................!
real 12.52
user 12.15
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits evtable="EVENTS" scfile=/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits sctable="SC_DATA" expcube=/scratch/kocevski/888538/ltcube_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.fits outfile=/scratch/kocevski/888538/expmap_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.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/888538/ltcube_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.fits
.....................!
real 190.85
user 185.23
sys 5.20

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/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits scfile=/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits outfile=/scratch/kocevski/888538/cmap_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits scfile=/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits outfile=/scratch/kocevski/888538/cmap_HighResolution_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits evtable="EVENTS" scfile=/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888538/Model_4FGL_J2325.7+1821_daily_bin1563.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/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits.....................!
real 111.80
user 110.36
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits', '/scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits', expMap='/scratch/kocevski/888538/expmap_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.fits', expCube='/scratch/kocevski/888538/ltcube_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/888538/Model_4FGL_J2325.7+1821_daily_bin1563.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/888538/ft1_filtered_4FGL_J2325.7+1821_daily_bin1563.fits
Spacecraft file(s): /scratch/kocevski/888538/ft2_4FGL_J2325.7+1821_daily_bin1563.fits
Exposure map: /scratch/kocevski/888538/expmap_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.fits
Exposure cube: /scratch/kocevski/888538/ltcube_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/888538/Model_4FGL_J2325.7+1821_daily_bin1563.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) = 10424.1380438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3245       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30493       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.2605       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7481       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .33577       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6613       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3685       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.084       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4077       1.0000         .10000E-03   10000.    
    17 'norm      '    12.333       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.7753       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.4579       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .72376       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0877       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=   10423.15     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2169 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3239        2.1701       -.11437E-06   -.66252E-03
   2  Prefactor     .31321        4.8593        .20198E-05   -.88228E-03
   3  Prefactor     .10000E-03    9.2153       -.70844E-05** at limit **
   4  norm          3.2606        1.4904        .52401E-08   -.14394E-04
   5  Prefactor     .10000E-03    7.2789        .52289E-05** at limit **
   6  Prefactor     4.7481        5.0158        .74597E-07    .15191E-05
   7  Prefactor     .10000E-03    6.3671       -.19220E-05** at limit **
   8  Prefactor     .33577        .11007       -.33103E-09   -.38416E-03
   9  Prefactor     4.6612        6.6234       -.55616E-09   -.14857E-04
  10  Prefactor     .10000E-03    1.5888        .42314E-07** at limit **
  11  Prefactor     .10000E-03    3.4654       -.62429E-07** at limit **
  12  Prefactor     8.3696        16.225        .16530E-05    .24315E-04
  13  Prefactor     .10000E-03    26.143        .20007E-06** at limit **
  14  Prefactor     .10000E-03    1.8296       -.16150E-07** at limit **
  15  Prefactor     16.083        8.7051        .81129E-07   -.58357E-04
  16  Prefactor     1.4054        1.9483        .44640E-07   -.47277E-03
  17  norm          12.332        7.1669        .14865E-07   -.23451E-03
  18  Prefactor     .10000E-03    1.6864        .35946E-07** at limit **
  19  Prefactor     .10000E-03    11.382        .47446E-05** at limit **
  20  norm          9.7753        7.2505        .27640E-07   -.30295E-05
  21  Prefactor     3.4579        4.7252       -.59848E-07   -.82800E-04
  22  Normalizat    .72384        .16485       -.50185E-06   -.15347E-03
  23  Prefactor     1.0877        .99139E-01   -.76963E-07   -.25030E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.32389
  Prefactor  = 0.313215
  Prefactor  = 0.0001
  norm       = 3.26061
  Prefactor  = 0.0001
  Prefactor  = 4.74811
  Prefactor  = 0.0001
  Prefactor  = 0.335769
  Prefactor  = 4.66124
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.36957
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0828
  Prefactor  = 1.40545
  norm       = 12.3321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.77528
  Prefactor  = 3.45792
  Normalizat = 0.723838
  Prefactor  = 1.08766
 **********
 **   18 **HESSE 
 **********

 FCN=   10423.15     FROM HESSE     STATUS=OK           374 CALLS     2543 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3239        2.1702        .13353E-03   -1.5403    
   2  Prefactor     .31321        51.109        .39504E-02   -1.5596    
   3  Prefactor     .10000E-03    9.2849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.2606        1.4902        .81725E-04   -1.5347    
   5  Prefactor     .10000E-03    7.3222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7481        5.0132        .18465E-03   -1.5272    
   7  Prefactor     .10000E-03    6.3853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33577        .10901        .18531E-04   -1.5592    
   9  Prefactor     4.6612        6.6195        .18640E-03   -1.5276    
  10  Prefactor     .10000E-03    1.5997        .12565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.3696        16.225        .13858E-03   -1.5129    
  13  Prefactor     .10000E-03    26.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.8452        .13480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.083        8.6984        .99868E-04   -1.4906    
  16  Prefactor     1.4054        16.748        .18266E-02   -1.5471    
  17  norm          12.332        7.1972        .57033E-03   -1.5005    
  18  Prefactor     .10000E-03    1.6935        .12930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.7753        7.2509        .12817E-03   -1.5083    
  21  Prefactor     3.4579        4.7160        .21748E-03   -1.5336    
  22  Normalizat    .72384        .18925        .34527E-03   -1.0296    
  23  Prefactor     1.0877        .11427        .17744E-03   -.89862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48897e-08
Minuit parameter uncertainties:
  1  2.1703
  2  8.00773
  3  0.000110661
  4  1.49026
  5  8.46591e-05
  6  5.01369
  7  2.60008e-05
  8  0.109011
  9  6.62052
  10  1.25065e-06
  11  9.14519e-07
  12  16.2333
  13  1.02028e-05
  14  1.2456e-06
  15  8.69909
  16  9.70619
  17  7.19766
  18  7.97111e-07
  19  8.80243e-05
  20  7.2516
  21  4.71651
  22  0.189418
  23  0.114293
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.405e+00  9.706e+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

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.088e+00  1.143e-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:  7.238e-01  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/888538/likelihoodResults_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.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) = 10423.1423379
delta logL = 0.00576582379472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10423.1422825
delta logL = 0.00582118462626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3474       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6693       1.0000          .0000       10.000    
     3 'Normalizat'    .72216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0881       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10423.14     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      293 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3478        16.033        .18856E-02   -.11551E-02
   2  Index         2.6713        2.3512        .85828E-02    .11442E-04
   3  Normalizat    .72229        .18350        .34563E-03   -.30920E-05
   4  Prefactor     1.0881        .11354        .17741E-03    .58954E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.34777
  Index      = 2.67135
  Normalizat = 0.722288
  Prefactor  = 1.08809
 **********
 **   18 **HESSE 
 **********

 FCN=   10423.14     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3478        12.777        .75425E-04   -1.5476    
   2  Index         2.6713        2.1238        .34331E-03   -.48446    
   3  Normalizat    .72229        .18367        .13825E-04   -1.0302    
   4  Prefactor     1.0881        .11363        .70965E-05   -.89848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.51314e-09
Minuit parameter uncertainties:
  1  8.30169
  2  2.21523
  3  0.183822
  4  0.11366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888538': 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) = 10423.1422811
delta logL = 0.00582260701776

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.348e+00  8.302e+00  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.671e+00  2.215e+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:  1.088e+00  1.137e-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:  7.223e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/888538/cmap_HighResolution_644457601_644716801_4FGL_J2325.7+1821_daily_bin1563.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2021-09-29 18:54:55.717450', job_id='888538', GAL2='1.09', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1632966895.72', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.82e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1563' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:54:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 888538: <4FGL_J2325.7+1821_daily_bin1563> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1563> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:31 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40:33 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:33 2021
Terminated at Wed Sep 29 18:54:56 2021
Results reported at Wed Sep 29 18:54:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1563 351.436 18.3654 644457601 644716801 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 :                                   847.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            865 sec.

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

