/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 12 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 = 7394 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1520.5+4209_daily_bin605 RA = 230.135, Dec = 42.16 tmin = 396144001, tmax = 396403201 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='491696', job_status='RUN', time_executed='2021-09-12 01:20:46.597875', time_epoch_executed='1631434846.6' WHERE source_name='4FGL J1520.5+4209' and cadence='daily' and bin_id='605' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/491696 Creating custom pfile directory: /scratch/kocevski/491696/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=396144001.0 && nMetStart<396403201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=396144001.0 && nMetStart<396403201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/491696/ft1_4FGL_J1520.5+4209_daily_bin605.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=396144001.0 && nMetStart<396403201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/491696/ft1_4FGL_J1520.5+4209_daily_bin605.fits outfile=/scratch/kocevski/491696/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin605.fits ra=230.135 dec=42.16 rad=12.0 tmin=396144001.0 tmax=396403201.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.26 user 3.03 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.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/491696/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin605.fits evtable="EVENTS" outfile="/scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.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.33 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits" evtable="EVENTS" scfile=/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits sctable="SC_DATA" outfile=/scratch/kocevski/491696/ltcube_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.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/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits .....................! real 12.21 user 11.84 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits sctable="SC_DATA" expcube=/scratch/kocevski/491696/ltcube_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.fits outfile=/scratch/kocevski/491696/expmap_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.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/491696/ltcube_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.fits .....................! real 191.53 user 185.60 sys 5.30 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 195 point sources and 0 extended sources Setting source of interest to: 4FGL J1520.5+4209 @ 230.135 42.16 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits scfile=/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits outfile=/scratch/kocevski/491696/cmap_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.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=230.135 yref=42.16 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.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits scfile=/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits outfile=/scratch/kocevski/491696/cmap_HighResolution_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.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=230.135 yref=42.16 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/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/491696/Model_4FGL_J1520.5+4209_daily_bin605.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/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits.....................! real 46.38 user 45.01 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits', '/scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits', expMap='/scratch/kocevski/491696/expmap_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.fits', expCube='/scratch/kocevski/491696/ltcube_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/491696/Model_4FGL_J1520.5+4209_daily_bin605.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1520.5+4209' 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 3.393e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 309 Index: 2.505e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/491696/ft1_filtered_4FGL_J1520.5+4209_daily_bin605.fits Spacecraft file(s): /scratch/kocevski/491696/ft2_4FGL_J1520.5+4209_daily_bin605.fits Exposure map: /scratch/kocevski/491696/expmap_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.fits Exposure cube: /scratch/kocevski/491696/ltcube_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/491696/Model_4FGL_J1520.5+4209_daily_bin605.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) = 5859.74980408 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5859.73466993 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 14.880 1.0000 .10000E-03 10000. 3 'norm ' 6.8182 1.0000 .10000E-03 10000. 4 'Prefactor ' 13.038 1.0000 .10000E-03 10000. 5 'Prefactor ' .32622E-03 1.0000 .10000E-03 10000. 6 'norm ' 4.0236 1.0000 .10000E-03 10000. 7 'Prefactor ' 33.968 1.0000 .10000E-03 10000. 8 'Prefactor ' 12.355 1.0000 .10000E-03 10000. 9 'norm ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 12.877 1.0000 .10000E-03 10000. 12 'norm ' .14242 1.0000 .10000E-03 10000. 13 'Prefactor ' .45374E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'norm ' .10032E-03 1.0000 .10000E-03 10000. 16 'norm ' .12331E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 37.872 1.0000 .10000E-03 10000. 19 'Prefactor ' 21.172 1.0000 .10000E-03 10000. 20 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 21 'norm ' 8.7843 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 24 'norm ' 5.0800 1.0000 .10000E-03 10000. 25 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 28 'Prefactor ' .10181E-03 1.0000 .10000E-03 10000. 29 'Normalizat' .77006 1.0000 .10000E-01 10.000 30 'Prefactor ' 1.2421 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+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= 5859.735 FROM MIGRAD STATUS=CONVERGED 1354 CALLS 4538 TOTAL EDM= .59E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 17.548 .18142E-02** at limit ** 2 Prefactor 14.883 18.311 .10383E-03 .61754E-04 3 norm 6.7961 21.232 .15366E-03 .58524E-04 4 Prefactor 12.969 130.51 .11093E-03 .77189E-04 5 Prefactor .10000E-03 124.71 .56108E-02** at limit ** 6 norm 4.0237 4.7381 .17472E-03 .50884E-04 7 Prefactor 33.970 33.379 .68756E-04 .59691E-04 8 Prefactor 12.358 14.446 .11397E-03 .19520E-03 9 norm .10000E-03 3.0662 .13083E-02** at limit ** 10 Prefactor .10000E-03 3.9875 .14918E-02** at limit ** 11 Prefactor 12.878 14.045 .11163E-03 .30992E-03 12 norm .14407 1.7721 .14064E-02 .18799E-02 13 Prefactor .10089E-03 5.1079 .49591E-01** at limit ** 14 Prefactor .10000E-03 2.2873 .11280E-02** at limit ** 15 norm .10000E-03 1.3335 .12351E-02** at limit ** 16 norm .10001E-03 10.005 .19792E-02** at limit ** 17 Prefactor .10000E-03 6.6655 .18142E-02** at limit ** 18 Prefactor 37.871 44.935 .65127E-04 .91959E-04 19 Prefactor 21.168 18.206 .87048E-04 .24702E-03 20 Prefactor .10000E-03 6.0071 .18142E-02** at limit ** 21 norm 8.7839 1.7539 .43790E-04 .53975E-03 22 Prefactor .10000E-03 3.0994 .13143E-02** at limit ** 23 Prefactor .10000E-03 6.1782 .18142E-02** at limit ** 24 norm 5.0793 8.8968 .17839E-03 -.13383E-04 25 Prefactor .10000E-03 6.3305 .18142E-02** at limit ** 26 Prefactor .10000E-03 16.591 .18142E-02** at limit ** 27 Prefactor .10000E-03 2.9906 .12869E-02** at limit ** 28 Prefactor .10000E-03 37.252 .18142E-02** at limit ** 29 Normalizat .77006 .20630 .26407E-03 .99520E-03 30 Prefactor 1.2422 .22191 .23273E-03 .69607E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 14.883 norm = 6.79608 Prefactor = 12.9687 Prefactor = 0.000100004 norm = 4.02368 Prefactor = 33.9699 Prefactor = 12.3584 norm = 0.0001 Prefactor = 0.0001 Prefactor = 12.8778 norm = 0.144074 Prefactor = 0.000100887 Prefactor = 0.0001 norm = 0.000100001 norm = 0.000100006 Prefactor = 0.0001 Prefactor = 37.8715 Prefactor = 21.1685 Prefactor = 0.0001 norm = 8.78391 Prefactor = 0.0001 Prefactor = 0.0001 norm = 5.07931 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100001 Normalizat = 0.770064 Prefactor = 1.24219 ********** ** 18 **HESSE ********** FCN= 5859.735 FROM HESSE STATUS=OK 568 CALLS 5106 TOTAL EDM= .53E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 17.550 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 14.883 18.311 .41532E-05 -1.4936 3 norm 6.7961 21.234 .61463E-05 -1.5187 4 Prefactor 12.969 130.49 .22187E-04 -1.4988 5 Prefactor .10000E-03 129.06 .22443E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 4.0237 4.7380 .69886E-05 -1.5307 7 Prefactor 33.970 33.375 .13751E-04 -1.4542 8 Prefactor 12.358 14.445 .22793E-04 -1.5005 9 norm .10000E-03 3.0662 .26166E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 3.9876 .29835E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 12.878 14.037 .44650E-05 -1.4990 12 norm .14407 1.7707 .56255E-04 -1.5632 13 Prefactor .10089E-03 4.7145 .52952E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 2.2874 .22560E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 1.3376 .24702E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .10001E-03 10.101 .39583E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 6.6694 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 37.871 44.934 .13025E-04 -1.4476 19 Prefactor 21.168 18.204 .17410E-04 -1.4787 20 Prefactor .10000E-03 6.0079 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 8.7839 1.7538 .87579E-05 -1.5115 22 Prefactor .10000E-03 3.0995 .26285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 6.1783 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 5.0793 8.8966 .71357E-05 -1.5257 25 Prefactor .10000E-03 6.3305 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 16.591 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10000E-03 2.9911 .25737E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor .10000E-03 37.276 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Normalizat .77006 .20646 .52814E-04 -1.0119 30 Prefactor 1.2422 .22204 .46546E-04 -.85043 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.30993e-09 Minuit parameter uncertainties: 1 1.3697e-05 2 18.318 3 21.2574 4 82.5084 5 0.00137152 6 4.7384 7 33.3937 8 14.4486 9 4.75529e-06 10 5.09886e-06 11 14.0402 12 1.00986 13 0.00408939 14 9.2361e-06 15 6.68641e-05 16 0.000479894 17 8.42519e-06 18 44.9747 19 18.2088 20 2.8632e-05 21 1.75386 22 5.21767e-06 23 6.6074e-06 24 8.8989 25 4.7152e-06 26 2.68514e-05 27 1.33906e-05 28 0.000369606 29 0.206667 30 0.222208 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5859.73466304 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 2.117e+01 1.821e+01 1.000e-04 1.000e+04 ( 1.000e-13) 309 Index: 2.505e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 625 Prefactor: 1.242e+00 2.222e-01 0.000e+00 1.000e+01 ( 1.000e+00) 626 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 627 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 624 Normalization: 7.701e-01 2.067e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.99 Ra Dec: 230.135 42.160 Photon Index (Fixed Index): 2.50 +/- 0.00 Photon Flux (Fixed Index): 3.81e-08 +/- 3.28e-08 Energy Flux (Fixed Index): 1.10e-05 +/- 9.47e-06 TS (Fixed Index): 1.99 Ra Dec: 230.135 42.160 Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.55e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/491696/likelihoodResults_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.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) = 5858.89044718 delta logL = 0.844215858518 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5858.66488444 delta logL = 1.06977860063 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .74220E-01 1.0000 .10000E-03 10000. 2 'Index ' 5.9751 1.0000 .0000 10.000 3 'Normalizat' .66611 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.3291 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5858.665 FROM MIGRAD STATUS=CONVERGED 56 CALLS 296 TOTAL EDM= .18E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .73145E-01 .62621 .25666E-02 .26958E-02 2 Index 5.9824 2.4384 .94357E-01 .16441E-03 3 Normalizat .66587 .50576E-01 .63838E-01 .28054E-04 4 Prefactor 1.3295 .54946E-01 .51159E-01 .33276E-05 ERR DEF= .500 Final values: Prefactor = 0.0731454 Index = 5.9824 Normalizat = 0.665867 Prefactor = 1.32946 ********** ** 18 **HESSE ********** FCN= 5858.665 FROM HESSE STATUS=NOT POSDEF 31 CALLS 327 TOTAL EDM= .24E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .73145E-01 1.1812 .11552E-04 -1.5654 2 Index 5.9824 3.5369 .37969E-02 .19777 3 Normalizat .66587 .18058 .28244E-03 -1.0526 4 Prefactor 1.3295 .19407 .22617E-03 -.82435 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.3671e-10 Minuit parameter uncertainties: 1 0.58748 2 3.95094 3 0.180743 4 0.194179 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/491696': 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) = 5858.66487981 delta logL = 1.06978323589 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 7.315e-02 5.875e-01 1.000e-04 1.000e+04 ( 1.000e-13) 309 Index: 5.982e+00 3.951e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 625 Prefactor: 1.329e+00 1.942e-01 0.000e+00 1.000e+01 ( 1.000e+00) 626 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 627 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 624 Normalization: 6.659e-01 1.807e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.47 Ra Dec: 230.135 42.160 Photon Index (Free Index): 5.98 +/- 3.95 Photon Flux (Free Index): 9.57e-08 +/- 5.45e-08 Energy Flux (Free Index): 1.19e-05 +/- 7.10e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/491696/cmap_HighResolution_396144001_396403201_4FGL_J1520.5+4209_daily_bin605.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/491696 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.55e-03', comment='SUCCESS', photon_flux='3.81e-08', energy_flux2='1.19e-05', photon_flux_error='3.28e-08', dlogl='1.07e+00', energy_flux='1.10e-05', photon_flux2='9.57e-08', job_status='DONE', time_completed='2021-09-12 01:36:10.869778', photon_index_error2='3.95', photon_index2='5.98', ts='1.99', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='7.10e-06', EG='0.77', time_epoch_completed='1631435770.87', return_code='0', job_id='491696', GAL2='1.33', EG2='0.67', return_code2='102', energy_flux_error='9.47e-06', photon_flux_error2='5.45e-08', ts2='4.47', photon_index='2.50' WHERE bin_id='605' AND source_name='4FGL J1520.5+4209' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Sep 12 01:36:10 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 491696: <4FGL_J1520.5+4209_daily_bin605> in cluster Done Job <4FGL_J1520.5+4209_daily_bin605> was submitted from host by user in cluster at Sun Sep 12 01:20:24 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Sep 12 01:20:25 2021 was used as the home directory. was used as the working directory. Started at Sun Sep 12 01:20:25 2021 Terminated at Sun Sep 12 01:36:11 2021 Results reported at Sun Sep 12 01:36:11 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1520.5+4209_daily_bin605 230.135 42.16 396144001 396403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1520.5+4209 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 919.37 sec. Max Memory : 1257 MB Average Memory : 318.85 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 946 sec. Turnaround time : 947 sec. The output (if any) is above this job summary.