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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1363
RA = 351.436, Dec = 18.3654
tmin = 592617601, tmax = 592876801
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='887297', job_status='RUN', time_executed='2021-09-29 18:38:15.434229', time_epoch_executed='1632965895.43' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887297

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887297/ft1_4FGL_J2325.7+1821_daily_bin1363.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887297/ft1_4FGL_J2325.7+1821_daily_bin1363.fits outfile=/scratch/kocevski/887297/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1363.fits ra=351.436 dec=18.3654 rad=12.0 tmin=592617601.0 tmax=592876801.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.51
user 3.26
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.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/887297/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1363.fits evtable="EVENTS" outfile="/scratch/kocevski/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.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/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.fits" evtable="EVENTS" scfile=/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits sctable="SC_DATA" outfile=/scratch/kocevski/887297/ltcube_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.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/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits
.....................!
real 11.90
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits sctable="SC_DATA" expcube=/scratch/kocevski/887297/ltcube_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.fits outfile=/scratch/kocevski/887297/expmap_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.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/887297/ltcube_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.fits
.....................!
real 189.87
user 185.01
sys 4.50

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/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.fits scfile=/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits outfile=/scratch/kocevski/887297/cmap_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.fits scfile=/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits outfile=/scratch/kocevski/887297/cmap_HighResolution_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.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/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/887297/ft2_4FGL_J2325.7+1821_daily_bin1363.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887297/Model_4FGL_J2325.7+1821_daily_bin1363.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/887297/ft1_filtered_4FGL_J2325.7+1821_daily_bin1363.fits.....................!
real 78.44
user 77.00
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63270E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0247       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.709       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24948       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .80460       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.678       1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.070       1.0000         .10000E-03   10000.    
    17 'norm      '    .11081E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0615       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.592       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88946       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0563       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=   7109.667     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2558 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4139       -.65964E-07** at limit **
   2  Prefactor     .10000E-03    5.5948        .29069E-06** at limit **
   3  Prefactor     7.0243        12.409        .26484E-05   -.30994E-03
   4  norm          1.2972        1.7264        .94308E-07   -.10402E-03
   5  Prefactor     .10000E-03    17.390       -.73413E-07** at limit **
   6  Prefactor     50.709        16.373        .63438E-07    .41863E-04
   7  Prefactor     .10000E-03    4.8846       -.21322E-06** at limit **
   8  Prefactor     .24947        .13924        .64004E-08   -.96183E-05
   9  Prefactor     .10000E-03    2.9302        .27015E-07** at limit **
  10  Prefactor     .10000E-03    9.1887       -.11112E-05** at limit **
  11  Prefactor     .81343        8.4332        .26078E-06   -.87053E-04
  12  Prefactor     .10000E-03    6.8494        .27384E-07** at limit **
  13  Prefactor     .10000E-03    11.357        .13152E-05** at limit **
  14  Prefactor     .10000E-03    3.2006        .52991E-06** at limit **
  15  Prefactor     12.678        11.852        .27901E-06    .57625E-04
  16  Prefactor     25.070        19.081        .26721E-06    .43464E-04
  17  norm          .10000E-03    17.234       -.52957E-06** at limit **
  18  Prefactor     4.0609        7.4816        .33823E-06   -.38690E-04
  19  Prefactor     29.586        28.073       -.16254E-05   -.23461E-03
  20  norm          .10000E-03    5.0994       -.74156E-07** at limit **
  21  Prefactor     .10000E-03    3.1801       -.46893E-06** at limit **
  22  Normalizat    .88942        .21407       -.42565E-06    .13285E-04
  23  Prefactor     1.0564        .12165       -.84826E-07    .14255E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.0243
  norm       = 1.2972
  Prefactor  = 0.0001
  Prefactor  = 50.709
  Prefactor  = 0.0001
  Prefactor  = 0.249467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.813433
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 12.6778
  Prefactor  = 25.0701
  norm       = 0.0001
  Prefactor  = 4.06086
  Prefactor  = 29.5858
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.889416
  Prefactor  = 1.05636
 **********
 **   18 **HESSE 
 **********

 FCN=   7109.667     FROM HESSE     STATUS=OK           366 CALLS     2924 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4769        .18996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0243        13.238        .75680E-03   -1.5178    
   4  norm          1.2972        1.6944        .12208E-03   -1.5480    
   5  Prefactor     .10000E-03    17.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     50.709        16.311        .56318E-04   -1.4283    
   7  Prefactor     .10000E-03    4.8947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24947        .13621        .22399E-04   -1.5608    
   9  Prefactor     .10000E-03    2.9330        .14096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.6930        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .81343        34.002        .46800E-02   -1.5528    
  12  Prefactor     .10000E-03    6.8650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2842        .14816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.678        11.855        .11250E-03   -1.4996    
  16  Prefactor     25.070        19.076        .80005E-04   -1.4706    
  17  norm          .10000E-03    17.566        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0609        7.4421        .20007E-03   -1.5305    
  19  Prefactor     29.586        29.263        .73651E-04   -1.4620    
  20  norm          .10000E-03    5.1074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2404        .14788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88942        .24413        .34027E-03   -.96833    
  23  Prefactor     1.0564        .14109        .18739E-03   -.90874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74721e-08
Minuit parameter uncertainties:
  1  0.000111146
  2  2.81805e-05
  3  13.2431
  4  1.69446
  5  1.31907e-05
  6  16.3125
  7  1.9724e-05
  8  0.136213
  9  1.44573e-06
  10  0.00011418
  11  10.524
  12  1.64333e-06
  13  0.000187727
  14  3.55059e-05
  15  11.8575
  16  19.0803
  17  3.22676e-05
  18  7.44378
  19  29.277
  20  7.16407e-06
  21  3.59553e-05
  22  0.244431
  23  0.141144
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.507e+01  1.908e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.056e+00  1.411e-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.894e-01  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.98
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.30e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.27e-05

TS (Fixed Index): 2.98
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887297/likelihoodResults_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.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) = 7109.54953256
delta logL = 0.117860209913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7109.5493408
delta logL = 0.118051976151

Fit tolerance = 1e-08

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

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

 FCN=   7109.549     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      249 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.744        672.21        .17500E-02    .43722E-05
   2  Index         2.1860        6.0865        .19047        .67397E-04
   3  Normalizat    .89785        .97551E-01    .76545E-01    .25840E-04
   4  Prefactor     1.0523        .53052E-01    .39774E-01   -.33994E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7437
  Index      = 2.18603
  Normalizat = 0.897854
  Prefactor  = 1.05235
 **********
 **   18 **HESSE 
 **********

 FCN=   7109.549     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.744        28.052        .69998E-04   -1.4563    
   2  Index         2.1860        .48966        .68959E-02   -.59776    
   3  Normalizat    .89785        .23513        .33878E-03   -.96536    
   4  Prefactor     1.0523        .14053        .18768E-03   -.91004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02924e-09
Minuit parameter uncertainties:
  1  28.0633
  2  0.490812
  3  0.235404
  4  0.140575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887297': 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) = 7109.54934032
delta logL = 0.118052448621

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.274e+01  2.806e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.186e+00  4.908e-01  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.052e+00  1.406e-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.979e-01  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.21
Ra Dec: 351.436 18.365
Photon Index (Free Index): 2.19 +/- 0.49
Photon Flux (Free Index): 4.69e-08 +/- 3.82e-08
Energy Flux (Free Index): 2.16e-05 +/- 2.08e-05

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/887297/cmap_HighResolution_592617601_592876801_4FGL_J2325.7+1821_daily_bin1363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='5.30e-08', energy_flux2='2.16e-05', photon_flux_error='4.03e-08', dlogl='1.18e-01', energy_flux='1.67e-05', photon_flux2='4.69e-08', job_status='DONE', time_completed='2021-09-29 18:49:48.830719', photon_index_error2='0.49', photon_index2='2.19', ts='2.98', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='2.08e-05', EG='0.89', time_epoch_completed='1632966588.83', return_code='0', job_id='887297', GAL2='1.05', EG2='0.90', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.82e-08', ts2='3.21', photon_index='2.43' WHERE bin_id='1363' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:49:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 887297: <4FGL_J2325.7+1821_daily_bin1363> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1363 351.436 18.3654 592617601 592876801 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            828 sec.

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

