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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1408
RA = 351.436, Dec = 18.3654
tmin = 604281601, tmax = 604540801
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='887365', job_status='RUN', time_executed='2021-09-29 18:38:46.735269', time_epoch_executed='1632965926.74' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887365

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887365/ft1_4FGL_J2325.7+1821_daily_bin1408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887365/ft1_4FGL_J2325.7+1821_daily_bin1408.fits outfile=/scratch/kocevski/887365/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1408.fits ra=351.436 dec=18.3654 rad=12.0 tmin=604281601.0 tmax=604540801.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.61
user 3.35
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.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/887365/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1408.fits evtable="EVENTS" outfile="/scratch/kocevski/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.fits" evtable="EVENTS" scfile=/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits sctable="SC_DATA" outfile=/scratch/kocevski/887365/ltcube_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.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/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits
.....................!
real 11.73
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits sctable="SC_DATA" expcube=/scratch/kocevski/887365/ltcube_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.fits outfile=/scratch/kocevski/887365/expmap_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.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/887365/ltcube_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.fits
.....................!
real 190.85
user 185.31
sys 5.23

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/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.fits scfile=/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits outfile=/scratch/kocevski/887365/cmap_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.fits scfile=/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits outfile=/scratch/kocevski/887365/cmap_HighResolution_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.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/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/887365/ft2_4FGL_J2325.7+1821_daily_bin1408.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887365/Model_4FGL_J2325.7+1821_daily_bin1408.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/887365/ft1_filtered_4FGL_J2325.7+1821_daily_bin1408.fits.....................!
real 94.62
user 93.23
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1638       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0496       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4532       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .47372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6074       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.078       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6093       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    21.564       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2436       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.304       1.0000         .10000E-03   10000.    
    20 'norm      '    8.5752       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.7510       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3679       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0477       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=   8152.740     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2485 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1646        3.8765        .27831E-08   -.12095E-03
   2  Prefactor     .10000E-03    5.0466        .41974E-06** at limit **
   3  Prefactor     .10000E-03    4.5084       -.29039E-06** at limit **
   4  norm          1.0496        .89410       -.13112E-07    .36694E-04
   5  Prefactor     .10000E-03    20.640        .78037E-07** at limit **
   6  Prefactor     .10000E-03    8.0661        .44930E-06** at limit **
   7  Prefactor     8.4530        8.6468       -.68386E-07   -.95264E-06
   8  Prefactor     .47370        .15017       -.13490E-07   -.26417E-03
   9  Prefactor     .10000E-03    3.7525        .82640E-07** at limit **
  10  Prefactor     5.6074        6.2090        .20319E-05   -.71837E-04
  11  Prefactor     21.078        14.058       -.16529E-06   -.11723E-04
  12  Prefactor     .10000E-03    7.7099        .61850E-08** at limit **
  13  Prefactor     .10000E-03    6.5242       -.12663E-06** at limit **
  14  Prefactor     .10000E-03    2.7911        .32458E-07** at limit **
  15  Prefactor     6.6119        14.339        .52096E-06    .27167E-04
  16  Prefactor     .10000E-03    6.8144       -.30352E-06** at limit **
  17  norm          21.560        14.062       -.22669E-06   -.50675E-04
  18  Prefactor     9.2445        10.498        .31164E-06    .34842E-04
  19  Prefactor     19.301        37.150       -.30098E-06   -.15048E-04
  20  norm          8.5583        21.318       -.26686E-05   -.15079E-03
  21  Prefactor     4.7514        8.7897        .27281E-06   -.60847E-05
  22  Normalizat    1.3679        .22564        .69165E-07   -.21995E-04
  23  Prefactor     1.0477        .12967       -.18895E-06   -.57129E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.16456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.04958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.45302
  Prefactor  = 0.473698
  Prefactor  = 0.0001
  Prefactor  = 5.60737
  Prefactor  = 21.078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.61193
  Prefactor  = 0.0001
  norm       = 21.5601
  Prefactor  = 9.24447
  Prefactor  = 19.3015
  norm       = 8.55829
  Prefactor  = 4.75145
  Normalizat = 1.36791
  Prefactor  = 1.0477
 **********
 **   18 **HESSE 
 **********

 FCN=   8152.740     FROM HESSE     STATUS=OK           376 CALLS     2861 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1646        3.9022        .11479E-03   -1.5136    
   2  Prefactor     .10000E-03    5.0836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.5295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0496        1.0253        .76850E-03   -1.5503    
   5  Prefactor     .10000E-03    20.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.1373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4530        8.6502        .13788E-03   -1.5126    
   8  Prefactor     .47370        .14974        .18900E-04   -1.5570    
   9  Prefactor     .10000E-03    3.7591        .17081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.6074        6.2896        .84825E-03   -1.5234    
  11  Prefactor     21.078        14.060        .87242E-04   -1.4789    
  12  Prefactor     .10000E-03    7.7207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.8150        .14727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6119        14.258        .15609E-03   -1.5194    
  16  Prefactor     .10000E-03    6.8332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.560        14.011        .86254E-04   -1.4779    
  18  Prefactor     9.2445        10.505        .13182E-03   -1.5100    
  19  Prefactor     19.301        37.042        .91159E-04   -1.4829    
  20  norm          8.5583        22.172        .13689E-03   -1.5123    
  21  Prefactor     4.7514        8.7886        .18460E-03   -1.5272    
  22  Normalizat    1.3679        .26454        .32286E-03   -.81561    
  23  Prefactor     1.0477        .15178        .21588E-03   -.91156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56758e-10
Minuit parameter uncertainties:
  1  3.90228
  2  3.10718e-05
  3  1.85427e-05
  4  1.02533
  5  3.78543e-06
  6  2.67818e-05
  7  8.6515
  8  0.149745
  9  2.17184e-06
  10  6.29035
  11  14.0622
  12  4.4317e-06
  13  1.18676e-05
  14  6.98952e-07
  15  14.2653
  16  2.11393e-05
  17  14.0132
  18  10.5066
  19  37.0862
  20  22.1935
  21  8.79099
  22  0.2648
  23  0.15184
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.114e-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.048e+00  1.518e-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.368e+00  2.648e-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.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887365/likelihoodResults_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.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) = 8152.74026788
delta logL = -0.000696316619724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8152.73957157
delta logL = -1.27874955069e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4133       1.0000          .0000       10.000    
     3 'Normalizat'    1.3679       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0477       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=   8152.740     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10153E-03    75.095        .18142E-02** at limit **
   2  Index         2.3466        8.1679        .50000        .19203E-04
   3  Normalizat    1.3679        .18206E-01    .32286E-03   -.17430E-03
   4  Prefactor     1.0477        .10901E-01    .21588E-03    .29544E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101531
  Index      = 2.34657
  Normalizat = 1.36791
  Prefactor  = 1.04771
 **********
 **   18 **HESSE 
 **********

 FCN=   8152.740     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10153E-03    315.50        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3466        7.7710        .50000       -.55941    
   3  Normalizat    1.3679        .38949E-01    .12915E-04   -.81561    
   4  Prefactor     1.0477        .23321E-01    .86351E-05   -.91156    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.56763e-08
Minuit parameter uncertainties:
  1  0.044193
  2  687.325
  3  0.03895
  4  0.0233215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887365': 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) = 8152.73957125
delta logL = 3.20689650835e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.015e-04  4.419e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.347e+00  6.873e+02  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.048e+00  2.332e-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:  1.368e+00  3.895e-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/887365/cmap_HighResolution_604281601_604540801_4FGL_J2325.7+1821_daily_bin1408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.48e-08', time_completed='2021-09-29 18:51:39.866409', job_id='887365', GAL2='1.05', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1632966699.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1408' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:51:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 887365: <4FGL_J2325.7+1821_daily_bin1408> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1408 351.436 18.3654 604281601 604540801 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 :                                   767.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            931 sec.

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

