/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 128 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 = 17316 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0521.2+1637_weekly_bin685 RA = 80.3136, Dec = 16.631 tmin = 653270401, tmax = 653875201 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='439594', job_status='RUN', time_executed='2021-12-08 05:39:43.194111', time_epoch_executed='1638970783.19' WHERE source_name='4FGL J0521.2+1637' and cadence='weekly' and bin_id='685' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/439594 Creating custom pfile directory: /scratch/kocevski/439594/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=653270401.0 && nMetStart<653875201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=653270401.0 && nMetStart<653875201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/439594/ft1_4FGL_J0521.2+1637_weekly_bin685.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=653270401.0 && nMetStart<653875201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/439594/ft1_4FGL_J0521.2+1637_weekly_bin685.fits outfile=/scratch/kocevski/439594/ft1_filteredMKT_4FGL_J0521.2+1637_weekly_bin685.fits ra=80.3136 dec=16.631 rad=12.0 tmin=653270401.0 tmax=653875201.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 9.17 user 8.80 sys 0.32 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.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/439594/ft1_filteredMKT_4FGL_J0521.2+1637_weekly_bin685.fits evtable="EVENTS" outfile="/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.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.55 user 0.38 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits" evtable="EVENTS" scfile=/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits sctable="SC_DATA" outfile=/scratch/kocevski/439594/ltcube_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.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/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits .....................! real 30.31 user 29.57 sys 0.44 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits sctable="SC_DATA" expcube=/scratch/kocevski/439594/ltcube_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.fits outfile=/scratch/kocevski/439594/expmap_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.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/439594/ltcube_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.fits .....................! real 190.24 user 185.68 sys 3.90 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. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template. Extended source Monoceros in ROI with RadialGaussian spatial model. Added 169 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 J0521.2+1637 @ 80.3136 16.631 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits scfile=/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits outfile=/scratch/kocevski/439594/cmap_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.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=80.3136 yref=16.631 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.58 user 0.43 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits scfile=/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits outfile=/scratch/kocevski/439594/cmap_HighResolution_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.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=80.3136 yref=16.631 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.59 user 0.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439594/Model_4FGL_J0521.2+1637_weekly_bin685.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 Monoceros adding source Rosette adding source S 147 Working on... /scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits.....................! real 1543.26 user 1536.48 sys 2.07 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits', '/scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits', expMap='/scratch/kocevski/439594/expmap_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.fits', expCube='/scratch/kocevski/439594/ltcube_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/439594/Model_4FGL_J0521.2+1637_weekly_bin685.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0521.2+1637' 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 4.819e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 243 Index: 2.231e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 244 Scale: 2.276e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/439594/ft1_filtered_4FGL_J0521.2+1637_weekly_bin685.fits Spacecraft file(s): /scratch/kocevski/439594/ft2_4FGL_J0521.2+1637_weekly_bin685.fits Exposure map: /scratch/kocevski/439594/expmap_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.fits Exposure cube: /scratch/kocevski/439594/ltcube_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/439594/Model_4FGL_J0521.2+1637_weekly_bin685.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) = 66299.4621868 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 66299.4469696 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.7603 1.0000 .10000E-03 10000. 2 'norm ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10034E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 31.288 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'norm ' 4.3103 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.4623 1.0000 .10000E-03 10000. 8 'norm ' .75260 1.0000 .10000E-03 10000. 9 'Prefactor ' 1.6095 1.0000 .10000E-03 10000. 10 'Prefactor ' .51939 1.0000 .10000E-03 10000. 11 'Prefactor ' 38.583 1.0000 .10000E-03 10000. 12 'norm ' 3.9766 1.0000 .10000E-03 10000. 13 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 14 'norm ' 8.0774 1.0000 .10000E-03 10000. 15 'norm ' .29244 1.0000 .10000E-03 10000. 16 'Prefactor ' 1.1872 1.0000 .10000E-03 10000. 17 'norm ' 10.137 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.1649 1.0000 .10000E-03 10000. 19 'Prefactor ' .10066E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 4.1769 1.0000 .10000E-03 10000. 21 'Prefactor ' 9.8109 1.0000 .10000E-03 10000. 22 'Prefactor ' 9.6451 1.0000 .10000E-03 10000. 23 'Prefactor ' .50922E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.3123 1.0000 .10000E-01 10.000 25 'Prefactor ' .94082 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5910E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 66299.45 FROM MIGRAD STATUS=CONVERGED 614 CALLS 3024 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.7600 1.3171 -.70146E-07 -.10096E-03 2 norm .10000E-03 11.029 -.47737E-06** at limit ** 3 Prefactor .10000E-03 7.3551 -.51409E-06** at limit ** 4 Prefactor 31.287 22.373 -.32841E-05 .12789E-04 5 Prefactor .10000E-03 1.4995 -.12227E-07** at limit ** 6 norm 4.3103 2.1106 .21129E-06 -.30540E-03 7 Prefactor 2.4622 .41197 -.31245E-07 -.28815E-02 8 norm .75348 1.0481 .17759E-07 .54801E-03 9 Prefactor 1.6101 2.1604 .28383E-06 .37144E-04 10 Prefactor .19254 5.2652 -.12970E-06 -.45463E-04 11 Prefactor 38.569 27.063 -.78341E-05 -.17077E-04 12 norm 3.9763 1.3776 .59113E-08 -.71513E-04 13 Prefactor .10000E-03 5.5178 -.10926E-06** at limit ** 14 norm 8.0766 3.3892 .41154E-06 -.90224E-05 15 norm .29240 .41418 .13283E-06 .40566E-03 16 Prefactor 1.1872 .84322E-01 .41502E-08 -.52913E-02 17 norm 10.138 2.3470 -.59806E-07 -.28648E-04 18 Prefactor 3.1652 .53680 -.33887E-07 -.12207E-02 19 Prefactor .10000E-03 15.326 .11563E-05** at limit ** 20 Prefactor 4.1751 12.091 -.83189E-05 -.73179E-04 21 Prefactor 9.8082 10.934 .36492E-06 -.15130E-04 22 Prefactor 9.6442 2.8198 -.72026E-07 -.69009E-04 23 Prefactor .10008E-03 1.1413 .61295E-06** at limit ** 24 Normalizat 1.3122 .19952 .29993E-05 -.12946E-03 25 Prefactor .94089 .26274E-01 -.19911E-06 -.63208E-03 ERR DEF= .500 Final values: norm = 2.75999 norm = 0.0001 Prefactor = 0.0001 Prefactor = 31.2874 Prefactor = 0.0001 norm = 4.31027 Prefactor = 2.46216 norm = 0.753483 Prefactor = 1.61007 Prefactor = 0.192545 Prefactor = 38.5695 norm = 3.97629 Prefactor = 0.0001 norm = 8.07662 norm = 0.292397 Prefactor = 1.18719 norm = 10.1375 Prefactor = 3.16518 Prefactor = 0.000100002 Prefactor = 4.17509 Prefactor = 9.80824 Prefactor = 9.64425 Prefactor = 0.000100083 Normalizat = 1.31219 Prefactor = 0.940886 ********** ** 18 **HESSE ********** FCN= 66299.45 FROM HESSE STATUS=OK 453 CALLS 3477 TOTAL EDM= .98E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.7600 1.3114 .19235E-03 -1.5376 2 norm .10000E-03 11.074 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 7.3577 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 31.287 22.413 .71633E-04 -1.4589 5 Prefactor .10000E-03 1.5085 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 4.3103 2.1158 .97019E-03 -1.5293 7 Prefactor 2.4622 1.9959 .13031E-02 -1.5394 8 norm .75348 .75818 .30014E-02 -1.5534 9 Prefactor 1.6101 2.1386 .33392E-03 -1.5454 10 Prefactor .19254 5.2628 .18150 -1.5620 11 Prefactor 38.569 26.922 .64527E-04 -1.4465 12 norm 3.9763 1.3768 .17222E-03 -1.5309 13 Prefactor .10000E-03 5.5494 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 8.0766 3.3836 .14107E-03 -1.5140 15 norm .29240 .47474 .18503E-02 -1.5600 16 Prefactor 1.1872 .93316E-01 .12782E-04 -1.5490 17 norm 10.138 2.5174 .12585E-03 -1.5071 18 Prefactor 3.1652 .56781 .55922E-04 -1.5352 19 Prefactor .10000E-03 15.574 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 4.1751 12.040 .19720E-03 -1.5299 21 Prefactor 9.8082 10.926 .12793E-03 -1.5082 22 Prefactor 9.6442 2.8145 .12903E-03 -1.5087 23 Prefactor .10008E-03 10.224 .52610E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.3122 .20547 .83982E-03 -.83203 25 Prefactor .94089 .27349E-01 .14135E-03 -.94727 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.844e-08 Minuit parameter uncertainties: 1 1.31145 2 6.57595e-06 3 2.47038e-05 4 22.4186 5 1.75986e-06 6 2.11583 7 1.99594 8 0.75819 9 2.13875 10 2.01295 11 26.9304 12 1.37685 13 1.21774e-06 14 3.38365 15 0.474748 16 0.0933162 17 2.51742 18 0.567808 19 0.000381019 20 12.0467 21 10.9285 22 2.81453 23 0.00183999 24 0.205597 25 0.0273497 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 66299.4467359 Extracting fit parameters... 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 3.857e+01 2.693e+01 1.000e-04 1.000e+04 ( 1.000e-14) 243 Index: 2.231e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 244 Scale: 2.276e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 572 Prefactor: 9.409e-01 2.735e-02 0.000e+00 1.000e+01 ( 1.000e+00) 573 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 574 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.312e+00 2.056e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.42 Ra Dec: 80.314 16.631 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 3.34e-08 +/- 2.33e-08 Energy Flux (Fixed Index): 1.42e-05 +/- 9.91e-06 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) = 66299.4202117 delta logL = 0.0265242501482 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 66299.4010873 delta logL = 0.0456486495532 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 32.863 1.0000 .10000E-03 10000. 2 'Index ' 2.4068 1.0000 .0000 10.000 3 'Normalizat' 1.3026 1.0000 .10000E-01 10.000 4 'Prefactor ' .94142 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5910E+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= 66299.40 FROM MIGRAD STATUS=FAILED 99 CALLS 274 TOTAL EDM= .43E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 32.844 34.972 .69899E-04 -.56210E-04 2 Index 2.4067 .66142 .82645E-02 .13309E-02 3 Normalizat 1.3027 .18377 .84234E-03 .45715E-03 4 Prefactor .94141 .26456E-01 .14131E-03 -.29066E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 66299.40 FROM SIMPLEX STATUS=UNCHANGED 72 CALLS 346 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 32.844 34.972 .25189E-03 -1.4561 2 Index 2.4067 .66142 .43440E-03 -.54528 3 Normalizat 1.3027 .18377 .21369E-03 -.83487 4 Prefactor .94141 .26456E-01 .39034E-04 -.94709 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 66299.40 FROM MIGRAD STATUS=CONVERGED 28 CALLS 374 TOTAL EDM= .18E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 32.843 31.049 .13980E-04 -.46841E-04 2 Index 2.4067 .58719 .16529E-02 .14746E-04 3 Normalizat 1.3027 .18297 .33694E-04 -.75580E-05 4 Prefactor .94141 .26431E-01 .28262E-04 -.24458E-04 ERR DEF= .500 Final values: Prefactor = 32.8434 Index = 2.4067 Normalizat = 1.30267 Prefactor = 0.941409 ********** ** 18 **HESSE ********** FCN= 66299.40 FROM HESSE STATUS=OK 23 CALLS 397 TOTAL EDM= .17E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 32.843 30.359 .27960E-05 -1.4561 2 Index 2.4067 .57409 .66116E-04 -.54528 3 Normalizat 1.3027 .18293 .67387E-05 -.83487 4 Prefactor .94141 .26436E-01 .56523E-05 -.94709 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.73913e-11 Minuit parameter uncertainties: 1 30.3737 2 0.575828 3 0.183025 4 0.0264366 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/439594': 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) = 66299.4010867 delta logL = 0.0456492174562 Extracting fit parameters... 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 3.284e+01 3.037e+01 1.000e-04 1.000e+04 ( 1.000e-14) 243 Index: 2.407e+00 5.758e-01 0.000e+00 1.000e+01 (-1.000e+00) 244 Scale: 2.276e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 572 Prefactor: 9.414e-01 2.644e-02 0.000e+00 1.000e+01 ( 1.000e+00) 573 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 574 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.303e+00 1.830e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.52 Ra Dec: 80.314 16.631 Photon Index (Free Index): 2.41 +/- 0.58 Photon Flux (Free Index): 4.31e-08 +/- 4.24e-08 Energy Flux (Free Index): 1.40e-05 +/- 9.14e-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/439594/cmap_HighResolution_653270401_653875201_4FGL_J0521.2+1637_weekly_bin685.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/439594 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.34e-08', energy_flux2='1.40e-05', photon_flux_error='2.33e-08', dlogl='4.56e-02', energy_flux='1.42e-05', photon_flux2='4.31e-08', job_status='DONE', time_completed='2021-12-08 07:11:41.678902', photon_index_error2='0.58', photon_index2='2.41', ts='4.42', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.14e-06', EG='1.31', time_epoch_completed='1638976301.68', return_code='0', job_id='439594', GAL2='0.94', EG2='1.30', return_code2='0', energy_flux_error='9.91e-06', photon_flux_error2='4.24e-08', ts2='4.52', photon_index='2.23' WHERE bin_id='685' AND source_name='4FGL J0521.2+1637' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Dec 8 07:11:41 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 439594: <4FGL_J0521.2+1637_weekly_bin685> in cluster Done Job <4FGL_J0521.2+1637_weekly_bin685> was submitted from host by user in cluster at Wed Dec 8 05:35:34 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Dec 8 05:37:30 2021 was used as the home directory. was used as the working directory. Started at Wed Dec 8 05:37:30 2021 Terminated at Wed Dec 8 07:11:42 2021 Results reported at Wed Dec 8 07:11:42 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0521.2+1637_weekly_bin685 80.3136 16.631 653270401 653875201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0521.2+1637 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 5495.68 sec. Max Memory : 637 MB Average Memory : 452.47 MB Total Requested Memory : - Delta Memory : - Max Swap : 2879 MB Max Processes : 6 Max Threads : 21 Run time : 5652 sec. Turnaround time : 5768 sec. The output (if any) is above this job summary.