/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 88 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 = 73055 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0502.5+1340_monthly_bin25 RA = 75.6341, Dec = 13.6685 tmin = 301795201, tmax = 304387201 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='219852', job_status='RUN', time_executed='2021-10-13 22:11:59.397853', time_epoch_executed='1634188319.4' WHERE source_name='4FGL J0502.5+1340' and cadence='monthly' and bin_id='25' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/219852 Creating custom pfile directory: /scratch/kocevski/219852/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=301795201.0 && nMetStart<304387201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=301795201.0 && nMetStart<304387201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/219852/ft1_4FGL_J0502.5+1340_monthly_bin25.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=301795201.0 && nMetStart<304387201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/219852/ft1_4FGL_J0502.5+1340_monthly_bin25.fits outfile=/scratch/kocevski/219852/ft1_filteredMKT_4FGL_J0502.5+1340_monthly_bin25.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=301795201.0 tmax=304387201.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 30.95 user 29.89 sys 0.70 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.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/219852/ft1_filteredMKT_4FGL_J0502.5+1340_monthly_bin25.fits evtable="EVENTS" outfile="/scratch/kocevski/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.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.84 user 0.67 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/219852/ltcube_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.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/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits .....................! real 108.13 user 107.56 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/219852/ltcube_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.fits outfile=/scratch/kocevski/219852/expmap_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.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/219852/ltcube_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.fits .....................! real 190.83 user 186.30 sys 4.15 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/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits scfile=/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits outfile=/scratch/kocevski/219852/cmap_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.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.82 user 0.64 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits scfile=/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits outfile=/scratch/kocevski/219852/cmap_HighResolution_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.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.80 user 0.65 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219852/Model_4FGL_J0502.5+1340_monthly_bin25.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/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits.....................! real 3879.13 user 3870.12 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits', '/scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits', expMap='/scratch/kocevski/219852/expmap_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.fits', expCube='/scratch/kocevski/219852/ltcube_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/219852/Model_4FGL_J0502.5+1340_monthly_bin25.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/219852/ft1_filtered_4FGL_J0502.5+1340_monthly_bin25.fits Spacecraft file(s): /scratch/kocevski/219852/ft2_4FGL_J0502.5+1340_monthly_bin25.fits Exposure map: /scratch/kocevski/219852/expmap_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.fits Exposure cube: /scratch/kocevski/219852/ltcube_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/219852/Model_4FGL_J0502.5+1340_monthly_bin25.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) = 183790.37019 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 183790.211468 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .15062E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.2115 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.3796 1.0000 .10000E-03 10000. 4 'norm ' 1.0826 1.0000 .10000E-03 10000. 5 'Prefactor ' 8.5399 1.0000 .10000E-03 10000. 6 'Prefactor ' .12003E-03 1.0000 .10000E-03 10000. 7 'norm ' 2.6638 1.0000 .10000E-03 10000. 8 'Prefactor ' .10737E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 5.9178 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.7795 1.0000 .10000E-03 10000. 11 'norm ' .35306 1.0000 .10000E-03 10000. 12 'norm ' 9.1657 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.3008 1.0000 .10000E-03 10000. 14 'norm ' .88665 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.3257 1.0000 .10000E-03 10000. 16 'Prefactor ' .10466E-03 1.0000 .10000E-03 10000. 17 'norm ' 4.6497 1.0000 .10000E-03 10000. 18 'Prefactor ' .11216E-03 1.0000 .10000E-03 10000. 19 'norm ' .11468E-03 1.0000 .10000E-03 10000. 20 'norm ' .97514 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.2868 1.0000 .10000E-03 10000. 22 'norm ' 5.7398 1.0000 .10000E-03 10000. 23 'Prefactor ' 2.3840 1.0000 .10000E-03 10000. 24 'Prefactor ' 4.8317 1.0000 .10000E-03 10000. 25 'Prefactor ' .43254E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' 1.5211 1.0000 .10000E-03 10000. 27 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 28 'Normalizat' 1.1878 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0030 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= 183790.2 FROM MIGRAD STATUS=CONVERGED 744 CALLS 3272 TOTAL EDM= .20E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.6008 .0000 ** at limit ** 2 Prefactor 1.1897 10.137 .0000 .20482E-01 3 Prefactor 4.3760 2.7592 .0000 .26911E-01 4 norm 1.0826 .76680 .0000 .31132E-01 5 Prefactor 8.5374 7.6055 .0000 .16040E-03 6 Prefactor .10001E-03 .30322 .0000 ** at limit ** 7 norm 2.6637 .69627 .0000 .13698E-01 8 Prefactor .10001E-03 4.8958 .0000 ** at limit ** 9 Prefactor 5.8909 8.6755 .0000 .16901E-02 10 Prefactor 1.7894 2.0525 .0000 .47113E-02 11 norm .35338 .19790 .0000 .44493E-01 12 norm 9.1666 1.4268 .0000 .14015E-02 13 Prefactor 1.3008 .98031 .0000 .28054E-01 14 norm .88438 1.0947 .0000 .31136E-01 15 Prefactor 1.3256 .76156 .0000 .95348E-03 16 Prefactor .10000E-03 3.9773 .0000 ** at limit ** 17 norm 4.6501 .79027 .0000 .22629E-02 18 Prefactor .10000E-03 .94705 .0000 ** at limit ** 19 norm .10000E-03 .20569 .0000 ** at limit ** 20 norm .97499 .33283 .0000 .21819E-01 21 Prefactor 1.2868 .49196E-01 .0000 .33440E-02 22 norm 5.7396 1.0976 .0000 .62252E-02 23 Prefactor 2.3839 .36665 .0000 .20360E-01 24 Prefactor 4.8480 7.0108 .0000 .11163E-02 25 Prefactor .10005E-03 1.6475 .0000 ** at limit ** 26 Prefactor 1.5213 4.8693 .0000 .33866E-01 27 Prefactor .10000E-03 .28841 .0000 ** at limit ** 28 Normalizat 1.1878 .99324E-01 .0000 .70591E-03 29 Prefactor 1.0030 .17749E-01 .0000 -.12113E-03 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 1.18967 Prefactor = 4.37596 norm = 1.08261 Prefactor = 8.53737 Prefactor = 0.000100012 norm = 2.66366 Prefactor = 0.000100011 Prefactor = 5.89094 Prefactor = 1.78944 norm = 0.353377 norm = 9.16655 Prefactor = 1.30079 norm = 0.884376 Prefactor = 1.32557 Prefactor = 0.000100002 norm = 4.65005 Prefactor = 0.0001 norm = 0.0001 norm = 0.974991 Prefactor = 1.28684 norm = 5.73959 Prefactor = 2.38394 Prefactor = 4.84799 Prefactor = 0.000100047 Prefactor = 1.52134 Prefactor = 0.0001 Normalizat = 1.18779 Prefactor = 1.00302 ********** ** 18 **HESSE ********** FCN= 183790.2 FROM HESSE STATUS=OK 587 CALLS 3859 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.6543 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.1897 10.339 .20548E-02 -1.5490 3 Prefactor 4.3760 2.7522 .96227E-03 -1.5290 4 norm 1.0826 .75509 .29759E-03 -1.5500 5 Prefactor 8.5374 7.6001 .13717E-03 -1.5124 6 Prefactor .10001E-03 .36920 .76238E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.6637 .69176 .17149E-03 -1.5382 8 Prefactor .10001E-03 4.9344 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.8909 8.3634 .16507E-03 -1.5222 10 Prefactor 1.7894 2.0376 .31375E-03 -1.5440 11 norm .35338 .17460 .11215E-02 -1.5589 12 norm 9.1666 1.3953 .13238E-03 -1.5102 13 Prefactor 1.3008 .96929 .34724E-03 -1.5480 14 norm .88438 1.0724 .47974E-03 -1.5520 15 Prefactor 1.3256 .76158 .27554E-03 -1.5478 16 Prefactor .10000E-03 3.9876 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 4.6501 .78827 .15135E-03 -1.5277 18 Prefactor .10000E-03 6.0526 .79451E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 .95536 .37302E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .97499 .32034 .13448E-03 -1.5510 21 Prefactor 1.2868 .53240E-01 .12533E-04 -1.5481 22 norm 5.7396 1.1626 .16352E-03 -1.5229 23 Prefactor 2.3839 .37993 .76352E-04 -1.5399 24 Prefactor 4.8480 6.0453 .18301E-03 -1.5268 25 Prefactor .10005E-03 10.558 .89877E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor 1.5213 4.8842 .17320E-02 -1.5461 27 Prefactor .10000E-03 .29484 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.1878 .10307 .69524E-03 -.86981 29 Prefactor 1.0030 .19045E-01 .14957E-03 -.92629 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17963e-08 Minuit parameter uncertainties: 1 9.73081e-05 2 7.01546 3 2.75226 4 0.755096 5 7.60099 6 0.000135303 7 0.691758 8 0.000466622 9 8.36507 10 2.03769 11 0.174605 12 1.39529 13 0.969298 14 1.07247 15 0.761586 16 0.00015883 17 0.788271 18 3.84906e-05 19 3.72681e-06 20 0.320337 21 0.0532404 22 1.16259 23 0.379927 24 6.04603 25 0.00140901 26 4.88545 27 2.95983e-07 28 0.10309 29 0.0190449 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 183790.211405 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.789e+00 2.038e+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 GAL_V02 Spectrum: PowerLaw 541 Prefactor: 1.003e+00 1.904e-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.188e+00 1.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.08 Ra Dec: 75.634 13.668 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 1.02e-08 +/- 1.16e-08 Energy Flux (Fixed Index): 4.32e-06 +/- 4.92e-06 TS (Fixed Index): 1.08 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 3.51e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.68e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/219852/likelihoodResults_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.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): 0 logL (Free Index) = 183789.737564 delta logL = 0.473841534258 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 183789.695906 delta logL = 0.515499112749 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.2895 1.0000 .10000E-03 10000. 2 'Index ' 2.8350 1.0000 .0000 10.000 3 'Normalizat' 1.1701 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0042 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 183789.7 FROM MIGRAD STATUS=FAILED 100 CALLS 274 TOTAL EDM= .33E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.2889 33.304 .33907E-03 .52574E-04 2 Index 2.8352 6.4152 .11315E-01 .17488E-03 3 Normalizat 1.1701 .13081 .69979E-03 -.77980E-05 4 Prefactor 1.0042 .22507E-01 .14949E-03 -.53539E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 183789.7 FROM SIMPLEX STATUS=UNCHANGED 99 CALLS 373 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.2889 33.304 .40848E-04 .52574E-04 2 Index 2.8352 6.4152 .50681E-03 .17488E-03 3 Normalizat 1.1701 .13081 .10898E-03 -.77980E-05 4 Prefactor 1.0042 .22507E-01 .16449E-04 -.53539E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 183789.7 FROM MIGRAD STATUS=CONVERGED 29 CALLS 402 TOTAL EDM= .70E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.2889 1.6488 .13563E-04 .53646E-05 2 Index 2.8352 .60933 .45259E-03 .64304E-05 3 Normalizat 1.1701 .92830E-01 .27992E-04 -.77980E-05 4 Prefactor 1.0042 .18278E-01 .59796E-05 -.48672E-04 ERR DEF= .500 Final values: Prefactor = 1.28893 Index = 2.83516 Normalizat = 1.17008 Prefactor = 1.00422 ********** ** 18 **HESSE ********** FCN= 183789.7 FROM HESSE STATUS=OK 23 CALLS 425 TOTAL EDM= .74E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.2889 1.6255 .27126E-05 -1.5481 2 Index 2.8352 .60058 .90519E-04 -.44778 3 Normalizat 1.1701 .92750E-01 .55983E-05 -.87533 4 Prefactor 1.0042 .18262E-01 .11959E-05 -.92589 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.39145e-13 Minuit parameter uncertainties: 1 1.62551 2 0.602372 3 0.0927633 4 0.0182623 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/219852': 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): 0 logL (Free Index) = 183789.695906 delta logL = 0.515499193018 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.289e+00 1.626e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.835e+00 6.024e-01 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: 1.004e+00 1.826e-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.170e+00 9.276e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.15 Ra Dec: 75.634 13.668 Photon Index (Free Index): 2.84 +/- 0.60 Photon Flux (Free Index): 2.90e-08 +/- 2.46e-08 Energy Flux (Free Index): 6.34e-06 +/- 4.70e-06 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/219852/cmap_HighResolution_301795201_304387201_4FGL_J0502.5+1340_monthly_bin25.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/219852 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-03', comment='SUCCESS', photon_flux='1.02e-08', energy_flux2='6.34e-06', photon_flux_error='1.16e-08', dlogl='5.15e-01', energy_flux='4.32e-06', photon_flux2='2.90e-08', job_status='DONE', time_completed='2021-10-14 03:01:11.170186', photon_index_error2='0.60', photon_index2='2.84', ts='1.08', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='3.51e-08', energy_flux_error2='4.70e-06', EG='1.19', time_epoch_completed='1634205671.17', return_code='0', job_id='219852', GAL2='1.00', EG2='1.17', return_code2='0', energy_flux_error='4.92e-06', photon_flux_error2='2.46e-08', ts2='2.15', photon_index='2.23' WHERE bin_id='25' AND source_name='4FGL J0502.5+1340' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 03:01:11 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 219852: <4FGL_J0502.5+1340_monthly_bin25> in cluster Done Job <4FGL_J0502.5+1340_monthly_bin25> was submitted from host by user in cluster at Wed Oct 13 22:10:18 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Oct 13 22:10:21 2021 was used as the home directory. was used as the working directory. Started at Wed Oct 13 22:10:21 2021 Terminated at Thu Oct 14 03:01:12 2021 Results reported at Thu Oct 14 03:01:12 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_monthly_bin25 75.6341 13.6685 301795201 304387201 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 : 17238.00 sec. Max Memory : 648 MB Average Memory : 556.23 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 17451 sec. Turnaround time : 17454 sec. The output (if any) is above this job summary.