/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 229 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 = 7368 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1841.8+3218_daily_bin1202 RA = 280.453, Dec = 32.301 tmin = 550886401, tmax = 551145601 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='280145', job_status='RUN', time_executed='2021-09-21 09:19:31.530637', time_epoch_executed='1632241171.53' WHERE source_name='4FGL J1841.8+3218' and cadence='daily' and bin_id='1202' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/280145 Creating custom pfile directory: /scratch/kocevski/280145/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=550886401.0 && nMetStart<551145601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=550886401.0 && nMetStart<551145601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/280145/ft1_4FGL_J1841.8+3218_daily_bin1202.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=550886401.0 && nMetStart<551145601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/280145/ft1_4FGL_J1841.8+3218_daily_bin1202.fits outfile=/scratch/kocevski/280145/ft1_filteredMKT_4FGL_J1841.8+3218_daily_bin1202.fits ra=280.453 dec=32.301 rad=12.0 tmin=550886401.0 tmax=551145601.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.74 user 3.50 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.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/280145/ft1_filteredMKT_4FGL_J1841.8+3218_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.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.49 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/280145/ltcube_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.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/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits .....................! real 12.04 user 11.68 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/280145/ltcube_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.fits outfile=/scratch/kocevski/280145/expmap_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.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/280145/ltcube_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.fits .....................! real 193.32 user 187.20 sys 5.63 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template. Extended source gamma Cygni in ROI with RadialDisk spatial model. Added 236 point sources and 2 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 J1841.8+3218 @ 280.453 32.301 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits scfile=/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits outfile=/scratch/kocevski/280145/cmap_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.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=280.453 yref=32.301 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.57 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits scfile=/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits outfile=/scratch/kocevski/280145/cmap_HighResolution_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.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=280.453 yref=32.301 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 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/280145/Model_4FGL_J1841.8+3218_daily_bin1202.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 W 51C adding source gamma Cygni Working on... /scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits.....................! real 70.35 user 68.81 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits', '/scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits', expMap='/scratch/kocevski/280145/expmap_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.fits', expCube='/scratch/kocevski/280145/ltcube_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/280145/Model_4FGL_J1841.8+3218_daily_bin1202.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.8+3218' 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 4.939e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/280145/ft1_filtered_4FGL_J1841.8+3218_daily_bin1202.fits Spacecraft file(s): /scratch/kocevski/280145/ft2_4FGL_J1841.8+3218_daily_bin1202.fits Exposure map: /scratch/kocevski/280145/expmap_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.fits Exposure cube: /scratch/kocevski/280145/ltcube_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/280145/Model_4FGL_J1841.8+3218_daily_bin1202.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) = 3722.51983687 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3722.48261805 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'norm ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' .10002E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 13.164 1.0000 .10000E-03 10000. 7 'norm ' .10962E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 3.9703 1.0000 .10000E-03 10000. 9 'Prefactor ' 21.208 1.0000 .10000E-03 10000. 10 'norm ' .10019E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 5.1117 1.0000 .10000E-03 10000. 12 'norm ' .10001E-03 1.0000 .10000E-03 10000. 13 'norm ' .10035E-03 1.0000 .10000E-03 10000. 14 'norm ' .57352 1.0000 .10000E-03 10000. 15 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 23.727 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .79950 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.0180 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 3722.483 FROM MIGRAD STATUS=CONVERGED 468 CALLS 2331 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 12.121 -.11303E-06** at limit ** 2 Prefactor .10000E-03 132.98 -.10546E-04** at limit ** 3 Prefactor .10000E-03 78.617 .12991E-04** at limit ** 4 norm .10000E-03 1.6607 -.46934E-07** at limit ** 5 norm .10000E-03 48.480 .19102E-05** at limit ** 6 Prefactor 13.163 9.8947 -.97216E-07 .20256E-04 7 norm .10000E-03 25.747 .79635E-07** at limit ** 8 Prefactor 3.9681 10.367 -.14155E-05 -.10364E-03 9 Prefactor 21.204 37.290 -.21011E-05 .33026E-04 10 norm .10000E-03 68.125 -.62358E-05** at limit ** 11 Prefactor 5.1120 13.299 -.16217E-06 -.35369E-04 12 norm .10000E-03 47.689 .63048E-05** at limit ** 13 norm .10000E-03 3.4911 .15541E-06** at limit ** 14 norm .57401 3.3435 -.10768E-05 -.88067E-03 15 Prefactor .10000E-03 13.543 -.12078E-06** at limit ** 16 Prefactor .10000E-03 52.598 -.10287E-04** at limit ** 17 Prefactor 23.710 40.054 -.10670E-04 .10099E-03 18 Prefactor .10000E-03 70.114 -.24031E-05** at limit ** 19 Prefactor .10000E-03 14.587 .98027E-07** at limit ** 20 Prefactor .10000E-03 126.07 .65438E-05** at limit ** 21 Normalizat .79949 .41442 .37822E-05 .16258E-04 22 Prefactor 1.0181 .11274 .33637E-07 .84668E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 0.000100002 norm = 0.0001 norm = 0.0001 Prefactor = 13.1635 norm = 0.0001 Prefactor = 3.96815 Prefactor = 21.2043 norm = 0.0001 Prefactor = 5.11196 norm = 0.0001 norm = 0.0001 norm = 0.574009 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 23.7097 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 0.799494 Prefactor = 1.01807 ********** ** 18 **HESSE ********** FCN= 3722.483 FROM HESSE STATUS=OK 332 CALLS 2663 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 12.127 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 133.72 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 77.960 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 1.6655 .76781E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 48.468 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 13.163 9.8999 .11040E-03 -1.4982 7 norm .10000E-03 26.097 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 3.9681 10.341 .20243E-03 -1.5310 9 Prefactor 21.204 36.998 .86974E-04 -1.4787 10 norm .10000E-03 68.063 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.1120 13.152 .17783E-03 -1.5256 12 norm .10000E-03 47.542 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .10000E-03 3.4994 .11083E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .57401 3.5260 .21458E-03 -1.5556 15 Prefactor .10000E-03 13.607 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 52.001 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 23.710 39.480 .82234E-04 -1.4734 18 Prefactor .10000E-03 70.093 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 14.591 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 125.90 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .79949 .43610 .52193E-03 -1.0009 22 Prefactor 1.0181 .11987 .13267E-03 -.92130 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.2911e-09 Minuit parameter uncertainties: 1 9.60868e-07 2 0.00075794 3 0.000709842 4 2.14758e-08 5 9.03108e-05 6 9.90118 7 2.94576e-05 8 10.3455 9 37.0377 10 0.000321381 11 13.1597 12 0.000263198 13 1.90486e-05 14 2.84531 15 8.91401e-06 16 0.000513951 17 39.5237 18 0.000120595 19 3.0781e-06 20 0.000454699 21 0.438027 22 0.119896 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3722.48261761 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.000e-04 2.632e-04 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 1.018e+00 1.199e-01 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 7.995e-01 4.380e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 4.75e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.54e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/280145/likelihoodResults_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.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) = 3722.48271758 delta logL = -9.9969542589e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3722.28494882 delta logL = 0.197668796472 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .11242 1.0000 .10000E-03 10000. 2 'alpha ' 4.7539 1.0000 .0000 5.0000 3 'Normalizat' .73785 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0252 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+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= 3722.285 FROM MIGRAD STATUS=FAILED 105 CALLS 342 TOTAL EDM= .83E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11061 12.555 .34454E-03 .76530E-02 2 alpha 4.7591 3.7371 .50000 .92327E-03 3 Normalizat .73757 .18486 .54114E-03 -.14706E-05 4 Prefactor 1.0255 .52894E-01 .13218E-03 -.73970E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 3722.285 FROM SIMPLEX STATUS=UNCHANGED 90 CALLS 432 TOTAL EDM= .96E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11061 12.555 .10397E-03 .76530E-02 2 alpha 4.7591 3.7371 .67640E-02 .92327E-03 3 Normalizat .73757 .18486 .27882E-03 -.14706E-05 4 Prefactor 1.0255 .52894E-01 .49342E-04 -.73970E-05 ERR DEF= .500 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= 3722.285 FROM MIGRAD STATUS=FAILED 77 CALLS 509 TOTAL EDM= .98E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11061 13.095 .27564E-05 .27346E-03 2 alpha 4.7591 3.4548 .50000 .92808E-03 3 Normalizat .73757 .19534 .43292E-05 .55148E-05 4 Prefactor 1.0255 .55870E-01 .10574E-05 .93410E-05 ERR DEF= .500 Final values: norm = 0.110613 alpha = 4.75913 Normalizat = 0.737569 Prefactor = 1.02546 ********** ** 18 **HESSE ********** FCN= 3722.285 FROM HESSE STATUS=NOT POSDEF 29 CALLS 538 TOTAL EDM= .98E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11061 13.100 .55127E-06 -1.5641 2 alpha 4.7591 3.4516 .50000 1.1282 3 Normalizat .73757 .19499 .86583E-06 -1.0243 4 Prefactor 1.0255 .55939E-01 .21907E-06 -.91886 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 9.81461e-05 Minuit parameter uncertainties: 1 2.40699 2 11.4517 3 0.195175 4 0.0559418 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/280145': 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): 1 logL (Free Index) = 3722.28494404 delta logL = 0.197673577934 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.106e-01 2.407e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 4.759e+00 1.145e+01 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 1.025e+00 5.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 7.376e-01 1.952e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 280.453 32.301 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/280145/cmap_HighResolution_550886401_551145601_4FGL_J1841.8+3218_daily_bin1202.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/280145 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-04', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2021-09-21 09:30:28.147548', job_id='280145', GAL2='1.03', fit_tolerance='1e-08', EG2='0.74', EG='0.80', time_epoch_completed='1632241828.15', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.98e-01', ts2='0.41', photon_index_error='0.00', photon_index='1.56' WHERE bin_id='1202' AND source_name='4FGL J1841.8+3218' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 21 09:30:28 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 280145: <4FGL_J1841.8+3218_daily_bin1202> in cluster Done Job <4FGL_J1841.8+3218_daily_bin1202> was submitted from host by user in cluster at Tue Sep 21 09:15:31 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Sep 21 09:15:32 2021 was used as the home directory. was used as the working directory. Started at Tue Sep 21 09:15:32 2021 Terminated at Tue Sep 21 09:30:28 2021 Results reported at Tue Sep 21 09:30:28 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1841.8+3218_daily_bin1202 280.453 32.301 550886401 551145601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1841.8+3218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 653.18 sec. Max Memory : 1257 MB Average Memory : 263.93 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 896 sec. Turnaround time : 897 sec. The output (if any) is above this job summary.