/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 74 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 = 7411 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2149.7+1917_daily_bin1240 RA = 327.444, Dec = 19.2859 tmin = 560736001, tmax = 560995201 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='991348', job_status='RUN', time_executed='2021-09-27 18:41:59.602974', time_epoch_executed='1632793319.6' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='1240' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/991348 Creating custom pfile directory: /scratch/kocevski/991348/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=560736001.0 && nMetStart<560995201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=560736001.0 && nMetStart<560995201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/991348/ft1_4FGL_J2149.7+1917_daily_bin1240.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=560736001.0 && nMetStart<560995201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/991348/ft1_4FGL_J2149.7+1917_daily_bin1240.fits outfile=/scratch/kocevski/991348/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin1240.fits ra=327.444 dec=19.2859 rad=12.0 tmin=560736001.0 tmax=560995201.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.80 user 3.54 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.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/991348/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin1240.fits evtable="EVENTS" outfile="/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.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.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits" evtable="EVENTS" scfile=/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits sctable="SC_DATA" outfile=/scratch/kocevski/991348/ltcube_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.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/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits .....................! real 13.51 user 13.12 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits sctable="SC_DATA" expcube=/scratch/kocevski/991348/ltcube_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.fits outfile=/scratch/kocevski/991348/expmap_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.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/991348/ltcube_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.fits .....................! real 191.25 user 184.88 sys 5.40 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 Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template. Added 161 point sources and 1 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 J2149.7+1917 @ 327.444 19.2859 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits scfile=/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits outfile=/scratch/kocevski/991348/cmap_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.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=327.444 yref=19.2859 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.39 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits scfile=/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits outfile=/scratch/kocevski/991348/cmap_HighResolution_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.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=327.444 yref=19.2859 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.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/991348/Model_4FGL_J2149.7+1917_daily_bin1240.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits....................! real 29.02 user 27.66 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits', '/scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits', expMap='/scratch/kocevski/991348/expmap_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.fits', expCube='/scratch/kocevski/991348/ltcube_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/991348/Model_4FGL_J2149.7+1917_daily_bin1240.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2149.7+1917' 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 7.294e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/991348/ft1_filtered_4FGL_J2149.7+1917_daily_bin1240.fits Spacecraft file(s): /scratch/kocevski/991348/ft2_4FGL_J2149.7+1917_daily_bin1240.fits Exposure map: /scratch/kocevski/991348/expmap_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.fits Exposure cube: /scratch/kocevski/991348/ltcube_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/991348/Model_4FGL_J2149.7+1917_daily_bin1240.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) = 1246.74990287 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1246.72750265 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10063E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .25652E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10145E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10300E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10178E-03 1.0000 .10000E-03 10000. 6 'norm ' .10079E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 15.514 1.0000 .10000E-03 10000. 8 'Prefactor ' 50.218 1.0000 .10000E-03 10000. 9 'Prefactor ' .10135E-03 1.0000 .10000E-03 10000. 10 'norm ' .10742E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 12 'norm ' .52434E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 80.940 1.0000 .10000E-03 10000. 14 'Prefactor ' .10314E-03 1.0000 .10000E-03 10000. 15 'norm ' .10003E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 17 'norm ' 34.901 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.5444 1.0000 .10000E-03 10000. 19 'Prefactor ' .10948E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 33.933 1.0000 .10000E-03 10000. 21 'Normalizat' .37618 1.0000 .10000E-01 10.000 22 'Prefactor ' .58523 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 1246.727 FROM MIGRAD STATUS=CONVERGED 471 CALLS 2342 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 212.42 .34875E-05** at limit ** 2 Prefactor .10010E-03 1480.5 -.23194E-04** at limit ** 3 Prefactor .10001E-03 61.086 .60541E-05** at limit ** 4 Prefactor .10002E-03 254.98 -.10400E-04** at limit ** 5 Prefactor .10001E-03 130.67 .57778E-05** at limit ** 6 norm .10000E-03 18.253 .11483E-06** at limit ** 7 Prefactor 15.512 16.996 .10081E-05 -.42610E-04 8 Prefactor 50.220 40.253 .39111E-06 -.11603E-03 9 Prefactor .10000E-03 215.34 .28154E-05** at limit ** 10 norm .10001E-03 9.0879 .16440E-05** at limit ** 11 Prefactor .10002E-03 150.37 .10173E-04** at limit ** 12 norm .10044E-03 3.9383 .79522E-06** at limit ** 13 Prefactor 80.961 104.77 .17860E-05 .31533E-05 14 Prefactor .10002E-03 73.292 -.10658E-04** at limit ** 15 norm .10000E-03 1.4692 .35092E-06** at limit ** 16 Prefactor .10000E-03 208.82 .44168E-05** at limit ** 17 norm 34.900 16.698 .33159E-06 -.83333E-05 18 Prefactor 2.5571 42.198 .21699E-04 -.30308E-03 19 Prefactor .10008E-03 278.17 -.20898E-04** at limit ** 20 Prefactor 33.925 43.302 .12051E-05 -.11495E-04 21 Normalizat .37648 .56634 -.24202E-04 -.14051E-03 22 Prefactor .58505 .23720 .27248E-05 -.30157E-03 ERR DEF= .500 Final values: Prefactor = 0.000100002 Prefactor = 0.000100105 Prefactor = 0.000100007 Prefactor = 0.000100021 Prefactor = 0.000100006 norm = 0.0001 Prefactor = 15.5117 Prefactor = 50.2201 Prefactor = 0.000100001 norm = 0.000100011 Prefactor = 0.000100022 norm = 0.000100442 Prefactor = 80.9608 Prefactor = 0.000100022 norm = 0.0001 Prefactor = 0.000100005 norm = 34.9001 Prefactor = 2.55713 Prefactor = 0.000100085 Prefactor = 33.9251 Normalizat = 0.376483 Prefactor = 0.585045 ********** ** 18 **HESSE ********** FCN= 1246.727 FROM HESSE STATUS=OK 336 CALLS 2678 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 212.63 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10010E-03 1489.0 .21455E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10001E-03 61.815 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10002E-03 256.86 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10001E-03 131.50 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 18.304 .14737E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 15.512 16.959 .10169E-03 -1.4920 8 Prefactor 50.220 39.244 .56591E-04 -1.4289 9 Prefactor .10000E-03 215.45 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .10001E-03 26.195 .18944E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10002E-03 152.33 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10044E-03 47.900 .12437E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 80.961 100.07 .22321E-03 -1.3906 14 Prefactor .10002E-03 75.284 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 1.8605 .83129E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 211.31 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 34.900 16.628 .67834E-04 -1.4526 18 Prefactor 2.5571 45.774 .12800E-02 -1.5388 19 Prefactor .10008E-03 285.70 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 33.925 43.087 .68791E-04 -1.4542 21 Normalizat .37648 .56771 .47657E-03 -1.1853 22 Prefactor .58505 .25049 .17526E-03 -1.0822 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.21932e-08 Minuit parameter uncertainties: 1 0.0014245 2 0.0256415 3 0.00134364 4 0.00462808 5 0.0018504 6 2.42897e-05 7 16.9646 8 39.2639 9 0.0010706 10 0.001098 11 0.00368497 12 0.00921092 13 100.277 14 0.00258629 15 8.93186e-06 16 0.00204255 17 16.63 18 21.6569 19 0.00989249 20 43.1266 21 0.57673 22 0.25097 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1246.72749739 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 8.096e+01 1.003e+02 1.000e-04 1.000e+04 ( 1.000e-13) 278 Index: 2.521e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 5.850e-01 2.510e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 3.765e-01 5.767e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.15 Ra Dec: 327.444 19.286 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 1.35e-07 +/- 1.67e-07 Energy Flux (Fixed Index): 3.83e-05 +/- 4.75e-05 TS (Fixed Index): 1.15 Ra Dec: 327.444 19.286 Photon Flux Upper Limit: 6.03e-07 ph cm-2 s-1 Energy Flux Upper Limit: 4.69e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/991348/likelihoodResults_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.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) = 1246.58387567 delta logL = 0.143621720322 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 1246.58022517 delta logL = 0.147272226672 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 49.132 1.0000 .10000E-03 10000. 2 'Index ' 3.1446 1.0000 .0000 10.000 3 'Normalizat' .34727 1.0000 .10000E-01 10.000 4 'Prefactor ' .59157 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5400E+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. FCN= 1246.580 FROM MIGRAD STATUS=CONVERGED 82 CALLS 292 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 49.119 94.041 .57210E-04 .41706E-03 2 Index 3.1449 1.2664 .48116E-02 .22064E-03 3 Normalizat .34699 .53284 .49456E-03 -.53676E-05 4 Prefactor .59169 .24789 .17411E-03 -.98760E-05 ERR DEF= .500 Final values: Prefactor = 49.1187 Index = 3.14487 Normalizat = 0.346992 Prefactor = 0.591692 ********** ** 18 **HESSE ********** FCN= 1246.580 FROM HESSE STATUS=OK 23 CALLS 315 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 49.119 87.718 .11442E-04 -1.4305 2 Index 3.1449 1.1823 .19246E-03 -.38011 3 Normalizat .34699 .53258 .19782E-04 -1.2014 4 Prefactor .59169 .24776 .69644E-05 -1.0794 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.24975e-09 Minuit parameter uncertainties: 1 87.9494 2 1.19551 3 0.540638 4 0.248219 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/991348': 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) = 1246.58022502 delta logL = 0.147272371962 Extracting fit parameters... 4FGL J2149.7+1917 Spectrum: PowerLaw 277 Prefactor: 4.912e+01 8.795e+01 1.000e-04 1.000e+04 ( 1.000e-13) 278 Index: 3.145e+00 1.196e+00 0.000e+00 1.000e+01 (-1.000e+00) 279 Scale: 8.988e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 5.917e-01 2.482e-01 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 3.470e-01 5.406e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.47 Ra Dec: 327.444 19.286 Photon Index (Free Index): 3.14 +/- 1.20 Photon Flux (Free Index): 2.29e-07 +/- 2.91e-07 Energy Flux (Free Index): 4.28e-05 +/- 4.74e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/991348/cmap_HighResolution_560736001_560995201_4FGL_J2149.7+1917_daily_bin1240.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/991348 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-02', comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='4.28e-05', photon_flux_error='1.67e-07', dlogl='1.47e-01', energy_flux='3.83e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2021-09-27 18:49:37.504768', photon_index_error2='1.20', photon_index2='3.14', ts='1.15', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='6.03e-07', energy_flux_error2='4.74e-05', EG='0.38', time_epoch_completed='1632793777.5', return_code='0', job_id='991348', GAL2='0.59', EG2='0.35', return_code2='0', energy_flux_error='4.75e-05', photon_flux_error2='2.91e-07', ts2='1.47', photon_index='2.52' WHERE bin_id='1240' AND source_name='4FGL J2149.7+1917' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 27 18:49:37 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 991348: <4FGL_J2149.7+1917_daily_bin1240> in cluster Done Job <4FGL_J2149.7+1917_daily_bin1240> was submitted from host by user in cluster at Mon Sep 27 18:35:24 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 27 18:40:37 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 27 18:40:37 2021 Terminated at Mon Sep 27 18:49:38 2021 Results reported at Mon Sep 27 18:49:38 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.7+1917_daily_bin1240 327.444 19.2859 560736001 560995201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2149.7+1917 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 379.00 sec. Max Memory : 1255 MB Average Memory : 283.70 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 540 sec. Turnaround time : 854 sec. The output (if any) is above this job summary.