/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 0 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 = 72614 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1959.0+3844_monthly_bin40 RA = 299.766, Dec = 38.7368 tmin = 340675201, tmax = 343267201 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='497912', job_status='RUN', time_executed='2021-11-05 07:40:32.644658', time_epoch_executed='1636123232.64' WHERE source_name='4FGL J1959.0+3844' and cadence='monthly' and bin_id='40' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/497912 Creating custom pfile directory: /scratch/kocevski/497912/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=340675201.0 && nMetStart<343267201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=340675201.0 && nMetStart<343267201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/497912/ft1_4FGL_J1959.0+3844_monthly_bin40.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=340675201.0 && nMetStart<343267201.0' /Data/Flight/Level1/LPA Retrieving 461 files... Done. Merging files... Merged file saved to: /scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/497912/ft1_4FGL_J1959.0+3844_monthly_bin40.fits outfile=/scratch/kocevski/497912/ft1_filteredMKT_4FGL_J1959.0+3844_monthly_bin40.fits ra=299.766 dec=38.7368 rad=12.0 tmin=340675201.0 tmax=343267201.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 26.67 user 25.90 sys 0.72 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.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/497912/ft1_filteredMKT_4FGL_J1959.0+3844_monthly_bin40.fits evtable="EVENTS" outfile="/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.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.76 user 0.56 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits" evtable="EVENTS" scfile=/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits sctable="SC_DATA" outfile=/scratch/kocevski/497912/ltcube_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.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/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits .....................! real 91.27 user 90.80 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits sctable="SC_DATA" expcube=/scratch/kocevski/497912/ltcube_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.fits outfile=/scratch/kocevski/497912/expmap_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.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/497912/ltcube_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.fits .....................! real 156.61 user 152.33 sys 3.95 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 gamma Cygni in ROI with RadialDisk spatial model. Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model. Extended source HB 21 in ROI with RadialDisk spatial model. 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 210 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1959.0+3844 @ 299.766 38.7368 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits scfile=/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits outfile=/scratch/kocevski/497912/cmap_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.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=299.766 yref=38.7368 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.75 user 0.60 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits scfile=/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits outfile=/scratch/kocevski/497912/cmap_HighResolution_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.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=299.766 yref=38.7368 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.75 user 0.59 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/497912/Model_4FGL_J1959.0+3844_monthly_bin40.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 Cocoon adding source Cygnus Loop adding source EG_v02 adding source GAL_V02 adding source HB 21 adding source gamma Cygni Working on... /scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits.....................! real 7998.62 user 7983.57 sys 2.98 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits', '/scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits', expMap='/scratch/kocevski/497912/expmap_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.fits', expCube='/scratch/kocevski/497912/ltcube_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/497912/Model_4FGL_J1959.0+3844_monthly_bin40.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1959.0+3844' 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.304e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/497912/ft1_filtered_4FGL_J1959.0+3844_monthly_bin40.fits Spacecraft file(s): /scratch/kocevski/497912/ft2_4FGL_J1959.0+3844_monthly_bin40.fits Exposure map: /scratch/kocevski/497912/expmap_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.fits Exposure cube: /scratch/kocevski/497912/ltcube_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/497912/Model_4FGL_J1959.0+3844_monthly_bin40.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) = 437255.87516 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 437255.553614 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.4447 1.0000 .10000E-03 10000. 2 'Prefactor ' .16549E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.3310 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.0925 1.0000 .10000E-03 10000. 5 'norm ' 1.2979 1.0000 .10000E-03 10000. 6 'norm ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 5.8186 1.0000 .10000E-03 10000. 8 'norm ' 2.9917 1.0000 .10000E-03 10000. 9 'Prefactor ' 9.2569 1.0000 .10000E-03 10000. 10 'norm ' 1.0844 1.0000 .10000E-03 10000. 11 'norm ' 13.260 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.0296 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.5379 1.0000 .10000E-03 10000. 14 'norm ' 3.0324 1.0000 .10000E-03 10000. 15 'norm ' 4.6258 1.0000 .10000E-03 10000. 16 'norm ' 11.338 1.0000 .10000E-03 10000. 17 'Normalizat' 1.2278 1.0000 .10000E-01 10.000 18 'Prefactor ' 1.0195 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 437255.6 FROM MIGRAD STATUS=CONVERGED 349 CALLS 1544 TOTAL EDM= .24E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4445 2.4064 .10446E-06 -.27280E-04 2 Prefactor .10000E-03 .65904 .86103E-06** at limit ** 3 Prefactor 4.3036 148.05 -.12797E-03 -.15521E-04 4 Prefactor 1.0907 1.7697 -.32075E-08 -.26143E-03 5 norm 1.2973 2.2507 -.10236E-07 -.20690E-02 6 norm .10000E-03 .68331 -.25634E-06** at limit ** 7 Prefactor 5.8189 4.0548 -.47665E-07 -.45296E-03 8 norm 2.9917 2.2842 -.45532E-07 -.48676E-04 9 Prefactor 9.2570 8.9766 .10310E-06 -.14162E-04 10 norm 1.0844 .38202 -.79095E-08 -.51120E-03 11 norm 13.260 1.9825 -.25698E-07 -.98849E-03 12 Prefactor 2.0296 .77393E-01 -.31943E-08 -.19190E-02 13 Prefactor 3.5370 6.8919 -.31875E-05 -.39040E-04 14 norm 3.0324 .78538 .25002E-07 -.88539E-02 15 norm 4.6258 2.1320 -.36040E-07 -.10506E-02 16 norm 11.337 1.8632 -.72844E-07 -.24297E-03 17 Normalizat 1.2278 .86362E-01 .15296E-05 -.12331E-03 18 Prefactor 1.0195 .85350E-02 .77091E-08 -.92407E-03 ERR DEF= .500 Final values: Prefactor = 2.44453 Prefactor = 0.000100003 Prefactor = 4.30361 Prefactor = 1.09068 norm = 1.29734 norm = 0.0001 Prefactor = 5.81886 norm = 2.99171 Prefactor = 9.25696 norm = 1.08436 norm = 13.2602 Prefactor = 2.02965 Prefactor = 3.537 norm = 3.03239 norm = 4.62576 norm = 11.3373 Normalizat = 1.22785 Prefactor = 1.0195 ********** ** 18 **HESSE ********** FCN= 437255.6 FROM HESSE STATUS=OK 266 CALLS 1810 TOTAL EDM= .59E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.4445 2.4125 .26165E-03 -1.5395 2 Prefactor .10000E-03 .66076 .21549 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.3036 150.72 .19356E-03 -1.5293 4 Prefactor 1.0907 1.7408 .45703E-03 -1.5499 5 norm 1.2973 3.0307 .19404E-02 -1.5480 6 norm .10000E-03 .71256 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 5.8189 4.0639 .83248E-03 -1.5225 8 norm 2.9917 2.2826 .23470E-03 -1.5362 9 Prefactor 9.2570 8.9759 .13172E-03 -1.5099 10 norm 1.0844 .38123 .23630E-03 -1.5500 11 norm 13.260 1.9833 .54999E-03 -1.4980 12 Prefactor 2.0296 .77051E-01 .33404E-04 -1.5423 13 Prefactor 3.5370 6.9323 .21490E-03 -1.5332 14 norm 3.0324 1.1119 .11651E-02 -1.5360 15 norm 4.6258 2.1509 .93567E-03 -1.5278 16 norm 11.337 1.8664 .11898E-03 -1.5034 17 Normalizat 1.2278 .83659E-01 .12488E-02 -.85747 18 Prefactor 1.0195 .86849E-02 .12999E-03 -.92082 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.94139e-09 Minuit parameter uncertainties: 1 2.4126 2 9.53554e-05 3 51.0766 4 1.74084 5 3.03106 6 4.47144e-07 7 4.06408 8 2.28269 9 8.97715 10 0.38123 11 1.98333 12 0.0770507 13 6.93385 14 1.11191 15 2.15093 16 1.86637 17 0.0836681 18 0.00868494 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 437255.553601 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.000e-04 4.471e-07 1.000e-04 1.000e+04 ( 1.000e-12) 361 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 362 beta: 2.980e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.020e+00 8.685e-03 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.228e+00 8.367e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 299.766 38.737 Photon Flux Upper Limit: 1.87e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.43e-06 MeV cm-2 s-1 Saving results to: /scratch/kocevski/497912/likelihoodResults_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.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) = 437255.560306 delta logL = -0.00670465698931 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 437255.5536 delta logL = 1.3587414287e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10006E-03 1.0000 .10000E-03 10000. 2 'alpha ' 2.4224 1.0000 .0000 5.0000 3 'Normalizat' 1.2279 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0195 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7770E+05 .2000E-04 ********** MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 437255.6 FROM MIGRAD STATUS=FAILED 148 CALLS 341 TOTAL EDM= .16E-03 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10090E-03 209.80 .50534E-02** at limit ** 2 alpha 2.8101 2.7862 .50000 -.25976E-03 3 Normalizat 1.2279 .43504E-01 .12488E-02 .29453E-02 4 Prefactor 1.0195 .42516E-02 .12999E-03 .49313E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 437255.6 FROM SIMPLEX STATUS=UNCHANGED 136 CALLS 477 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10090E-03 209.80 .23481E-03** at limit ** 2 alpha 2.8101 2.7862 .52676E-04 -.25976E-03 3 Normalizat 1.2279 .43504E-01 .12436E-05 .29453E-02 4 Prefactor 1.0195 .42516E-02 .11462E-06 .49313E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 437253.0 FROM MIGRAD STATUS=CONVERGED 104 CALLS 581 TOTAL EDM= .72E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .13110 .11814 .0000 3.6766 2 alpha 5.0000 .79085 .0000 ** at limit ** 3 Normalizat 1.1877 .83000E-01 .0000 -.48068E-03 4 Prefactor 1.0196 .79155E-02 .0000 -.56254E-02 ERR DEF= .500 Final values: norm = 0.131095 alpha = 5 Normalizat = 1.18769 Prefactor = 1.01961 ********** ** 18 **HESSE ********** FCN= 437253.0 FROM HESSE STATUS=OK 31 CALLS 612 TOTAL EDM= .68E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .13110 .67933E-01 .40427E-03 -1.5636 2 alpha 5.0000 .27390 .50000 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat 1.1877 .82940E-01 .99902E-05 -.86984 4 Prefactor 1.0196 .79154E-02 .10399E-05 -.92079 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.7658e-08 Minuit parameter uncertainties: 1 0.0679327 2 4.3076e-06 3 0.0829494 4 0.00791545 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/497912': 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) = 437253.049726 delta logL = 2.50387548114 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 1.311e-01 6.793e-02 1.000e-04 1.000e+04 ( 1.000e-12) 361 alpha: 5.000e+00 4.308e-06 0.000e+00 5.000e+00 ( 1.000e+00) 362 beta: 2.980e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 363 Eb: 9.538e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.020e+00 7.915e-03 0.000e+00 1.000e+01 ( 1.000e+00) 767 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 768 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 765 Normalization: 1.188e+00 8.295e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.22 Ra Dec: 299.766 38.737 Photon Index (Free Index): 5.00 +/- 0.00 Photon Flux (Free Index): 7.99e-08 +/- 4.13e-08 Energy Flux (Free Index): 1.18e-05 +/- 6.10e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -6.000e-01 [aplpy.core] INFO: Auto-setting vmax to 6.660e+00 [aplpy.core] Saving /scratch/kocevski/497912/cmap_HighResolution_340675201_343267201_4FGL_J1959.0+3844_monthly_bin40.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/497912 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-06', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='2.50e+00', photon_flux2='7.99e-08', job_status='DONE', time_completed='2021-11-05 15:33:05.769087', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.87e-08', energy_flux_error2='6.10e-06', EG='1.23', time_epoch_completed='1636151585.77', return_code='0', job_id='497912', GAL2='1.02', EG2='1.19', return_code2='0', photon_flux_error2='4.13e-08', ts2='5.22', photon_index='2.40' WHERE bin_id='40' AND source_name='4FGL J1959.0+3844' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Nov 5 15:33:05 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 497912: <4FGL_J1959.0+3844_monthly_bin40> in cluster Done Job <4FGL_J1959.0+3844_monthly_bin40> was submitted from host by user in cluster at Fri Nov 5 07:40:22 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Nov 5 07:40:24 2021 was used as the home directory. was used as the working directory. Started at Fri Nov 5 07:40:24 2021 Terminated at Fri Nov 5 15:33:08 2021 Results reported at Fri Nov 5 15:33:08 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.0+3844_monthly_bin40 299.766 38.7368 340675201 343267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1959.0+3844 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 28224.69 sec. Max Memory : 1205 MB Average Memory : 1030.73 MB Total Requested Memory : - Delta Memory : - Max Swap : 3034 MB Max Processes : 6 Max Threads : 21 Run time : 28364 sec. Turnaround time : 28366 sec. The output (if any) is above this job summary.