/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 233 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 = 7356 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0159.5+1046_daily_bin1018 RA = 29.8858, Dec = 10.7737 tmin = 503193601, tmax = 503452801 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='1341', job_status='RUN', time_executed='2021-08-15 00:49:41.851449', time_epoch_executed='1629013781.85' WHERE source_name='4FGL J0159.5+1046' and cadence='daily' and bin_id='1018' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/1341 Creating custom pfile directory: /scratch/kocevski/1341/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=503193601.0 && nMetStart<503452801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=503193601.0 && nMetStart<503452801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/1341/ft1_4FGL_J0159.5+1046_daily_bin1018.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=503193601.0 && nMetStart<503452801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/1341/ft1_4FGL_J0159.5+1046_daily_bin1018.fits outfile=/scratch/kocevski/1341/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin1018.fits ra=29.8858 dec=10.7737 rad=12.0 tmin=503193601.0 tmax=503452801.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 5.96 user 4.86 sys 1.02 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.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/1341/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin1018.fits evtable="EVENTS" outfile="/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.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 1.31 user 0.34 sys 0.95 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/1341/ltcube_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.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/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits .....................! real 14.17 user 12.82 sys 1.22 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/1341/ltcube_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.fits outfile=/scratch/kocevski/1341/expmap_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.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/1341/ltcube_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.fits .....................! real 193.57 user 186.41 sys 5.93 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 170 point sources and 0 extended sources Setting source of interest to: 4FGL J0159.5+1046 @ 29.8858 10.7737 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits scfile=/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits outfile=/scratch/kocevski/1341/cmap_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.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=29.8858 yref=10.7737 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 1.26 user 0.40 sys 0.83 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits scfile=/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits outfile=/scratch/kocevski/1341/cmap_HighResolution_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.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=29.8858 yref=10.7737 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 1.38 user 0.38 sys 0.95 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1341/Model_4FGL_J0159.5+1046_daily_bin1018.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/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits.....................! real 69.13 user 66.29 sys 2.31 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits', '/scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits', expMap='/scratch/kocevski/1341/expmap_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.fits', expCube='/scratch/kocevski/1341/ltcube_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/1341/Model_4FGL_J0159.5+1046_daily_bin1018.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0159.5+1046' 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 2.134e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.995e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/1341/ft1_filtered_4FGL_J0159.5+1046_daily_bin1018.fits Spacecraft file(s): /scratch/kocevski/1341/ft2_4FGL_J0159.5+1046_daily_bin1018.fits Exposure map: /scratch/kocevski/1341/expmap_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.fits Exposure cube: /scratch/kocevski/1341/ltcube_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/1341/Model_4FGL_J0159.5+1046_daily_bin1018.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) = 5577.37696493 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5577.35455854 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.829 1.0000 .10000E-03 10000. 2 'Prefactor ' .10053E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10256E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 5 'norm ' .79715 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 4.8967 1.0000 .10000E-03 10000. 8 'norm ' 11.912 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.3016 1.0000 .10000E-03 10000. 10 'norm ' .54605E-01 1.0000 .10000E-03 10000. 11 'Prefactor ' .10749E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 85.423 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.4646 1.0000 .10000E-03 10000. 14 'Prefactor ' 9.9791 1.0000 .10000E-03 10000. 15 'Prefactor ' .10310E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10116E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.6483 1.0000 .10000E-03 10000. 19 'norm ' .37168 1.0000 .10000E-03 10000. 20 'Prefactor ' .14228E-02 1.0000 .10000E-03 10000. 21 'Prefactor ' .10026E-03 1.0000 .10000E-03 10000. 22 'norm ' .10205E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 75.456 1.0000 .10000E-03 10000. 24 'Normalizat' .81995 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0006 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5380E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5577.355 FROM MIGRAD STATUS=CONVERGED 593 CALLS 2969 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.828 12.665 -.32259E-06 -.84435E-05 2 Prefactor .10000E-03 19.919 -.10387E-05** at limit ** 3 Prefactor .10000E-03 17.352 .98820E-06** at limit ** 4 Prefactor .10000E-03 6.0863 .19010E-06** at limit ** 5 norm .79851 10.527 -.28059E-06 -.18102E-04 6 Prefactor .10000E-03 2.6255 -.45349E-08** at limit ** 7 Prefactor 4.8965 3.0575 .52115E-07 .25291E-04 8 norm 11.913 6.1293 -.16519E-07 .36703E-04 9 Prefactor 3.3017 2.3652 .16135E-06 .89790E-04 10 norm .54927E-01 .58495 -.89583E-07 -.15441E-03 11 Prefactor .10000E-03 45.254 .50232E-06** at limit ** 12 Prefactor 85.410 45.795 -.54546E-05 -.92240E-04 13 Prefactor 2.4634 4.5090 .15645E-05 -.19363E-02 14 Prefactor 9.9608 81.638 -.29054E-04 -.43130E-04 15 Prefactor .10000E-03 8.7498 -.32052E-05** at limit ** 16 Prefactor .10000E-03 8.3802 .45547E-05** at limit ** 17 Prefactor .10000E-03 7.8090 -.20623E-05** at limit ** 18 Prefactor 4.6501 10.157 -.35843E-06 -.79532E-03 19 norm .37159 .34475 .74393E-08 .27281E-03 20 Prefactor .10001E-03 204.13 .41129E-06** at limit ** 21 Prefactor .10000E-03 5.7132 -.94569E-07** at limit ** 22 norm .10000E-03 4.9677 -.56156E-07** at limit ** 23 Prefactor 75.467 50.024 .51837E-05 .12688E-03 24 Normalizat .81998 .19772 .13359E-06 .82258E-04 25 Prefactor 1.0006 .12319 .75220E-06 .32076E-04 ERR DEF= .500 Final values: Prefactor = 14.8277 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.798513 Prefactor = 0.0001 Prefactor = 4.89653 norm = 11.9128 Prefactor = 3.30168 norm = 0.0549266 Prefactor = 0.0001 Prefactor = 85.4102 Prefactor = 2.46338 Prefactor = 9.96079 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.65006 norm = 0.371595 Prefactor = 0.000100012 Prefactor = 0.0001 norm = 0.0001 Prefactor = 75.4671 Normalizat = 0.819984 Prefactor = 1.00064 ********** ** 18 **HESSE ********** FCN= 5577.355 FROM HESSE STATUS=OK 429 CALLS 3398 TOTAL EDM= .66E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.828 12.671 .10401E-03 -1.4938 2 Prefactor .10000E-03 19.923 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 17.776 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 6.2212 .17984E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .79851 60.072 .46878E-02 -1.5529 6 Prefactor .10000E-03 2.6368 .11816E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 4.8965 3.0566 .97948E-04 -1.5265 8 norm 11.913 6.1303 .11607E-03 -1.5018 9 Prefactor 3.3017 2.3609 .93329E-04 -1.5345 10 norm .54927E-01 1.6874 .11060E-02 -1.5661 11 Prefactor .10000E-03 45.888 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 85.410 45.755 .43465E-04 -1.3857 13 Prefactor 2.4634 8.0906 .13025E-02 -1.5394 14 Prefactor 9.9608 81.548 .12685E-03 -1.5077 15 Prefactor .10000E-03 8.8843 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 8.4121 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 7.8727 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 4.6501 10.495 .93335E-03 -1.5277 19 norm .37159 .36188 .39536E-03 -1.5586 20 Prefactor .10001E-03 206.94 .20512E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 5.7138 .17435E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .10000E-03 4.9800 .16254E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 75.467 50.466 .46224E-04 -1.3968 24 Normalizat .81998 .22231 .32175E-03 -.99332 25 Prefactor 1.0006 .14110 .18300E-03 -.92708 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.59934e-08 Minuit parameter uncertainties: 1 12.6736 2 2.78399e-05 3 1.4105e-05 4 9.00948e-06 5 13.8655 6 1.40798e-06 7 3.05669 8 6.13066 9 2.36093 10 0.608346 11 0.000193397 12 45.7738 13 8.09417 14 57.1072 15 5.53412e-05 16 7.94156e-05 17 1.53264e-05 18 10.4987 19 0.361878 20 0.00320603 21 9.46613e-07 22 1.4231e-05 23 50.4943 24 0.222556 25 0.141153 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5577.35455439 Extracting fit parameters... 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 1.000e-04 1.408e-06 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.995e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 535 Prefactor: 1.001e+00 1.412e-01 0.000e+00 1.000e+01 ( 1.000e+00) 536 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 537 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 534 Normalization: 8.200e-01 2.226e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 29.886 10.774 Photon Flux Upper Limit: 5.62e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.21e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/1341/likelihoodResults_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.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) = 5577.35635485 delta logL = -0.00180046699006 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5577.35455383 delta logL = 5.60166881769e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Index ' 1.9672 1.0000 .0000 10.000 3 'Normalizat' .81998 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0006 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5380E+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= 5577.355 FROM MIGRAD STATUS=FAILED 87 CALLS 242 TOTAL EDM= .37E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10780E-03 2.0553 .12170E-01** at limit ** 2 Index 1.7262 9.0025 .50000 .42866E-04 3 Normalizat .81999 .41974E-02 .32175E-03 .10466E-03 4 Prefactor 1.0006 .26315E-02 .18300E-03 .24937E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 5577.355 FROM SIMPLEX STATUS=PROGRESS 88 CALLS 330 TOTAL EDM= .52E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10486E-03 2.0553 .23065E-03** at limit ** 2 Index 1.5889 9.0025 .51306E-01 .42866E-04 3 Normalizat .81994 .41974E-02 .25086E-04 .10466E-03 4 Prefactor 1.0006 .26315E-02 .13978E-04 .24937E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5577.355 FROM MIGRAD STATUS=CONVERGED 35 CALLS 365 TOTAL EDM= .27E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10221E-03 2.7488 .13371E-01** at limit ** 2 Index 1.6314 5.0887 .50000 .25940E-04 3 Normalizat .81994 .47225E-02 .12870E-04 -.16775E-01 4 Prefactor 1.0006 .29607E-02 .36600E-04 -.29534E-01 ERR DEF= .500 Final values: Prefactor = 0.000102213 Index = 1.6314 Normalizat = 0.819936 Prefactor = 1.00061 ********** ** 18 **HESSE ********** FCN= 5577.355 FROM HESSE STATUS=NOT POSDEF 29 CALLS 394 TOTAL EDM= .11E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10221E-03 112.80 .13746E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.6314 5.7395 .50000 -.73923 3 Normalizat .81994 .31166E-01 .25740E-05 -.99333 4 Prefactor 1.0006 .19539E-01 .73200E-05 -.92709 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.11938e-07 Minuit parameter uncertainties: 1 0.031658 2 630.817 3 0.0311665 4 0.019539 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/1341': 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) = 5577.35454996 delta logL = 4.43023873231e-06 Extracting fit parameters... 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 1.022e-04 3.166e-02 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.631e+00 6.308e+02 0.000e+00 1.000e+01 (-1.000e+00) 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 535 Prefactor: 1.001e+00 1.954e-02 0.000e+00 1.000e+01 ( 1.000e+00) 536 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 537 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 534 Normalization: 8.199e-01 3.117e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 29.886 10.774 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/1341/cmap_HighResolution_503193601_503452801_4FGL_J0159.5+1046_daily_bin1018.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/1341 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.62e-08', time_completed='2021-08-15 01:01:56.280868', job_id='1341', GAL2='1.00', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1629014516.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.43e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1018' AND source_name='4FGL J0159.5+1046' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 15 01:01:56 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 1341: <4FGL_J0159.5+1046_daily_bin1018> in cluster Done Job <4FGL_J0159.5+1046_daily_bin1018> was submitted from host by user in cluster at Sun Aug 15 00:45:18 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 15 00:45:26 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 15 00:45:26 2021 Terminated at Sun Aug 15 01:01:56 2021 Results reported at Sun Aug 15 01:01:56 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0159.5+1046_daily_bin1018 29.8858 10.7737 503193601 503452801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0159.5+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 716.00 sec. Max Memory : 1256 MB Average Memory : 274.56 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 990 sec. Turnaround time : 998 sec. The output (if any) is above this job summary.