/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 7 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 = 73289 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J2121.0+1901_monthly_bin7 RA = 320.26, Dec = 19.0324 tmin = 255139201, tmax = 257731201 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='130456', job_status='RUN', time_executed='2021-11-06 23:40:32.432982', time_epoch_executed='1636267232.43' WHERE source_name='4FGL J2121.0+1901' and cadence='monthly' and bin_id='7' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/130456 Creating custom pfile directory: /scratch/kocevski/130456/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=255139201.0 && nMetStart<257731201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=255139201.0 && nMetStart<257731201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/130456/ft1_4FGL_J2121.0+1901_monthly_bin7.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=255139201.0 && nMetStart<257731201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/130456/ft1_4FGL_J2121.0+1901_monthly_bin7.fits outfile=/scratch/kocevski/130456/ft1_filteredMKT_4FGL_J2121.0+1901_monthly_bin7.fits ra=320.26 dec=19.0324 rad=12.0 tmin=255139201.0 tmax=257731201.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 17.38 user 16.91 sys 0.42 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.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/130456/ft1_filteredMKT_4FGL_J2121.0+1901_monthly_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.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.81 user 0.63 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/130456/ltcube_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.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/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits .....................! real 118.99 user 118.23 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/130456/ltcube_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.fits outfile=/scratch/kocevski/130456/expmap_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.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/130456/ltcube_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.fits .....................! real 191.74 user 186.48 sys 4.66 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 193 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 J2121.0+1901 @ 320.26 19.0324 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits scfile=/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits outfile=/scratch/kocevski/130456/cmap_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.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=320.26 yref=19.0324 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.78 user 0.60 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits scfile=/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits outfile=/scratch/kocevski/130456/cmap_HighResolution_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.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=320.26 yref=19.0324 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.77 user 0.61 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130456/Model_4FGL_J2121.0+1901_monthly_bin7.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/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits.....................! real 1621.03 user 1614.62 sys 2.13 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits', '/scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits', expMap='/scratch/kocevski/130456/expmap_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.fits', expCube='/scratch/kocevski/130456/ltcube_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/130456/Model_4FGL_J2121.0+1901_monthly_bin7.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2121.0+1901' 4FGL J2121.0+1901 Spectrum: LogParabola 390 norm: 3.670e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 391 alpha: 2.156e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 392 beta: 5.740e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 393 Eb: 8.783e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/130456/ft1_filtered_4FGL_J2121.0+1901_monthly_bin7.fits Spacecraft file(s): /scratch/kocevski/130456/ft2_4FGL_J2121.0+1901_monthly_bin7.fits Exposure map: /scratch/kocevski/130456/expmap_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.fits Exposure cube: /scratch/kocevski/130456/ltcube_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/130456/Model_4FGL_J2121.0+1901_monthly_bin7.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) = 107382.080143 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 107382.078105 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .81827 1.0000 .10000E-03 10000. 2 'norm ' 5.0396 1.0000 .10000E-03 10000. 3 'norm ' .20603E-01 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.5413 1.0000 .10000E-03 10000. 5 'Prefactor ' 6.1839 1.0000 .10000E-03 10000. 6 'Prefactor ' 28.628 1.0000 .10000E-03 10000. 7 'Prefactor ' .26011 1.0000 .10000E-03 10000. 8 'Prefactor ' 4.1465 1.0000 .10000E-03 10000. 9 'Prefactor ' 12.228 1.0000 .10000E-03 10000. 10 'Prefactor ' 8.4290 1.0000 .10000E-03 10000. 11 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'norm ' 3.3749 1.0000 .10000E-03 10000. 14 'norm ' 4.0984 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.4525 1.0000 .10000E-03 10000. 16 'Prefactor ' 2.0061 1.0000 .10000E-03 10000. 17 'Prefactor ' 7.7252 1.0000 .10000E-03 10000. 18 'norm ' 12.483 1.0000 .10000E-03 10000. 19 'Prefactor ' 1.2426 1.0000 .10000E-03 10000. 20 'norm ' 4.2731 1.0000 .10000E-03 10000. 21 'Prefactor ' 3.2344 1.0000 .10000E-03 10000. 22 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 23 'norm ' 1.8271 1.0000 .10000E-03 10000. 24 'Normalizat' .98002 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0128 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6610E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 107382.1 FROM MIGRAD STATUS=CONVERGED 590 CALLS 2998 TOTAL EDM= .14E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .81863 1.0958 .31095E-07 -.73674E-04 2 norm 5.0402 2.5383 .96913E-06 -.77205E-04 3 norm .10000E-03 3.7385 .49692E-06** at limit ** 4 Prefactor 3.5385 3.2400 -.69518E-06 -.27572E-03 5 Prefactor 6.1841 3.9439 -.14480E-06 -.72064E-04 6 Prefactor 28.652 18.704 .90955E-05 .54690E-04 7 Prefactor .26798 .92294 .32638E-06 -.67849E-03 8 Prefactor 4.1499 5.6685 .13154E-05 -.38607E-04 9 Prefactor 12.227 5.8075 .51891E-07 -.86862E-04 10 Prefactor 8.4281 6.0277 -.12659E-05 -.35140E-04 11 Prefactor .10000E-03 .29196 -.19759E-06** at limit ** 12 Prefactor .10000E-03 1.6511 .10628E-06** at limit ** 13 norm 3.3747 1.3390 -.32719E-08 .74118E-03 14 norm 4.0985 1.1888 .63608E-07 -.13312E-03 15 Prefactor 2.4529 1.2400 .62070E-08 -.30542E-02 16 Prefactor 2.0062 1.5013 .43471E-09 -.22467E-02 17 Prefactor 7.7263 10.460 -.12262E-05 .10286E-04 18 norm 12.483 1.0752 .12723E-06 .61770E-03 19 Prefactor 1.2437 17.407 -.28094E-05 -.46179E-05 20 norm 4.2733 .85840 .53935E-07 .16151E-03 21 Prefactor 3.2411 7.4132 -.46577E-05 -.19070E-04 22 Prefactor .10000E-03 2.7300 .18111E-06** at limit ** 23 norm 1.8271 .30923 .29312E-07 .43805E-03 24 Normalizat .97996 .75504E-01 -.28480E-06 -.12805E-03 25 Prefactor 1.0128 .26829E-01 -.17255E-06 .26814E-03 ERR DEF= .500 Final values: norm = 0.818631 norm = 5.04021 norm = 0.000100002 Prefactor = 3.53849 Prefactor = 6.18411 Prefactor = 28.652 Prefactor = 0.267983 Prefactor = 4.14995 Prefactor = 12.2275 Prefactor = 8.42811 Prefactor = 0.0001 Prefactor = 0.0001 norm = 3.37475 norm = 4.09854 Prefactor = 2.45289 Prefactor = 2.00617 Prefactor = 7.72634 norm = 12.483 Prefactor = 1.24371 norm = 4.27325 Prefactor = 3.24111 Prefactor = 0.0001 norm = 1.82709 Normalizat = 0.979963 Prefactor = 1.01275 ********** ** 18 **HESSE ********** FCN= 107382.1 FROM HESSE STATUS=OK 461 CALLS 3459 TOTAL EDM= .61E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .81863 1.0942 .38756E-03 -1.5527 2 norm 5.0402 2.5349 .17912E-03 -1.5259 3 norm .10000E-03 3.5341 .21634 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 3.5385 3.2353 .21480E-03 -1.5332 5 Prefactor 6.1841 3.9433 .16144E-03 -1.5211 6 Prefactor 28.652 18.723 .74878E-04 -1.4637 7 Prefactor .26798 1.0633 .84082E-01 -1.5604 8 Prefactor 4.1499 5.6201 .19795E-03 -1.5301 9 Prefactor 12.227 5.7631 .11456E-03 -1.5008 10 Prefactor 8.4281 6.0237 .13808E-03 -1.5127 11 Prefactor .10000E-03 .93719 .32291E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 1.6558 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 3.3747 1.2795 .22026E-03 -1.5341 14 norm 4.0985 1.1866 .18433E-03 -1.5303 15 Prefactor 2.4529 1.4741 .13060E-02 -1.5395 16 Prefactor 2.0062 2.0687 .14617E-02 -1.5425 17 Prefactor 7.7263 10.454 .14427E-03 -1.5152 18 norm 12.483 1.0744 .11338E-04 -1.5001 19 Prefactor 1.2437 17.338 .40203E-03 -1.5485 20 norm 4.2733 .85331 .12708E-03 -1.5295 21 Prefactor 3.2411 7.3823 .22523E-03 -1.5348 22 Prefactor .10000E-03 2.7368 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 1.8271 .30850 .72008E-04 -1.5438 24 Normalizat .97996 .89275E-01 .43568E-03 -.93705 25 Prefactor 1.0128 .31502E-01 .16104E-03 -.92306 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.09061e-09 Minuit parameter uncertainties: 1 1.09425 2 2.535 3 0.000168953 4 3.23545 5 3.94345 6 18.7268 7 1.06338 8 5.62079 9 5.7634 10 6.02417 11 1.959e-05 12 8.57222e-08 13 1.2795 14 1.18665 15 1.47415 16 2.0688 17 10.4563 18 1.07437 19 9.29018 20 0.853315 21 7.38435 22 4.2312e-06 23 0.308496 24 0.0892883 25 0.0315027 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 107382.077903 Extracting fit parameters... 4FGL J2121.0+1901 Spectrum: LogParabola 390 norm: 4.099e+00 1.187e+00 1.000e-04 1.000e+04 ( 1.000e-12) 391 alpha: 2.156e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 392 beta: 5.740e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 393 Eb: 8.783e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 658 Prefactor: 1.013e+00 3.150e-02 0.000e+00 1.000e+01 ( 1.000e+00) 659 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 660 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 657 Normalization: 9.800e-01 8.929e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 29.25 Ra Dec: 320.260 19.032 Photon Index (Fixed Index): 2.16 +/- 0.00 Photon Flux (Fixed Index): 3.35e-08 +/- 9.69e-09 Energy Flux (Fixed Index): 1.53e-05 +/- 4.44e-06 Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 107381.820278 delta logL = 0.257624863443 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 107381.81623 delta logL = 0.26167221443 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.9807 1.0000 .10000E-03 10000. 2 'alpha ' 2.3313 1.0000 .0000 5.0000 3 'Normalizat' .97142 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0142 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6610E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 107381.8 FROM MIGRAD STATUS=CONVERGED 53 CALLS 218 TOTAL EDM= .28E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.9804 11.838 .50539E-02 .45123E-02 2 alpha 2.3313 1.6293 .41271 .45079E-03 3 Normalizat .97140 .31000E-01 .98722E-01 .40958E-03 4 Prefactor 1.0142 .92450E-02 .42769E-01 -.46117E-04 ERR DEF= .500 Final values: norm = 3.98042 alpha = 2.33134 Normalizat = 0.971397 Prefactor = 1.01424 ********** ** 18 **HESSE ********** FCN= 107381.8 FROM HESSE STATUS=OK 33 CALLS 251 TOTAL EDM= .51E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.9804 1.1658 .17113E-03 -1.5309 2 alpha 2.3313 .24725 .20435E-01 -.67517E-01 3 Normalizat .97140 .82672E-01 .43737E-03 -.93995 4 Prefactor 1.0142 .30882E-01 .16093E-03 -.92256 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.06841e-11 Minuit parameter uncertainties: 1 1.16579 2 0.247656 3 0.0826825 4 0.0308827 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/130456': 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) = 107381.81623 delta logL = 0.261672285706 Extracting fit parameters... 4FGL J2121.0+1901 Spectrum: LogParabola 390 norm: 3.980e+00 1.166e+00 1.000e-04 1.000e+04 ( 1.000e-12) 391 alpha: 2.331e+00 2.477e-01 0.000e+00 5.000e+00 ( 1.000e+00) 392 beta: 5.740e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 393 Eb: 8.783e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 658 Prefactor: 1.014e+00 3.088e-02 0.000e+00 1.000e+01 ( 1.000e+00) 659 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 660 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 657 Normalization: 9.714e-01 8.268e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 29.79 Ra Dec: 320.260 19.032 Photon Index (Free Index): 2.33 +/- 0.25 Photon Flux (Free Index): 4.10e-08 +/- 1.46e-08 Energy Flux (Free Index): 1.46e-05 +/- 4.14e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/130456/cmap_HighResolution_255139201_257731201_4FGL_J2121.0+1901_monthly_bin7.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/130456 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.35e-08', energy_flux2='1.46e-05', photon_flux_error='9.69e-09', dlogl='2.62e-01', energy_flux='1.53e-05', photon_flux2='4.10e-08', job_status='DONE', time_completed='2021-11-07 01:52:02.773811', photon_index_error2='0.25', photon_index2='2.33', ts='29.25', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='4.14e-06', EG='0.98', time_epoch_completed='1636275122.77', return_code='0', job_id='130456', GAL2='1.01', EG2='0.97', return_code2='0', energy_flux_error='4.44e-06', photon_flux_error2='1.46e-08', ts2='29.79', photon_index='2.16' WHERE bin_id='7' AND source_name='4FGL J2121.0+1901' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Nov 7 01:52:02 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 130456: <4FGL_J2121.0+1901_monthly_bin7> in cluster Done Job <4FGL_J2121.0+1901_monthly_bin7> was submitted from host by user in cluster at Sat Nov 6 23:40:15 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Nov 6 23:40:17 2021 was used as the home directory. was used as the working directory. Started at Sat Nov 6 23:40:17 2021 Terminated at Sun Nov 7 01:52:04 2021 Results reported at Sun Nov 7 01:52:04 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2121.0+1901_monthly_bin7 320.26 19.0324 255139201 257731201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2121.0+1901 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 7830.00 sec. Max Memory : 1264 MB Average Memory : 481.62 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 7906 sec. Turnaround time : 7909 sec. The output (if any) is above this job summary.