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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin620
RA = 351.436, Dec = 18.3654
tmin = 400032001, tmax = 400291201
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='884657', job_status='RUN', time_executed='2021-09-29 18:26:29.925978', time_epoch_executed='1632965189.93' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884657/ft1_4FGL_J2325.7+1821_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884657/ft2_4FGL_J2325.7+1821_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884657/ft1_4FGL_J2325.7+1821_daily_bin620.fits outfile=/scratch/kocevski/884657/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin620.fits ra=351.436 dec=18.3654 rad=12.0 tmin=400032001.0 tmax=400291201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.35
user 4.12
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884657/ft1_filtered_4FGL_J2325.7+1821_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/884657/ft2_4FGL_J2325.7+1821_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/884657/ltcube_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.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/884657/ft2_4FGL_J2325.7+1821_daily_bin620.fits
.....................!
real 11.71
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884657/ft1_filtered_4FGL_J2325.7+1821_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/884657/ft2_4FGL_J2325.7+1821_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/884657/ltcube_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.fits outfile=/scratch/kocevski/884657/expmap_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.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/884657/ltcube_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.fits
.....................!
real 190.54
user 185.17
sys 5.06

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/884657/ft1_filtered_4FGL_J2325.7+1821_daily_bin620.fits scfile=/scratch/kocevski/884657/ft2_4FGL_J2325.7+1821_daily_bin620.fits outfile=/scratch/kocevski/884657/cmap_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884657/ft1_filtered_4FGL_J2325.7+1821_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/884657/ft2_4FGL_J2325.7+1821_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884657/Model_4FGL_J2325.7+1821_daily_bin620.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/884657/ft1_filtered_4FGL_J2325.7+1821_daily_bin620.fits.....................!
real 84.72
user 83.29
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6304       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9393       1.0000         .10000E-03   10000.    
     4 'norm      '    2.8899       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6706       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8487       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5424       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3851       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.248       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    16.005       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15041E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18151E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    3.4301       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80738       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0294       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=   7319.290     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2200 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6304        2.9615       -.36047E-07   -.11740E-03
   2  Prefactor     .10000E-03    5.5983       -.16914E-07** at limit **
   3  Prefactor     8.9404        8.4004       -.10841E-06   -.14442E-05
   4  norm          2.8900        1.7497       -.56578E-08    .83542E-05
   5  Prefactor     .10000E-03    29.777       -.57298E-06** at limit **
   6  Prefactor     2.6679        7.9897       -.16621E-06   -.52504E-03
   7  Prefactor     6.8483        12.631       -.52767E-08   -.91922E-04
   8  Prefactor     1.7702        .24205       -.74737E-08    .30295E-03
   9  Prefactor     .10000E-03    7.9423       -.40700E-07** at limit **
  10  Prefactor     3.5414        5.9758        .47024E-06   -.76659E-03
  11  Prefactor     .10000E-03    15.016       -.72899E-05** at limit **
  12  Prefactor     .10000E-03    30.737        .50339E-05** at limit **
  13  Prefactor     1.3871        76.796       -.39548E-05   -.15264E-04
  14  Prefactor     11.246        8.3070       -.21865E-06    .78248E-04
  15  Prefactor     .10000E-03    13.066        .13464E-05** at limit **
  16  Prefactor     .10000E-03    27.436       -.47997E-05** at limit **
  17  norm          16.013        9.6313       -.11237E-05   -.42154E-03
  18  Prefactor     .10000E-03    15.087        .68011E-05** at limit **
  19  Prefactor     .10010E-03    22.527       -.53770E-07** at limit **
  20  norm          3.4296        11.141       -.12191E-06   -.30975E-04
  21  Prefactor     .10000E-03    2.2379       -.93249E-08** at limit **
  22  Normalizat    .80742        .20777        .41032E-06   -.57619E-04
  23  Prefactor     1.0294        .12093        .63884E-07   -.56518E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.63041
  Prefactor  = 0.0001
  Prefactor  = 8.94043
  norm       = 2.89002
  Prefactor  = 0.0001
  Prefactor  = 2.6679
  Prefactor  = 6.84826
  Prefactor  = 1.77024
  Prefactor  = 0.0001
  Prefactor  = 3.5414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.38713
  Prefactor  = 11.2457
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.0128
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  norm       = 3.42958
  Prefactor  = 0.0001
  Normalizat = 0.807418
  Prefactor  = 1.02945
 **********
 **   18 **HESSE 
 **********

 FCN=   7319.290     FROM HESSE     STATUS=OK           374 CALLS     2574 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6304        2.9577        .18645E-03   -1.5453    
   2  Prefactor     .10000E-03    5.6135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.9404        8.3943        .13406E-03   -1.5110    
   4  norm          2.8900        1.7746        .83861E-04   -1.5368    
   5  Prefactor     .10000E-03    29.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6679        12.419        .12469E-02   -1.5381    
   7  Prefactor     6.8483        12.681        .76655E-03   -1.5185    
   8  Prefactor     1.7702        .24379        .14722E-04   -1.5442    
   9  Prefactor     .10000E-03    8.0047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5414        7.7633        .10738E-02   -1.5332    
  11  Prefactor     .10000E-03    14.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3871        78.821        .36956E-03   -1.5472    
  14  Prefactor     11.246        8.2958        .11945E-03   -1.5037    
  15  Prefactor     .10000E-03    13.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.013        9.5825        .10011E-03   -1.4907    
  18  Prefactor     .10000E-03    15.717        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10010E-03    200.76        .76235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.4296        11.136        .21840E-03   -1.5338    
  21  Prefactor     .10000E-03    2.2475        .12497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .80742        .23841        .35214E-03   -.99794    
  23  Prefactor     1.0294        .13966        .19097E-03   -.91754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99217e-09
Minuit parameter uncertainties:
  1  2.95796
  2  7.08588e-08
  3  8.39539
  4  1.77465
  5  2.09077e-06
  6  11.516
  7  12.6864
  8  0.243788
  9  2.92081e-06
  10  7.76555
  11  3.02791e-05
  12  1.54625e-05
  13  20.941
  14  8.29667
  15  3.47784e-05
  16  1.68303e-05
  17  9.58343
  18  5.00284e-05
  19  0.00898247
  20  11.1425
  21  5.98607e-07
  22  0.23872
  23  0.139712
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.683e-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.029e+00  1.397e-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:  8.074e-01  2.387e-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: 9.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884657/likelihoodResults_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.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) = 7319.29023264
delta logL = -0.000172999606548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7319.22276909
delta logL = 0.067290546629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85916       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7830       1.0000          .0000       10.000    
     3 'Normalizat'    .78203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0374       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7319.223     FROM MIGRAD    STATUS=FAILED        93 CALLS      326 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85822        303.38        .20064E-03   -.11309E-03
   2  Index         3.7839        7.2905        .10626E-01    .28920E-03
   3  Normalizat    .78207        .20247        .35723E-03   -.17217E-04
   4  Prefactor     1.0374        .12192        .19028E-03   -.77312E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7319.223     FROM SIMPLEX   STATUS=UNCHANGED     95 CALLS      421 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85822        303.38        .31419E-03   -.11309E-03
   2  Index         3.7839        7.2905        .30345E-02    .28920E-03
   3  Normalizat    .78207        .20247        .13166E-03   -.17217E-04
   4  Prefactor     1.0374        .12192        .78162E-04   -.77312E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7319.223     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      454 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85822        8.6133        .80258E-05   -.11530E-03
   2  Index         3.7839        2.7722        .21253E-02   -.11613E-04
   3  Normalizat    .78207        .23630        .14289E-04   -.17185E-04
   4  Prefactor     1.0374        .13989        .38057E-04   -.77073E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.858222
  Index      = 3.78388
  Normalizat = 0.782069
  Prefactor  = 1.03741
 **********
 **   18 **HESSE 
 **********

 FCN=   7319.223     FROM HESSE     STATUS=OK            23 CALLS      477 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85822        6.7847        .16052E-05   -1.5523    
   2  Index         3.7839        2.4916        .85012E-04   -.24569    
   3  Normalizat    .78207        .23638        .28578E-05   -1.0074    
   4  Prefactor     1.0374        .13991        .76113E-05   -.91493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81464e-12
Minuit parameter uncertainties:
  1  4.82657
  2  2.61669
  3  0.236691
  4  0.139961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884657': 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) = 7319.22276899
delta logL = 0.0672906522068

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  8.582e-01  4.827e+00  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  3.784e+00  2.617e+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.037e+00  1.400e-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.821e-01  2.367e-01  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/884657/cmap_HighResolution_400032001_400291201_4FGL_J2325.7+1821_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', job_status='DONE', photon_flux_upper_limit='9.36e-08', time_completed='2021-09-29 18:38:19.060203', job_id='884657', GAL2='1.04', fit_tolerance='1e-08', EG2='0.78', EG='0.81', time_epoch_completed='1632965899.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.73e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='620' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:38:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 884657: <4FGL_J2325.7+1821_daily_bin620> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin620> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:26:16 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:26:17 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:26:17 2021
Terminated at Wed Sep 29 18:38:19 2021
Results reported at Wed Sep 29 18:38:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin620 351.436 18.3654 400032001 400291201 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 :                                   702.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            723 sec.

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

