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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1390
RA = 351.436, Dec = 18.3654
tmin = 599616001, tmax = 599875201
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='887337', job_status='RUN', time_executed='2021-09-29 18:36:16.666923', time_epoch_executed='1632965776.67' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887337

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887337/ft1_4FGL_J2325.7+1821_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887337/ft1_4FGL_J2325.7+1821_daily_bin1390.fits outfile=/scratch/kocevski/887337/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1390.fits ra=351.436 dec=18.3654 rad=12.0 tmin=599616001.0 tmax=599875201.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 2.52
user 2.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887337/ft1_filtered_4FGL_J2325.7+1821_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/887337/ltcube_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.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/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits
.....................!
real 12.48
user 12.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887337/ft1_filtered_4FGL_J2325.7+1821_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/887337/ltcube_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.fits outfile=/scratch/kocevski/887337/expmap_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.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/887337/ltcube_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.fits
.....................!
real 191.89
user 186.32
sys 5.21

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/887337/ft1_filtered_4FGL_J2325.7+1821_daily_bin1390.fits scfile=/scratch/kocevski/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits outfile=/scratch/kocevski/887337/cmap_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887337/ft1_filtered_4FGL_J2325.7+1821_daily_bin1390.fits scfile=/scratch/kocevski/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits outfile=/scratch/kocevski/887337/cmap_HighResolution_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887337/ft1_filtered_4FGL_J2325.7+1821_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/887337/ft2_4FGL_J2325.7+1821_daily_bin1390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887337/Model_4FGL_J2325.7+1821_daily_bin1390.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/887337/ft1_filtered_4FGL_J2325.7+1821_daily_bin1390.fits.....................!
real 131.39
user 129.93
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9473       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4521       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11480E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.425       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11093E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .41729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4090       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6640       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8770       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2770       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59835E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.8573       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10789E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.1234       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98469       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1039       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=   12882.88     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2165 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9471        1.9071        .26795E-07   -.15678E-03
   2  Prefactor     .10000E-03    2.9474       -.22647E-06** at limit **
   3  Prefactor     .10000E-03    5.9140        .18633E-05** at limit **
   4  norm          1.4530        1.0751        .83061E-08    .10497E-05
   5  Prefactor     .10000E-03    5.3765        .54343E-05** at limit **
   6  Prefactor     58.426        12.174       -.14916E-06    .15210E-05
   7  Prefactor     .10000E-03    4.6334       -.45437E-05** at limit **
   8  Prefactor     .41731        .11670       -.11335E-07    .27402E-03
   9  Prefactor     2.4049        2.5782        .27224E-06   -.19320E-02
  10  Prefactor     .10000E-03    1.9423       -.14216E-06** at limit **
  11  Prefactor     2.6510        6.0996       -.15468E-05   -.62658E-04
  12  Prefactor     .10000E-03    3.9048        .13592E-05** at limit **
  13  Prefactor     .10000E-03    6.2644       -.48070E-05** at limit **
  14  Prefactor     2.8872        4.3552       -.54879E-06   -.30082E-04
  15  Prefactor     2.2747        6.5262       -.38256E-06   -.61826E-04
  16  Prefactor     .10016E-03    8.5333       -.47724E-06** at limit **
  17  norm          4.8528        4.7583        .23478E-06   -.11342E-02
  18  Prefactor     .10000E-03    2.9103       -.36989E-06** at limit **
  19  Prefactor     .10000E-03    11.401        .17625E-06** at limit **
  20  norm          6.1216        6.0387       -.18720E-06    .14284E-04
  21  Prefactor     .10000E-03    2.8462        .47570E-06** at limit **
  22  Normalizat    .98462        .15620        .26768E-06    .78074E-04
  23  Prefactor     1.1039        .93420E-01    .57289E-07    .14856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9471
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.45296
  Prefactor  = 0.0001
  Prefactor  = 58.4262
  Prefactor  = 0.0001
  Prefactor  = 0.417305
  Prefactor  = 2.4049
  Prefactor  = 0.0001
  Prefactor  = 2.65103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.88725
  Prefactor  = 2.27466
  Prefactor  = 0.000100163
  norm       = 4.85285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.12164
  Prefactor  = 0.0001
  Normalizat = 0.984615
  Prefactor  = 1.10389
 **********
 **   18 **HESSE 
 **********

 FCN=   12882.88     FROM HESSE     STATUS=OK           372 CALLS     2537 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9471        1.8987        .14794E-03   -1.5429    
   2  Prefactor     .10000E-03    2.9573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.9698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4530        1.0751        .35745E-04   -1.5467    
   5  Prefactor     .10000E-03    5.3850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     58.426        12.173        .52487E-04   -1.4178    
   7  Prefactor     .10000E-03    4.6376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .41731        .11564        .19569E-04   -1.5579    
   9  Prefactor     2.4049        4.9511        .13189E-02   -1.5398    
  10  Prefactor     .10000E-03    1.9531        .15443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6510        6.0842        .24972E-03   -1.5382    
  12  Prefactor     .10000E-03    3.9109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8872        4.2148        .23963E-03   -1.5368    
  15  Prefactor     2.2747        6.4916        .27212E-03   -1.5406    
  16  Prefactor     .10016E-03    82.722        .61129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.8528        5.1292        .91260E-03   -1.5267    
  18  Prefactor     .10000E-03    2.9543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.1216        6.0413        .16224E-03   -1.5213    
  21  Prefactor     .10000E-03    2.8737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98462        .17807        .32966E-03   -.93548    
  23  Prefactor     1.1039        .10749        .19259E-03   -.89342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28505e-09
Minuit parameter uncertainties:
  1  1.89877
  2  2.4558e-06
  3  7.49952e-07
  4  1.07509
  5  2.06272e-05
  6  12.1731
  7  1.41017e-05
  8  0.115641
  9  4.9519
  10  1.67872e-06
  11  6.08562
  12  3.62126e-06
  13  1.7214e-05
  14  4.21527
  15  6.49359
  16  0.0073636
  17  5.1297
  18  1.53529e-06
  19  1.8352e-07
  20  6.0419
  21  1.24163e-06
  22  0.178179
  23  0.107507
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.002e-04  7.364e-03  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.104e+00  1.075e-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.846e-01  1.782e-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: 6.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887337/likelihoodResults_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.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) = 12882.8753148
delta logL = -5.54007801838e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12882.8752186
delta logL = 4.08315099776e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36007E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2556       1.0000          .0000       10.000    
     3 'Normalizat'    .98470       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1038       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=   12882.74     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      313 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5818        14.825        .39244E-03    .18483E-04
   2  Index         1.6950        .88167        .13805E-01   -.12979E-03
   3  Normalizat    .98563        .17271        .32949E-03   -.10793E-03
   4  Prefactor     1.1004        .10698        .19284E-03   -.19103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.58182
  Index      = 1.69499
  Normalizat = 0.98563
  Prefactor  = 1.10037
 **********
 **   18 **HESSE 
 **********

 FCN=   12882.74     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5818        15.035        .15697E-04   -1.5195    
   2  Index         1.6950        .89449        .27610E-02   -.72215    
   3  Normalizat    .98563        .17283        .13180E-04   -.93513    
   4  Prefactor     1.1004        .10706        .38569E-04   -.89455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62541e-11
Minuit parameter uncertainties:
  1  15.0438
  2  0.90319
  3  0.172927
  4  0.107078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887337': 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) = 12882.7437774
delta logL = 0.131481967088

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  6.582e+00  1.504e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.695e+00  9.032e-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.100e+00  1.071e-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.856e-01  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/887337/cmap_HighResolution_599616001_599875201_4FGL_J2325.7+1821_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2021-09-29 18:52:32.324613', job_id='887337', GAL2='1.10', fit_tolerance='1e-08', EG2='0.99', EG='0.98', time_epoch_completed='1632966752.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.31e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1390' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:52:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 887337: <4FGL_J2325.7+1821_daily_bin1390> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1390> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:36:07 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:36:08 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:08 2021
Terminated at Wed Sep 29 18:52:33 2021
Results reported at Wed Sep 29 18:52:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1390 351.436 18.3654 599616001 599875201 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 :                                   974.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            986 sec.

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

