/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 137 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 = 7469 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1257.2+3646_daily_bin237 RA = 194.31, Dec = 36.7706 tmin = 300758401, tmax = 301017601 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='32776', job_status='RUN', time_executed='2021-09-06 11:33:16.745790', time_epoch_executed='1630953196.75' WHERE source_name='4FGL J1257.2+3646' and cadence='daily' and bin_id='237' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/32776 Creating custom pfile directory: /scratch/kocevski/32776/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=300758401.0 && nMetStart<301017601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=300758401.0 && nMetStart<301017601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/32776/ft1_4FGL_J1257.2+3646_daily_bin237.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=300758401.0 && nMetStart<301017601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/32776/ft1_4FGL_J1257.2+3646_daily_bin237.fits outfile=/scratch/kocevski/32776/ft1_filteredMKT_4FGL_J1257.2+3646_daily_bin237.fits ra=194.31 dec=36.7706 rad=12.0 tmin=300758401.0 tmax=301017601.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 3.52 user 3.30 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.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/32776/ft1_filteredMKT_4FGL_J1257.2+3646_daily_bin237.fits evtable="EVENTS" outfile="/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.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.51 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits" evtable="EVENTS" scfile=/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits sctable="SC_DATA" outfile=/scratch/kocevski/32776/ltcube_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.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/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits .....................! real 16.15 user 15.74 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits sctable="SC_DATA" expcube=/scratch/kocevski/32776/ltcube_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.fits outfile=/scratch/kocevski/32776/expmap_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.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/32776/ltcube_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.fits .....................! real 191.38 user 185.38 sys 5.30 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 Added 188 point sources and 0 extended sources Setting source of interest to: 4FGL J1257.2+3646 @ 194.31 36.7706 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits scfile=/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits outfile=/scratch/kocevski/32776/cmap_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.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=194.31 yref=36.7706 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.54 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits scfile=/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits outfile=/scratch/kocevski/32776/cmap_HighResolution_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.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=194.31 yref=36.7706 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.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/32776/Model_4FGL_J1257.2+3646_daily_bin237.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 Working on... /scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits.....................! real 52.49 user 51.08 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits', '/scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits', expMap='/scratch/kocevski/32776/expmap_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.fits', expCube='/scratch/kocevski/32776/ltcube_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/32776/Model_4FGL_J1257.2+3646_daily_bin237.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1257.2+3646' 4FGL J1257.2+3646 Spectrum: PowerLaw 300 Prefactor: 1.472e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 301 Index: 2.027e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 1.897e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/32776/ft1_filtered_4FGL_J1257.2+3646_daily_bin237.fits Spacecraft file(s): /scratch/kocevski/32776/ft2_4FGL_J1257.2+3646_daily_bin237.fits Exposure map: /scratch/kocevski/32776/expmap_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.fits Exposure cube: /scratch/kocevski/32776/ltcube_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/32776/Model_4FGL_J1257.2+3646_daily_bin237.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) = 6518.71725517 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6518.71114234 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 15.017 1.0000 .10000E-03 10000. 2 'norm ' 4.5271 1.0000 .10000E-03 10000. 3 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 3.4564 1.0000 .10000E-03 10000. 6 'Prefactor ' 9.7680 1.0000 .10000E-03 10000. 7 'Prefactor ' 17.991 1.0000 .10000E-03 10000. 8 'Prefactor ' .10045E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .12013E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.1776 1.0000 .10000E-03 10000. 11 'norm ' 9.7982 1.0000 .10000E-03 10000. 12 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 11.969 1.0000 .10000E-03 10000. 15 'norm ' 3.3302 1.0000 .10000E-03 10000. 16 'norm ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 15.098 1.0000 .10000E-03 10000. 18 'norm ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10031E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 13.227 1.0000 .10000E-03 10000. 22 'Prefactor ' .11116E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.4510 1.0000 .10000E-01 10.000 25 'Prefactor ' .45400 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6518.711 FROM MIGRAD STATUS=CONVERGED 589 CALLS 2893 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 15.015 26.202 -.41357E-06 -.17951E-04 2 norm 4.5269 2.7684 -.29569E-07 -.37500E-04 3 Prefactor .10000E-03 2.1492 .34396E-07** at limit ** 4 Prefactor .10000E-03 .89573 .13462E-07** at limit ** 5 Prefactor 3.4563 2.3682 -.33537E-07 -.73586E-04 6 Prefactor 9.7677 7.5884 .18135E-07 .31759E-04 7 Prefactor 17.974 29.768 -.29453E-05 -.15209E-03 8 Prefactor .10000E-03 26.406 .23225E-05** at limit ** 9 Prefactor .10000E-03 122.91 -.45301E-06** at limit ** 10 Prefactor 3.1842 7.9769 -.98601E-06 -.38851E-03 11 norm 9.7970 5.2036 .75426E-06 .58174E-03 12 Prefactor .10001E-03 29.418 -.57059E-05** at limit ** 13 Prefactor .10000E-03 14.984 .32472E-06** at limit ** 14 Prefactor 11.955 20.777 -.67059E-06 -.94872E-05 15 norm 3.3309 3.5855 .17645E-05 -.19996E-02 16 norm .10000E-03 2.8752 -.62856E-08** at limit ** 17 norm 15.097 4.9420 -.81700E-06 -.11964E-02 18 norm .10000E-03 4.3710 -.12217E-06** at limit ** 19 Prefactor .10000E-03 1.6250 -.43981E-07** at limit ** 20 Prefactor .10000E-03 5.9101 -.19036E-06** at limit ** 21 Prefactor 13.221 38.004 -.29956E-05 -.75773E-04 22 Prefactor .10000E-03 37.640 .38500E-05** at limit ** 23 Prefactor .10000E-03 12.113 -.16829E-06** at limit ** 24 Normalizat 1.4509 .17348 .51693E-06 -.63356E-04 25 Prefactor .45420 .20383 -.78268E-07 .46640E-05 ERR DEF= .500 Final values: Prefactor = 15.0149 norm = 4.52688 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.45627 Prefactor = 9.76775 Prefactor = 17.9742 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 3.18419 norm = 9.797 Prefactor = 0.000100006 Prefactor = 0.0001 Prefactor = 11.9547 norm = 3.33094 norm = 0.0001 norm = 15.0975 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 13.221 Prefactor = 0.000100002 Prefactor = 0.0001 Normalizat = 1.4509 Prefactor = 0.454203 ********** ** 18 **HESSE ********** FCN= 6518.711 FROM HESSE STATUS=OK 423 CALLS 3316 TOTAL EDM= .36E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 15.015 26.215 .10336E-03 -1.4933 2 norm 4.5269 2.7599 .10002E-03 -1.5282 3 Prefactor .10000E-03 2.1521 .11558E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 .90304 .74417E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.4563 2.3652 .97734E-04 -1.5336 6 Prefactor 9.7677 7.5897 .12822E-03 -1.5083 7 Prefactor 17.974 30.044 .94426E-04 -1.4860 8 Prefactor .10000E-03 26.905 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 124.00 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 3.1842 8.0510 .22734E-03 -1.5351 11 norm 9.7970 5.2739 .12802E-03 -1.5082 12 Prefactor .10001E-03 30.306 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 15.016 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 11.955 21.165 .11579E-03 -1.5016 15 norm 3.3309 4.3737 .88998E-03 -1.5343 16 norm .10000E-03 2.8756 .13371E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 15.097 5.0187 .97389E-04 -1.4931 18 norm .10000E-03 4.3941 .16437E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 1.6563 .10032E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 5.9208 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 13.221 38.072 .11013E-03 -1.4981 22 Prefactor .10000E-03 39.038 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 12.115 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.4509 .19315 .20116E-03 -.79168 25 Prefactor .45420 .22364 .40724E-03 -1.1413 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.57387e-09 Minuit parameter uncertainties: 1 26.2356 2 2.76 3 4.08769e-07 4 2.10907e-07 5 2.36527 6 7.59043 7 30.0689 8 0.000388883 9 0.000372694 10 8.05372 11 5.27417 12 0.000852191 13 2.95951e-05 14 21.1783 15 4.37413 16 3.2775e-07 17 5.01887 18 4.93054e-05 19 1.12049e-05 20 9.26236e-06 21 38.1417 22 0.000558874 23 1.72423e-05 24 0.19325 25 0.224073 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6518.71114099 Extracting fit parameters... 4FGL J1257.2+3646 Spectrum: PowerLaw 300 Prefactor: 3.184e+00 8.054e+00 1.000e-04 1.000e+04 ( 1.000e-13) 301 Index: 2.027e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 1.897e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 599 Prefactor: 4.542e-01 2.241e-01 0.000e+00 1.000e+01 ( 1.000e+00) 600 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 601 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 598 Normalization: 1.451e+00 1.933e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.26 Ra Dec: 194.310 36.771 Photon Flux Upper Limit: 7.21e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.42e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/32776/likelihoodResults_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.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) = 6517.44317368 delta logL = 1.26796730893 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6517.43385278 delta logL = 1.2772882108 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .38527 1.0000 .10000E-03 10000. 2 'Index ' 3.6699 1.0000 .0000 10.000 3 'Normalizat' 1.3772 1.0000 .10000E-01 10.000 4 'Prefactor ' .50849 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6020E+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= 6517.434 FROM MIGRAD STATUS=FAILED 97 CALLS 313 TOTAL EDM= .34E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .38354 8.3357 .16698E-02 .31044E-01 2 Index 3.6716 3.3643 .35281E-02 -.74485E-04 3 Normalizat 1.3774 .11076 .20520E-03 -.10930E-03 4 Prefactor .50833 .13195 .38599E-03 -.13195E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6517.434 FROM SIMPLEX STATUS=UNCHANGED 87 CALLS 400 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .38354 8.3357 .57232E-04 .31044E-01 2 Index 3.6716 3.3643 .95635E-03 -.74485E-04 3 Normalizat 1.3774 .11076 .10202E-03 -.10930E-03 4 Prefactor .50833 .13195 .14255E-03 -.13195E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6517.434 FROM MIGRAD STATUS=CONVERGED 31 CALLS 431 TOTAL EDM= .54E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .38354 8.9213 .16275E-03 -.92735E-03 2 Index 3.6716 3.4680 .14112E-03 -.62836E-04 3 Normalizat 1.3774 .19633 .41041E-04 -.70859E-04 4 Prefactor .50833 .23177 .15440E-04 -.36817E-05 ERR DEF= .500 Final values: Prefactor = 0.383541 Index = 3.67161 Normalizat = 1.3774 Prefactor = 0.508335 ********** ** 18 **HESSE ********** FCN= 6517.434 FROM HESSE STATUS=OK 25 CALLS 456 TOTAL EDM= .30E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .38354 1.1935 .65102E-05 -1.5584 2 Index 3.6716 1.2351 .56449E-05 -.26891 3 Normalizat 1.3774 .19391 .82081E-05 -.81285 4 Prefactor .50833 .22718 .30879E-05 -1.1160 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.95105e-11 Minuit parameter uncertainties: 1 1.19354 2 1.24905 3 0.194014 4 0.227592 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/32776': 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) = 6517.43385109 delta logL = 1.27728990616 Extracting fit parameters... 4FGL J1257.2+3646 Spectrum: PowerLaw 300 Prefactor: 3.835e-01 1.194e+00 1.000e-04 1.000e+04 ( 1.000e-13) 301 Index: 3.672e+00 1.249e+00 0.000e+00 1.000e+01 (-1.000e+00) 302 Scale: 1.897e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 599 Prefactor: 5.083e-01 2.276e-01 0.000e+00 1.000e+01 ( 1.000e+00) 600 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 601 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 598 Normalization: 1.377e+00 1.940e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.90 Ra Dec: 194.310 36.771 Photon Index (Free Index): 3.67 +/- 1.25 Photon Flux (Free Index): 7.09e-08 +/- 5.08e-08 Energy Flux (Free Index): 1.13e-05 +/- 7.97e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/32776/cmap_HighResolution_300758401_301017601_4FGL_J1257.2+3646_daily_bin237.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/32776 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.42e-03', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='1.28e+00', photon_flux2='7.09e-08', job_status='DONE', time_completed='2021-09-06 11:46:16.714353', photon_index_error2='1.25', photon_index2='3.67', ts='0.26', fit_tolerance='1e-08', GAL='0.45', photon_index_error='0.00', photon_flux_upper_limit='7.21e-08', energy_flux_error2='7.97e-06', EG='1.45', time_epoch_completed='1630953976.71', return_code='0', job_id='32776', GAL2='0.51', EG2='1.38', return_code2='0', photon_flux_error2='5.08e-08', ts2='2.90', photon_index='2.03' WHERE bin_id='237' AND source_name='4FGL J1257.2+3646' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 6 11:46:16 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 32776: <4FGL_J1257.2+3646_daily_bin237> in cluster Done Job <4FGL_J1257.2+3646_daily_bin237> was submitted from host by user in cluster at Mon Sep 6 11:30:15 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 6 11:30:17 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 6 11:30:17 2021 Terminated at Mon Sep 6 11:46:17 2021 Results reported at Mon Sep 6 11:46:17 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1257.2+3646_daily_bin237 194.31 36.7706 300758401 301017601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1257.2+3646 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 771.26 sec. Max Memory : 618 MB Average Memory : 255.31 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 959 sec. Turnaround time : 962 sec. The output (if any) is above this job summary.