/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 234 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 = 69866 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_monthly_bin134 RA = 256.06, Dec = 12.5752 tmin = 584323201, tmax = 586915201 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='209899', job_status='RUN', time_executed='2021-10-30 02:09:44.596519', time_epoch_executed='1635584984.6' WHERE source_name='4FGL J1704.2+1234' and cadence='monthly' and bin_id='134' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/209899 Creating custom pfile directory: /scratch/kocevski/209899/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=584323201.0 && nMetStart<586915201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=584323201.0 && nMetStart<586915201.0' /Data/Flight/Level1/LPA Retrieving 437 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/209899/ft1_4FGL_J1704.2+1234_monthly_bin134.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=584323201.0 && nMetStart<586915201.0' /Data/Flight/Level1/LPA Retrieving 437 files... Done. Merging files... Merged file saved to: /scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/209899/ft1_4FGL_J1704.2+1234_monthly_bin134.fits outfile=/scratch/kocevski/209899/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin134.fits ra=256.06 dec=12.5752 rad=12.0 tmin=584323201.0 tmax=586915201.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 21.80 user 21.02 sys 0.61 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.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/209899/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin134.fits evtable="EVENTS" outfile="/scratch/kocevski/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.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.72 user 0.53 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/209899/ltcube_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.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/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits .....................! real 93.54 user 92.96 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/209899/ltcube_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.fits outfile=/scratch/kocevski/209899/expmap_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.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/209899/ltcube_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.fits .....................! real 157.17 user 152.13 sys 4.66 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source 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/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits scfile=/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits outfile=/scratch/kocevski/209899/cmap_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.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.69 user 0.51 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits scfile=/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits outfile=/scratch/kocevski/209899/cmap_HighResolution_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.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.66 user 0.50 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209899/Model_4FGL_J1704.2+1234_monthly_bin134.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/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits.....................! real 563.94 user 561.37 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits', '/scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits', expMap='/scratch/kocevski/209899/expmap_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.fits', expCube='/scratch/kocevski/209899/ltcube_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/209899/Model_4FGL_J1704.2+1234_monthly_bin134.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/209899/ft1_filtered_4FGL_J1704.2+1234_monthly_bin134.fits Spacecraft file(s): /scratch/kocevski/209899/ft2_4FGL_J1704.2+1234_monthly_bin134.fits Exposure map: /scratch/kocevski/209899/expmap_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.fits Exposure cube: /scratch/kocevski/209899/ltcube_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/209899/Model_4FGL_J1704.2+1234_monthly_bin134.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) = 100282.291087 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 100282.163076 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .50129E-02 1.0000 .10000E-03 10000. 2 'Prefactor ' .18695E-02 1.0000 .10000E-03 10000. 3 'Prefactor ' .10274E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 7.2679 1.0000 .10000E-03 10000. 7 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10606E-01 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.3849 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 13 'norm ' 3.6508 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .80676 1.0000 .10000E-03 10000. 16 'norm ' .10001E-03 1.0000 .10000E-03 10000. 17 'norm ' .10002E-03 1.0000 .10000E-03 10000. 18 'norm ' .10011E-03 1.0000 .10000E-03 10000. 19 'norm ' .30302 1.0000 .10000E-03 10000. 20 'Normalizat' 1.1616 1.0000 .10000E-01 10.000 21 'Prefactor ' .99050 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= 100282.2 FROM MIGRAD STATUS=CONVERGED 511 CALLS 2404 TOTAL EDM= .55E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 2.5347 .0000 ** at limit ** 2 Prefactor .10000E-03 .55272 .0000 ** at limit ** 3 Prefactor .10000E-03 .29539 .0000 ** at limit ** 4 Prefactor .10000E-03 .25869 .0000 ** at limit ** 5 Prefactor .10000E-03 .75535 .0000 ** at limit ** 6 Prefactor 7.2682 2.1474 .0000 .38329E-01 7 Prefactor .10000E-03 2.0629 .0000 ** at limit ** 8 Prefactor .10001E-03 6.2406 .0000 ** at limit ** 9 Prefactor 3.3822 2.7535 .0000 .68402E-01 10 Prefactor .10000E-03 2.6231 .0000 ** at limit ** 11 norm .10000E-03 .12280 .0000 ** at limit ** 12 Prefactor .10000E-03 2.1568 .0000 ** at limit ** 13 norm 3.6511 2.0965 .0000 .45528E-03 14 Prefactor .10000E-03 6.2871 .0000 ** at limit ** 15 Prefactor .80662 .86927 .0000 .17688E-01 16 norm .10000E-03 1.5581 .0000 ** at limit ** 17 norm .10000E-03 1.3145 .0000 ** at limit ** 18 norm .10000E-03 6.4810 .0000 ** at limit ** 19 norm .30300 .26108 .0000 .16089E-01 20 Normalizat 1.1617 .78904E-01 .0000 .50682E-04 21 Prefactor .99050 .26333E-01 .0000 -.68555E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 7.26819 Prefactor = 0.0001 Prefactor = 0.000100013 Prefactor = 3.38219 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 3.65109 Prefactor = 0.0001 Prefactor = 0.806617 norm = 0.0001 norm = 0.0001 norm = 0.0001 norm = 0.302996 Normalizat = 1.16171 Prefactor = 0.990503 ********** ** 18 **HESSE ********** FCN= 100282.2 FROM HESSE STATUS=OK 347 CALLS 2751 TOTAL EDM= .99E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 2.5888 .13483 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 .84110 .72311E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.2114 .32891E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 .67210 .30947E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 .78551 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 7.2682 2.1400 .74391E-03 -1.5169 7 Prefactor .10000E-03 2.0768 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10001E-03 5.2813 .20725 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 3.3822 2.7362 .10996E-02 -1.5340 10 Prefactor .10000E-03 2.7357 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 .27937 .21541E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 2.2119 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 3.6511 2.0725 .21142E-03 -1.5326 14 Prefactor .10000E-03 6.2963 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .80662 .84427 .27942E-03 -1.5528 16 norm .10000E-03 1.5870 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .10000E-03 1.3348 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .10000E-03 6.5563 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .30300 .26753 .14460E-02 -1.5598 20 Normalizat 1.1617 .90908E-01 .41776E-03 -.87794 21 Prefactor .99050 .30829E-01 .15370E-03 -.93047 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.89053e-08 Minuit parameter uncertainties: 1 2.40638e-05 2 1.02399e-05 3 1.69721e-07 4 1.09086e-07 5 2.63896e-07 6 2.13998 7 1.548e-07 8 0.000530538 9 2.73628 10 2.68977e-07 11 1.48384e-07 12 2.2818e-07 13 2.07257 14 2.20832e-06 15 0.844281 16 8.6294e-08 17 1.8363e-08 18 4.39987e-06 19 0.267535 20 0.0909207 21 0.0308292 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 100282.162989 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 1.000e-04 5.305e-04 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: 9.905e-01 3.083e-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.162e+00 9.092e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 2.74e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.09e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/209899/likelihoodResults_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.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) = 100282.162999 delta logL = -1.0169154848e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 100281.14232 delta logL = 1.02066830403 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.3112 1.0000 .10000E-03 10000. 2 'Index ' 3.7060 1.0000 .0000 10.000 3 'Normalizat' 1.1278 1.0000 .10000E-01 10.000 4 'Prefactor ' .99557 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 100281.1 FROM MIGRAD STATUS=FAILED 108 CALLS 339 TOTAL EDM= .43E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.3071 29.183 .24004E-03 .67382E-03 2 Index 3.7071 3.2382 .10253E-01 .90691E-02 3 Normalizat 1.1278 .60710E-01 .42309E-03 -.51591E-05 4 Prefactor .99557 .20500E-01 .15332E-03 -.71183E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 100281.1 FROM SIMPLEX STATUS=UNCHANGED 89 CALLS 428 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.3071 29.183 .10441E-03 .67382E-03 2 Index 3.7071 3.2382 .81110E-03 .90691E-02 3 Normalizat 1.1278 .60710E-01 .50156E-04 -.51591E-05 4 Prefactor .99557 .20500E-01 .96196E-05 -.71183E-05 ERR DEF= .500 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. FCN= 100281.1 FROM MIGRAD STATUS=CONVERGED 69 CALLS 497 TOTAL EDM= .16E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.3071 4.2292 .19203E-05 -.37889E-04 2 Index 3.7071 1.2047 .41011E-03 -.62094E-05 3 Normalizat 1.1278 .91804E-01 .33848E-05 -.64489E-05 4 Prefactor .99557 .30903E-01 .12266E-05 -.29660E-04 ERR DEF= .500 Final values: Prefactor = 1.30712 Index = 3.70714 Normalizat = 1.12782 Prefactor = 0.99557 ********** ** 18 **HESSE ********** FCN= 100281.1 FROM HESSE STATUS=OK 23 CALLS 520 TOTAL EDM= .19E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.3071 3.8035 .38406E-06 -1.5479 2 Index 3.7071 1.0854 .16405E-04 -.26154 3 Normalizat 1.1278 .90564E-01 .33848E-05 -.88864 4 Prefactor .99557 .30342E-01 .24531E-06 -.92877 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.88284e-13 Minuit parameter uncertainties: 1 3.80423 2 1.09478 3 0.090576 4 0.0303421 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/209899': 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) = 100281.14232 delta logL = 1.02066896389 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 1.307e+00 3.804e+00 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 3.707e+00 1.095e+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: 9.956e-01 3.034e-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.128e+00 9.058e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.15 Ra Dec: 256.060 12.575 Photon Index (Free Index): 3.71 +/- 1.09 Photon Flux (Free Index): 3.56e-08 +/- 2.59e-08 Energy Flux (Free Index): 5.64e-06 +/- 4.17e-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/209899/cmap_HighResolution_584323201_586915201_4FGL_J1704.2+1234_monthly_bin134.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/209899 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', comment='SUCCESS', energy_flux2='5.64e-06', dlogl='1.02e+00', photon_flux2='3.56e-08', job_status='DONE', time_completed='2021-10-30 03:43:25.923778', photon_index_error2='1.09', photon_index2='3.71', ts='-0.00', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.74e-08', energy_flux_error2='4.17e-06', EG='1.16', time_epoch_completed='1635590605.92', return_code='0', job_id='209899', GAL2='1.00', EG2='1.13', return_code2='0', photon_flux_error2='2.59e-08', ts2='2.15', photon_index='2.22' WHERE bin_id='134' AND source_name='4FGL J1704.2+1234' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 30 03:43:25 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 209899: <4FGL_J1704.2+1234_monthly_bin134> in cluster Done Job <4FGL_J1704.2+1234_monthly_bin134> was submitted from host by user in cluster at Sat Oct 30 00:30:19 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Oct 30 02:05:41 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 30 02:05:41 2021 Terminated at Sat Oct 30 03:43:27 2021 Results reported at Sat Oct 30 03:43:27 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.2+1234_monthly_bin134 256.06 12.5752 584323201 586915201 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 : 5218.00 sec. Max Memory : 1263 MB Average Memory : 404.55 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 5865 sec. Turnaround time : 11588 sec. The output (if any) is above this job summary.