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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1258
RA = 351.436, Dec = 18.3654
tmin = 565401601, tmax = 565660801
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='887134', job_status='RUN', time_executed='2021-09-29 18:38:52.449797', time_epoch_executed='1632965932.45' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1258'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887134

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887134/ft1_4FGL_J2325.7+1821_daily_bin1258.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887134/ft1_4FGL_J2325.7+1821_daily_bin1258.fits outfile=/scratch/kocevski/887134/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1258.fits ra=351.436 dec=18.3654 rad=12.0 tmin=565401601.0 tmax=565660801.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.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887134/ft1_filtered_4FGL_J2325.7+1821_daily_bin1258.fits" evtable="EVENTS" scfile=/scratch/kocevski/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits sctable="SC_DATA" outfile=/scratch/kocevski/887134/ltcube_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.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/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits
.....................!
real 11.79
user 11.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887134/ft1_filtered_4FGL_J2325.7+1821_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits sctable="SC_DATA" expcube=/scratch/kocevski/887134/ltcube_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.fits outfile=/scratch/kocevski/887134/expmap_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.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/887134/ltcube_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.fits
.....................!
real 189.74
user 185.24
sys 4.09

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/887134/ft1_filtered_4FGL_J2325.7+1821_daily_bin1258.fits scfile=/scratch/kocevski/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits outfile=/scratch/kocevski/887134/cmap_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887134/ft1_filtered_4FGL_J2325.7+1821_daily_bin1258.fits scfile=/scratch/kocevski/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits outfile=/scratch/kocevski/887134/cmap_HighResolution_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887134/ft1_filtered_4FGL_J2325.7+1821_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/887134/ft2_4FGL_J2325.7+1821_daily_bin1258.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887134/Model_4FGL_J2325.7+1821_daily_bin1258.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/887134/ft1_filtered_4FGL_J2325.7+1821_daily_bin1258.fits.....................!
real 91.61
user 90.19
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9821       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.0002       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0704       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.164       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .52471       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0709       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.102       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7820       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .60181E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5278       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.059       1.0000         .10000E-03   10000.    
    20 'norm      '    20.091       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0862       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0506       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=   8048.207     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2566 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9816        3.6527        .72793E-07   -.31639E-04
   2  Prefactor     6.9990        10.215       -.23546E-07   -.23018E-04
   3  Prefactor     .10000E-03    3.8816        .16991E-06** at limit **
   4  norm          1.0702        1.1142       -.15234E-07   -.41888E-04
   5  Prefactor     24.136        37.168        .35963E-05    .11572E-03
   6  Prefactor     .10000E-03    14.906       -.31939E-07** at limit **
   7  Prefactor     .10000E-03    6.4326       -.12303E-05** at limit **
   8  Prefactor     .52477        .19228       -.46375E-07    .12986E-02
   9  Prefactor     .10000E-03    24.123       -.18336E-06** at limit **
  10  Prefactor     3.0694        6.9269        .41323E-05   -.26837E-03
  11  Prefactor     13.103        14.093        .21684E-07    .85275E-05
  12  Prefactor     6.7285        25.518        .48578E-06    .11148E-05
  13  Prefactor     .10000E-03    8.8295       -.21117E-06** at limit **
  14  Prefactor     .10000E-03    3.9500       -.21658E-06** at limit **
  15  Prefactor     .10000E-03    3.4127        .15308E-06** at limit **
  16  Prefactor     .10000E-03    6.6609        .12596E-05** at limit **
  17  norm          .10003E-03    4.3558        .45818E-06** at limit **
  18  Prefactor     5.5351        5.2514       -.26181E-06   -.31061E-03
  19  Prefactor     23.072        24.047       -.17932E-05   -.20359E-03
  20  norm          20.091        12.144        .33042E-08   -.21557E-04
  21  Prefactor     .10000E-03    4.5711        .58776E-07** at limit **
  22  Normalizat    1.0861        .21934       -.59575E-06   -.10982E-03
  23  Prefactor     1.0508        .12555       -.16967E-06   -.73559E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.98157
  Prefactor  = 6.99897
  Prefactor  = 0.0001
  norm       = 1.07023
  Prefactor  = 24.1361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.524771
  Prefactor  = 0.0001
  Prefactor  = 3.06939
  Prefactor  = 13.1025
  Prefactor  = 6.72848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100028
  Prefactor  = 5.53508
  Prefactor  = 23.0722
  norm       = 20.0905
  Prefactor  = 0.0001
  Normalizat = 1.08607
  Prefactor  = 1.05076
 **********
 **   18 **HESSE 
 **********

 FCN=   8048.207     FROM HESSE     STATUS=OK           376 CALLS     2942 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9816        3.6501        .12399E-03   -1.5219    
   2  Prefactor     6.9990        10.194        .15163E-03   -1.5179    
   3  Prefactor     .10000E-03    3.8872        .17260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0702        1.1291        .94095E-04   -1.5501    
   5  Prefactor     24.136        37.293        .81489E-04   -1.4725    
   6  Prefactor     .10000E-03    15.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .52477        .19130        .21447E-04   -1.5563    
   9  Prefactor     .10000E-03    24.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.0694        6.9821        .11574E-02   -1.5358    
  11  Prefactor     13.103        14.099        .11066E-03   -1.4984    
  12  Prefactor     6.7285        25.514        .15407E-03   -1.5189    
  13  Prefactor     .10000E-03    8.8372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9979        .17403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.4217        .16188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.6774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10003E-03    5.0795        .59195E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.5351        5.2615        .17089E-03   -1.5237    
  19  Prefactor     23.072        24.218        .83415E-04   -1.4747    
  20  norm          20.091        12.145        .89358E-04   -1.4811    
  21  Prefactor     .10000E-03    4.6356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0861        .25745        .33994E-03   -.90200    
  23  Prefactor     1.0508        .14820        .20087E-03   -.91056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98276e-10
Minuit parameter uncertainties:
  1  3.65023
  2  10.1961
  3  6.74834e-06
  4  1.12914
  5  37.3287
  6  1.76315e-05
  7  6.52739e-05
  8  0.191301
  9  1.93279e-05
  10  6.984
  11  14.1021
  12  25.5549
  13  1.17045e-05
  14  8.40244e-06
  15  1.50934e-05
  16  6.10702e-05
  17  0.000747808
  18  5.26189
  19  24.2284
  20  12.1469
  21  6.14889e-07
  22  0.257746
  23  0.148257
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  6.107e-05  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.051e+00  1.483e-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.086e+00  2.577e-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: 6.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887134/likelihoodResults_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.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) = 8048.20744289
delta logL = -0.000712853146979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8048.20673161
delta logL = -1.57967315317e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12937E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3921       1.0000          .0000       10.000    
     3 'Normalizat'    1.0861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0507       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=   8048.207     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      273 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4910        .12383    ** at limit **
   2  Index         1.4835        7.4762        .50000        .47701E-06
   3  Normalizat    1.0861        .31430E-02    .33994E-03    .19854E-02
   4  Prefactor     1.0508        .18418E-02    .20087E-03    .34103E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.48353
  Normalizat = 1.08608
  Prefactor  = 1.05076
 **********
 **   18 **HESSE 
 **********

 FCN=   8048.207     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      304 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    269.94        .63345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4835        5.9877        .50000       -.78002    
   3  Normalizat    1.0861        .13795E-01    .67989E-04   -.90200    
   4  Prefactor     1.0508        .80834E-02    .40173E-04   -.91056    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.00261e-09
Minuit parameter uncertainties:
  1  0.000153947
  2  333.344
  3  0.0137946
  4  0.00808341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887134': 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) = 8048.20672374
delta logL = 6.29556780041e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.539e-04  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.484e+00  3.333e+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:  1.051e+00  8.083e-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.086e+00  1.379e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/887134/cmap_HighResolution_565401601_565660801_4FGL_J2325.7+1821_daily_bin1258.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.62e-08', time_completed='2021-09-29 18:51:35.944323', job_id='887134', GAL2='1.05', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632966695.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.30e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1258' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:51:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 887134: <4FGL_J2325.7+1821_daily_bin1258> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1258 351.436 18.3654 565401601 565660801 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 :                                   757.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            948 sec.

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

