/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 117 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 = 7454 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1196 RA = 75.6341, Dec = 13.6685 tmin = 549331201, tmax = 549590401 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='924988', job_status='RUN', time_executed='2021-08-21 18:08:53.535347', time_epoch_executed='1629594533.54' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1196' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/924988 Creating custom pfile directory: /scratch/kocevski/924988/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=549331201.0 && nMetStart<549590401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=549331201.0 && nMetStart<549590401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/924988/ft1_4FGL_J0502.5+1340_daily_bin1196.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=549331201.0 && nMetStart<549590401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/924988/ft1_4FGL_J0502.5+1340_daily_bin1196.fits outfile=/scratch/kocevski/924988/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1196.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=549331201.0 tmax=549590401.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 7.58 user 2.60 sys 4.93 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.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/924988/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1196.fits evtable="EVENTS" outfile="/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.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 5.70 user 0.34 sys 5.33 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits" evtable="EVENTS" scfile=/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits sctable="SC_DATA" outfile=/scratch/kocevski/924988/ltcube_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.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/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits .....................! real 18.45 user 12.30 sys 6.10 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits evtable="EVENTS" scfile=/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits sctable="SC_DATA" expcube=/scratch/kocevski/924988/ltcube_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.fits outfile=/scratch/kocevski/924988/expmap_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.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/924988/ltcube_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.fits .....................! real 196.98 user 185.45 sys 11.04 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 161 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits scfile=/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits outfile=/scratch/kocevski/924988/cmap_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.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=75.6341 yref=13.6685 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 5.65 user 0.37 sys 5.22 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits scfile=/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits outfile=/scratch/kocevski/924988/cmap_HighResolution_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.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=75.6341 yref=13.6685 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 5.65 user 0.38 sys 5.22 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits evtable="EVENTS" scfile=/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924988/Model_4FGL_J0502.5+1340_daily_bin1196.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/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits......................! real 60.63 user 52.38 sys 8.02 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits', '/scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits', expMap='/scratch/kocevski/924988/expmap_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.fits', expCube='/scratch/kocevski/924988/ltcube_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/924988/Model_4FGL_J0502.5+1340_daily_bin1196.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/924988/ft1_filtered_4FGL_J0502.5+1340_daily_bin1196.fits Spacecraft file(s): /scratch/kocevski/924988/ft2_4FGL_J0502.5+1340_daily_bin1196.fits Exposure map: /scratch/kocevski/924988/expmap_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.fits Exposure cube: /scratch/kocevski/924988/ltcube_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/924988/Model_4FGL_J0502.5+1340_daily_bin1196.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) = 1806.1776839 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1805.97117736 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .70751E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .29283 1.0000 .10000E-03 10000. 3 'Prefactor ' 10000. 1.0000 .10000E-03 10000. 4 'norm ' .10013E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 9999.9 1.0000 .10000E-03 10000. 6 'Prefactor ' 103.33 1.0000 .10000E-03 10000. 7 'norm ' 8125.4 1.0000 .10000E-03 10000. 8 'Prefactor ' .10302E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10888E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10063E-03 1.0000 .10000E-03 10000. 11 'norm ' 3.9376 1.0000 .10000E-03 10000. 12 'norm ' 1.5063 1.0000 .10000E-03 10000. 13 'Prefactor ' .10031E-03 1.0000 .10000E-03 10000. 14 'norm ' .10002E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .13188E-03 1.0000 .10000E-03 10000. 17 'norm ' .10625E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 2.4942 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.5319 1.0000 .10000E-03 10000. 22 'norm ' 4.0151 1.0000 .10000E-03 10000. 23 'Prefactor ' .14536E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 164.74 1.0000 .10000E-03 10000. 25 'Prefactor ' .31611E-01 1.0000 .10000E-03 10000. 26 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 2.8635 1.0000 .10000E-03 10000. 28 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 29 'Prefactor ' .90406 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 1805.971 FROM MIGRAD STATUS=CONVERGED 756 CALLS 4416 TOTAL EDM= .27E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 343.85 -.19811E-05** at limit ** 2 Prefactor .10016E-03 9989.9 .19967E-03** at limit ** 3 Prefactor 10000.0 6628.2 -.20525E-04** at limit ** 4 norm .10000E-03 13.893 -.18604E-07** at limit ** 5 Prefactor 10000.0 5861.8 -.12470E-03** at limit ** 6 Prefactor 103.25 151.62 .95981E-06 -.79149E-05 7 norm 8122.3 3141.7 .73999E-05 -.10388E-04 8 Prefactor .10000E-03 107.38 .20530E-07** at limit ** 9 Prefactor .10000E-03 75.875 -.50309E-06** at limit ** 10 Prefactor .10000E-03 43.836 -.42564E-07** at limit ** 11 norm 3.9378 2.9842 -.40200E-07 -.18875E-03 12 norm 1.5077 29.978 .35324E-05 .85044E-05 13 Prefactor .10000E-03 9.4041 .19102E-07** at limit ** 14 norm .10000E-03 20.057 -.44042E-07** at limit ** 15 Prefactor .10000E-03 21.014 .20910E-07** at limit ** 16 Prefactor .10000E-03 195.24 .50159E-06** at limit ** 17 norm .10000E-03 28.444 .49879E-06** at limit ** 18 Prefactor .10000E-03 70.307 .66543E-06** at limit ** 19 norm .10000E-03 17.708 .90387E-07** at limit ** 20 norm 2.4931 3.9027 .15364E-06 -.12858E-03 21 Prefactor 1.5316 .37035 -.63064E-07 -.76395E-02 22 norm 4.0151 9.1764 .25133E-06 -.12389E-03 23 Prefactor .10020E-03 1.6404 .68504E-06** at limit ** 24 Prefactor 164.95 104.80 .35758E-07 -.48869E-04 25 Prefactor .10000E-03 1221.8 .21807E-05** at limit ** 26 Prefactor .10000E-03 36.331 -.12954E-07** at limit ** 27 Prefactor 2.8645 11.088 .11161E-06 -.64796E-04 28 Normalizat .10000E-01 .28932 .81569E-05** at limit ** 29 Prefactor .90408 .13473 -.11144E-05 -.32622E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100155 Prefactor = 10000 norm = 0.0001 Prefactor = 10000 Prefactor = 103.245 norm = 8122.35 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 3.93777 norm = 1.50774 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 2.49313 Prefactor = 1.53163 norm = 4.01511 Prefactor = 0.000100197 Prefactor = 164.952 Prefactor = 0.000100002 Prefactor = 0.0001 Prefactor = 2.86445 Normalizat = 0.01 Prefactor = 0.904076 ********** ** 18 **HESSE ********** FCN= 1805.971 FROM HESSE STATUS=OK 537 CALLS 4953 TOTAL EDM= .71E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 343.74 .20974E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10016E-03 9966.8 .20787E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 10000.0 6623.5 .18142E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 13.894 .15474E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 10000.0 5893.0 .18965E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 103.25 151.49 .19778E-03 -1.3672 7 norm 8122.3 3110.8 .51245E-04 .67445 8 Prefactor .10000E-03 107.39 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 75.873 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 43.837 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.9378 2.9908 .58572E-04 -1.5311 12 norm 1.5077 30.223 .17433E-02 -1.5462 13 Prefactor .10000E-03 9.4052 .12730E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 20.063 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 21.058 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 195.29 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .10000E-03 28.831 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 70.359 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 17.778 .17463E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.4931 3.8704 .93592E-04 -1.5392 21 Prefactor 1.5316 .35020 .91423E-05 -1.5460 22 norm 4.0151 9.2614 .15647E-03 -1.5307 23 Prefactor .10020E-03 28.316 .88971E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 164.95 103.66 .15712E-03 -1.3132 25 Prefactor .10000E-03 1213.0 .36720E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 36.360 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 2.8645 11.106 .24023E-03 -1.5369 28 Normalizat .10000E-01 .31560 .13825E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .90408 .13670 .16581E-03 -.95999 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.09877e-09 Minuit parameter uncertainties: 1 0.000145579 2 0.117393 3 0.00494646 4 2.1904e-06 5 0.132288 6 152.065 7 3599.09 8 9.41847e-06 9 5.89266e-06 10 3.91331e-07 11 2.99089 12 13.5083 13 8.25093e-07 14 1.68624e-06 15 5.94612e-06 16 1.32624e-05 17 3.39718e-05 18 1.76104e-06 19 1.24719e-05 20 3.87083 21 0.350198 22 9.26471 23 0.00472895 24 103.774 25 0.00282932 26 1.1136e-05 27 11.1136 28 4.50565e-07 29 0.136747 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1805.97115283 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 3.913e-07 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.041e-01 1.367e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.000e-02 4.506e-07 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 1.48e-06 ph cm-2 s-1 Energy Flux Upper Limit: 1.13e-01 MeV cm-2 s-1 Saving results to: /scratch/kocevski/924988/likelihoodResults_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.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) = 1805.97126013 delta logL = -0.000107301725166 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 1805.97115347 delta logL = -6.39015979687e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5241 1.0000 .0000 10.000 3 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' .90408 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+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= 1805.971 FROM MIGRAD STATUS=CONVERGED 89 CALLS 281 TOTAL EDM= .27E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10378E-03 21.559 .18142E-01** at limit ** 2 Index 2.4369 5.6253 .50000 .10431E-04 3 Normalizat .10000E-01 .42058E-03 .13825E-01** at limit ** 4 Prefactor .90408 .41599E-02 .16581E-03 -.30186E-03 ERR DEF= .500 Final values: Prefactor = 0.000103784 Index = 2.43688 Normalizat = 0.01 Prefactor = 0.904076 ********** ** 18 **HESSE ********** FCN= 1805.971 FROM HESSE STATUS=NOT POSDEF 29 CALLS 310 TOTAL EDM= .20E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10378E-03 160.98 .23740E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4369 5.3533 .50000 -.53824 3 Normalizat .10000E-01 .31830E-02 .27650E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .90408 .11443E-01 .33163E-04 -.95999 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.00481e-09 Minuit parameter uncertainties: 1 0.0494944 2 323.012 3 7.96565e-07 4 0.0114429 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/924988': 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) = 1805.97115328 delta logL = -4.47358161182e-07 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.038e-04 4.949e-02 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.437e+00 3.230e+02 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.041e-01 1.144e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.000e-02 7.966e-07 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 75.634 13.668 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/924988/cmap_HighResolution_549331201_549590401_4FGL_J0502.5+1340_daily_bin1196.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/924988 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-01', job_status='DONE', photon_flux_upper_limit='1.48e-06', time_completed='2021-08-21 18:18:22.532502', job_id='924988', GAL2='0.90', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629595102.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-4.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1196' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:18:22 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 924988: <4FGL_J0502.5+1340_daily_bin1196> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1196> was submitted from host by user in cluster at Sat Aug 21 18:05:26 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:05:27 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:05:27 2021 Terminated at Sat Aug 21 18:18:24 2021 Results reported at Sat Aug 21 18:18:24 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1196 75.6341 13.6685 549331201 549590401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 645.00 sec. Max Memory : 1255 MB Average Memory : 230.59 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 776 sec. Turnaround time : 778 sec. The output (if any) is above this job summary.