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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1356
RA = 351.436, Dec = 18.3654
tmin = 590803201, tmax = 591062401
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='887286', job_status='RUN', time_executed='2021-09-29 18:39:29.650486', time_epoch_executed='1632965969.65' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887286

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887286/ft1_4FGL_J2325.7+1821_daily_bin1356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887286/ft1_4FGL_J2325.7+1821_daily_bin1356.fits outfile=/scratch/kocevski/887286/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1356.fits ra=351.436 dec=18.3654 rad=12.0 tmin=590803201.0 tmax=591062401.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 5.48
user 5.23
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.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/887286/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1356.fits evtable="EVENTS" outfile="/scratch/kocevski/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.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/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.fits" evtable="EVENTS" scfile=/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits sctable="SC_DATA" outfile=/scratch/kocevski/887286/ltcube_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.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/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits
.....................!
real 11.70
user 11.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.fits evtable="EVENTS" scfile=/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits sctable="SC_DATA" expcube=/scratch/kocevski/887286/ltcube_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.fits outfile=/scratch/kocevski/887286/expmap_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.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/887286/ltcube_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.fits
.....................!
real 191.15
user 186.80
sys 4.03

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/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.fits scfile=/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits outfile=/scratch/kocevski/887286/cmap_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.fits scfile=/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits outfile=/scratch/kocevski/887286/cmap_HighResolution_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.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.53
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.fits', '/scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits', expMap='/scratch/kocevski/887286/expmap_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.fits', expCube='/scratch/kocevski/887286/ltcube_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887286/Model_4FGL_J2325.7+1821_daily_bin1356.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/887286/ft1_filtered_4FGL_J2325.7+1821_daily_bin1356.fits
Spacecraft file(s): /scratch/kocevski/887286/ft2_4FGL_J2325.7+1821_daily_bin1356.fits
Exposure map: /scratch/kocevski/887286/expmap_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.fits
Exposure cube: /scratch/kocevski/887286/ltcube_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887286/Model_4FGL_J2325.7+1821_daily_bin1356.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7568.55818997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64903       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8839       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5891       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.002       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.096       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .72988       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1962       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4876       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5784       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29805E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9915       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .60906E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.945       1.0000         .10000E-03   10000.    
    17 'norm      '    12.303       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.6858       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10714E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.8383       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1739       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93460       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=   7568.328     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2238 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64891        2.0181       -.47858E-06   -.16017E-02
   2  Prefactor     .10000E-03    3.5851       -.83939E-07** at limit **
   3  Prefactor     .10000E-03    16.505       -.26519E-05** at limit **
   4  norm          1.8839        1.6388        .51921E-06    .17870E-03
   5  Prefactor     2.5812        20.777        .12436E-04   -.92769E-04
   6  Prefactor     31.013        13.212       -.45485E-05   -.49000E-04
   7  Prefactor     28.071        21.094        .79402E-06   -.25488E-04
   8  Prefactor     .72994        .17238       -.37405E-07   -.67812E-03
   9  Prefactor     .10000E-03    6.3430        .24123E-06** at limit **
  10  Prefactor     3.1962        7.3537        .85215E-06   -.39385E-03
  11  Prefactor     5.4876        10.670       -.16310E-06   -.12070E-03
  12  Prefactor     5.5779        16.873       -.46976E-06   -.16504E-04
  13  Prefactor     .10064E-03    14.616       -.15932E-05** at limit **
  14  Prefactor     4.9924        5.6045        .30923E-05   -.33300E-03
  15  Prefactor     .10001E-03    22.464       -.51077E-05** at limit **
  16  Prefactor     10.946        15.538       -.91643E-06   -.56161E-04
  17  norm          12.293        9.5935        .52987E-05    .58899E-04
  18  Prefactor     9.6862        9.6244        .30818E-05   -.11710E-03
  19  Prefactor     .10000E-03    20.333        .24161E-05** at limit **
  20  norm          4.8390        9.3271        .55665E-06   -.87961E-04
  21  Prefactor     .10000E-03    4.8096        .18205E-06** at limit **
  22  Normalizat    1.1740        .20634       -.20603E-05    .15087E-03
  23  Prefactor     .93457        .11933        .10220E-06    .76543E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.648914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.88386
  Prefactor  = 2.58117
  Prefactor  = 31.0129
  Prefactor  = 28.0705
  Prefactor  = 0.729937
  Prefactor  = 0.0001
  Prefactor  = 3.19616
  Prefactor  = 5.48761
  Prefactor  = 5.57791
  Prefactor  = 0.00010064
  Prefactor  = 4.9924
  Prefactor  = 0.000100006
  Prefactor  = 10.9463
  norm       = 12.2935
  Prefactor  = 9.68618
  Prefactor  = 0.0001
  norm       = 4.83895
  Prefactor  = 0.0001
  Normalizat = 1.17399
  Prefactor  = 0.934568
 **********
 **   18 **HESSE 
 **********

 FCN=   7568.328     FROM HESSE     STATUS=OK           382 CALLS     2620 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64891        2.0005        .20865E-03   -1.5547    
   2  Prefactor     .10000E-03    3.5945        .16083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.933        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8839        1.6443        .99027E-04   -1.5433    
   5  Prefactor     2.5812        20.387        .25359E-03   -1.5387    
   6  Prefactor     31.013        13.234        .71960E-04   -1.4594    
   7  Prefactor     28.071        21.101        .75583E-04   -1.4648    
   8  Prefactor     .72994        .17218        .16496E-04   -1.5537    
   9  Prefactor     .10000E-03    6.4157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1962        7.3184        .22664E-03   -1.5350    
  11  Prefactor     5.4876        10.658        .17152E-03   -1.5239    
  12  Prefactor     5.5779        16.806        .17010E-03   -1.5236    
  13  Prefactor     .10064E-03    112.61        .63773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.9924        5.5419        .18000E-03   -1.5261    
  15  Prefactor     .10001E-03    23.544        .42112E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.946        15.531        .12110E-03   -1.5046    
  17  norm          12.293        9.5723        .11421E-03   -1.5007    
  18  Prefactor     9.6862        9.5771        .12876E-03   -1.5085    
  19  Prefactor     .10000E-03    20.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.8390        9.3104        .18289E-03   -1.5268    
  21  Prefactor     .10000E-03    4.8935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1740        .23920        .30681E-03   -.87410    
  23  Prefactor     .93457        .13916        .20405E-03   -.94943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95366e-09
Minuit parameter uncertainties:
  1  2.0007
  2  7.94049e-06
  3  8.81182e-05
  4  1.64432
  5  14.5146
  6  13.2353
  7  21.1063
  8  0.172182
  9  3.58053e-05
  10  7.32048
  11  10.6622
  12  16.8206
  13  0.0170096
  14  5.54252
  15  0.000722418
  16  15.5365
  17  9.57347
  18  9.57865
  19  0.000160924
  20  9.3132
  21  1.06123e-05
  22  0.239418
  23  0.139212
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.095e+01  1.554e+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:  9.346e-01  1.392e-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.174e+00  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.79
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887286/likelihoodResults_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.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) = 7568.32810359
delta logL = 0.000191455218555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7568.32804266
delta logL = 0.000252380329584

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.773       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4576       1.0000          .0000       10.000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93484       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=   7568.328     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      250 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.771        17.882        .12207E-03   -.83727E-04
   2  Index         2.4573        1.1867        .10756E-01   -.43992E-04
   3  Normalizat    1.1732        .23220        .30690E-03   -.43263E-03
   4  Prefactor     .93486        .13820        .20402E-03   -.62511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7705
  Index      = 2.45726
  Normalizat = 1.17315
  Prefactor  = 0.934861
 **********
 **   18 **HESSE 
 **********

 FCN=   7568.328     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.771        16.990        .48827E-05   -1.5051    
   2  Index         2.4573        1.1277        .43026E-03   -.53350    
   3  Normalizat    1.1732        .23204        .61381E-04   -.87437    
   4  Prefactor     .93486        .13819        .40805E-04   -.94933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48278e-10
Minuit parameter uncertainties:
  1  16.9979
  2  1.14101
  3  0.232239
  4  0.138246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887286': 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) = 7568.3280418
delta logL = 0.000253242636973

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.077e+01  1.700e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.457e+00  1.141e+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:  9.349e-01  1.382e-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.173e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.79
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/887286/cmap_HighResolution_590803201_591062401_4FGL_J2325.7+1821_daily_bin1356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.08e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-29 18:51:33.694926', job_id='887286', GAL2='0.93', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632966693.69', return_code2='0', ts='0.79', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.53e-04', ts2='0.79', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1356' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:51:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 887286: <4FGL_J2325.7+1821_daily_bin1356> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1356 351.436 18.3654 590803201 591062401 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 :                                   717.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            933 sec.

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

