/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 10 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 = 73286 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0515.8+1527_monthly_bin151 RA = 78.953, Dec = 15.4614 tmin = 628387201, tmax = 630979201 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='335796', job_status='RUN', time_executed='2021-10-14 05:40:43.112986', time_epoch_executed='1634215243.11' WHERE source_name='4FGL J0515.8+1527' and cadence='monthly' and bin_id='151' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/335796 Creating custom pfile directory: /scratch/kocevski/335796/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=628387201.0 && nMetStart<630979201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=628387201.0 && nMetStart<630979201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/335796/ft1_4FGL_J0515.8+1527_monthly_bin151.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=628387201.0 && nMetStart<630979201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Merged file saved to: /scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/335796/ft1_4FGL_J0515.8+1527_monthly_bin151.fits outfile=/scratch/kocevski/335796/ft1_filteredMKT_4FGL_J0515.8+1527_monthly_bin151.fits ra=78.953 dec=15.4614 rad=12.0 tmin=628387201.0 tmax=630979201.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 30.78 user 29.59 sys 0.78 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.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/335796/ft1_filteredMKT_4FGL_J0515.8+1527_monthly_bin151.fits evtable="EVENTS" outfile="/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.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.86 user 0.67 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits" evtable="EVENTS" scfile=/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits sctable="SC_DATA" outfile=/scratch/kocevski/335796/ltcube_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.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/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits .....................! real 121.41 user 119.59 sys 0.39 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits evtable="EVENTS" scfile=/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits sctable="SC_DATA" expcube=/scratch/kocevski/335796/ltcube_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.fits outfile=/scratch/kocevski/335796/expmap_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.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/335796/ltcube_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.fits .....................! real 193.22 user 186.05 sys 4.78 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 Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 165 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0515.8+1527 @ 78.953 15.4614 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits scfile=/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits outfile=/scratch/kocevski/335796/cmap_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.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=78.953 yref=15.4614 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.82 user 0.63 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits scfile=/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits outfile=/scratch/kocevski/335796/cmap_HighResolution_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.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=78.953 yref=15.4614 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.85 user 0.63 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits evtable="EVENTS" scfile=/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335796/Model_4FGL_J0515.8+1527_monthly_bin151.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 adding source IC 443 adding source S 147 Working on... /scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits.....................! real 3720.06 user 3687.01 sys 2.00 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits', '/scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits', expMap='/scratch/kocevski/335796/expmap_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.fits', expCube='/scratch/kocevski/335796/ltcube_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/335796/Model_4FGL_J0515.8+1527_monthly_bin151.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0515.8+1527' 4FGL J0515.8+1527 Spectrum: PowerLaw 237 Prefactor: 1.467e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 238 Index: 1.942e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 239 Scale: 3.068e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/335796/ft1_filtered_4FGL_J0515.8+1527_monthly_bin151.fits Spacecraft file(s): /scratch/kocevski/335796/ft2_4FGL_J0515.8+1527_monthly_bin151.fits Exposure map: /scratch/kocevski/335796/expmap_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.fits Exposure cube: /scratch/kocevski/335796/ltcube_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/335796/Model_4FGL_J0515.8+1527_monthly_bin151.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) = 169553.978335 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 169553.853318 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10101E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 4.6378 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'norm ' 4.1351 1.0000 .10000E-03 10000. 5 'Prefactor ' .45731E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10049E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 4.4816 1.0000 .10000E-03 10000. 8 'norm ' .25537 1.0000 .10000E-03 10000. 9 'norm ' 5.9676 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.0305 1.0000 .10000E-03 10000. 11 'norm ' 2.6329 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.1592 1.0000 .10000E-03 10000. 13 'Prefactor ' 11.071 1.0000 .10000E-03 10000. 14 'norm ' 4.8248 1.0000 .10000E-03 10000. 15 'Prefactor ' .42631 1.0000 .10000E-03 10000. 16 'norm ' 2.8859 1.0000 .10000E-03 10000. 17 'norm ' 1.3265 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.1889 1.0000 .10000E-03 10000. 19 'norm ' 8.2665 1.0000 .10000E-03 10000. 20 'Prefactor ' 2.5273 1.0000 .10000E-03 10000. 21 'Prefactor ' 9.5088 1.0000 .10000E-03 10000. 22 'Prefactor ' .36474E-02 1.0000 .10000E-03 10000. 23 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .86660 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1310 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0061 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 169553.9 FROM MIGRAD STATUS=CONVERGED 84 CALLS 3231 TOTAL EDM= .85E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10002E-03 5.9145 .22357E-06** at limit ** 2 Prefactor 4.6364 1.0469 .38608E-07 -.28559E-03 3 Prefactor .10000E-03 .54499 -.71253E-08** at limit ** 4 norm 4.1351 .84058 .27204E-07 .33301E-03 5 Prefactor .10006E-03 9.0291 .14934E-05** at limit ** 6 Prefactor .10002E-03 4.7567 .11230E-05** at limit ** 7 Prefactor 4.4819 3.6208 .33931E-06 .24438E-02 8 norm .25535 .16241 -.12538E-07 -.37053E-03 9 norm 5.9680 1.3432 .28553E-07 .41116E-04 10 Prefactor 2.0305 1.0780 -.63920E-07 -.36243E-03 11 norm 2.6331 1.6221 -.17588E-07 -.11218E-03 12 Prefactor 2.1597 1.4297 .54031E-07 .21511E-03 13 Prefactor 11.076 1.5041 .14345E-06 -.35007E-02 14 norm 4.8248 1.0226 .25525E-06 .30045E-02 15 Prefactor .42647 .71617 .68278E-09 .85448E-05 16 norm 2.8860 2.0522 -.24081E-07 -.31251E-03 17 norm 1.3265 .38137 -.13990E-07 -.82120E-03 18 Prefactor 1.1889 .59920E-01 -.11472E-07 -.28220E-02 19 norm 8.2666 1.4973 .11772E-06 .30902E-02 20 Prefactor 2.5274 .39111 .38077E-07 .94142E-03 21 Prefactor 9.5193 1.9500 -.15943E-06 .23755E-02 22 Prefactor .10000E-03 35.667 -.14915E-05** at limit ** 23 Prefactor .10005E-03 3.8896 .82158E-06** at limit ** 24 Prefactor .86728 1.7559 .50777E-07 -.76583E-04 25 Normalizat 1.1310 .11859 -.19288E-07 -.13405E-03 26 Prefactor 1.0061 .18496E-01 -.78002E-07 -.11155E-02 ERR DEF= .500 Final values: Prefactor = 0.000100023 Prefactor = 4.63638 Prefactor = 0.0001 norm = 4.13506 Prefactor = 0.000100062 Prefactor = 0.000100022 Prefactor = 4.48186 norm = 0.255349 norm = 5.96802 Prefactor = 2.03046 norm = 2.63309 Prefactor = 2.15967 Prefactor = 11.0759 norm = 4.82484 Prefactor = 0.426468 norm = 2.88603 norm = 1.32652 Prefactor = 1.18888 norm = 8.26658 Prefactor = 2.52736 Prefactor = 9.5193 Prefactor = 0.0001 Prefactor = 0.000100055 Prefactor = 0.867282 Normalizat = 1.13104 Prefactor = 1.00613 ********** ** 18 **HESSE ********** FCN= 169553.9 FROM HESSE STATUS=OK 550 CALLS 3781 TOTAL EDM= .40E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10002E-03 .71581 .12426 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 4.6364 7.9030 .46722E-02 -1.5277 3 Prefactor .10000E-03 .53946 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 4.1351 .84600 .49556E-02 -1.5301 5 Prefactor .10006E-03 12.919 .10600E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10002E-03 5.4128 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 4.4819 3.7595 .47549E-02 -1.5285 8 norm .25535 .16842 .28846E-01 -1.5607 9 norm 5.9680 1.3781 .41094E-02 -1.5219 10 Prefactor 2.0305 1.0798 .72579E-03 -1.5423 11 norm 2.6331 1.6350 .62826E-02 -1.5383 12 Prefactor 2.1597 1.4601 .70084E-02 -1.5414 13 Prefactor 11.076 23.294 .30102E-02 -1.5042 14 norm 4.8248 1.0348 .45787E-03 -1.5269 15 Prefactor .42647 1.4937 .16690 -1.5577 16 norm 2.8860 2.0961 .59809E-02 -1.5368 17 norm 1.3265 .39768 .95398E-02 -1.5478 18 Prefactor 1.1889 .54966E-01 .30268E-02 -1.5490 19 norm 8.2666 1.4033 .34859E-02 -1.5133 20 Prefactor 2.5274 .37862 .64236E-02 -1.5390 21 Prefactor 9.5193 9.1980 .32490E-02 -1.5091 22 Prefactor .10000E-03 2.0941 .15652 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10005E-03 5.6692 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .86728 1.0856 .70424E-01 -1.5522 25 Normalizat 1.1310 .12453 .18978 -.88761 26 Prefactor 1.0061 .17935E-01 .33254E-01 -.92525 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.98035e-06 Minuit parameter uncertainties: 1 0.000258658 2 7.90482 3 1.01226e-07 4 0.846007 5 0.00179444 6 0.000682663 7 3.75975 8 0.168424 9 1.3781 10 1.07983 11 1.63504 12 1.4601 13 23.3128 14 1.0348 15 1.49385 16 2.09613 17 0.397684 18 0.0549664 19 1.40333 20 0.378619 21 9.19941 22 4.88208e-05 23 0.0011163 24 1.08567 25 0.124567 26 0.0179349 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 169553.853254 Extracting fit parameters... 4FGL J0515.8+1527 Spectrum: PowerLaw 237 Prefactor: 2.160e+00 1.460e+00 1.000e-04 1.000e+04 ( 1.000e-13) 238 Index: 1.942e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 239 Scale: 3.068e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 560 Prefactor: 1.006e+00 1.793e-02 0.000e+00 1.000e+01 ( 1.000e+00) 561 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 562 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 559 Normalization: 1.131e+00 1.246e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.13 Ra Dec: 78.953 15.461 Photon Index (Fixed Index): 1.94 +/- 0.00 Photon Flux (Fixed Index): 1.77e-08 +/- 1.19e-08 Energy Flux (Fixed Index): 1.42e-05 +/- 9.58e-06 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) = 169553.219348 delta logL = 0.633906113682 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 169553.213045 delta logL = 0.640208715951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.5583 1.0000 .10000E-03 10000. 2 'Index ' 2.4140 1.0000 .0000 10.000 3 'Normalizat' 1.1119 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0068 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5710E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 169553.2 FROM MIGRAD STATUS=FAILED 104 CALLS 320 TOTAL EDM= .25E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.5583 20.461 .25622E-03 .30385E-03 2 Index 2.4140 3.2512 .16172E-01 .61280E-03 3 Normalizat 1.1119 .19747 .85168E-03 .65782E-04 4 Prefactor 1.0068 .22586E-01 .14690E-03 .47547E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 169553.2 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 402 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.5583 20.461 .36512E-04 .30385E-03 2 Index 2.4140 3.2512 .31479E-03 .61280E-03 3 Normalizat 1.1119 .19747 .15481E-03 .65782E-04 4 Prefactor 1.0068 .22586E-01 .19519E-04 .47547E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 169553.2 FROM MIGRAD STATUS=CONVERGED 30 CALLS 432 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.5583 1.2885 .10249E-04 .27688E-03 2 Index 2.4140 .42069 .64688E-03 .50052E-04 3 Normalizat 1.1119 .10953 .34067E-04 .66209E-04 4 Prefactor 1.0068 .17948E-01 .58762E-05 .47052E-03 ERR DEF= .500 Final values: Prefactor = 1.55834 Index = 2.41398 Normalizat = 1.11194 Prefactor = 1.00675 ********** ** 18 **HESSE ********** FCN= 169553.2 FROM HESSE STATUS=OK 23 CALLS 455 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.5583 1.2686 .20497E-05 -1.5458 2 Index 2.4140 .41406 .25875E-04 -.54358 3 Normalizat 1.1119 .10954 .68134E-05 -.89370 4 Prefactor 1.0068 .17960E-01 .11752E-05 -.92505 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.13076e-11 Minuit parameter uncertainties: 1 1.26858 2 0.414714 3 0.109564 4 0.0179602 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/335796': 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) = 169553.213045 delta logL = 0.640208742989 Extracting fit parameters... 4FGL J0515.8+1527 Spectrum: PowerLaw 237 Prefactor: 1.558e+00 1.269e+00 1.000e-04 1.000e+04 ( 1.000e-13) 238 Index: 2.414e+00 4.147e-01 0.000e+00 1.000e+01 (-1.000e+00) 239 Scale: 3.068e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 560 Prefactor: 1.007e+00 1.796e-02 0.000e+00 1.000e+01 ( 1.000e+00) 561 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 562 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 559 Normalization: 1.112e+00 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.44 Ra Dec: 78.953 15.461 Photon Index (Free Index): 2.41 +/- 0.41 Photon Flux (Free Index): 4.28e-08 +/- 3.09e-08 Energy Flux (Free Index): 1.38e-05 +/- 7.19e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/335796/cmap_HighResolution_628387201_630979201_4FGL_J0515.8+1527_monthly_bin151.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/335796 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.77e-08', energy_flux2='1.38e-05', photon_flux_error='1.19e-08', dlogl='6.40e-01', energy_flux='1.42e-05', photon_flux2='4.28e-08', job_status='DONE', time_completed='2021-10-14 09:25:24.375660', photon_index_error2='0.41', photon_index2='2.41', ts='4.13', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='7.19e-06', EG='1.13', time_epoch_completed='1634228724.38', return_code='0', job_id='335796', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='9.58e-06', photon_flux_error2='3.09e-08', ts2='5.44', photon_index='1.94' WHERE bin_id='151' AND source_name='4FGL J0515.8+1527' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 09:25:24 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 335796: <4FGL_J0515.8+1527_monthly_bin151> in cluster Done Job <4FGL_J0515.8+1527_monthly_bin151> was submitted from host by user in cluster at Thu Oct 14 05:40:18 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Oct 14 05:40:21 2021 was used as the home directory. was used as the working directory. Started at Thu Oct 14 05:40:21 2021 Terminated at Thu Oct 14 09:25:25 2021 Results reported at Thu Oct 14 09:25:25 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0515.8+1527_monthly_bin151 78.953 15.4614 628387201 630979201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0515.8+1527 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 13237.00 sec. Max Memory : 999 MB Average Memory : 543.28 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 13504 sec. Turnaround time : 13507 sec. The output (if any) is above this job summary.