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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1383
RA = 351.436, Dec = 18.3654
tmin = 597801601, tmax = 598060801
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='887327', job_status='RUN', time_executed='2021-09-29 18:38:24.412492', time_epoch_executed='1632965904.41' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887327

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887327/ft1_4FGL_J2325.7+1821_daily_bin1383.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887327/ft1_4FGL_J2325.7+1821_daily_bin1383.fits outfile=/scratch/kocevski/887327/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1383.fits ra=351.436 dec=18.3654 rad=12.0 tmin=597801601.0 tmax=598060801.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.64
user 3.35
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.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/887327/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1383.fits evtable="EVENTS" outfile="/scratch/kocevski/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.fits" evtable="EVENTS" scfile=/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits sctable="SC_DATA" outfile=/scratch/kocevski/887327/ltcube_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.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/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits
.....................!
real 11.80
user 11.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits sctable="SC_DATA" expcube=/scratch/kocevski/887327/ltcube_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.fits outfile=/scratch/kocevski/887327/expmap_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.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/887327/ltcube_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.fits
.....................!
real 191.72
user 185.67
sys 5.58

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/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.fits scfile=/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits outfile=/scratch/kocevski/887327/cmap_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.fits scfile=/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits outfile=/scratch/kocevski/887327/cmap_HighResolution_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.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/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/887327/ft2_4FGL_J2325.7+1821_daily_bin1383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887327/Model_4FGL_J2325.7+1821_daily_bin1383.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/887327/ft1_filtered_4FGL_J2325.7+1821_daily_bin1383.fits....................!
real 92.11
user 90.39
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7362       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.0994       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.446       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .79988E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .44054E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5584       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.637       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5851       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.467       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.8744       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9083       1.0000         .10000E-03   10000.    
    20 'norm      '    13.593       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .52698       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3385       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=   8191.472     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2548 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7356        3.3171       -.12938E-06   -.30093E-03
   2  Prefactor     .10000E-03    4.4040       -.33503E-06** at limit **
   3  Prefactor     .10000E-03    5.3916       -.46905E-06** at limit **
   4  norm          2.0994        1.4657       -.53435E-07    .18079E-03
   5  Prefactor     .10000E-03    13.687       -.59851E-05** at limit **
   6  Prefactor     16.446        11.395        .11926E-05   -.80397E-04
   7  Prefactor     .10000E-03    11.303        .31679E-05** at limit **
   8  Prefactor     .80007E-01    .13152       -.11340E-06   -.42249E-02
   9  Prefactor     .10000E-03    7.0316       -.34437E-06** at limit **
  10  Prefactor     1.5558        5.9373       -.18585E-05   -.70539E-03
  11  Prefactor     .10000E-03    3.6937       -.18826E-07** at limit **
  12  Prefactor     .10000E-03    14.559        .36918E-05** at limit **
  13  Prefactor     53.631        39.113       -.47366E-05    .12359E-03
  14  Prefactor     9.5850        8.0838        .55538E-07   -.70206E-04
  15  Prefactor     13.466        12.346        .18365E-05   -.17800E-03
  16  Prefactor     .10000E-03    7.6945       -.16196E-05** at limit **
  17  norm          8.8738        9.3636       -.68859E-06   -.15822E-03
  18  Prefactor     .10000E-03    6.6980        .13599E-05** at limit **
  19  Prefactor     3.9076        19.027       -.33299E-05   -.36181E-04
  20  norm          13.591        16.914       -.17225E-05    .38638E-04
  21  Prefactor     .10000E-03    4.5038        .48554E-06** at limit **
  22  Normalizat    .52706        .22870        .43399E-06    .25981E-04
  23  Prefactor     1.3385        .13441        .54462E-06    .99474E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.09937
  Prefactor  = 0.000100001
  Prefactor  = 16.4465
  Prefactor  = 0.0001
  Prefactor  = 0.080007
  Prefactor  = 0.000100001
  Prefactor  = 1.55582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.6312
  Prefactor  = 9.585
  Prefactor  = 13.4662
  Prefactor  = 0.0001
  norm       = 8.87384
  Prefactor  = 0.0001
  Prefactor  = 3.90757
  norm       = 13.5913
  Prefactor  = 0.0001
  Normalizat = 0.527056
  Prefactor  = 1.33854
 **********
 **   18 **HESSE 
 **********

 FCN=   8191.472     FROM HESSE     STATUS=OK           382 CALLS     2930 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7356        3.3107        .12987E-03   -1.5273    
   2  Prefactor     .10000E-03    4.4139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0994        1.4691        .88467E-04   -1.5418    
   5  Prefactor     .10000E-03    13.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.446        11.345        .98762E-04   -1.4897    
   7  Prefactor     .10000E-03    11.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .80007E-01    .13390        .38807E-03   -1.5651    
   9  Prefactor     .10000E-03    8.8229        .76924E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5558        6.1968        .34093E-03   -1.5458    
  11  Prefactor     .10000E-03    3.6991        .16987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     53.631        39.007        .54766E-04   -1.4242    
  14  Prefactor     9.5850        8.0650        .12944E-03   -1.5089    
  15  Prefactor     13.466        12.230        .10915E-03   -1.4974    
  16  Prefactor     .10000E-03    7.6776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.8738        9.3171        .13455E-03   -1.5112    
  18  Prefactor     .10000E-03    6.7540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9076        19.098        .20408E-03   -1.5313    
  20  norm          13.591        16.913        .10864E-03   -1.4970    
  21  Prefactor     .10000E-03    4.5353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .52706        .23477        .45365E-03   -1.1118    
  23  Prefactor     1.3385        .14326        .18125E-03   -.82168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65539e-09
Minuit parameter uncertainties:
  1  3.31082
  2  4.97655e-06
  3  6.82313e-06
  4  1.4691
  5  0.00018854
  6  11.3467
  7  7.80062e-05
  8  0.133901
  9  0.000228214
  10  6.1994
  11  3.46174e-07
  12  8.90058e-05
  13  39.026
  14  8.06595
  15  12.2325
  16  3.71869e-05
  17  9.31866
  18  1.84894e-05
  19  17.286
  20  16.9191
  21  1.33597e-05
  22  0.23521
  23  0.143307
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  3.719e-05  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.339e+00  1.433e-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:  5.271e-01  2.352e-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: 7.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887327/likelihoodResults_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.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) = 8191.4728437
delta logL = -0.000620015338427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8191.47222368
delta logL = 5.57429302717e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4221       1.0000          .0000       10.000    
     3 'Normalizat'    .52704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3386       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=   8191.472     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10074E-03    125.58        .18142E-02** at limit **
   2  Index         2.3673        8.6132        .50000        .87890E-05
   3  Normalizat    .52706        .20602E-01    .45365E-03   -.85206E-06
   4  Prefactor     1.3385        .12708E-01    .18125E-03   -.12294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100743
  Index      = 2.36728
  Normalizat = 0.527057
  Prefactor  = 1.33854
 **********
 **   18 **HESSE 
 **********

 FCN=   8191.472     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10074E-03    521.89        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3673        5.8008        .50000       -.55453    
   3  Normalizat    .52706        .45126E-01    .18146E-04   -1.1118    
   4  Prefactor     1.3385        .27833E-01    .72501E-05   -.82168    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60332e-08
Minuit parameter uncertainties:
  1  0.0397424
  2  1238.69
  3  0.0451295
  4  0.0278336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887327': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8191.47222359
delta logL = 1.01433215605e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.007e-04  3.974e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.367e+00  1.239e+03  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.339e+00  2.783e-02  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:  5.271e-01  4.513e-02  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/887327/cmap_HighResolution_597801601_598060801_4FGL_J2325.7+1821_daily_bin1383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-09-29 18:50:55.432927', job_id='887327', GAL2='1.34', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1632966655.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='1.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1383' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:50:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 887327: <4FGL_J2325.7+1821_daily_bin1383> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1383 351.436 18.3654 597801601 598060801 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 :                                   749.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            889 sec.

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

