/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 = 7386 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1959.0+3844_daily_bin1572 RA = 299.766, Dec = 38.7368 tmin = 646790401, tmax = 647049601 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='459801', job_status='RUN', time_executed='2021-09-24 02:48:18.823918', time_epoch_executed='1632476898.82' WHERE source_name='4FGL J1959.0+3844' and cadence='daily' and bin_id='1572' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/459801 Creating custom pfile directory: /scratch/kocevski/459801/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=646790401.0 && nMetStart<647049601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=646790401.0 && nMetStart<647049601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/459801/ft1_4FGL_J1959.0+3844_daily_bin1572.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=646790401.0 && nMetStart<647049601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/459801/ft1_4FGL_J1959.0+3844_daily_bin1572.fits outfile=/scratch/kocevski/459801/ft1_filteredMKT_4FGL_J1959.0+3844_daily_bin1572.fits ra=299.766 dec=38.7368 rad=12.0 tmin=646790401.0 tmax=647049601.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.70 user 3.46 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.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/459801/ft1_filteredMKT_4FGL_J1959.0+3844_daily_bin1572.fits evtable="EVENTS" outfile="/scratch/kocevski/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.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/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits" evtable="EVENTS" scfile=/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits sctable="SC_DATA" outfile=/scratch/kocevski/459801/ltcube_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.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/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits .....................! real 11.99 user 11.43 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits sctable="SC_DATA" expcube=/scratch/kocevski/459801/ltcube_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.fits outfile=/scratch/kocevski/459801/expmap_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.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/459801/ltcube_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.fits .....................! real 190.61 user 185.98 sys 4.25 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/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits scfile=/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits outfile=/scratch/kocevski/459801/cmap_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.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.77 user 0.40 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits scfile=/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits outfile=/scratch/kocevski/459801/cmap_HighResolution_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.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.59 user 0.37 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/459801/Model_4FGL_J1959.0+3844_daily_bin1572.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/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits.....................! real 907.13 user 904.04 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits', '/scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits', expMap='/scratch/kocevski/459801/expmap_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.fits', expCube='/scratch/kocevski/459801/ltcube_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/459801/Model_4FGL_J1959.0+3844_daily_bin1572.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/459801/ft1_filtered_4FGL_J1959.0+3844_daily_bin1572.fits Spacecraft file(s): /scratch/kocevski/459801/ft2_4FGL_J1959.0+3844_daily_bin1572.fits Exposure map: /scratch/kocevski/459801/expmap_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.fits Exposure cube: /scratch/kocevski/459801/ltcube_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/459801/Model_4FGL_J1959.0+3844_daily_bin1572.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) = 37889.3206715 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 37889.3175903 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 6.1888 1.0000 .10000E-03 10000. 3 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' 5.3401 1.0000 .10000E-03 10000. 6 'norm ' 6.3247 1.0000 .10000E-03 10000. 7 'Prefactor ' 20.751 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'norm ' .38370 1.0000 .10000E-03 10000. 11 'norm ' 10.293 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.2532 1.0000 .10000E-03 10000. 13 'Prefactor ' 14.181 1.0000 .10000E-03 10000. 14 'norm ' .86180E-01 1.0000 .10000E-03 10000. 15 'norm ' .10003E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.1977 1.0000 .10000E-03 10000. 17 'Normalizat' .63064 1.0000 .10000E-01 10.000 18 'Prefactor ' 1.0481 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= 37889.32 FROM MIGRAD STATUS=CONVERGED 368 CALLS 1774 TOTAL EDM= .28E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 11.839 .21403E-06** at limit ** 2 Prefactor 6.1884 10.068 .36773E-07 -.25779E-06 3 Prefactor .10000E-03 75.665 -.80769E-06** at limit ** 4 Prefactor .10000E-03 3.2057 -.11023E-06** at limit ** 5 norm 5.3402 13.229 .15084E-06 -.10969E-03 6 norm 6.3250 6.2353 .14024E-05 .44041E-05 7 Prefactor 20.753 18.266 -.62880E-07 -.30514E-04 8 norm .10000E-03 4.7802 -.70662E-07** at limit ** 9 Prefactor .10000E-03 14.167 -.69609E-06** at limit ** 10 norm .38365 .81279 .15141E-06 -.48329E-03 11 norm 10.293 5.3929 .95047E-06 .54199E-05 12 Prefactor 2.2532 .25434 -.41065E-08 -.54876E-04 13 Prefactor 14.174 25.090 -.18308E-05 -.14629E-04 14 norm .76258E-01 1.1096 .10558E-06 -.41180E-04 15 norm .10000E-03 6.2428 -.96852E-07** at limit ** 16 norm 5.1976 2.4781 -.72347E-07 -.82170E-03 17 Normalizat .63061 .27232 -.16017E-05 -.61617E-04 18 Prefactor 1.0481 .28713E-01 .93465E-08 .25771E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 6.18836 Prefactor = 0.0001 Prefactor = 0.0001 norm = 5.34016 norm = 6.32496 Prefactor = 20.7529 norm = 0.0001 Prefactor = 0.0001 norm = 0.383651 norm = 10.2933 Prefactor = 2.25321 Prefactor = 14.1737 norm = 0.0762576 norm = 0.0001 norm = 5.19762 Normalizat = 0.630605 Prefactor = 1.04811 ********** ** 18 **HESSE ********** FCN= 37889.32 FROM HESSE STATUS=OK 260 CALLS 2034 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 11.902 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 6.1884 10.053 .16137E-03 -1.5210 3 Prefactor .10000E-03 75.670 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 3.2138 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.3402 13.879 .86957E-03 -1.5246 6 norm 6.3250 6.2311 .15961E-03 -1.5205 7 Prefactor 20.753 18.147 .43963E-03 -1.4797 8 norm .10000E-03 4.7853 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 14.201 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .38365 .93782 .25428E-02 -1.5584 11 norm 10.293 5.3753 .12489E-03 -1.5066 12 Prefactor 2.2532 .25666 .31218E-04 -1.5408 13 Prefactor 14.174 25.209 .10636E-03 -1.4955 14 norm .76258E-01 1.5460 .57604E-01 -1.5653 15 norm .10000E-03 6.2996 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.1976 5.7473 .88161E-03 -1.5252 17 Normalizat .63061 .24808 .15162E-02 -1.0670 18 Prefactor 1.0481 .28074E-01 .12477E-03 -.91143 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.21611e-07 Minuit parameter uncertainties: 1 4.45162e-06 2 10.0554 3 4.62741e-06 4 1.15019e-07 5 13.8876 6 6.23171 7 18.1519 8 3.45122e-07 9 1.42317e-05 10 0.937858 11 5.37556 12 0.256658 13 25.2281 14 0.686279 15 1.44164e-06 16 5.74795 17 0.248519 18 0.0280748 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 37889.3175841 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 6.325e+00 6.232e+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 GAL_V02 Spectrum: PowerLaw 766 Prefactor: 1.048e+00 2.807e-02 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: 6.306e-01 2.485e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.37 Ra Dec: 299.766 38.737 Photon Index (Fixed Index): 2.40 +/- 0.00 Photon Flux (Fixed Index): 4.77e-08 +/- 4.70e-08 Energy Flux (Fixed Index): 1.90e-05 +/- 1.87e-05 TS (Fixed Index): 1.37 Ra Dec: 299.766 38.737 Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1 Energy Flux Upper Limit: 5.99e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/459801/likelihoodResults_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.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) = 37889.1665967 delta logL = 0.150987443747 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 37889.1653123 delta logL = 0.152271865365 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 5.1110 1.0000 .10000E-03 10000. 2 'alpha ' 2.8966 1.0000 .0000 5.0000 3 'Normalizat' .61783 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0480 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 37889.17 FROM MIGRAD STATUS=FAILED 104 CALLS 314 TOTAL EDM= .17E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.1134 7.7503 .88920E-03 .54670E-03 2 alpha 2.8979 1.1647 .39240E-01 .86668E-03 3 Normalizat .61818 .24641 .15283E-02 .65463E-06 4 Prefactor 1.0479 .25955E-01 .12477E-03 -.51027E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 37889.17 FROM SIMPLEX STATUS=UNCHANGED 78 CALLS 392 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.1134 7.7503 .80587E-04 -1.5256 2 alpha 2.8979 1.1647 .14979E-02 .15985 3 Normalizat .61818 .24641 .51345E-03 -1.0722 4 Prefactor 1.0479 .25955E-01 .37448E-04 -.91149 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 37889.17 FROM MIGRAD STATUS=CONVERGED 29 CALLS 421 TOTAL EDM= .18E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.1134 6.1137 .17784E-03 -.61369E-05 2 alpha 2.8979 .93367 .78480E-02 .34328E-04 3 Normalizat .61818 .24564 .61131E-04 .29756E-06 4 Prefactor 1.0479 .25937E-01 .49907E-05 -.72895E-05 ERR DEF= .500 Final values: norm = 5.11339 alpha = 2.89792 Normalizat = 0.618185 Prefactor = 1.0479 ********** ** 18 **HESSE ********** FCN= 37889.17 FROM HESSE STATUS=OK 25 CALLS 446 TOTAL EDM= .30E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.1134 5.9248 .71136E-05 -1.5256 2 alpha 2.8979 .90600 .15696E-02 .15985 3 Normalizat .61818 .24526 .12226E-04 -1.0722 4 Prefactor 1.0479 .25906E-01 .99814E-06 -.91149 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.99183e-14 Minuit parameter uncertainties: 1 5.92549 2 0.927689 3 0.245693 4 0.0259061 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/459801': 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) = 37889.1653073 delta logL = 0.152276854984 Extracting fit parameters... 4FGL J1959.0+3844 Spectrum: LogParabola 360 norm: 5.113e+00 5.925e+00 1.000e-04 1.000e+04 ( 1.000e-12) 361 alpha: 2.898e+00 9.277e-01 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.048e+00 2.591e-02 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: 6.182e-01 2.457e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.68 Ra Dec: 299.766 38.737 Photon Index (Free Index): 2.90 +/- 0.93 Photon Flux (Free Index): 7.69e-08 +/- 8.31e-08 Energy Flux (Free Index): 2.13e-05 +/- 1.88e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/459801/cmap_HighResolution_646790401_647049601_4FGL_J1959.0+3844_daily_bin1572.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/459801 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-05', comment='SUCCESS', photon_flux='4.77e-08', energy_flux2='2.13e-05', photon_flux_error='4.70e-08', dlogl='1.52e-01', energy_flux='1.90e-05', photon_flux2='7.69e-08', job_status='DONE', time_completed='2021-09-24 03:44:47.503039', photon_index_error2='0.93', photon_index2='2.90', ts='1.37', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.88e-05', EG='0.63', time_epoch_completed='1632480287.5', return_code='0', job_id='459801', GAL2='1.05', EG2='0.62', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='8.31e-08', ts2='1.68', photon_index='2.40' WHERE bin_id='1572' AND source_name='4FGL J1959.0+3844' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Sep 24 03:44:47 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 459801: <4FGL_J1959.0+3844_daily_bin1572> in cluster Done Job <4FGL_J1959.0+3844_daily_bin1572> was submitted from host by user in cluster at Fri Sep 24 02:48:00 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Sep 24 02:48:02 2021 was used as the home directory. was used as the working directory. Started at Fri Sep 24 02:48:02 2021 Terminated at Fri Sep 24 03:44:48 2021 Results reported at Fri Sep 24 03:44:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.0+3844_daily_bin1572 299.766 38.7368 646790401 647049601 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 : 3381.67 sec. Max Memory : 661 MB Average Memory : 461.40 MB Total Requested Memory : - Delta Memory : - Max Swap : 2939 MB Max Processes : 6 Max Threads : 21 Run time : 3406 sec. Turnaround time : 3408 sec. The output (if any) is above this job summary.