/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 105 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 = 7452 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_daily_bin1443 RA = 256.06, Dec = 12.5752 tmin = 613353601, tmax = 613612801 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='373447', job_status='RUN', time_executed='2021-09-16 14:43:31.825249', time_epoch_executed='1631828611.83' WHERE source_name='4FGL J1704.2+1234' and cadence='daily' and bin_id='1443' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/373447 Creating custom pfile directory: /scratch/kocevski/373447/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=613353601.0 && nMetStart<613612801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=613353601.0 && nMetStart<613612801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/373447/ft1_4FGL_J1704.2+1234_daily_bin1443.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=613353601.0 && nMetStart<613612801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/373447/ft1_4FGL_J1704.2+1234_daily_bin1443.fits outfile=/scratch/kocevski/373447/ft1_filteredMKT_4FGL_J1704.2+1234_daily_bin1443.fits ra=256.06 dec=12.5752 rad=12.0 tmin=613353601.0 tmax=613612801.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 2.70 user 2.50 sys 0.18 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.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/373447/ft1_filteredMKT_4FGL_J1704.2+1234_daily_bin1443.fits evtable="EVENTS" outfile="/scratch/kocevski/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.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.50 user 0.35 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits" evtable="EVENTS" scfile=/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits sctable="SC_DATA" outfile=/scratch/kocevski/373447/ltcube_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.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/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits .....................! real 13.94 user 13.50 sys 0.39 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits sctable="SC_DATA" expcube=/scratch/kocevski/373447/ltcube_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.fits outfile=/scratch/kocevski/373447/expmap_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.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/373447/ltcube_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.fits .....................! real 192.95 user 188.00 sys 4.32 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/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits scfile=/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits outfile=/scratch/kocevski/373447/cmap_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.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.55 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits scfile=/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits outfile=/scratch/kocevski/373447/cmap_HighResolution_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.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.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/373447/Model_4FGL_J1704.2+1234_daily_bin1443.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/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits.....................! real 47.39 user 46.03 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits', '/scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits', expMap='/scratch/kocevski/373447/expmap_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.fits', expCube='/scratch/kocevski/373447/ltcube_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/373447/Model_4FGL_J1704.2+1234_daily_bin1443.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/373447/ft1_filtered_4FGL_J1704.2+1234_daily_bin1443.fits Spacecraft file(s): /scratch/kocevski/373447/ft2_4FGL_J1704.2+1234_daily_bin1443.fits Exposure map: /scratch/kocevski/373447/expmap_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.fits Exposure cube: /scratch/kocevski/373447/ltcube_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/373447/Model_4FGL_J1704.2+1234_daily_bin1443.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) = 4869.00937765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4868.99755747 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 13.116 1.0000 .10000E-03 10000. 4 'Prefactor ' .10037E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.6878 1.0000 .10000E-03 10000. 7 'Prefactor ' 44.953 1.0000 .10000E-03 10000. 8 'Prefactor ' 13.427 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.5569 1.0000 .10000E-03 10000. 10 'Prefactor ' 30.957 1.0000 .10000E-03 10000. 11 'norm ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.4983 1.0000 .10000E-03 10000. 13 'norm ' 16.952 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .40865E-03 1.0000 .10000E-03 10000. 16 'norm ' .10006E-03 1.0000 .10000E-03 10000. 17 'norm ' 35.363 1.0000 .10000E-03 10000. 18 'norm ' 12.315 1.0000 .10000E-03 10000. 19 'norm ' 6.9541 1.0000 .10000E-03 10000. 20 'Normalizat' .84390 1.0000 .10000E-01 10.000 21 'Prefactor ' .85707 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. FCN= 4868.998 FROM MIGRAD STATUS=CONVERGED 437 CALLS 2198 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 27.150 .12533E-05** at limit ** 2 Prefactor .10000E-03 14.679 -.17510E-06** at limit ** 3 Prefactor 13.116 21.866 .46581E-06 .83638E-05 4 Prefactor .10000E-03 4.8151 -.11534E-06** at limit ** 5 Prefactor .10000E-03 16.559 .48978E-06** at limit ** 6 Prefactor 1.6907 29.771 -.95024E-05 -.18623E-03 7 Prefactor 44.953 35.800 .50971E-06 -.39013E-05 8 Prefactor 13.512 234.36 .20965E-03 .36157E-04 9 Prefactor 3.5543 14.379 -.97459E-05 -.17386E-03 10 Prefactor 30.957 20.077 -.22015E-05 .45242E-04 11 norm .10000E-03 1.0852 .14491E-06** at limit ** 12 Prefactor 6.4873 23.611 .76847E-05 .14857E-03 13 norm 16.944 14.950 .57996E-05 .50132E-03 14 Prefactor .10000E-03 153.16 -.24206E-05** at limit ** 15 Prefactor .10002E-03 2.9232 -.23232E-05** at limit ** 16 norm .10000E-03 26.891 -.20809E-05** at limit ** 17 norm 35.363 27.073 .12523E-05 .67180E-04 18 norm 12.310 264.51 -.15065E-04 -.12131E-05 19 norm 6.9539 2.6501 .10883E-06 .41638E-03 20 Normalizat .84395 .31897 -.40111E-05 .17465E-03 21 Prefactor .85702 .11330 -.13891E-05 .91940E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 13.1156 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.69066 Prefactor = 44.9531 Prefactor = 13.5115 Prefactor = 3.55426 Prefactor = 30.9566 norm = 0.0001 Prefactor = 6.4873 norm = 16.9438 Prefactor = 0.0001 Prefactor = 0.000100015 norm = 0.0001 norm = 35.3627 norm = 12.3095 norm = 6.95388 Normalizat = 0.843953 Prefactor = 0.85702 ********** ** 18 **HESSE ********** FCN= 4868.998 FROM HESSE STATUS=OK 313 CALLS 2511 TOTAL EDM= .32E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 27.161 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 14.706 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 13.116 21.844 .11060E-03 -1.4983 4 Prefactor .10000E-03 4.8879 .14934E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 16.725 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 1.6907 29.641 .32408E-03 -1.5448 7 Prefactor 44.953 35.843 .59798E-04 -1.4366 8 Prefactor 13.512 230.77 .10931E-03 -1.4973 9 Prefactor 3.5543 14.204 .21431E-03 -1.5331 10 Prefactor 30.957 20.079 .72013E-04 -1.4595 11 norm .10000E-03 1.0912 .70967E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.4873 23.335 .15744E-03 -1.5199 13 norm 16.944 14.691 .97276E-04 -1.4884 14 Prefactor .10000E-03 153.20 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10002E-03 10.629 .21788E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .10000E-03 27.049 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 35.363 27.166 .67390E-04 -1.4518 18 norm 12.310 268.79 .11415E-03 -1.5006 19 norm 6.9539 2.6547 .67644E-04 -1.5181 20 Normalizat .84395 .36806 .44263E-03 -.98458 21 Prefactor .85702 .13415 .15549E-03 -.97660 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.24835e-09 Minuit parameter uncertainties: 1 2.61838e-05 2 3.77358e-05 3 21.8575 4 2.91853e-05 5 5.83893e-05 6 14.1658 7 35.8604 8 112.19 9 14.2161 10 20.0838 11 2.55803e-06 12 23.3682 13 14.6945 14 0.000142813 15 0.00079919 16 3.47294e-06 17 27.1756 18 115.635 19 2.65476 20 0.369156 21 0.134203 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4868.99754212 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 1.351e+01 1.122e+02 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: 8.570e-01 1.342e-01 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: 8.440e-01 3.692e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.02 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 1.98e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.51e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/373447/likelihoodResults_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.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): 102 logL (Free Index) = 4868.53392279 delta logL = 0.463619329415 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4868.43686795 delta logL = 0.560674174428 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.2774 1.0000 .10000E-03 10000. 2 'Index ' 3.8103 1.0000 .0000 10.000 3 'Normalizat' .74983 1.0000 .10000E-01 10.000 4 'Prefactor ' .87024 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= 4868.437 FROM MIGRAD STATUS=FAILED 84 CALLS 265 TOTAL EDM= .20E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.2761 204.39 .13919E-03 -.17430E-02 2 Index 3.8105 6.8470 .44248E-02 -.57172E-03 3 Normalizat .74985 .32746 .46621E-03 -.35444E-03 4 Prefactor .87022 .11553 .15419E-03 -.96914E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 4868.437 FROM SIMPLEX STATUS=UNCHANGED 90 CALLS 355 TOTAL EDM= .56E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.2761 204.39 .34189E-03 -.17430E-02 2 Index 3.8105 6.8470 .12182E-02 -.57172E-03 3 Normalizat .74985 .32746 .21384E-03 -.35444E-03 4 Prefactor .87022 .11553 .67589E-04 -.96914E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4868.437 FROM MIGRAD STATUS=CONVERGED 29 CALLS 384 TOTAL EDM= .16E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.2752 20.651 .55676E-05 -.18769E-02 2 Index 3.8106 1.6791 .17699E-03 -.47442E-03 3 Normalizat .74985 .36312 .18648E-04 -.33664E-03 4 Prefactor .87022 .12688 .30837E-04 -.94194E-03 ERR DEF= .500 Final values: Prefactor = 4.27521 Index = 3.81061 Normalizat = 0.749846 Prefactor = 0.870224 ********** ** 18 **HESSE ********** FCN= 4868.437 FROM HESSE STATUS=OK 23 CALLS 407 TOTAL EDM= .16E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.2752 18.653 .11135E-05 -1.5294 2 Index 3.8106 1.5987 .70798E-05 -.24018 3 Normalizat .74985 .36268 .37297E-05 -1.0196 4 Prefactor .87022 .12673 .61674E-05 -.97189 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.62901e-09 Minuit parameter uncertainties: 1 17.8691 2 1.6291 3 0.363847 4 0.126771 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/373447': 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) = 4868.43686791 delta logL = 0.560674215904 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 4.275e+00 1.787e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 3.811e+00 1.629e+00 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: 8.702e-01 1.268e-01 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: 7.498e-01 3.638e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.19 Ra Dec: 256.060 12.575 Photon Index (Free Index): 3.81 +/- 1.63 Photon Flux (Free Index): 1.53e-07 +/- 1.66e-07 Energy Flux (Free Index): 2.38e-05 +/- 2.48e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/373447/cmap_HighResolution_613353601_613612801_4FGL_J1704.2+1234_daily_bin1443.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/373447 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', comment='SUCCESS', energy_flux2='2.38e-05', dlogl='5.61e-01', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-09-16 14:52:53.041659', photon_index_error2='1.63', photon_index2='3.81', ts='0.02', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.98e-07', energy_flux_error2='2.48e-05', EG='0.84', time_epoch_completed='1631829173.04', return_code='0', job_id='373447', GAL2='0.87', EG2='0.75', return_code2='0', photon_flux_error2='1.66e-07', ts2='1.19', photon_index='2.22' WHERE bin_id='1443' AND source_name='4FGL J1704.2+1234' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Sep 16 14:52:53 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 373447: <4FGL_J1704.2+1234_daily_bin1443> in cluster Done Job <4FGL_J1704.2+1234_daily_bin1443> was submitted from host by user in cluster at Thu Sep 16 14:40:21 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Sep 16 14:41:39 2021 was used as the home directory. was used as the working directory. Started at Thu Sep 16 14:41:39 2021 Terminated at Thu Sep 16 14:52:53 2021 Results reported at Thu Sep 16 14:52:53 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.2+1234_daily_bin1443 256.06 12.5752 613353601 613612801 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 : 556.37 sec. Max Memory : 1094 MB Average Memory : 321.55 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 674 sec. Turnaround time : 752 sec. The output (if any) is above this job summary.