/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 16 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 = 74110 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0507.9+6737_monthly_bin77 RA = 76.9956, Dec = 67.6223 tmin = 436579201, tmax = 439171201 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='275354', job_status='RUN', time_executed='2021-10-14 01:45:40.536766', time_epoch_executed='1634201140.54' WHERE source_name='4FGL J0507.9+6737' and cadence='monthly' and bin_id='77' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/275354 Creating custom pfile directory: /scratch/kocevski/275354/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=436579201.0 && nMetStart<439171201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=436579201.0 && nMetStart<439171201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/275354/ft1_4FGL_J0507.9+6737_monthly_bin77.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=436579201.0 && nMetStart<439171201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Merged file saved to: /scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/275354/ft1_4FGL_J0507.9+6737_monthly_bin77.fits outfile=/scratch/kocevski/275354/ft1_filteredMKT_4FGL_J0507.9+6737_monthly_bin77.fits ra=76.9956 dec=67.6223 rad=12.0 tmin=436579201.0 tmax=439171201.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 52.80 user 51.45 sys 1.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.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/275354/ft1_filteredMKT_4FGL_J0507.9+6737_monthly_bin77.fits evtable="EVENTS" outfile="/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.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.65 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/275354/ltcube_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.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/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits .....................! real 113.35 user 112.77 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/275354/ltcube_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.fits outfile=/scratch/kocevski/275354/expmap_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.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/275354/ltcube_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.fits .....................! real 192.12 user 186.13 sys 5.54 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 G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template. Added 180 point sources and 4 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 J0507.9+6737 @ 76.9956 67.6223 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits scfile=/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits outfile=/scratch/kocevski/275354/cmap_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.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=76.9956 yref=67.6223 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.61 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits scfile=/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits outfile=/scratch/kocevski/275354/cmap_HighResolution_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.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=76.9956 yref=67.6223 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.63 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/275354/Model_4FGL_J0507.9+6737_monthly_bin77.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source HB 9 adding source W 3 Working on... /scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits.....................! real 2619.95 user 2614.18 sys 1.34 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits', '/scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits', expMap='/scratch/kocevski/275354/expmap_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.fits', expCube='/scratch/kocevski/275354/ltcube_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/275354/Model_4FGL_J0507.9+6737_monthly_bin77.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0507.9+6737' 4FGL J0507.9+6737 Spectrum: PowerLaw 288 Prefactor: 5.003e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 289 Index: 1.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 290 Scale: 6.445e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/275354/ft1_filtered_4FGL_J0507.9+6737_monthly_bin77.fits Spacecraft file(s): /scratch/kocevski/275354/ft2_4FGL_J0507.9+6737_monthly_bin77.fits Exposure map: /scratch/kocevski/275354/expmap_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.fits Exposure cube: /scratch/kocevski/275354/ltcube_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/275354/Model_4FGL_J0507.9+6737_monthly_bin77.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) = 155366.298632 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 155366.230686 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.8230 1.0000 .10000E-03 10000. 2 'Prefactor ' 9.4675 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.9242 1.0000 .10000E-03 10000. 4 'Prefactor ' .81624 1.0000 .10000E-03 10000. 5 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.4450 1.0000 .10000E-03 10000. 7 'Prefactor ' 8.6317 1.0000 .10000E-03 10000. 8 'norm ' .10008E-03 1.0000 .10000E-03 10000. 9 'norm ' 18.449 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.1275 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.4834 1.0000 .10000E-03 10000. 12 'norm ' 14.848 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.8712 1.0000 .10000E-03 10000. 14 'Prefactor ' 10.939 1.0000 .10000E-03 10000. 15 'Prefactor ' .10027E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 16.644 1.0000 .10000E-03 10000. 17 'Normalizat' 1.1338 1.0000 .10000E-01 10.000 18 'Prefactor ' .97363 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 155366.2 FROM MIGRAD STATUS=CONVERGED 345 CALLS 1772 TOTAL EDM= .45E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.8242 1.4106 .36730E-06 -.29744E-03 2 Prefactor 9.4588 9.3011 -.10574E-04 -.15976E-03 3 Prefactor 2.9264 .65627 .14064E-07 -.10635E-01 4 Prefactor .81714 .62209 .43065E-06 .19134E-02 5 Prefactor .10000E-03 8.2359 .34918E-06** at limit ** 6 Prefactor 3.4451 1.6453 -.29344E-07 -.40231E-02 7 Prefactor 8.6316 6.9979 -.31944E-06 -.27509E-05 8 norm .10000E-03 .53250 -.34388E-07** at limit ** 9 norm 18.448 7.6025 -.22902E-06 .38853E-04 10 Prefactor 3.1275 2.5100 -.35693E-06 -.59041E-04 11 Prefactor 4.4838 6.9761 -.27749E-07 .54036E-05 12 norm 14.843 23.735 -.10022E-04 -.69384E-05 13 Prefactor 2.8708 3.7335 .69387E-07 -.54340E-03 14 Prefactor 10.938 5.7053 -.58122E-08 -.53082E-06 15 Prefactor .10000E-03 2.0065 -.13023E-06** at limit ** 16 Prefactor 16.643 7.9928 -.34007E-06 .53405E-05 17 Normalizat 1.1339 .61469E-01 -.52395E-08 .22030E-03 18 Prefactor .97361 .14498E-01 .24874E-06 -.11364E-02 ERR DEF= .500 Final values: norm = 1.82423 Prefactor = 9.45877 Prefactor = 2.92637 Prefactor = 0.817138 Prefactor = 0.0001 Prefactor = 3.44512 Prefactor = 8.6316 norm = 0.0001 norm = 18.4485 Prefactor = 3.12754 Prefactor = 4.48381 norm = 14.8429 Prefactor = 2.87084 Prefactor = 10.9384 Prefactor = 0.0001 Prefactor = 16.643 Normalizat = 1.13392 Prefactor = 0.97361 ********** ** 18 **HESSE ********** FCN= 155366.2 FROM HESSE STATUS=OK 256 CALLS 2028 TOTAL EDM= .87E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.8242 1.4193 .30923E-03 -1.5438 2 Prefactor 9.4588 9.3131 .13024E-03 -1.5093 3 Prefactor 2.9264 1.3703 .11878E-02 -1.5366 4 Prefactor .81714 .62383 .26006E-03 -1.5527 5 Prefactor .10000E-03 8.4002 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.4451 1.8006 .10895E-02 -1.5337 7 Prefactor 8.6316 6.9973 .13644E-03 -1.5120 8 norm .10000E-03 1.9043 .55289E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 18.448 7.5417 .93247E-04 -1.4849 10 Prefactor 3.1275 2.5082 .22925E-03 -1.5354 11 Prefactor 4.4838 6.9577 .19016E-03 -1.5284 12 norm 14.843 23.695 .10395E-03 -1.4937 13 Prefactor 2.8708 3.7581 .11994E-02 -1.5369 14 Prefactor 10.938 5.7138 .12113E-03 -1.5046 15 Prefactor .10000E-03 2.0320 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 16.643 8.0300 .98173E-04 -1.4892 17 Normalizat 1.1339 .64814E-01 .50907E-03 -.88670 18 Prefactor .97361 .15487E-01 .12995E-03 -.93614 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.72572e-09 Minuit parameter uncertainties: 1 1.41928 2 9.31456 3 1.37029 4 0.623832 5 1.90792e-05 6 1.80059 7 6.99795 8 1.94179e-05 9 7.54205 10 2.50833 11 6.95894 12 23.7102 13 3.75844 14 5.71405 15 3.96453e-08 16 8.03048 17 0.0648182 18 0.015487 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 155366.230682 Extracting fit parameters... 4FGL J0507.9+6737 Spectrum: PowerLaw 288 Prefactor: 3.128e+00 2.508e+00 1.000e-04 1.000e+04 ( 1.000e-14) 289 Index: 1.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 290 Scale: 6.445e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 597 Prefactor: 9.736e-01 1.549e-02 0.000e+00 1.000e+01 ( 1.000e+00) 598 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 599 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.134e+00 6.482e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.39 Ra Dec: 76.996 67.622 Photon Index (Fixed Index): 1.58 +/- 0.00 Photon Flux (Fixed Index): 3.80e-09 +/- 3.05e-09 Energy Flux (Fixed Index): 9.26e-06 +/- 7.43e-06 TS (Fixed Index): 3.39 Ra Dec: 76.996 67.622 Photon Flux Upper Limit: 1.11e-08 ph cm-2 s-1 Energy Flux Upper Limit: 8.00e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/275354/likelihoodResults_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.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) = 155365.820057 delta logL = 0.410624762735 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 155365.811443 delta logL = 0.419238715433 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.3492 1.0000 .10000E-03 10000. 2 'Index ' 1.9647 1.0000 .0000 10.000 3 'Normalizat' 1.1300 1.0000 .10000E-01 10.000 4 'Prefactor ' .97368 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6120E+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= 155365.8 FROM MIGRAD STATUS=FAILED 105 CALLS 328 TOTAL EDM= .43E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.3492 5.8682 .26745E-03 .61211E-04 2 Index 1.9647 1.0703 .24048E-01 .77565E-03 3 Normalizat 1.1300 .62571E-01 .50982E-03 .19338E-03 4 Prefactor .97368 .14693E-01 .12994E-03 -.27997E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 155365.8 FROM SIMPLEX STATUS=UNCHANGED 79 CALLS 407 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.3492 5.8682 .63587E-04 -1.5401 2 Index 1.9647 1.0703 .37476E-03 -.65235 3 Normalizat 1.1300 .62571E-01 .69726E-04 -.88795 4 Prefactor .97368 .14693E-01 .15140E-04 -.93612 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 155365.8 FROM MIGRAD STATUS=CONVERGED 30 CALLS 437 TOTAL EDM= .17E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.3492 2.1681 .10698E-04 .54410E-04 2 Index 1.9647 .40433 .96191E-03 .26096E-04 3 Normalizat 1.1300 .61224E-01 .20393E-04 .19267E-03 4 Prefactor .97368 .14661E-01 .51977E-05 -.27997E-05 ERR DEF= .500 Final values: Prefactor = 2.34918 Index = 1.96474 Normalizat = 1.12999 Prefactor = 0.973679 ********** ** 18 **HESSE ********** FCN= 155365.8 FROM HESSE STATUS=OK 23 CALLS 460 TOTAL EDM= .18E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.3492 2.1417 .21396E-05 -1.5401 2 Index 1.9647 .39937 .38477E-04 -.65235 3 Normalizat 1.1300 .61221E-01 .40785E-05 -.88795 4 Prefactor .97368 .14661E-01 .51977E-05 -.93612 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.78743e-11 Minuit parameter uncertainties: 1 2.14182 2 0.40005 3 0.061225 4 0.0146615 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/275354': 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) = 155365.811443 delta logL = 0.419238716277 Extracting fit parameters... 4FGL J0507.9+6737 Spectrum: PowerLaw 288 Prefactor: 2.349e+00 2.142e+00 1.000e-04 1.000e+04 ( 1.000e-14) 289 Index: 1.965e+00 4.000e-01 0.000e+00 1.000e+01 (-1.000e+00) 290 Scale: 6.445e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 597 Prefactor: 9.737e-01 1.466e-02 0.000e+00 1.000e+01 ( 1.000e+00) 598 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 599 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.130e+00 6.122e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.25 Ra Dec: 76.996 67.622 Photon Index (Free Index): 1.96 +/- 0.40 Photon Flux (Free Index): 8.72e-09 +/- 7.98e-09 Energy Flux (Free Index): 6.59e-06 +/- 5.09e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/275354/cmap_HighResolution_436579201_439171201_4FGL_J0507.9+6737_monthly_bin77.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/275354 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-04', comment='SUCCESS', photon_flux='3.80e-09', energy_flux2='6.59e-06', photon_flux_error='3.05e-09', dlogl='4.19e-01', energy_flux='9.26e-06', photon_flux2='8.72e-09', job_status='DONE', time_completed='2021-10-14 04:32:56.040279', photon_index_error2='0.40', photon_index2='1.96', ts='3.39', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.11e-08', energy_flux_error2='5.09e-06', EG='1.13', time_epoch_completed='1634211176.04', return_code='0', job_id='275354', GAL2='0.97', EG2='1.13', return_code2='0', energy_flux_error='7.43e-06', photon_flux_error2='7.98e-09', ts2='4.25', photon_index='1.58' WHERE bin_id='77' AND source_name='4FGL J0507.9+6737' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 04:32:56 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 275354: <4FGL_J0507.9+6737_monthly_bin77> in cluster Done Job <4FGL_J0507.9+6737_monthly_bin77> was submitted from host by user in cluster at Thu Oct 14 01:45:14 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Oct 14 01:45:16 2021 was used as the home directory. was used as the working directory. Started at Thu Oct 14 01:45:16 2021 Terminated at Thu Oct 14 04:32:57 2021 Results reported at Thu Oct 14 04:32:57 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0507.9+6737_monthly_bin77 76.9956 67.6223 436579201 439171201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0507.9+6737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9920.00 sec. Max Memory : 799 MB Average Memory : 543.03 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 10061 sec. Turnaround time : 10063 sec. The output (if any) is above this job summary.