/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 1 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 = 73605 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0521.2+1637_monthly_bin70 RA = 80.3136, Dec = 16.631 tmin = 418435201, tmax = 421027201 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='368910', job_status='RUN', time_executed='2021-10-14 07:50:25.415158', time_epoch_executed='1634223025.42' WHERE source_name='4FGL J0521.2+1637' and cadence='monthly' and bin_id='70' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/368910 Creating custom pfile directory: /scratch/kocevski/368910/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=418435201.0 && nMetStart<421027201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=418435201.0 && nMetStart<421027201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/368910/ft1_4FGL_J0521.2+1637_monthly_bin70.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=418435201.0 && nMetStart<421027201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/368910/ft1_4FGL_J0521.2+1637_monthly_bin70.fits outfile=/scratch/kocevski/368910/ft1_filteredMKT_4FGL_J0521.2+1637_monthly_bin70.fits ra=80.3136 dec=16.631 rad=12.0 tmin=418435201.0 tmax=421027201.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 42.75 user 41.65 sys 0.91 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.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/368910/ft1_filteredMKT_4FGL_J0521.2+1637_monthly_bin70.fits evtable="EVENTS" outfile="/scratch/kocevski/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.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.67 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits" evtable="EVENTS" scfile=/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits sctable="SC_DATA" outfile=/scratch/kocevski/368910/ltcube_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.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/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits .....................! real 108.67 user 108.00 sys 0.39 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/368910/ltcube_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.fits outfile=/scratch/kocevski/368910/expmap_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.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/368910/ltcube_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.fits .....................! real 191.91 user 186.58 sys 4.75 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/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits scfile=/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits outfile=/scratch/kocevski/368910/cmap_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.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.81 user 0.64 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits scfile=/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits outfile=/scratch/kocevski/368910/cmap_HighResolution_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.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.82 user 0.66 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/368910/Model_4FGL_J0521.2+1637_monthly_bin70.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/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits.....................! real 5625.93 user 5611.50 sys 3.64 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits', '/scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits', expMap='/scratch/kocevski/368910/expmap_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.fits', expCube='/scratch/kocevski/368910/ltcube_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/368910/Model_4FGL_J0521.2+1637_monthly_bin70.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/368910/ft1_filtered_4FGL_J0521.2+1637_monthly_bin70.fits Spacecraft file(s): /scratch/kocevski/368910/ft2_4FGL_J0521.2+1637_monthly_bin70.fits Exposure map: /scratch/kocevski/368910/expmap_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.fits Exposure cube: /scratch/kocevski/368910/ltcube_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/368910/Model_4FGL_J0521.2+1637_monthly_bin70.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) = 235995.172046 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 235995.101152 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .21848 1.0000 .10000E-03 10000. 2 'norm ' 3.7164 1.0000 .10000E-03 10000. 3 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .71385 1.0000 .10000E-03 10000. 5 'Prefactor ' .10876E-03 1.0000 .10000E-03 10000. 6 'norm ' 3.9536 1.0000 .10000E-03 10000. 7 'Prefactor ' .10124E-03 1.0000 .10000E-03 10000. 8 'norm ' 3.8602 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.8534 1.0000 .10000E-03 10000. 10 'Prefactor ' 6.6583 1.0000 .10000E-03 10000. 11 'Prefactor ' 12.224 1.0000 .10000E-03 10000. 12 'norm ' 3.6925 1.0000 .10000E-03 10000. 13 'Prefactor ' .49475 1.0000 .10000E-03 10000. 14 'norm ' 3.3983 1.0000 .10000E-03 10000. 15 'norm ' 3.0386 1.0000 .10000E-03 10000. 16 'Prefactor ' 1.1889 1.0000 .10000E-03 10000. 17 'norm ' 8.1956 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.5640 1.0000 .10000E-03 10000. 19 'Prefactor ' .10199E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 9.5631 1.0000 .10000E-03 10000. 21 'Prefactor ' 6.7108 1.0000 .10000E-03 10000. 22 'Prefactor ' .30554 1.0000 .10000E-03 10000. 23 'Prefactor ' 1.2710 1.0000 .10000E-03 10000. 24 'Normalizat' 1.3724 1.0000 .10000E-01 10.000 25 'Prefactor ' .96262 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 235995.1 FROM MIGRAD STATUS=CONVERGED 608 CALLS 2668 TOTAL EDM= .16E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .21852 .48851 .0000 .17264E-01 2 norm 3.7167 7.7923 .0000 .40688E-03 3 Prefactor .10000E-03 3.1719 .0000 ** at limit ** 4 Prefactor .71256 1.9193 .0000 .53832E-02 5 Prefactor .10000E-03 .27723 .0000 ** at limit ** 6 norm 3.9538 1.0100 .0000 -.40671E-03 7 Prefactor .10000E-03 .12449 .0000 ** at limit ** 8 norm 3.8603 1.2113 .0000 .96397E-01 9 Prefactor 2.8535 1.0912 .0000 .65730E-01 10 Prefactor 6.6588 8.4791 .0000 .84994E-03 11 Prefactor 12.223 14.577 .0000 .10847E-03 12 norm 3.6926 .73210 .0000 .44054E-02 13 Prefactor .49468 3.0076 .0000 .11818 14 norm 3.3983 1.7522 .0000 .48358E-02 15 norm 3.0387 .41820 .0000 .81930E-02 16 Prefactor 1.1889 .45689E-01 .0000 .75684E-02 17 norm 8.1956 1.2168 .0000 -.80011E-04 18 Prefactor 2.5639 .30231 .0000 .22955E-01 19 Prefactor .10000E-03 3.7373 .0000 ** at limit ** 20 Prefactor 9.5636 7.8457 .0000 .13943E-02 21 Prefactor 6.7108 5.4759 .0000 .38988E-02 22 Prefactor .30748 .50591 .0000 .13531E-01 23 Prefactor 1.2790 2.4710 .0000 .16559 24 Normalizat 1.3724 .10809 .0000 .68346E-03 25 Prefactor .96261 .14131E-01 .0000 -.60593E-03 ERR DEF= .500 Final values: norm = 0.218522 norm = 3.7167 Prefactor = 0.0001 Prefactor = 0.712561 Prefactor = 0.0001 norm = 3.95382 Prefactor = 0.0001 norm = 3.86031 Prefactor = 2.85353 Prefactor = 6.6588 Prefactor = 12.2235 norm = 3.69263 Prefactor = 0.494678 norm = 3.3983 norm = 3.03868 Prefactor = 1.1889 norm = 8.19564 Prefactor = 2.56393 Prefactor = 0.0001 Prefactor = 9.56359 Prefactor = 6.71076 Prefactor = 0.307477 Prefactor = 1.279 Normalizat = 1.37241 Prefactor = 0.962612 ********** ** 18 **HESSE ********** FCN= 235995.1 FROM HESSE STATUS=OK 469 CALLS 3137 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .21852 .48846 .20123E-03 -1.5614 2 norm 3.7167 7.7875 .20947E-03 -1.5322 3 Prefactor .10000E-03 3.1919 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .71256 1.9568 .18694 -1.5539 5 Prefactor .10000E-03 .46417 .89477E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 3.9538 1.0101 .20287E-04 -1.5310 7 Prefactor .10000E-03 .13066 .58949E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 3.8603 1.2097 .10270E-02 -1.5315 9 Prefactor 2.8535 1.0901 .12034E-02 -1.5370 10 Prefactor 6.6588 8.4801 .15551E-03 -1.5192 11 Prefactor 12.223 14.556 .11457E-03 -1.5009 12 norm 3.6926 .73126 .17913E-03 -1.5324 13 Prefactor .49468 2.9874 .22499E-02 -1.5567 14 norm 3.3983 1.7402 .21947E-03 -1.5339 15 norm 3.0387 .41667 .11000E-03 -1.5359 16 Prefactor 1.1889 .50671E-01 .13082E-04 -1.5490 17 norm 8.1956 1.3173 .14004E-04 -1.5135 18 Prefactor 2.5639 .31730 .66162E-04 -1.5388 19 Prefactor .10000E-03 3.7652 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 9.5636 7.8006 .12959E-03 -1.5089 21 Prefactor 6.7108 5.4656 .15490E-03 -1.5190 22 Prefactor .30748 1.3962 .40545E-02 -1.5597 23 Prefactor 1.2790 2.4930 .19731E-02 -1.5482 24 Normalizat 1.3724 .11103 .84300E-03 -.81430 25 Prefactor .96261 .14898E-01 .14275E-03 -.93986 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.67286e-06 Minuit parameter uncertainties: 1 0.488473 2 7.78958 3 4.6073e-06 4 1.95702 5 2.46983e-05 6 1.01013 7 3.83393e-08 8 1.20966 9 1.09016 10 8.4816 11 14.56 12 0.73126 13 2.43122 14 1.74021 15 0.416667 16 0.0506708 17 1.3173 18 0.317302 19 6.62405e-06 20 7.8014 21 5.46597 22 1.31025 23 2.49324 24 0.111045 25 0.0148985 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 235995.101145 Extracting fit parameters... 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 1.222e+01 1.456e+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.626e-01 1.490e-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.372e+00 1.110e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.83 Ra Dec: 80.314 16.631 Photon Flux Upper Limit: 3.63e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.77e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/368910/likelihoodResults_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 235995.021287 delta logL = 0.0798573814391 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 235994.956802 delta logL = 0.144342390646 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.8092 1.0000 .10000E-03 10000. 2 'Index ' 2.8637 1.0000 .0000 10.000 3 'Normalizat' 1.3595 1.0000 .10000E-01 10.000 4 'Prefactor ' .96342 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= 235995.0 FROM MIGRAD STATUS=FAILED 98 CALLS 274 TOTAL EDM= .17E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.8078 257.97 .16663E-03 -.23623E-02 2 Index 2.8639 6.3383 .13829E-01 -.15036E-02 3 Normalizat 1.3595 .11011 .84629E-03 -.22783E-02 4 Prefactor .96341 .12207E-01 .14269E-03 -.92548E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 235995.0 FROM SIMPLEX STATUS=UNCHANGED 87 CALLS 361 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.8078 257.97 .24736E-03 -.23623E-02 2 Index 2.8639 6.3383 .99589E-03 -.15036E-02 3 Normalizat 1.3595 .11011 .95484E-04 -.22783E-02 4 Prefactor .96341 .12207E-01 .12746E-04 -.92548E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 235995.0 FROM MIGRAD STATUS=CONVERGED 39 CALLS 400 TOTAL EDM= .23E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.8035 16.592 .66653E-05 -.30565E-03 2 Index 2.8643 1.3471 .55316E-03 -.10194E-03 3 Normalizat 1.3595 .10146 .33852E-04 .18055E-03 4 Prefactor .96341 .14392E-01 .28538E-04 .18867E-03 ERR DEF= .500 Final values: Prefactor = 5.80347 Index = 2.86431 Normalizat = 1.35949 Prefactor = 0.963414 ********** ** 18 **HESSE ********** FCN= 235995.0 FROM HESSE STATUS=OK 23 CALLS 423 TOTAL EDM= .21E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.8035 15.949 .13331E-05 -1.5226 2 Index 2.8643 1.2936 .22127E-04 -.44133 3 Normalizat 1.3595 .10118 .67703E-05 -.81808 4 Prefactor .96341 .14376E-01 .57077E-05 -.93959 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.105e-10 Minuit parameter uncertainties: 1 15.9604 2 1.31189 3 0.101198 4 0.0143761 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/368910': 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) = 235994.956802 delta logL = 0.144342639309 Extracting fit parameters... 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 5.803e+00 1.596e+01 1.000e-04 1.000e+04 ( 1.000e-14) 243 Index: 2.864e+00 1.312e+00 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.634e-01 1.438e-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.359e+00 1.012e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.15 Ra Dec: 80.314 16.631 Photon Index (Free Index): 2.86 +/- 1.31 Photon Flux (Free Index): 2.41e-08 +/- 3.09e-08 Energy Flux (Free Index): 5.17e-06 +/- 5.09e-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/368910/cmap_HighResolution_418435201_421027201_4FGL_J0521.2+1637_monthly_bin70.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/368910 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-03', comment='SUCCESS', energy_flux2='5.17e-06', dlogl='1.44e-01', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-10-14 13:42:06.860062', photon_index_error2='1.31', photon_index2='2.86', ts='0.83', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='3.63e-08', energy_flux_error2='5.09e-06', EG='1.37', time_epoch_completed='1634244126.86', return_code='0', job_id='368910', GAL2='0.96', EG2='1.36', return_code2='0', photon_flux_error2='3.09e-08', ts2='1.15', photon_index='2.23' WHERE bin_id='70' AND source_name='4FGL J0521.2+1637' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 13:42:06 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 368910: <4FGL_J0521.2+1637_monthly_bin70> in cluster Done Job <4FGL_J0521.2+1637_monthly_bin70> was submitted from host by user in cluster at Thu Oct 14 07:50:11 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Oct 14 07:50:13 2021 was used as the home directory. was used as the working directory. Started at Thu Oct 14 07:50:13 2021 Terminated at Thu Oct 14 13:42:08 2021 Results reported at Thu Oct 14 13:42:08 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0521.2+1637_monthly_bin70 80.3136 16.631 418435201 421027201 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 : 20943.00 sec. Max Memory : 1100 MB Average Memory : 642.29 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 21115 sec. Turnaround time : 21117 sec. The output (if any) is above this job summary.