/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 194 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 = 17128 number of fields = 31 RA_SUN column already exists. File will not be modified.DDone. Performing analysis on: 4FGL_J0312.9+4119_weekly_bin701 RA = 48.2438, Dec = 41.3289 tmin = 662947201, tmax = 663552001 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='566812', job_status='RUN', time_executed='2022-01-11 02:09:13.722696', time_epoch_executed='1641895753.72' WHERE source_name='4FGL J0312.9+4119' and cadence='weekly' and bin_id='701' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/566812 Creating custom pfile directory: /scratch/kocevski/566812/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=662947201.0 && nMetStart<663552001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=662947201.0 && nMetStart<663552001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/566812/ft1_4FGL_J0312.9+4119_weekly_bin701.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=662947201.0 && nMetStart<663552001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/566812/ft1_4FGL_J0312.9+4119_weekly_bin701.fits outfile=/scratch/kocevski/566812/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin701.fits ra=48.2438 dec=41.3289 rad=12.0 tmin=662947201.0 tmax=663552001.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 5.83 user 5.49 sys 0.31 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.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/566812/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin701.fits evtable="EVENTS" outfile="/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.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.62 user 0.39 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/566812/ltcube_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.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/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits .....................! real 36.01 user 35.42 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/566812/ltcube_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.fits outfile=/scratch/kocevski/566812/expmap_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.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/566812/ltcube_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.fits .....................! real 193.31 user 187.07 sys 5.48 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 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 G150.3+4.5 in ROI with RadialDisk spatial model. 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 165 point sources and 3 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 J0312.9+4119 @ 48.2438 41.3289 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits scfile=/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits outfile=/scratch/kocevski/566812/cmap_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.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=48.2438 yref=41.3289 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.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits scfile=/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits outfile=/scratch/kocevski/566812/cmap_HighResolution_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.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=48.2438 yref=41.3289 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.46 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/566812/Model_4FGL_J0312.9+4119_weekly_bin701.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 9 adding source W 3 Working on... /scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits.....................! real 693.03 user 689.85 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits', '/scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits', expMap='/scratch/kocevski/566812/expmap_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.fits', expCube='/scratch/kocevski/566812/ltcube_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/566812/Model_4FGL_J0312.9+4119_weekly_bin701.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0312.9+4119' 4FGL J0312.9+4119 Spectrum: PowerLaw 286 Prefactor: 1.825e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 287 Index: 2.694e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.292e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/566812/ft1_filtered_4FGL_J0312.9+4119_weekly_bin701.fits Spacecraft file(s): /scratch/kocevski/566812/ft2_4FGL_J0312.9+4119_weekly_bin701.fits Exposure map: /scratch/kocevski/566812/expmap_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.fits Exposure cube: /scratch/kocevski/566812/ltcube_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/566812/Model_4FGL_J0312.9+4119_weekly_bin701.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) = 38555.2856732 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38555.2764312 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 4.7191 1.0000 .10000E-03 10000. 2 'norm ' .65756 1.0000 .10000E-03 10000. 3 'norm ' .44235 1.0000 .10000E-03 10000. 4 'Prefactor ' .10111E-03 1.0000 .10000E-03 10000. 5 'norm ' 7.8421 1.0000 .10000E-03 10000. 6 'Prefactor ' 7.2064 1.0000 .10000E-03 10000. 7 'Prefactor ' .10186E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 1.2006 1.0000 .10000E-03 10000. 9 'norm ' 9.5720 1.0000 .10000E-03 10000. 10 'norm ' .10238E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 13.093 1.0000 .10000E-03 10000. 12 'Prefactor ' .11249E-03 1.0000 .10000E-03 10000. 13 'norm ' 3.4132 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.4921 1.0000 .10000E-03 10000. 15 'norm ' .45577 1.0000 .10000E-03 10000. 16 'Prefactor ' 2.6419 1.0000 .10000E-03 10000. 17 'Prefactor ' 24.858 1.0000 .10000E-03 10000. 18 'norm ' .53648E-01 1.0000 .10000E-03 10000. 19 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.1289 1.0000 .10000E-03 10000. 21 'Normalizat' 1.0733 1.0000 .10000E-01 10.000 22 'Prefactor ' .99689 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 38555.28 FROM MIGRAD STATUS=CONVERGED 560 CALLS 2834 TOTAL EDM= .10E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 4.7185 2.2254 .0000 .12985E-02 2 norm .65783 .43195 .0000 .59275E-02 3 norm .44237 .13382 .0000 -.24018E-03 4 Prefactor .10000E-03 1.4811 .0000 ** at limit ** 5 norm 7.8393 3.2812 .0000 .54580E-02 6 Prefactor 7.2014 13.988 .0000 .94759E-04 7 Prefactor .10000E-03 11.151 .0000 ** at limit ** 8 Prefactor 1.2012 1.3635 .0000 .58934E-02 9 norm 9.5721 2.9333 .0000 .10415E-01 10 norm .10000E-03 6.1215 .0000 ** at limit ** 11 Prefactor 13.092 8.9049 .0000 .34054E-02 12 Prefactor .10000E-03 46.539 .0000 ** at limit ** 13 norm 3.4131 .52205 .0000 .52415E-03 14 Prefactor 2.4921 1.2127 .0000 .32171E-02 15 norm .45614 .97765 .0000 .57313E-02 16 Prefactor 2.5578 92.464 .0000 .27324E-04 17 Prefactor 24.879 20.450 .0000 .30463E-03 18 norm .10002E-03 13.689 .0000 ** at limit ** 19 Prefactor .10000E-03 1.2911 .0000 ** at limit ** 20 Prefactor 3.1310 6.3520 .0000 .11107E-01 21 Normalizat 1.0731 .14726 .0000 .12478E-03 22 Prefactor .99690 .33116E-01 .0000 -.17660E-03 ERR DEF= .500 Final values: norm = 4.71849 norm = 0.65783 norm = 0.44237 Prefactor = 0.0001 norm = 7.83929 Prefactor = 7.20139 Prefactor = 0.0001 Prefactor = 1.20124 norm = 9.57209 norm = 0.0001 Prefactor = 13.092 Prefactor = 0.0001 norm = 3.41305 Prefactor = 2.49208 norm = 0.456139 Prefactor = 2.55778 Prefactor = 24.8788 norm = 0.000100019 Prefactor = 0.0001 Prefactor = 3.13103 Normalizat = 1.07314 Prefactor = 0.996905 ********** ** 18 **HESSE ********** FCN= 38555.28 FROM HESSE STATUS=OK 366 CALLS 3200 TOTAL EDM= .24E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 4.7185 2.2377 .16735E-03 -1.5273 2 norm .65783 .38789 .85739E-03 -1.5546 3 norm .44237 .13585 .38064E-04 -1.5575 4 Prefactor .10000E-03 1.5121 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 7.8393 3.2776 .71594E-03 -1.5148 6 Prefactor 7.2014 13.959 .14942E-03 -1.5171 7 Prefactor .10000E-03 11.165 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 1.2012 1.3489 .23161E-03 -1.5489 9 norm 9.5721 2.9312 .64764E-03 -1.5089 10 norm .10000E-03 6.1562 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 13.092 8.9630 .55350E-03 -1.4984 12 Prefactor .10000E-03 46.659 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 3.4131 .52484 .47981E-04 -1.5338 14 Prefactor 2.4921 1.1840 .13644E-03 -1.5392 15 norm .45614 1.3884 .25956E-02 -1.5573 16 Prefactor 2.5578 92.759 .25084E-03 -1.5388 17 Prefactor 24.879 20.505 .40172E-03 -1.4710 18 norm .10002E-03 13.014 .25170 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 1.3208 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 3.1310 6.3543 .11460E-02 -1.5354 21 Normalizat 1.0731 .15126 .57444E-03 -.90619 22 Prefactor .99690 .34854E-01 .14179E-03 -.92833 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.383e-07 Minuit parameter uncertainties: 1 2.2377 2 0.387887 3 0.135851 4 3.24938e-07 5 3.27769 6 13.9651 7 8.63203e-06 8 1.34895 9 2.93125 10 1.33645e-07 11 8.96395 12 1.12816e-05 13 0.524837 14 1.18406 15 1.38849 16 30.8575 17 20.5106 18 0.00100182 19 8.62964e-07 20 6.35565 21 0.151323 22 0.0348546 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 38555.2764123 Extracting fit parameters... 4FGL J0312.9+4119 Spectrum: PowerLaw 286 Prefactor: 1.309e+01 8.964e+00 1.000e-04 1.000e+04 ( 1.000e-13) 287 Index: 2.694e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.292e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 565 Prefactor: 9.969e-01 3.485e-02 0.000e+00 1.000e+01 ( 1.000e+00) 566 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 567 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.073e+00 1.513e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.25 Ra Dec: 48.244 41.329 Photon Index (Fixed Index): 2.69 +/- 0.00 Photon Flux (Fixed Index): 7.63e-08 +/- 5.22e-08 Energy Flux (Fixed Index): 1.84e-05 +/- 1.26e-05 TS (Fixed Index): 3.25 Ra Dec: 48.244 41.329 Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/566812/likelihoodResults_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.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) = 38555.2742874 delta logL = 0.00212491615093 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 38555.2702948 delta logL = 0.00611750414828 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 11.993 1.0000 .10000E-03 10000. 2 'Index ' 2.7519 1.0000 .0000 10.000 3 'Normalizat' 1.0709 1.0000 .10000E-01 10.000 4 'Prefactor ' .99719 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5760E+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= 38555.27 FROM MIGRAD STATUS=FAILED 101 CALLS 276 TOTAL EDM= .19E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.989 18.505 .11567E-03 -.14153E-04 2 Index 2.7522 .79295 .87007E-02 .24413E-02 3 Normalizat 1.0710 .14152 .57495E-03 .61250E-03 4 Prefactor .99719 .32912E-01 .14177E-03 .26295E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 38555.27 FROM SIMPLEX STATUS=UNCHANGED 67 CALLS 343 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.989 18.505 .21395E-03 -1.5015 2 Index 2.7522 .79295 .75476E-03 -.46627 3 Normalizat 1.0710 .14152 .21151E-03 -.90690 4 Prefactor .99719 .32912E-01 .53261E-04 -.92823 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 38555.27 FROM MIGRAD STATUS=CONVERGED 29 CALLS 372 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.989 13.109 .46270E-05 -.24767E-03 2 Index 2.7522 .56203 .17401E-02 -.25506E-04 3 Normalizat 1.0710 .14105 .22998E-04 .27287E-03 4 Prefactor .99719 .32828E-01 .28354E-04 .12182E-02 ERR DEF= .500 Final values: Prefactor = 11.9887 Index = 2.75222 Normalizat = 1.07096 Prefactor = 0.997195 ********** ** 18 **HESSE ********** FCN= 38555.27 FROM HESSE STATUS=OK 23 CALLS 395 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.989 12.440 .92539E-06 -1.5015 2 Index 2.7522 .53339 .69606E-04 -.46627 3 Normalizat 1.0710 .14115 .45996E-05 -.90690 4 Prefactor .99719 .32834E-01 .56709E-05 -.92823 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.55588e-10 Minuit parameter uncertainties: 1 12.4431 2 0.534666 3 0.141202 4 0.0328347 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/566812': 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) = 38555.2702944 delta logL = 0.00611793462303 Extracting fit parameters... 4FGL J0312.9+4119 Spectrum: PowerLaw 286 Prefactor: 1.199e+01 1.244e+01 1.000e-04 1.000e+04 ( 1.000e-13) 287 Index: 2.752e+00 5.347e-01 0.000e+00 1.000e+01 (-1.000e+00) 288 Scale: 1.292e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 565 Prefactor: 9.972e-01 3.283e-02 0.000e+00 1.000e+01 ( 1.000e+00) 566 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 567 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.071e+00 1.412e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.36 Ra Dec: 48.244 41.329 Photon Index (Free Index): 2.75 +/- 0.53 Photon Flux (Free Index): 7.84e-08 +/- 5.07e-08 Energy Flux (Free Index): 1.81e-05 +/- 1.14e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/566812/cmap_HighResolution_662947201_663552001_4FGL_J0312.9+4119_weekly_bin701.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/566812 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='7.63e-08', energy_flux2='1.81e-05', photon_flux_error='5.22e-08', dlogl='6.12e-03', energy_flux='1.84e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2022-01-11 03:01:24.452306', photon_index_error2='0.53', photon_index2='2.75', ts='3.25', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.14e-05', EG='1.07', time_epoch_completed='1641898884.45', return_code='0', job_id='566812', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='5.07e-08', ts2='3.36', photon_index='2.69' WHERE bin_id='701' AND source_name='4FGL J0312.9+4119' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 11 03:01:24 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 566725: <4FGL_J0312.9+4119_weekly_bin701> in cluster Done Job <4FGL_J0312.9+4119_weekly_bin701> was submitted from host by user in cluster at Tue Jan 11 00:05:49 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 11 02:04:44 2022 was used as the home directory. was used as the working directory. Started at Tue Jan 11 02:04:44 2022 Terminated at Tue Jan 11 02:58:44 2022 Results reported at Tue Jan 11 02:58:44 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0312.9+4119_weekly_bin701 48.2438 41.3289 662947201 663552001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0312.9+4119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 3174.00 sec. Max Memory : 1259 MB Average Memory : 403.54 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 3240 sec. Turnaround time : 10375 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 566812: <4FGL_J0312.9+4119_weekly_bin701> in cluster Done Job <4FGL_J0312.9+4119_weekly_bin701> was submitted from host by user in cluster at Tue Jan 11 00:05:54 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 11 02:05:51 2022 was used as the home directory. was used as the working directory. Started at Tue Jan 11 02:05:51 2022 Terminated at Tue Jan 11 03:01:25 2022 Results reported at Tue Jan 11 03:01:25 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0312.9+4119_weekly_bin701 48.2438 41.3289 662947201 663552001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0312.9+4119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 3128.00 sec. Max Memory : 1096 MB Average Memory : 390.89 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 3333 sec. Turnaround time : 10531 sec. The output (if any) is above this job summary.