/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 219 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 = 7452 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1443 RA = 75.6341, Dec = 13.6685 tmin = 613353601, tmax = 613612801 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='929050', job_status='RUN', time_executed='2021-08-21 18:26:26.561301', time_epoch_executed='1629595586.56' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1443' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/929050 Creating custom pfile directory: /scratch/kocevski/929050/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=613353601.0 && nMetStart<613612801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=613353601.0 && nMetStart<613612801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/929050/ft1_4FGL_J0502.5+1340_daily_bin1443.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=613353601.0 && nMetStart<613612801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/929050/ft1_4FGL_J0502.5+1340_daily_bin1443.fits outfile=/scratch/kocevski/929050/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1443.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=613353601.0 tmax=613612801.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 12.04 user 2.49 sys 9.45 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.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/929050/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1443.fits evtable="EVENTS" outfile="/scratch/kocevski/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.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 9.75 user 0.32 sys 9.39 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits" evtable="EVENTS" scfile=/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits sctable="SC_DATA" outfile=/scratch/kocevski/929050/ltcube_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.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/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits .....................! real 22.81 user 12.89 sys 9.85 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits sctable="SC_DATA" expcube=/scratch/kocevski/929050/ltcube_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.fits outfile=/scratch/kocevski/929050/expmap_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.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/929050/ltcube_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.fits .....................! real 203.21 user 185.59 sys 16.94 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/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits scfile=/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits outfile=/scratch/kocevski/929050/cmap_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.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 9.60 user 0.37 sys 9.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits scfile=/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits outfile=/scratch/kocevski/929050/cmap_HighResolution_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.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 9.69 user 0.38 sys 9.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929050/Model_4FGL_J0502.5+1340_daily_bin1443.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/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits......................! real 42.82 user 29.21 sys 13.37 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits', '/scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits', expMap='/scratch/kocevski/929050/expmap_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.fits', expCube='/scratch/kocevski/929050/ltcube_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/929050/Model_4FGL_J0502.5+1340_daily_bin1443.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/929050/ft1_filtered_4FGL_J0502.5+1340_daily_bin1443.fits Spacecraft file(s): /scratch/kocevski/929050/ft2_4FGL_J0502.5+1340_daily_bin1443.fits Exposure map: /scratch/kocevski/929050/expmap_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.fits Exposure cube: /scratch/kocevski/929050/ltcube_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/929050/Model_4FGL_J0502.5+1340_daily_bin1443.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) = 741.266744595 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 740.387291866 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 125.74 1.0000 .10000E-03 10000. 2 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10892E-03 1.0000 .10000E-03 10000. 4 'norm ' .12150E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10077E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 46.724 1.0000 .10000E-03 10000. 7 'norm ' .10001E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .17334E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10257E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .11165E-03 1.0000 .10000E-03 10000. 11 'norm ' 5.6673 1.0000 .10000E-03 10000. 12 'norm ' .10001E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10158E-03 1.0000 .10000E-03 10000. 14 'norm ' .10056E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 10000.0 1.0000 .10000E-03 10000. 16 'Prefactor ' 9999.7 1.0000 .10000E-03 10000. 17 'norm ' 10000. 1.0000 .10000E-03 10000. 18 'Prefactor ' 9999.9 1.0000 .10000E-03 10000. 19 'norm ' 10000.0 1.0000 .10000E-03 10000. 20 'norm ' 1.8585 1.0000 .10000E-03 10000. 21 'Prefactor ' 2072.5 1.0000 .10000E-03 10000. 22 'norm ' .42319E-01 1.0000 .10000E-03 10000. 23 'Prefactor ' 10000.0 1.0000 .10000E-03 10000. 24 'Prefactor ' .10631E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .26929E-01 1.0000 .10000E-03 10000. 27 'Prefactor ' .15185E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .10003E-01 1.0000 .10000E-01 10.000 29 'Prefactor ' .71620 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= 740.3873 FROM MIGRAD STATUS=CONVERGED 698 CALLS 4298 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 125.77 101.10 .24219E-05 .10416E-03 2 Prefactor .10000E-03 65.320 -.39448E-05** at limit ** 3 Prefactor .10001E-03 44.921 .38838E-06** at limit ** 4 norm .10000E-03 11.671 -.11147E-05** at limit ** 5 Prefactor .10000E-03 135.75 -.52600E-04** at limit ** 6 Prefactor 46.716 40.977 -.90613E-05 .19333E-03 7 norm .10001E-03 8.0374 .20667E-05** at limit ** 8 Prefactor .10000E-03 228.24 -.80186E-04** at limit ** 9 Prefactor .10000E-03 127.49 .55511E-04** at limit ** 10 Prefactor .10000E-03 130.50 .14479E-04** at limit ** 11 norm 5.6691 3.9501 -.82951E-06 .48499E-03 12 norm .10000E-03 15.396 -.17390E-06** at limit ** 13 Prefactor .10000E-03 51.184 .10690E-05** at limit ** 14 norm .10001E-03 1504.9 -.33489E-03** at limit ** 15 Prefactor 10000.0 8457.6 .16678E-02** at limit ** 16 Prefactor 10000.0 6959.5 .11181E-01** at limit ** 17 norm 10000.0 2284.2 .79867E-03** at limit ** 18 Prefactor 10000.0 9308.3 .69080E-02** at limit ** 19 norm 10000.0 9966.8 .12918E-02** at limit ** 20 norm 1.8588 11.823 -.10706E-04 -.56691E-04 21 Prefactor 2068.2 1549.0 -.10478E-02 .29869E-04 22 norm .10003E-03 9332.5 -.35956E-02** at limit ** 23 Prefactor 10000.0 6606.1 .17127E-03** at limit ** 24 Prefactor .10000E-03 222.08 -.11114E-03** at limit ** 25 Prefactor .10000E-03 299.19 .27297E-03** at limit ** 26 Prefactor .10003E-03 9805.0 -.32433E-02** at limit ** 27 Prefactor .10000E-03 973.42 .17714E-03** at limit ** 28 Normalizat .10000E-01 .41309 .33868E-06** at limit ** 29 Prefactor .71634 .15912 .41721E-04 -.47412E-03 ERR DEF= .500 Final values: Prefactor = 125.769 Prefactor = 0.000100001 Prefactor = 0.000100005 norm = 0.000100003 Prefactor = 0.000100001 Prefactor = 46.7157 norm = 0.000100008 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 5.66912 norm = 0.0001 Prefactor = 0.000100001 norm = 0.000100011 Prefactor = 10000 Prefactor = 10000 norm = 10000 Prefactor = 10000 norm = 10000 norm = 1.85877 Prefactor = 2068.25 norm = 0.000100028 Prefactor = 10000 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100033 Prefactor = 0.0001 Normalizat = 0.01 Prefactor = 0.716344 ********** ** 18 **HESSE ********** FCN= 740.3873 FROM HESSE STATUS=OK 527 CALLS 4825 TOTAL EDM= .33E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 125.77 101.33 .17949E-03 -1.3460 2 Prefactor .10000E-03 65.330 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10001E-03 44.963 .17827E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 11.863 .90551E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 135.76 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 46.716 40.836 .58659E-04 -1.4340 7 norm .10001E-03 8.0680 .75352E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 228.27 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 127.50 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 130.51 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 5.6691 3.9420 .42700E-04 -1.5232 12 norm .10000E-03 15.402 .10427E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 51.258 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10001E-03 1505.4 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 10000.0 8454.7 .18149E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 10000.0 6958.2 .21186E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 10000.0 2283.7 .18142E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 10000.0 9308.3 .19334E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 10000.0 9966.4 .19168E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 1.8588 11.798 .17902E-03 -1.5435 21 Prefactor 2068.2 1551.5 .49342E-04 -.62655 22 norm .10003E-03 9333.5 .18465E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 10000.0 6604.1 .21149E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 222.09 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 299.21 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10003E-03 9807.0 .18314E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10000E-03 973.43 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .10000E-01 .43329 .10364E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .71634 .15669 .14050E-03 -1.0289 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.27077e-09 Minuit parameter uncertainties: 1 101.465 2 0.00041257 3 0.000976292 4 0.000390373 5 0.000708716 6 40.8607 7 0.000507127 8 0.000618812 9 0.000241562 10 0.000371537 11 3.94221 12 6.97756e-05 13 0.000447671 14 0.00835022 15 0.00861505 16 0.084602 17 0.00466604 18 0.0184418 19 0.0294773 20 9.36818 21 1592.22 22 0.0399189 23 0.0486139 24 2.6264e-05 25 1.63949e-05 26 0.163448 27 0.000152207 28 3.77381e-06 29 0.156789 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 740.387276459 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 3.715e-04 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: 7.163e-01 1.568e-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 3.774e-06 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 4.42e-06 ph cm-2 s-1 Energy Flux Upper Limit: 3.38e-01 MeV cm-2 s-1 Saving results to: /scratch/kocevski/929050/likelihoodResults_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.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) = 740.387313482 delta logL = -3.70231069837e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 740.387277197 delta logL = -7.38078938411e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .20353E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4931 1.0000 .0000 10.000 3 'Normalizat' .10000E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' .71635 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= 740.3873 FROM MIGRAD STATUS=CONVERGED 94 CALLS 286 TOTAL EDM= .72E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10337E-03 67.436 .18142E-01** at limit ** 2 Index 2.4140 8.4962 .50000 .31428E-05 3 Normalizat .10000E-01 .58114E-03 .10364E-01** at limit ** 4 Prefactor .71635 .49557E-02 .14049E-03 .12330E-04 ERR DEF= .500 Final values: Prefactor = 0.000103372 Index = 2.414 Normalizat = 0.01 Prefactor = 0.716348 ********** ** 18 **HESSE ********** FCN= 740.3873 FROM HESSE STATUS=NOT POSDEF 29 CALLS 315 TOTAL EDM= .48E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10337E-03 441.51 .26876E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4140 5.9459 .50000 -.54358 3 Normalizat .10000E-01 .38830E-02 .20728E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .71635 .12809E-01 .56197E-05 -1.0289 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.81739e-10 Minuit parameter uncertainties: 1 0.0777469 2 536.026 3 3.2319e-08 4 0.0128089 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/929050': 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) = 740.387276583 delta logL = -1.23824975162e-07 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.034e-04 7.775e-02 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.414e+00 5.360e+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: 7.163e-01 1.281e-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 3.232e-08 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/929050/cmap_HighResolution_613353601_613612801_4FGL_J0502.5+1340_daily_bin1443.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/929050 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-01', job_status='DONE', photon_flux_upper_limit='4.42e-06', time_completed='2021-08-21 18:35:07.328280', job_id='929050', GAL2='0.72', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629596107.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='-1.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1443' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:35:07 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 929050: <4FGL_J0502.5+1340_daily_bin1443> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1443> was submitted from host by user in cluster at Sat Aug 21 18:20:23 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:20:24 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:20:24 2021 Terminated at Sat Aug 21 18:35:09 2021 Results reported at Sat Aug 21 18:35:09 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1443 75.6341 13.6685 613353601 613612801 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 : 651.00 sec. Max Memory : 1093 MB Average Memory : 219.04 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 884 sec. Turnaround time : 886 sec. The output (if any) is above this job summary.