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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1431
RA = 351.436, Dec = 18.3654
tmin = 610243201, tmax = 610502401
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='888335', job_status='RUN', time_executed='2021-09-29 18:44:08.881401', time_epoch_executed='1632966248.88' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888335

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888335/ft1_4FGL_J2325.7+1821_daily_bin1431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888335/ft2_4FGL_J2325.7+1821_daily_bin1431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888335/ft1_4FGL_J2325.7+1821_daily_bin1431.fits outfile=/scratch/kocevski/888335/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1431.fits ra=351.436 dec=18.3654 rad=12.0 tmin=610243201.0 tmax=610502401.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.92
user 3.69
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888335/ft1_filtered_4FGL_J2325.7+1821_daily_bin1431.fits" evtable="EVENTS" scfile=/scratch/kocevski/888335/ft2_4FGL_J2325.7+1821_daily_bin1431.fits sctable="SC_DATA" outfile=/scratch/kocevski/888335/ltcube_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.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/888335/ft2_4FGL_J2325.7+1821_daily_bin1431.fits
.....................!
real 12.32
user 11.96
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888335/ft1_filtered_4FGL_J2325.7+1821_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/888335/ft2_4FGL_J2325.7+1821_daily_bin1431.fits sctable="SC_DATA" expcube=/scratch/kocevski/888335/ltcube_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.fits outfile=/scratch/kocevski/888335/expmap_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.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/888335/ltcube_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.fits
.....................!
real 193.43
user 187.19
sys 5.41

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/888335/ft1_filtered_4FGL_J2325.7+1821_daily_bin1431.fits scfile=/scratch/kocevski/888335/ft2_4FGL_J2325.7+1821_daily_bin1431.fits outfile=/scratch/kocevski/888335/cmap_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888335/ft1_filtered_4FGL_J2325.7+1821_daily_bin1431.fits scfile=/scratch/kocevski/888335/ft2_4FGL_J2325.7+1821_daily_bin1431.fits outfile=/scratch/kocevski/888335/cmap_HighResolution_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9503       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .60235E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.196       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25113       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3950       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.4170       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3582       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9719       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.353       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.3751       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11493E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .60017       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2260       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=   7197.976     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2194 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9501        2.6791        .82613E-07   -.66738E-04
   2  Prefactor     .10000E-03    4.5952        .79249E-07** at limit **
   3  Prefactor     .10000E-03    8.1589        .24007E-06** at limit **
   4  norm          1.5310        1.3656       -.12098E-07   -.72875E-06
   5  Prefactor     .10000E-03    9.1310        .39783E-06** at limit **
   6  Prefactor     15.196        9.2873        .33133E-06    .16557E-04
   7  Prefactor     .10000E-03    5.6120        .26866E-06** at limit **
   8  Prefactor     .25111        .12552        .62813E-08   -.17292E-03
   9  Prefactor     .10000E-03    2.1750        .67977E-07** at limit **
  10  Prefactor     .10000E-03    5.8852       -.36221E-06** at limit **
  11  Prefactor     6.3937        13.775        .14324E-05    .39166E-05
  12  Prefactor     .10000E-03    4.7032        .12978E-08** at limit **
  13  Prefactor     6.4136        13.790        .13580E-05    .91174E-05
  14  Prefactor     6.3612        2.3776        .98473E-07   -.12781E-02
  15  Prefactor     3.9712        10.137        .32234E-07   -.36144E-04
  16  Prefactor     .10000E-03    30.464       -.19034E-06** at limit **
  17  norm          14.356        10.294        .12467E-05    .48419E-04
  18  Prefactor     .10000E-03    10.915        .70831E-08** at limit **
  19  Prefactor     .10000E-03    7.5827        .55002E-06** at limit **
  20  norm          7.3754        8.9665        .32336E-06    .13295E-04
  21  Prefactor     .10000E-03    3.3359       -.27426E-06** at limit **
  22  Normalizat    .60010        .21249       -.15724E-05   -.27127E-05
  23  Prefactor     1.2261        .12682        .18343E-06   -.12716E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.95007
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.53101
  Prefactor  = 0.0001
  Prefactor  = 15.1965
  Prefactor  = 0.0001
  Prefactor  = 0.251107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.39373
  Prefactor  = 0.0001
  Prefactor  = 6.41357
  Prefactor  = 6.36118
  Prefactor  = 3.97123
  Prefactor  = 0.0001
  norm       = 14.3557
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.37538
  Prefactor  = 0.000100001
  Normalizat = 0.600104
  Prefactor  = 1.22606
 **********
 **   18 **HESSE 
 **********

 FCN=   7197.976     FROM HESSE     STATUS=OK           382 CALLS     2576 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9501        2.6747        .10865E-03   -1.5310    
   2  Prefactor     .10000E-03    4.6056        .17756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.456        .76569E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5310        1.3669        .90220E-04   -1.5460    
   5  Prefactor     .10000E-03    9.1371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.196        9.2813        .10274E-03   -1.4928    
   7  Prefactor     .10000E-03    5.6156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .25111        .12350        .20345E-04   -1.5608    
   9  Prefactor     .10000E-03    2.1772        .12220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3937        13.758        .15872E-03   -1.5202    
  12  Prefactor     .10000E-03    4.7068        .17969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4136        13.797        .15844E-03   -1.5201    
  14  Prefactor     6.3612        5.9956        .79590E-03   -1.5203    
  15  Prefactor     3.9712        10.084        .20238E-03   -1.5309    
  16  Prefactor     .10000E-03    31.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.356        10.262        .10572E-03   -1.4950    
  18  Prefactor     .10000E-03    11.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.5710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.3754        8.9659        .14769E-03   -1.5165    
  21  Prefactor     .10000E-03    8.5686        .29812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .60010        .23146        .38802E-03   -1.0798    
  23  Prefactor     1.2261        .13986        .17539E-03   -.85533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07283e-09
Minuit parameter uncertainties:
  1  2.67476
  2  1.65224e-06
  3  0.000233405
  4  1.36698
  5  4.72398e-06
  6  9.28214
  7  2.19762e-06
  8  0.123504
  9  6.88698e-07
  10  2.81292e-06
  11  13.7646
  12  9.75087e-07
  13  13.8043
  14  5.99614
  15  10.0887
  16  3.44324e-05
  17  10.2634
  18  0.00013161
  19  1.83558e-06
  20  8.96756
  21  0.000190635
  22  0.231832
  23  0.1399
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  3.443e-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.226e+00  1.399e-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:  6.001e-01  2.318e-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: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888335/likelihoodResults_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.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) = 7197.97664824
delta logL = -0.00015364662795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7197.97649592
delta logL = -1.32977220346e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13103E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5895       1.0000          .0000       10.000    
     3 'Normalizat'    .60010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2261       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=   7197.976     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      298 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10308E-03    .25546        .12441    ** at limit **
   2  Index         2.5021        8.2485        .50000        .17393E-04
   3  Normalizat    .60010        .89860E-03    .38802E-03    .66538E-04
   4  Prefactor     1.2261        .56728E-03    .17539E-03    .16747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103083
  Index      = 2.50207
  Normalizat = 0.600104
  Prefactor  = 1.22606
 **********
 **   18 **HESSE 
 **********

 FCN=   7197.976     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      329 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10308E-03    43.859        .45804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5021        5.9257        .50000       -.52312    
   3  Normalizat    .60010        .62802E-02    .15521E-04   -1.0798    
   4  Prefactor     1.2261        .39647E-02    .35078E-04   -.85533    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.71357e-10
Minuit parameter uncertainties:
  1  0.0232723
  2  107.154
  3  0.00628024
  4  0.00396467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888335': 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) = 7197.97649488
delta logL = -2.90804564429e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.031e-04  2.327e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.502e+00  1.072e+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.226e+00  3.965e-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:  6.001e-01  6.280e-03  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/888335/cmap_HighResolution_610243201_610502401_4FGL_J2325.7+1821_daily_bin1431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2021-09-29 18:55:37.022891', job_id='888335', GAL2='1.23', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1632966937.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='-2.91e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1431' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:55:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 888335: <4FGL_J2325.7+1821_daily_bin1431> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1431> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:14 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:40:15 2021
Terminated at Wed Sep 29 18:55:37 2021
Results reported at Wed Sep 29 18:55:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1431 351.436 18.3654 610243201 610502401 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 :                                   678.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            923 sec.

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

