/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 3 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 = 27232 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_monthly_bin118 RA = 75.6341, Dec = 13.6685 tmin = 542851201, tmax = 545443201 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='223494', job_status='RUN', time_executed='2021-10-13 22:25:24.315224', time_epoch_executed='1634189124.32' WHERE source_name='4FGL J0502.5+1340' and cadence='monthly' and bin_id='118' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/223494 Creating custom pfile directory: /scratch/kocevski/223494/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=542851201.0 && nMetStart<545443201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=542851201.0 && nMetStart<545443201.0' /Data/Flight/Level1/LPA Retrieving 176 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/223494/ft1_4FGL_J0502.5+1340_monthly_bin118.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=542851201.0 && nMetStart<545443201.0' /Data/Flight/Level1/LPA Retrieving 178 files... Done. Merging files... Merged file saved to: /scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/223494/ft1_4FGL_J0502.5+1340_monthly_bin118.fits outfile=/scratch/kocevski/223494/ft1_filteredMKT_4FGL_J0502.5+1340_monthly_bin118.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=542851201.0 tmax=545443201.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 18.40 user 17.78 sys 0.51 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.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/223494/ft1_filteredMKT_4FGL_J0502.5+1340_monthly_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.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.59 user 0.42 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/223494/ltcube_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.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/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits .....................! real 40.55 user 40.13 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/223494/ltcube_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.fits outfile=/scratch/kocevski/223494/expmap_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.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/223494/ltcube_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.fits .....................! real 191.30 user 185.65 sys 5.19 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/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits scfile=/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits outfile=/scratch/kocevski/223494/cmap_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.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.62 user 0.43 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits scfile=/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits outfile=/scratch/kocevski/223494/cmap_HighResolution_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.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.61 user 0.43 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/223494/Model_4FGL_J0502.5+1340_monthly_bin118.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/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits.....................! real 89.79 user 88.17 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits', '/scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits', expMap='/scratch/kocevski/223494/expmap_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.fits', expCube='/scratch/kocevski/223494/ltcube_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/223494/Model_4FGL_J0502.5+1340_monthly_bin118.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/223494/ft1_filtered_4FGL_J0502.5+1340_monthly_bin118.fits Spacecraft file(s): /scratch/kocevski/223494/ft2_4FGL_J0502.5+1340_monthly_bin118.fits Exposure map: /scratch/kocevski/223494/expmap_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.fits Exposure cube: /scratch/kocevski/223494/ltcube_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/223494/Model_4FGL_J0502.5+1340_monthly_bin118.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) = 3406.07613173 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3406.06556881 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10034E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 33.767 1.0000 .10000E-03 10000. 3 'Prefactor ' 11.268 1.0000 .10000E-03 10000. 4 'norm ' 18.146 1.0000 .10000E-03 10000. 5 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 4.9595 1.0000 .10000E-03 10000. 7 'norm ' 1.4490 1.0000 .10000E-03 10000. 8 'Prefactor ' 25.973 1.0000 .10000E-03 10000. 9 'Prefactor ' .10371E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10030E-03 1.0000 .10000E-03 10000. 11 'norm ' .92414 1.0000 .10000E-03 10000. 12 'norm ' 25.747 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.5545 1.0000 .10000E-03 10000. 14 'norm ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 170.08 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 39.246 1.0000 .10000E-03 10000. 19 'norm ' 7.3039 1.0000 .10000E-03 10000. 20 'norm ' .10010E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.9481 1.0000 .10000E-03 10000. 22 'norm ' .10000E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 1.0155 1.0000 .10000E-03 10000. 24 'Prefactor ' 29.654 1.0000 .10000E-03 10000. 25 'Prefactor ' .10843E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' 13.815 1.0000 .10000E-03 10000. 27 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .83981 1.0000 .10000E-01 10.000 29 'Prefactor ' .88297 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= 3406.066 FROM MIGRAD STATUS=CONVERGED 702 CALLS 4308 TOTAL EDM= .39E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 86.998 .53935E-06** at limit ** 2 Prefactor 33.644 89.306 -.11490E-05 -.27532E-04 3 Prefactor 11.267 25.012 .20375E-06 .61622E-05 4 norm 18.146 9.1145 .12508E-06 .44738E-04 5 Prefactor .10000E-03 72.334 .50061E-07** at limit ** 6 Prefactor 4.9584 18.883 .75693E-06 .44560E-05 7 norm 1.4488 4.3533 .76680E-06 .30530E-04 8 Prefactor 25.958 61.156 .27078E-06 -.45618E-05 9 Prefactor .10000E-03 72.785 -.82793E-06** at limit ** 10 Prefactor .10000E-03 23.711 .11999E-06** at limit ** 11 norm .92432 1.2211 .39151E-07 .70927E-04 12 norm 25.746 11.566 .31661E-07 .77893E-05 13 Prefactor 3.5546 4.6708 .13833E-07 -.21694E-05 14 norm .10000E-03 4.8590 .40876E-07** at limit ** 15 Prefactor .10000E-03 4.5734 -.86622E-09** at limit ** 16 Prefactor 170.08 139.88 -.64376E-06 -.95052E-06 17 norm .10000E-03 3.6326 .49990E-07** at limit ** 18 Prefactor 39.242 58.419 -.32646E-06 -.69811E-05 19 norm 7.3037 15.780 .39339E-05 -.13936E-05 20 norm .10000E-03 1.3250 .61212E-06** at limit ** 21 Prefactor 1.9481 .37263 -.30634E-07 -.31135E-03 22 norm .10000E-03 4.3232 .23721E-07** at limit ** 23 Prefactor 1.0158 2.5742 .36891E-06 .95446E-04 24 Prefactor 29.695 41.556 -.13086E-05 -.46745E-04 25 Prefactor .10000E-03 120.97 .10305E-04** at limit ** 26 Prefactor 13.754 53.782 -.18690E-05 -.16493E-04 27 Prefactor .10000E-03 3.9132 -.40178E-06** at limit ** 28 Normalizat .83985 .65822 -.10130E-04 -.30926E-04 29 Prefactor .88299 .13057 .15230E-05 -.14969E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 33.6445 Prefactor = 11.2669 norm = 18.146 Prefactor = 0.0001 Prefactor = 4.95843 norm = 1.44877 Prefactor = 25.9584 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.924322 norm = 25.7462 Prefactor = 3.55455 norm = 0.0001 Prefactor = 0.0001 Prefactor = 170.076 norm = 0.0001 Prefactor = 39.242 norm = 7.30371 norm = 0.0001 Prefactor = 1.94807 norm = 0.0001 Prefactor = 1.01579 Prefactor = 29.6953 Prefactor = 0.0001 Prefactor = 13.7536 Prefactor = 0.0001 Normalizat = 0.839854 Prefactor = 0.88299 ********** ** 18 **HESSE ********** FCN= 3406.066 FROM HESSE STATUS=OK 557 CALLS 4865 TOTAL EDM= .88E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 87.131 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 33.644 89.585 .34480E-03 -1.4547 3 Prefactor 11.267 24.966 .11935E-03 -1.5037 4 norm 18.146 9.0947 .94021E-04 -1.4856 5 Prefactor .10000E-03 72.362 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.9584 18.749 .18059E-03 -1.5263 7 norm 1.4488 4.3161 .19963E-03 -1.5467 8 Prefactor 25.958 60.878 .78604E-04 -1.4689 9 Prefactor .10000E-03 72.884 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 24.007 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .92432 1.1584 .66589E-03 -1.5516 12 norm 25.746 11.568 .78948E-04 -1.4693 13 Prefactor 3.5546 4.6607 .14014E-03 -1.5331 14 norm .10000E-03 4.8676 .12564E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 4.5761 .12189E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 170.08 139.66 .15468E-03 -1.3092 17 norm .10000E-03 3.6467 .10861E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 39.242 58.088 .63981E-04 -1.4454 19 norm 7.3037 15.815 .74206E-03 -1.5167 20 norm .10000E-03 1.3534 .65606E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 1.9481 .35365 .10914E-04 -1.5429 22 norm .10000E-03 4.3353 .11836E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 1.0158 2.4348 .10142E-03 -1.5506 24 Prefactor 29.695 41.572 .73574E-04 -1.4618 25 Prefactor .10000E-03 121.18 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor 13.754 53.910 .10776E-03 -1.4966 27 Prefactor .10000E-03 3.9298 .11283E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .83985 .66329 .70630E-03 -.98607 29 Prefactor .88299 .13515 .14635E-03 -.96738 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.78773e-11 Minuit parameter uncertainties: 1 0.000254867 2 89.9458 3 24.989 4 9.0954 5 6.64621e-05 6 18.7716 7 4.31699 8 61.0247 9 2.01978e-05 10 1.41763e-05 11 1.15843 12 11.5694 13 4.66118 14 4.93198e-08 15 9.62593e-07 16 139.938 17 5.17568e-07 18 58.1721 19 15.8236 20 1.9219e-06 21 0.353648 22 2.28253e-06 23 2.43505 24 41.6127 25 0.000118494 26 54.1023 27 9.56555e-06 28 0.669859 29 0.135199 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3406.0655665 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 1.418e-05 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: 8.830e-01 1.352e-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: 8.399e-01 6.699e-01 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.71e-07 ph cm-2 s-1 Energy Flux Upper Limit: 2.07e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/223494/likelihoodResults_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.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) = 3406.06576496 delta logL = -0.00019846559826 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3406.06556666 delta logL = -1.58147940965e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10816E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4068 1.0000 .0000 10.000 3 'Normalizat' .83985 1.0000 .10000E-01 10.000 4 'Prefactor ' .88299 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. FCN= 3406.066 FROM MIGRAD STATUS=CONVERGED 59 CALLS 242 TOTAL EDM= .18E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10001E-03 6.5402 .90712E-02** at limit ** 2 Index 2.4058 5.0015 .50000 .35388E-06 3 Normalizat .83983 .80621E-02 .15893 -.16347E-03 4 Prefactor .88299 .17190E-02 .33117E-01 -.19693E-03 ERR DEF= .500 Final values: Prefactor = 0.00010001 Index = 2.40579 Normalizat = 0.839835 Prefactor = 0.882993 ********** ** 18 **HESSE ********** FCN= 3406.066 FROM HESSE STATUS=NOT POSDEF 31 CALLS 273 TOTAL EDM= .12E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10001E-03 412.06 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4058 6.8605 .50000 -.54550 3 Normalizat .83983 .64251E-01 .70634E-03 -.98608 4 Prefactor .88299 .13782E-01 .14635E-03 -.96738 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.16342e-08 Minuit parameter uncertainties: 1 0.00408404 2 280.634 3 0.0642565 4 0.0137822 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/223494': 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) = 3406.06556649 delta logL = 1.01299519883e-08 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 4.084e-03 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.406e+00 2.806e+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: 8.830e-01 1.378e-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: 8.398e-01 6.426e-02 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/223494/cmap_HighResolution_542851201_545443201_4FGL_J0502.5+1340_monthly_bin118.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/223494 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-02', job_status='DONE', photon_flux_upper_limit='2.71e-07', time_completed='2021-10-13 22:39:16.083572', job_id='223494', GAL2='0.88', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1634189956.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.01e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='118' AND source_name='4FGL J0502.5+1340' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed Oct 13 22:39:16 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 223494: <4FGL_J0502.5+1340_monthly_bin118> in cluster Done Job <4FGL_J0502.5+1340_monthly_bin118> was submitted from host by user in cluster at Wed Oct 13 22:25:12 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Oct 13 22:25:13 2021 was used as the home directory. was used as the working directory. Started at Wed Oct 13 22:25:13 2021 Terminated at Wed Oct 13 22:39:16 2021 Results reported at Wed Oct 13 22:39:16 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_monthly_bin118 75.6341 13.6685 542851201 545443201 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 : 800.00 sec. Max Memory : 621 MB Average Memory : 287.96 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 843 sec. Turnaround time : 844 sec. The output (if any) is above this job summary.