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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1249
RA = 351.436, Dec = 18.3654
tmin = 563068801, tmax = 563328001
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='887120', job_status='RUN', time_executed='2021-09-29 18:39:56.180969', time_epoch_executed='1632965996.18' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887120

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887120/ft1_4FGL_J2325.7+1821_daily_bin1249.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887120/ft2_4FGL_J2325.7+1821_daily_bin1249.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887120/ft1_4FGL_J2325.7+1821_daily_bin1249.fits outfile=/scratch/kocevski/887120/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1249.fits ra=351.436 dec=18.3654 rad=12.0 tmin=563068801.0 tmax=563328001.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.47
user 3.25
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887120/ft1_filtered_4FGL_J2325.7+1821_daily_bin1249.fits" evtable="EVENTS" scfile=/scratch/kocevski/887120/ft2_4FGL_J2325.7+1821_daily_bin1249.fits sctable="SC_DATA" outfile=/scratch/kocevski/887120/ltcube_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.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/887120/ft2_4FGL_J2325.7+1821_daily_bin1249.fits
.....................!
real 12.32
user 11.89
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887120/ft1_filtered_4FGL_J2325.7+1821_daily_bin1249.fits evtable="EVENTS" scfile=/scratch/kocevski/887120/ft2_4FGL_J2325.7+1821_daily_bin1249.fits sctable="SC_DATA" expcube=/scratch/kocevski/887120/ltcube_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.fits outfile=/scratch/kocevski/887120/expmap_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.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/887120/ltcube_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.fits
.....................!
real 189.85
user 185.34
sys 4.16

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/887120/ft1_filtered_4FGL_J2325.7+1821_daily_bin1249.fits scfile=/scratch/kocevski/887120/ft2_4FGL_J2325.7+1821_daily_bin1249.fits outfile=/scratch/kocevski/887120/cmap_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.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/887120/ft1_filtered_4FGL_J2325.7+1821_daily_bin1249.fits scfile=/scratch/kocevski/887120/ft2_4FGL_J2325.7+1821_daily_bin1249.fits outfile=/scratch/kocevski/887120/cmap_HighResolution_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5417       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9402       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22594       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0985       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .84757       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0561       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.703       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.164       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.928       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23373       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55807E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.138       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2580       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94160       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=   6279.525     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     3012 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5400        4.1000        .16418E-03    .34692E-04
   2  Prefactor     .10000E-03    5.0141        .17328E-02** at limit **
   3  Prefactor     .10000E-03    5.9942        .18142E-02** at limit **
   4  norm          3.9439        1.9838        .74258E-04   -.11911E-03
   5  Prefactor     .10000E-03    10.477        .18142E-02** at limit **
   6  Prefactor     .10071        17.254        .63701E-01    .70769E-04
   7  Prefactor     7.0981        10.363        .15056E-03    .22501E-04
   8  Prefactor     .84757        .18727        .15304E-04    .26223E-03
   9  Prefactor     .10000E-03    9.0004        .18142E-02** at limit **
  10  Prefactor     1.0553        3.6898        .28123E-03    .70340E-05
  11  Prefactor     17.698        16.450        .95192E-04    .49205E-04
  12  Prefactor     12.154        25.201        .11486E-03   -.77205E-05
  13  Prefactor     26.918        29.487        .77200E-04    .19733E-04
  14  Prefactor     .26269        53.478        .38280E-02   -.99663E-04
  15  Prefactor     .10172E-03    12.863        .69497E-01** at limit **
  16  Prefactor     .10000E-03    25.380        .18142E-02** at limit **
  17  norm          .10000E-03    4.4030        .16206E-02** at limit **
  18  Prefactor     9.2827        8.1899        .13154E-03   -.90232E-04
  19  Prefactor     14.144        28.058        .10652E-03   -.69584E-04
  20  norm          .10000E-03    8.6135        .18142E-02** at limit **
  21  Prefactor     .10000E-03    6.0447        .18142E-02** at limit **
  22  Normalizat    1.2582        .30596        .32474E-03   -.15208E-03
  23  Prefactor     .94159        .16245        .21003E-03   -.30747E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.53998
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.94387
  Prefactor  = 0.0001
  Prefactor  = 0.100711
  Prefactor  = 7.09807
  Prefactor  = 0.847565
  Prefactor  = 0.0001
  Prefactor  = 1.05528
  Prefactor  = 17.698
  Prefactor  = 12.1536
  Prefactor  = 26.918
  Prefactor  = 0.262691
  Prefactor  = 0.000101722
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.28274
  Prefactor  = 14.1435
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25821
  Prefactor  = 0.941592
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.525     FROM HESSE     STATUS=OK           368 CALLS     3380 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5400        4.0966        .65673E-05   -1.5332    
   2  Prefactor     .10000E-03    5.0141        .34655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.9943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9439        1.9760        .29703E-05   -1.5311    
   5  Prefactor     .10000E-03    10.477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10071        13.038        .75060E-01   -1.5645    
   7  Prefactor     7.0981        10.363        .60225E-05   -1.5175    
   8  Prefactor     .84757        .18726        .61215E-06   -1.5524    
   9  Prefactor     .10000E-03    9.0037        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0553        3.6895        .11249E-04   -1.5503    
  11  Prefactor     17.698        16.438        .38077E-05   -1.4866    
  12  Prefactor     12.154        25.195        .45943E-05   -1.5011    
  13  Prefactor     26.918        29.482        .30880E-05   -1.4670    
  14  Prefactor     .26269        53.069        .15312E-03   -1.5605    
  15  Prefactor     .10172E-03    11.406        .75287E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.384        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.4033        .32412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.2827        8.1862        .52615E-05   -1.5099    
  19  Prefactor     14.144        28.051        .42610E-05   -1.4956    
  20  norm          .10000E-03    8.6139        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.0477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2582        .30286        .12989E-04   -.84823    
  23  Prefactor     .94159        .16244        .42006E-04   -.94703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17968e-10
Minuit parameter uncertainties:
  1  4.09689
  2  2.43923e-06
  3  7.68767e-06
  4  1.97608
  5  7.10536e-06
  6  2.29112
  7  10.3658
  8  0.187262
  9  2.08054e-05
  10  3.69027
  11  16.4425
  12  25.2174
  13  29.4984
  14  7.47279
  15  0.0088644
  16  4.90696e-06
  17  1.07896e-05
  18  8.18717
  19  28.0774
  20  4.51364e-06
  21  7.71023e-06
  22  0.303285
  23  0.162524
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  4.907e-06  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.416e-01  1.625e-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.258e+00  3.033e-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: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887120/likelihoodResults_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6279.52539202
delta logL = -0.00018773285683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6279.52520516
delta logL = -8.76469130162e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10590E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7851       1.0000          .0000       10.000    
     3 'Normalizat'    1.2582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94159       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=   6279.525     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      279 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10271E-03    4.4974        .18142E-01** at limit **
   2  Index         2.7040        5.7281        .50000        .12343E-04
   3  Normalizat    1.2582        .29623E-02    .32474E-03   -.89202E-04
   4  Prefactor     .94159        .16956E-02    .21003E-03   -.14349E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102712
  Index      = 2.70401
  Normalizat = 1.25821
  Prefactor  = 0.941593
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.525     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10271E-03    387.59        .68542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7040        6.2236        .50000       -.47709    
   3  Normalizat    1.2582        .27631E-01    .12990E-04   -.84823    
   4  Prefactor     .94159        .15816E-01    .42006E-04   -.94703    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.69364e-08
Minuit parameter uncertainties:
  1  0.065269
  2  611.719
  3  0.027631
  4  0.0158157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887120': 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) = 6279.52520483
delta logL = -5.39615029993e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.027e-04  6.527e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.704e+00  6.117e+02  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.416e-01  1.582e-02  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.258e+00  2.763e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/887120/cmap_HighResolution_563068801_563328001_4FGL_J2325.7+1821_daily_bin1249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-29 18:51:22.298892', job_id='887120', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1632966682.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-5.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1249' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:51:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 887120: <4FGL_J2325.7+1821_daily_bin1249> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1249> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:47 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:49 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:35:49 2021
Terminated at Wed Sep 29 18:51:22 2021
Results reported at Wed Sep 29 18:51:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1249 351.436 18.3654 563068801 563328001 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 :                                   683.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

