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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1368
RA = 351.436, Dec = 18.3654
tmin = 593913601, tmax = 594172801
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='887304', job_status='RUN', time_executed='2021-09-29 18:38:37.536267', time_epoch_executed='1632965917.54' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887304

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887304/ft1_4FGL_J2325.7+1821_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887304/ft1_4FGL_J2325.7+1821_daily_bin1368.fits outfile=/scratch/kocevski/887304/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1368.fits ra=351.436 dec=18.3654 rad=12.0 tmin=593913601.0 tmax=594172801.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.57
user 3.36
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887304/ft1_filtered_4FGL_J2325.7+1821_daily_bin1368.fits" evtable="EVENTS" scfile=/scratch/kocevski/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits sctable="SC_DATA" outfile=/scratch/kocevski/887304/ltcube_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.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/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits
.....................!
real 11.95
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887304/ft1_filtered_4FGL_J2325.7+1821_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/887304/ltcube_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.fits outfile=/scratch/kocevski/887304/expmap_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.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/887304/ltcube_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.fits
.....................!
real 189.65
user 185.01
sys 4.26

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/887304/ft1_filtered_4FGL_J2325.7+1821_daily_bin1368.fits scfile=/scratch/kocevski/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits outfile=/scratch/kocevski/887304/cmap_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.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/887304/ft1_filtered_4FGL_J2325.7+1821_daily_bin1368.fits scfile=/scratch/kocevski/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits outfile=/scratch/kocevski/887304/cmap_HighResolution_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.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.57
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887304/ft1_filtered_4FGL_J2325.7+1821_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/887304/ft2_4FGL_J2325.7+1821_daily_bin1368.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887304/Model_4FGL_J2325.7+1821_daily_bin1368.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/887304/ft1_filtered_4FGL_J2325.7+1821_daily_bin1368.fits.....................!
real 90.37
user 89.00
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9728       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16144E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.406       1.0000         .10000E-03   10000.    
     6 'Prefactor '    61.492       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0832       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38369       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.225       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .28303       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0261       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.366       1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.018       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7883       1.0000         .10000E-03   10000.    
    20 'norm      '    10.354       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90033       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1339       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=   8232.822     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2564 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9738        3.7263       -.11710E-06    .76363E-04
   2  Prefactor     13.491        14.432        .27961E-05    .72767E-03
   3  Prefactor     .10004E-03    9.2066       -.29076E-05** at limit **
   4  norm          .10000E-03    .94571       -.30098E-07** at limit **
   5  Prefactor     14.406        17.908        .27850E-06   -.96076E-05
   6  Prefactor     61.491        17.924        .44730E-06    .53437E-04
   7  Prefactor     7.0819        12.692       -.67129E-06   -.14388E-03
   8  Prefactor     .38366        .16011       -.22344E-07   -.49491E-02
   9  Prefactor     10.225        11.520        .13585E-06   -.49838E-04
  10  Prefactor     .30064        6.2109        .25324E-05   -.97768E-03
  11  Prefactor     .10000E-03    9.0012       -.34273E-06** at limit **
  12  Prefactor     2.0228        60.424        .88969E-08   -.14840E-04
  13  Prefactor     .10000E-03    38.745        .74419E-05** at limit **
  14  Prefactor     .10000E-03    9.5086        .61129E-06** at limit **
  15  Prefactor     .10000E-03    2.7900        .19627E-07** at limit **
  16  Prefactor     20.360        16.744       -.10645E-05   -.24831E-03
  17  norm          .10000E-03    5.6109        .58940E-08** at limit **
  18  Prefactor     11.017        8.5453        .22023E-06   -.12779E-03
  19  Prefactor     1.7873        6.6695        .23700E-06   -.16801E-03
  20  norm          10.353        10.057        .29129E-07   -.13747E-04
  21  Prefactor     .10000E-03    3.1069       -.21565E-07** at limit **
  22  Normalizat    .90041        .22565       -.10403E-05   -.22572E-03
  23  Prefactor     1.1338        .12644       -.53969E-07   -.42588E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.97383
  Prefactor  = 13.491
  Prefactor  = 0.000100044
  norm       = 0.0001
  Prefactor  = 14.406
  Prefactor  = 61.491
  Prefactor  = 7.08188
  Prefactor  = 0.383659
  Prefactor  = 10.2248
  Prefactor  = 0.300636
  Prefactor  = 0.0001
  Prefactor  = 2.0228
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.36
  norm       = 0.0001
  Prefactor  = 11.0171
  Prefactor  = 1.78727
  norm       = 10.3535
  Prefactor  = 0.0001
  Normalizat = 0.900407
  Prefactor  = 1.13383
 **********
 **   18 **HESSE 
 **********

 FCN=   8232.822     FROM HESSE     STATUS=OK           374 CALLS     2938 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9738        4.4020        .77355E-03   -1.5262    
   2  Prefactor     13.491        14.807        .10919E-03   -1.4973    
   3  Prefactor     .10004E-03    33.974        .47546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .97864        .17217E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.406        17.910        .10553E-03   -1.4949    
   6  Prefactor     61.491        17.896        .51169E-04   -1.4138    
   7  Prefactor     7.0819        12.677        .15073E-03   -1.5176    
   8  Prefactor     .38366        .15844        .21639E-04   -1.5584    
   9  Prefactor     10.225        11.606        .62652E-03   -1.5068    
  10  Prefactor     .30064        77.127        .36285E-02   -1.5598    
  11  Prefactor     .10000E-03    9.0632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0228        60.625        .29068E-03   -1.5424    
  13  Prefactor     .10000E-03    38.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.7827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7934        .14800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.360        16.759        .88752E-04   -1.4805    
  17  norm          .10000E-03    5.6446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.017        8.5444        .12070E-03   -1.5044    
  19  Prefactor     1.7873        20.129        .15641E-02   -1.5441    
  20  norm          10.353        10.058        .62262E-03   -1.5064    
  21  Prefactor     .10000E-03    3.1450        .15616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90041        .25834        .37104E-03   -.96446    
  23  Prefactor     1.1338        .14525        .19704E-03   -.88393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78239e-08
Minuit parameter uncertainties:
  1  4.40224
  2  14.8107
  3  0.00244815
  4  1.15897e-06
  5  17.9162
  6  17.8973
  7  12.6817
  8  0.158443
  9  11.6086
  10  9.64158
  11  2.9379e-05
  12  22.1721
  13  0.000809607
  14  5.10886e-05
  15  7.37654e-07
  16  16.7628
  17  2.10133e-06
  18  8.54536
  19  12.0007
  20  10.06
  21  1.33875e-06
  22  0.258697
  23  0.145298
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.036e+01  1.676e+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.134e+00  1.453e-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:  9.004e-01  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.57
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.30e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.11e-05

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) = 8231.13028481
delta logL = 1.69141899825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8230.92472958
delta logL = 1.89697422638

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9633       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0342       1.0000          .0000       10.000    
     3 'Normalizat'    .93288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1293       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=   8230.925     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9512        7.3925        .38008E-02   -.24489E-02
   2  Index         1.0335        .37520        .24661       -.76673E-04
   3  Normalizat    .93270        .21019        .82458E-01   -.51648E-05
   4  Prefactor     1.1295        .12445        .36565E-01    .56052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.95125
  Index      = 1.03351
  Normalizat = 0.932703
  Prefactor  = 1.1295
 **********
 **   18 **HESSE 
 **********

 FCN=   8230.925     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9512        12.932        .76016E-03   -1.5181    
   2  Index         1.0335        .69760        .10209E-01   -.91621    
   3  Normalizat    .93270        .24095        .36505E-03   -.95320    
   4  Prefactor     1.1295        .14302        .19737E-03   -.88529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48972e-11
Minuit parameter uncertainties:
  1  12.9374
  2  0.703856
  3  0.241225
  4  0.143069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887304': 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) = 8230.92472852
delta logL = 1.89697528449

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  6.951e+00  1.294e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.034e+00  7.039e-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.130e+00  1.431e-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:  9.327e-01  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.33
Ra Dec: 351.436 18.365
Photon Index (Free Index): 1.03 +/- 0.70
Photon Flux (Free Index): 4.86e-09 +/- 6.47e-09
Energy Flux (Free Index): 6.46e-05 +/- 8.70e-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/887304/cmap_HighResolution_593913601_594172801_4FGL_J2325.7+1821_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.30e-08', energy_flux2='6.46e-05', photon_flux_error='3.54e-08', dlogl='1.90e+00', energy_flux='1.35e-05', photon_flux2='4.86e-09', job_status='DONE', time_completed='2021-09-29 18:49:59.792289', photon_index_error2='0.70', photon_index2='1.03', ts='6.57', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='8.70e-05', EG='0.90', time_epoch_completed='1632966599.79', return_code='0', job_id='887304', GAL2='1.13', EG2='0.93', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='6.47e-09', ts2='10.33', photon_index='2.43' WHERE bin_id='1368' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:49:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 887304: <4FGL_J2325.7+1821_daily_bin1368> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1368 351.436 18.3654 593913601 594172801 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 :                                   674.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            836 sec.

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

