/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 82 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 = 71894 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_monthly_bin64 RA = 75.6341, Dec = 13.6685 tmin = 402883201, tmax = 405475201 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='221059', job_status='RUN', time_executed='2021-10-13 22:16:48.594787', time_epoch_executed='1634188608.59' WHERE source_name='4FGL J0502.5+1340' and cadence='monthly' and bin_id='64' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/221059 Creating custom pfile directory: /scratch/kocevski/221059/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=402883201.0 && nMetStart<405475201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=402883201.0 && nMetStart<405475201.0' /Data/Flight/Level1/LPA Retrieving 449 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/221059/ft1_4FGL_J0502.5+1340_monthly_bin64.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=402883201.0 && nMetStart<405475201.0' /Data/Flight/Level1/LPA Retrieving 449 files... Done. Merging files... Merged file saved to: /scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/221059/ft1_4FGL_J0502.5+1340_monthly_bin64.fits outfile=/scratch/kocevski/221059/ft1_filteredMKT_4FGL_J0502.5+1340_monthly_bin64.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=402883201.0 tmax=405475201.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 54.47 user 53.26 sys 1.06 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.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/221059/ft1_filteredMKT_4FGL_J0502.5+1340_monthly_bin64.fits evtable="EVENTS" outfile="/scratch/kocevski/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.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.66 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits" evtable="EVENTS" scfile=/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits sctable="SC_DATA" outfile=/scratch/kocevski/221059/ltcube_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.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/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits .....................! real 105.06 user 104.50 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/221059/ltcube_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.fits outfile=/scratch/kocevski/221059/expmap_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.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/221059/ltcube_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.fits .....................! real 191.78 user 185.02 sys 6.26 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/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits scfile=/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits outfile=/scratch/kocevski/221059/cmap_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.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 0.86 user 0.67 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits scfile=/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits outfile=/scratch/kocevski/221059/cmap_HighResolution_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.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 0.81 user 0.64 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/221059/Model_4FGL_J0502.5+1340_monthly_bin64.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/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits.....................! real 4885.06 user 4875.04 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits', '/scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits', expMap='/scratch/kocevski/221059/expmap_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.fits', expCube='/scratch/kocevski/221059/ltcube_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/221059/Model_4FGL_J0502.5+1340_monthly_bin64.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/221059/ft1_filtered_4FGL_J0502.5+1340_monthly_bin64.fits Spacecraft file(s): /scratch/kocevski/221059/ft2_4FGL_J0502.5+1340_monthly_bin64.fits Exposure map: /scratch/kocevski/221059/expmap_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.fits Exposure cube: /scratch/kocevski/221059/ltcube_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/221059/Model_4FGL_J0502.5+1340_monthly_bin64.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) = 225096.129269 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 225095.946844 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10057E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.4382 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.5683 1.0000 .10000E-03 10000. 4 'norm ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 8.1180 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.8503 1.0000 .10000E-03 10000. 7 'norm ' 3.4570 1.0000 .10000E-03 10000. 8 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 11.762 1.0000 .10000E-03 10000. 10 'Prefactor ' .15816E-03 1.0000 .10000E-03 10000. 11 'norm ' .98532 1.0000 .10000E-03 10000. 12 'norm ' 7.2995 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.1481 1.0000 .10000E-03 10000. 14 'norm ' .81571 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.7195 1.0000 .10000E-03 10000. 16 'Prefactor ' 9.5512 1.0000 .10000E-03 10000. 17 'norm ' 19.345 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.6011 1.0000 .10000E-03 10000. 19 'norm ' 6.4527 1.0000 .10000E-03 10000. 20 'norm ' 1.5339 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.4915 1.0000 .10000E-03 10000. 22 'norm ' 4.1099 1.0000 .10000E-03 10000. 23 'Prefactor ' 5.2438 1.0000 .10000E-03 10000. 24 'Prefactor ' 8.6118 1.0000 .10000E-03 10000. 25 'Prefactor ' .10112E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .77102 1.0000 .10000E-03 10000. 28 'Normalizat' 1.3001 1.0000 .10000E-01 10.000 29 'Prefactor ' .96607 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 225095.9 FROM MIGRAD STATUS=CONVERGED 732 CALLS 3271 TOTAL EDM= .83E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 9.4491 .0000 ** at limit ** 2 Prefactor 1.4352 12.874 .0000 .72606E-03 3 Prefactor 2.5680 2.5635 .0000 .60406E-01 4 norm .10000E-03 .89109E-01 .0000 ** at limit ** 5 Prefactor 8.1184 7.5314 .0000 .14437E-03 6 Prefactor 1.8508 1.6083 .0000 .95258E-02 7 norm 3.4570 .66358 .0000 .14360E-01 8 Prefactor .10000E-03 2.6853 .0000 ** at limit ** 9 Prefactor 11.762 7.2869 .0000 .20755E-03 10 Prefactor .10000E-03 .34232 .0000 ** at limit ** 11 norm .98534 .18893 .0000 .15381E-01 12 norm 7.2995 1.1642 .0000 .51356E-01 13 Prefactor 1.1483 .74598 .0000 .32891E-01 14 norm .81549 .61710 .0000 .18075E-01 15 Prefactor 1.7195 .83524 .0000 .36959E-02 16 Prefactor 9.5512 9.4076 .0000 .11750E-03 17 norm 19.345 1.1635 .0000 .51628E-02 18 Prefactor 2.6009 3.6338 .0000 .31621E-01 19 norm 6.4526 1.6905 .0000 .32823E-02 20 norm 1.5340 .31250 .0000 .14887E-01 21 Prefactor 1.4914 .45037E-01 .0000 .38023E-02 22 norm 4.1106 .86385 .0000 .77540E-02 23 Prefactor 5.2439 .34995 .0000 .12613E-01 24 Prefactor 8.6113 5.2598 .0000 .89245E-02 25 Prefactor .10000E-03 4.5502 .0000 ** at limit ** 26 Prefactor .10000E-03 2.2486 .0000 ** at limit ** 27 Prefactor .77100 1.0970 .0000 .41066E-03 28 Normalizat 1.3001 .86363E-01 .0000 .80542E-03 29 Prefactor .96608 .15852E-01 .0000 .17096E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 1.43519 Prefactor = 2.56805 norm = 0.0001 Prefactor = 8.11838 Prefactor = 1.85081 norm = 3.45704 Prefactor = 0.0001 Prefactor = 11.7621 Prefactor = 0.0001 norm = 0.985344 norm = 7.29952 Prefactor = 1.14826 norm = 0.815487 Prefactor = 1.71945 Prefactor = 9.55121 norm = 19.3453 Prefactor = 2.60094 norm = 6.45259 norm = 1.53396 Prefactor = 1.49144 norm = 4.11057 Prefactor = 5.24388 Prefactor = 8.6113 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.771004 Normalizat = 1.30008 Prefactor = 0.966082 ********** ** 18 **HESSE ********** FCN= 225095.9 FROM HESSE STATUS=OK 583 CALLS 3854 TOTAL EDM= .32E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 9.7696 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.4352 13.146 .35984E-03 -1.5468 3 Prefactor 2.5680 2.5558 .12735E-02 -1.5387 4 norm .10000E-03 .26842 .27246E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 8.1184 7.5253 .14072E-03 -1.5138 6 Prefactor 1.8508 1.5980 .30650E-03 -1.5436 7 norm 3.4570 .66133 .15928E-03 -1.5336 8 Prefactor .10000E-03 2.7372 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 11.762 7.2656 .11681E-03 -1.5022 10 Prefactor .10000E-03 .35517 .87669E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .98534 .18421 .77953E-04 -1.5509 12 norm 7.2995 1.1637 .74229E-03 -1.5168 13 Prefactor 1.1483 .73249 .31415E-03 -1.5494 14 norm .81549 .70280 .31093E-02 -1.5527 15 Prefactor 1.7195 .83623 .29218E-03 -1.5446 16 Prefactor 9.5512 9.3914 .12967E-03 -1.5090 17 norm 19.345 1.1637 .45531E-03 -1.4828 18 Prefactor 2.6009 3.6253 .12648E-02 -1.5385 19 norm 6.4526 1.6877 .15800E-03 -1.5200 20 norm 1.5340 .30930 .11247E-03 -1.5460 21 Prefactor 1.4914 .48246E-01 .12415E-04 -1.5464 22 norm 4.1106 .89371 .17609E-03 -1.5302 23 Prefactor 5.2439 .36672 .55649E-04 -1.5250 24 Prefactor 8.6113 5.2115 .68298E-03 -1.5121 25 Prefactor .10000E-03 4.6278 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 2.3439 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .77100 1.0945 .49326E-04 -1.5532 28 Normalizat 1.3001 .92707E-01 .68199E-03 -.83564 29 Prefactor .96608 .17613E-01 .15670E-03 -.93869 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.20809e-07 Minuit parameter uncertainties: 1 2.15715e-05 2 8.68963 3 2.55594 4 2.30974e-07 5 7.5262 6 1.59801 7 0.661334 8 4.07094e-06 9 7.26616 10 5.39554e-06 11 0.184206 12 1.16368 13 0.732493 14 0.702806 15 0.836231 16 9.39285 17 1.1637 18 3.62556 19 1.68771 20 0.309304 21 0.0482463 22 0.893713 23 0.366721 24 5.21176 25 1.17478e-06 26 1.12837e-06 27 1.09455 28 0.0927187 29 0.0176135 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 225095.946839 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 5.396e-06 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.661e-01 1.761e-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.300e+00 9.272e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 2.25e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.72e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/221059/likelihoodResults_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.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) = 225095.947492 delta logL = -0.00065334115061 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 225094.816824 delta logL = 1.13001546872 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 6.4507 1.0000 .0000 10.000 3 'Normalizat' 1.2629 1.0000 .10000E-01 10.000 4 'Prefactor ' .97017 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 225094.8 FROM MIGRAD STATUS=FAILED 175 CALLS 461 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .10831E-02 .43317E-03** at limit ** 2 Index 6.4508 2.1119 .90390E-02 .81153E-02 3 Normalizat 1.2628 .23179E-01 .69064E-03 -.82016E-03 4 Prefactor .97018 .46993E-02 .15640E-03 -.21609E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 225094.8 FROM SIMPLEX STATUS=UNCHANGED 153 CALLS 614 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .10831E-02 .34657E-05** at limit ** 2 Index 6.4508 2.1119 .23817E-03 .81153E-02 3 Normalizat 1.2628 .23179E-01 .74682E-05 -.82016E-03 4 Prefactor .97018 .46993E-02 .21912E-05 -.21609E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 225094.8 FROM MIGRAD STATUS=CONVERGED 83 CALLS 697 TOTAL EDM= .90E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .10578E-02 .45160E-03** at limit ** 2 Index 6.4508 2.1545 .36156E-03 -.40248E-05 3 Normalizat 1.2628 .23674E-01 .55251E-05 -.82964E-03 4 Prefactor .97018 .48148E-02 .12512E-05 -.21516E-02 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 6.45079 Normalizat = 1.26276 Prefactor = 0.970182 ********** ** 18 **HESSE ********** FCN= 225094.8 FROM HESSE STATUS=NOT POSDEF 33 CALLS 730 TOTAL EDM= .87E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .10479E-02 .45395E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 6.4508 2.1524 .14462E-04 .29439 3 Normalizat 1.2628 .23586E-01 .11050E-05 -.84685 4 Prefactor .97018 .48188E-02 .25024E-06 -.93730 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 8.69307e-11 Minuit parameter uncertainties: 1 6.3133e-09 2 2.23253 3 0.0235865 4 0.00481881 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/221059': 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) = 225094.816821 delta logL = 1.13001842381 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 6.313e-09 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 6.451e+00 2.233e+00 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.702e-01 4.819e-03 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.263e+00 2.359e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.44 Ra Dec: 75.634 13.668 Photon Index (Free Index): 6.45 +/- 2.23 Photon Flux (Free Index): 3.12e-08 +/- 1.89e-07 Energy Flux (Free Index): 3.80e-06 +/- 2.28e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -3.000e-01 [aplpy.core] INFO: Auto-setting vmax to 3.330e+00 [aplpy.core] Saving /scratch/kocevski/221059/cmap_HighResolution_402883201_405475201_4FGL_J0502.5+1340_monthly_bin64.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/221059 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.72e-03', comment='SUCCESS', energy_flux2='3.80e-06', dlogl='1.13e+00', photon_flux2='3.12e-08', job_status='DONE', time_completed='2021-10-14 04:38:56.957297', photon_index_error2='2.23', photon_index2='6.45', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.25e-08', energy_flux_error2='2.28e-05', EG='1.30', time_epoch_completed='1634211536.96', return_code='0', job_id='221059', GAL2='0.97', EG2='1.26', return_code2='102', photon_flux_error2='1.89e-07', ts2='2.44', photon_index='2.23' WHERE bin_id='64' AND source_name='4FGL J0502.5+1340' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 04:38:56 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 221059: <4FGL_J0502.5+1340_monthly_bin64> in cluster Done Job <4FGL_J0502.5+1340_monthly_bin64> was submitted from host by user in cluster at Wed Oct 13 22:15:16 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Oct 13 22:15:18 2021 was used as the home directory. was used as the working directory. Started at Wed Oct 13 22:15:18 2021 Terminated at Thu Oct 14 04:38:58 2021 Results reported at Thu Oct 14 04:38:58 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_monthly_bin64 75.6341 13.6685 402883201 405475201 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 : 22751.00 sec. Max Memory : 1273 MB Average Memory : 609.57 MB Total Requested Memory : - Delta Memory : - Max Swap : 1 MB Max Processes : 5 Max Threads : 21 Run time : 23020 sec. Turnaround time : 23022 sec. The output (if any) is above this job summary.