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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1095
RA = 351.436, Dec = 18.3654
tmin = 523152001, tmax = 523411201
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='886868', job_status='RUN', time_executed='2021-09-29 18:39:00.794401', time_epoch_executed='1632965940.79' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1095'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886868

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886868/ft1_4FGL_J2325.7+1821_daily_bin1095.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886868/ft2_4FGL_J2325.7+1821_daily_bin1095.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886868/ft1_4FGL_J2325.7+1821_daily_bin1095.fits outfile=/scratch/kocevski/886868/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1095.fits ra=351.436 dec=18.3654 rad=12.0 tmin=523152001.0 tmax=523411201.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 4.20
user 3.95
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886868/ft1_filtered_4FGL_J2325.7+1821_daily_bin1095.fits" evtable="EVENTS" scfile=/scratch/kocevski/886868/ft2_4FGL_J2325.7+1821_daily_bin1095.fits sctable="SC_DATA" outfile=/scratch/kocevski/886868/ltcube_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.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/886868/ft2_4FGL_J2325.7+1821_daily_bin1095.fits
.....................!
real 15.04
user 14.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886868/ft1_filtered_4FGL_J2325.7+1821_daily_bin1095.fits evtable="EVENTS" scfile=/scratch/kocevski/886868/ft2_4FGL_J2325.7+1821_daily_bin1095.fits sctable="SC_DATA" expcube=/scratch/kocevski/886868/ltcube_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.fits outfile=/scratch/kocevski/886868/expmap_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.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/886868/ltcube_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.fits
.....................!
real 190.95
user 185.66
sys 4.97

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/886868/ft1_filtered_4FGL_J2325.7+1821_daily_bin1095.fits scfile=/scratch/kocevski/886868/ft2_4FGL_J2325.7+1821_daily_bin1095.fits outfile=/scratch/kocevski/886868/cmap_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.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/886868/ft1_filtered_4FGL_J2325.7+1821_daily_bin1095.fits scfile=/scratch/kocevski/886868/ft2_4FGL_J2325.7+1821_daily_bin1095.fits outfile=/scratch/kocevski/886868/cmap_HighResolution_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8482       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .63818       1.0000         .10000E-03   10000.    
     4 'norm      '    .15954       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.106       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71989       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10357E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.5451       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1870       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2310       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .47899E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1202       1.0000         .10000E-03   10000.    
    20 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2607       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82379       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=   6799.863     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2213 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8473        2.8739        .23200E-07    .11318E-04
   2  Prefactor     .10000E-03    2.8587        .43322E-07** at limit **
   3  Prefactor     .62975        7.0378       -.45248E-06    .15941E-04
   4  norm          .15468        1.7755        .11304E-05   -.22642E-03
   5  Prefactor     .10000E-03    27.942       -.53826E-05** at limit **
   6  Prefactor     12.110        10.703       -.77406E-07   -.11695E-04
   7  Prefactor     .10000E-03    22.756        .37907E-05** at limit **
   8  Prefactor     .71989        .17850        .31447E-08   -.51544E-04
   9  Prefactor     .10040E-03    7.2361       -.23176E-05** at limit **
  10  Prefactor     .10000E-03    4.8962       -.63127E-07** at limit **
  11  Prefactor     .10000E-03    12.090        .25005E-06** at limit **
  12  Prefactor     .10000E-03    8.8655        .26270E-06** at limit **
  13  Prefactor     5.5435        10.591        .70455E-07    .80765E-05
  14  Prefactor     .10000E-03    3.6376        .12960E-07** at limit **
  15  Prefactor     3.1874        4.9983        .15839E-05    .67194E-03
  16  Prefactor     8.2293        13.623        .53083E-07    .88261E-05
  17  norm          .10000E-03    2.1857        .23062E-07** at limit **
  18  Prefactor     .10001E-03    3.3919       -.96086E-06** at limit **
  19  Prefactor     6.1205        11.721        .67891E-06    .12728E-03
  20  norm          .10000E-03    11.642       -.94670E-06** at limit **
  21  Prefactor     .10000E-03    3.0192       -.54558E-07** at limit **
  22  Normalizat    1.2608        .19992       -.13211E-06    .79115E-04
  23  Prefactor     .82382        .11668       -.18668E-06    .11775E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.84734
  Prefactor  = 0.0001
  Prefactor  = 0.629751
  norm       = 0.15468
  Prefactor  = 0.000100002
  Prefactor  = 12.1097
  Prefactor  = 0.000100001
  Prefactor  = 0.719885
  Prefactor  = 0.000100396
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.54351
  Prefactor  = 0.0001
  Prefactor  = 3.18737
  Prefactor  = 8.22931
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 6.12051
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26079
  Prefactor  = 0.823821
 **********
 **   18 **HESSE 
 **********

 FCN=   6799.863     FROM HESSE     STATUS=OK           378 CALLS     2591 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8473        2.8703        .10262E-03   -1.5268    
   2  Prefactor     .10000E-03    2.8607        .13612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .62975        27.457        .41813E-02   -1.5549    
   4  norm          .15468        3.2751        .18275E-02   -1.5629    
   5  Prefactor     .10000E-03    28.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.110        10.566        .11513E-03   -1.5012    
   7  Prefactor     .10000E-03    23.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .71989        .17824        .16591E-04   -1.5538    
   9  Prefactor     .10040E-03    55.059        .34559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.9575        .17812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.9072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.5435        10.583        .17062E-03   -1.5237    
  14  Prefactor     .10000E-03    3.6836        .15347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1874        5.2110        .11349E-02   -1.5351    
  16  Prefactor     8.2293        13.623        .13974E-03   -1.5134    
  17  norm          .10000E-03    2.1911        .11903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    17.827        .27445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.1205        11.734        .81142E-03   -1.5213    
  20  norm          .10000E-03    11.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.0750        .13991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2608        .23419        .28043E-03   -.84745    
  23  Prefactor     .82382        .13728        .20163E-03   -.98856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15441e-08
Minuit parameter uncertainties:
  1  2.87039
  2  1.27768e-06
  3  8.31994
  4  1.42314
  5  0.000462925
  6  10.5673
  7  0.000264097
  8  0.178244
  9  0.00935205
  10  1.75111e-06
  11  1.55472e-05
  12  1.44565e-05
  13  10.5865
  14  1.80108e-06
  15  5.21172
  16  13.6283
  17  2.00965e-06
  18  0.000808181
  19  11.7382
  20  4.64849e-05
  21  7.00829e-07
  22  0.23439
  23  0.137338
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  8.229e+00  1.363e+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:  8.238e-01  1.373e-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.261e+00  2.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 9.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886868/likelihoodResults_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.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) = 6799.75194035
delta logL = 0.110806892807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6799.74527293
delta logL = 0.117474319721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.220       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9367       1.0000          .0000       10.000    
     3 'Normalizat'    1.2701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81968       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=   6799.745     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      315 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.220        17.880        .11459E-03   -.22580E-03
   2  Index         1.9367        .89546        .13801E-01   -.62485E-04
   3  Normalizat    1.2700        .22846        .27951E-03    .28879E-04
   4  Prefactor     .81970        .13642        .20204E-03    .63866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.22
  Index      = 1.93672
  Normalizat = 1.27003
  Prefactor  = 0.819698
 **********
 **   18 **HESSE 
 **********

 FCN=   6799.745     FROM HESSE     STATUS=OK            23 CALLS      338 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.220        17.778        .45838E-05   -1.5009    
   2  Index         1.9367        .89070        .55206E-03   -.65942    
   3  Normalizat    1.2700        .22861        .11180E-04   -.84466    
   4  Prefactor     .81970        .13652        .80815E-05   -.99006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11922e-10
Minuit parameter uncertainties:
  1  17.7859
  2  0.898418
  3  0.22879
  4  0.136577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886868': 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) = 6799.74527292
delta logL = 0.117474328354

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.222e+01  1.779e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.937e+00  8.984e-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:  8.197e-01  1.366e-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.270e+00  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
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/886868/cmap_HighResolution_523152001_523411201_4FGL_J2325.7+1821_daily_bin1095.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-03', job_status='DONE', photon_flux_upper_limit='9.55e-08', time_completed='2021-09-29 18:50:29.204676', job_id='886868', GAL2='0.82', fit_tolerance='1e-08', EG2='1.27', EG='1.26', time_epoch_completed='1632966629.2', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.17e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1095' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:50:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 886868: <4FGL_J2325.7+1821_daily_bin1095> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1095> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:21 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:23 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:35:23 2021
Terminated at Wed Sep 29 18:50:30 2021
Results reported at Wed Sep 29 18:50:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1095 351.436 18.3654 523152001 523411201 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 :                                   672.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             231.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            909 sec.

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

