/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 198 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 = 72154 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_monthly_bin148 RA = 256.06, Dec = 12.5752 tmin = 620611201, tmax = 623203201 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='211371', job_status='RUN', time_executed='2021-10-30 02:09:13.425986', time_epoch_executed='1635584953.43' WHERE source_name='4FGL J1704.2+1234' and cadence='monthly' and bin_id='148' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/211371 Creating custom pfile directory: /scratch/kocevski/211371/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=620611201.0 && nMetStart<623203201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=620611201.0 && nMetStart<623203201.0' /Data/Flight/Level1/LPA Retrieving 451 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/211371/ft1_4FGL_J1704.2+1234_monthly_bin148.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=620611201.0 && nMetStart<623203201.0' /Data/Flight/Level1/LPA Retrieving 451 files... Done. Merging files... Merged file saved to: /scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/211371/ft1_4FGL_J1704.2+1234_monthly_bin148.fits outfile=/scratch/kocevski/211371/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin148.fits ra=256.06 dec=12.5752 rad=12.0 tmin=620611201.0 tmax=623203201.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 33.06 user 32.19 sys 0.79 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.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/211371/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin148.fits evtable="EVENTS" outfile="/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.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.65 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits" evtable="EVENTS" scfile=/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits sctable="SC_DATA" outfile=/scratch/kocevski/211371/ltcube_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.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/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits .....................! real 113.09 user 112.20 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits sctable="SC_DATA" expcube=/scratch/kocevski/211371/ltcube_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.fits outfile=/scratch/kocevski/211371/expmap_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.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/211371/ltcube_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.fits .....................! real 191.82 user 186.81 sys 4.67 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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model. Added 179 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 J1704.2+1234 @ 256.06 12.5752 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits scfile=/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits outfile=/scratch/kocevski/211371/cmap_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.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=256.06 yref=12.5752 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.63 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits scfile=/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits outfile=/scratch/kocevski/211371/cmap_HighResolution_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.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=256.06 yref=12.5752 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.79 user 0.62 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/211371/Model_4FGL_J1704.2+1234_monthly_bin148.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 FHES J1723.5-0501 adding source GAL_V02 Working on... /scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits.....................! real 848.25 user 845.30 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits', '/scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits', expMap='/scratch/kocevski/211371/expmap_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.fits', expCube='/scratch/kocevski/211371/ltcube_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/211371/Model_4FGL_J1704.2+1234_monthly_bin148.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/211371/ft1_filtered_4FGL_J1704.2+1234_monthly_bin148.fits Spacecraft file(s): /scratch/kocevski/211371/ft2_4FGL_J1704.2+1234_monthly_bin148.fits Exposure map: /scratch/kocevski/211371/expmap_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.fits Exposure cube: /scratch/kocevski/211371/ltcube_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/211371/Model_4FGL_J1704.2+1234_monthly_bin148.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) = 125137.876859 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 125137.795844 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.9517 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.7228 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10032E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .57675 1.0000 .10000E-03 10000. 7 'Prefactor ' 9.9381 1.0000 .10000E-03 10000. 8 'Prefactor ' 23.369 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.4888 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.7380 1.0000 .10000E-03 10000. 11 'norm ' .10003E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 11.168 1.0000 .10000E-03 10000. 13 'norm ' 4.7512 1.0000 .10000E-03 10000. 14 'Prefactor ' 10.404 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.7036 1.0000 .10000E-03 10000. 16 'norm ' 4.5361 1.0000 .10000E-03 10000. 17 'norm ' .15962E-03 1.0000 .10000E-03 10000. 18 'norm ' 7.2303 1.0000 .10000E-03 10000. 19 'norm ' 3.3126 1.0000 .10000E-03 10000. 20 'Normalizat' 1.0405 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0525 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 125137.8 FROM MIGRAD STATUS=CONVERGED 460 CALLS 1988 TOTAL EDM= .36E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.9516 5.5967 .0000 .43965E-02 2 Prefactor 1.7231 2.2276 .0000 .13608 3 Prefactor .10000E-03 .25602 .0000 ** at limit ** 4 Prefactor .10000E-03 .69142 .0000 ** at limit ** 5 Prefactor .10000E-03 .21447 .0000 ** at limit ** 6 Prefactor .57670 .86148 .0000 .12995E-01 7 Prefactor 9.9372 6.3421 .0000 .20847E-02 8 Prefactor 23.378 15.127 .0000 -.11125E-02 9 Prefactor 3.4889 2.1488 .0000 .10177 10 Prefactor 3.7387 3.0663 .0000 .36944E-01 11 norm .10000E-03 .20685 .0000 ** at limit ** 12 Prefactor 11.168 3.8764 .0000 .58526E-03 13 norm 4.7510 2.2682 .0000 .11542E-02 14 Prefactor 10.398 17.109 .0000 .12906E-02 15 Prefactor 1.7039 .89364 .0000 .16126E-01 16 norm 4.5357 2.3953 .0000 .52475E-02 17 norm .10000E-03 .43690 .0000 ** at limit ** 18 norm 7.2348 7.6227 .0000 .25640E-02 19 norm 3.3127 .40364 .0000 .18798E-02 20 Normalizat 1.0405 .74662E-01 .0000 .38364E-03 21 Prefactor 1.0525 .24579E-01 .0000 -.33432E-03 ERR DEF= .500 Final values: Prefactor = 6.9516 Prefactor = 1.72309 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.576695 Prefactor = 9.93719 Prefactor = 23.3779 Prefactor = 3.48887 Prefactor = 3.73874 norm = 0.0001 Prefactor = 11.1682 norm = 4.751 Prefactor = 10.398 Prefactor = 1.70385 norm = 4.53571 norm = 0.0001 norm = 7.23477 norm = 3.31267 Normalizat = 1.04053 Prefactor = 1.05251 ********** ** 18 **HESSE ********** FCN= 125137.8 FROM HESSE STATUS=OK 329 CALLS 2317 TOTAL EDM= .92E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.9516 5.5819 .15216E-03 -1.5181 2 Prefactor 1.7231 2.1879 .16000E-02 -1.5445 3 Prefactor .10000E-03 .90863 .34164E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 .72185 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 .63923 .31449E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .57670 1.3734 .37197E-02 -1.5556 7 Prefactor 9.9372 6.3403 .12711E-03 -1.5077 8 Prefactor 23.378 15.104 .82861E-04 -1.4741 9 Prefactor 3.4889 2.1323 .10824E-02 -1.5334 10 Prefactor 3.7387 3.0596 .10442E-02 -1.5321 11 norm .10000E-03 .20712 .18142E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 11.168 3.8546 .11988E-03 -1.5039 13 norm 4.7510 2.2543 .18459E-03 -1.5272 14 Prefactor 10.398 16.623 .12422E-03 -1.5063 15 Prefactor 1.7039 .87658 .21593E-03 -1.5447 16 norm 4.5357 2.3877 .18902E-03 -1.5282 17 norm .10000E-03 2.5299 .43860E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 7.2348 7.6234 .14917E-03 -1.5170 19 norm 3.3127 .40377 .75781E-04 -1.5344 20 Normalizat 1.0405 .85566E-01 .45561E-03 -.91685 21 Prefactor 1.0525 .28910E-01 .15374E-03 -.90999 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.2053e-07 Minuit parameter uncertainties: 1 5.58235 2 2.188 3 1.80632e-06 4 7.93981e-07 5 3.73436e-08 6 1.37348 7 6.34072 8 15.1063 9 2.13235 10 3.05976 11 5.75915e-07 12 3.8547 13 2.25436 14 16.6299 15 0.876589 16 2.38773 17 1.71831e-06 18 7.62444 19 0.403767 20 0.0855777 21 0.0289103 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 125137.795831 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.338e+01 1.511e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.053e+00 2.891e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 1.041e+00 8.558e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.67 Ra Dec: 256.060 12.575 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 1.57e-08 +/- 1.01e-08 Energy Flux (Fixed Index): 6.81e-06 +/- 4.40e-06 TS (Fixed Index): 3.67 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 3.52e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.69e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/211371/likelihoodResults_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.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) = 125136.993665 delta logL = 0.802166014488 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 125136.973091 delta logL = 0.822740223244 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.025 1.0000 .10000E-03 10000. 2 'Index ' 2.9363 1.0000 .0000 10.000 3 'Normalizat' 1.0162 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0568 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 125137.0 FROM MIGRAD STATUS=FAILED 105 CALLS 448 TOTAL EDM= .66E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.027 104.77 .12656E-03 .41825E-03 2 Index 2.9361 2.8272 .10703E-01 .49535E-03 3 Normalizat 1.0162 .87422E-01 .46034E-03 -.26356E-03 4 Prefactor 1.0568 .24678E-01 .15344E-03 .13976E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 125137.0 FROM SIMPLEX STATUS=UNCHANGED 81 CALLS 529 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.027 104.77 .99202E-04 .41825E-03 2 Index 2.9361 2.8272 .42083E-03 .49535E-03 3 Normalizat 1.0162 .87422E-01 .14454E-03 -.26356E-03 4 Prefactor 1.0568 .24678E-01 .44130E-04 .13976E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 125137.0 FROM MIGRAD STATUS=CONVERGED 30 CALLS 559 TOTAL EDM= .40E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.027 13.039 .50623E-05 .26590E-03 2 Index 2.9361 .61332 .42813E-03 .89647E-04 3 Normalizat 1.0162 .85725E-01 .18413E-04 -.27660E-03 4 Prefactor 1.0568 .28566E-01 .61377E-05 .12447E-02 ERR DEF= .500 Final values: Prefactor = 10.0273 Index = 2.93613 Normalizat = 1.01623 Prefactor = 1.05675 ********** ** 18 **HESSE ********** FCN= 125137.0 FROM HESSE STATUS=OK 23 CALLS 582 TOTAL EDM= .40E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.027 12.338 .10125E-05 -1.5075 2 Index 2.9361 .58137 .17125E-04 -.42550 3 Normalizat 1.0162 .85480E-01 .36827E-05 -.92489 4 Prefactor 1.0568 .28502E-01 .12275E-05 -.90861 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.01413e-10 Minuit parameter uncertainties: 1 12.3416 2 0.582963 3 0.0854914 4 0.0285028 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/211371': 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) = 125136.973091 delta logL = 0.822740335556 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 1.003e+01 1.234e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.936e+00 5.830e-01 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.057e+00 2.850e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 1.016e+00 8.549e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.41 Ra Dec: 256.060 12.575 Photon Index (Free Index): 2.94 +/- 0.58 Photon Flux (Free Index): 3.71e-08 +/- 2.15e-08 Energy Flux (Free Index): 7.65e-06 +/- 3.67e-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/211371/cmap_HighResolution_620611201_623203201_4FGL_J1704.2+1234_monthly_bin148.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/211371 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-03', comment='SUCCESS', photon_flux='1.57e-08', energy_flux2='7.65e-06', photon_flux_error='1.01e-08', dlogl='8.23e-01', energy_flux='6.81e-06', photon_flux2='3.71e-08', job_status='DONE', time_completed='2021-10-30 04:16:39.784031', photon_index_error2='0.58', photon_index2='2.94', ts='3.67', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='3.52e-08', energy_flux_error2='3.67e-06', EG='1.04', time_epoch_completed='1635592599.78', return_code='0', job_id='211371', GAL2='1.06', EG2='1.02', return_code2='0', energy_flux_error='4.40e-06', photon_flux_error2='2.15e-08', ts2='5.41', photon_index='2.22' WHERE bin_id='148' AND source_name='4FGL J1704.2+1234' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 30 04:16:39 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 211371: <4FGL_J1704.2+1234_monthly_bin148> in cluster Done Job <4FGL_J1704.2+1234_monthly_bin148> was submitted from host by user in cluster at Sat Oct 30 00:35:21 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Oct 30 02:05:47 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 30 02:05:47 2021 Terminated at Sat Oct 30 04:16:40 2021 Results reported at Sat Oct 30 04:16:40 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.2+1234_monthly_bin148 256.06 12.5752 620611201 623203201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1704.2+1234 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 7247.00 sec. Max Memory : 1265 MB Average Memory : 450.77 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 7853 sec. Turnaround time : 13279 sec. The output (if any) is above this job summary.