/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 33 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 = 7422 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J2304.6+3704_daily_bin135 RA = 346.173, Dec = 37.0826 tmin = 274320001, tmax = 274579201 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='655529', job_status='RUN', time_executed='2021-09-29 06:21:32.251947', time_epoch_executed='1632921692.25' WHERE source_name='4FGL J2304.6+3704' and cadence='daily' and bin_id='135' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/655529 Creating custom pfile directory: /scratch/kocevski/655529/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=274320001.0 && nMetStart<274579201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=274320001.0 && nMetStart<274579201.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/655529/ft1_4FGL_J2304.6+3704_daily_bin135.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=274320001.0 && nMetStart<274579201.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/655529/ft1_4FGL_J2304.6+3704_daily_bin135.fits outfile=/scratch/kocevski/655529/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin135.fits ra=346.173 dec=37.0826 rad=12.0 tmin=274320001.0 tmax=274579201.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.69 user 3.37 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.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/655529/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin135.fits evtable="EVENTS" outfile="/scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.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/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits" evtable="EVENTS" scfile=/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits sctable="SC_DATA" outfile=/scratch/kocevski/655529/ltcube_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.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/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits .....................! real 11.59 user 11.25 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits evtable="EVENTS" scfile=/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits sctable="SC_DATA" expcube=/scratch/kocevski/655529/ltcube_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.fits outfile=/scratch/kocevski/655529/expmap_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.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/655529/ltcube_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.fits .....................! real 189.26 user 184.66 sys 4.21 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 J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 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 J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits scfile=/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits outfile=/scratch/kocevski/655529/cmap_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.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=346.173 yref=37.0826 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.52 user 0.36 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits scfile=/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits outfile=/scratch/kocevski/655529/cmap_HighResolution_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.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=346.173 yref=37.0826 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.36 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits evtable="EVENTS" scfile=/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/655529/Model_4FGL_J2304.6+3704_daily_bin135.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 CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits.....................! real 113.42 user 112.01 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits', '/scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits', expMap='/scratch/kocevski/655529/expmap_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.fits', expCube='/scratch/kocevski/655529/ltcube_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/655529/Model_4FGL_J2304.6+3704_daily_bin135.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/655529/ft1_filtered_4FGL_J2304.6+3704_daily_bin135.fits Spacecraft file(s): /scratch/kocevski/655529/ft2_4FGL_J2304.6+3704_daily_bin135.fits Exposure map: /scratch/kocevski/655529/expmap_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.fits Exposure cube: /scratch/kocevski/655529/ltcube_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/655529/Model_4FGL_J2304.6+3704_daily_bin135.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) = 9962.50601142 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9962.50145144 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .91131 1.0000 .10000E-03 10000. 2 'Prefactor ' 49.080 1.0000 .10000E-03 10000. 3 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' 23.036 1.0000 .10000E-03 10000. 6 'Prefactor ' .10566E-02 1.0000 .10000E-03 10000. 7 'Prefactor ' 5.7055 1.0000 .10000E-03 10000. 8 'Prefactor ' 10.275 1.0000 .10000E-03 10000. 9 'norm ' .12822 1.0000 .10000E-03 10000. 10 'Prefactor ' .10286E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10134E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10030E-03 1.0000 .10000E-03 10000. 13 'norm ' 7.2805 1.0000 .10000E-03 10000. 14 'norm ' 9.9028 1.0000 .10000E-03 10000. 15 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.2965 1.0000 .10000E-03 10000. 17 'Prefactor ' 2.2502 1.0000 .10000E-03 10000. 18 'Prefactor ' .10502E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 72.648 1.0000 .10000E-03 10000. 20 'Prefactor ' 20.881 1.0000 .10000E-03 10000. 21 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 22 'Normalizat' .87772 1.0000 .10000E-01 10.000 23 'Prefactor ' .94520 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9962.501 FROM MIGRAD STATUS=CONVERGED 549 CALLS 2955 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .90988 1.0433 -.25963E-06 -.18502E-02 2 Prefactor 49.038 73.325 -.24013E-04 .20717E-03 3 Prefactor .10000E-03 1.5925 -.60578E-08** at limit ** 4 Prefactor .10000E-03 7.2192 -.30676E-06** at limit ** 5 norm 23.036 5.5649 .32595E-06 -.18989E-03 6 Prefactor .10000E-03 8.3381 .47004E-06** at limit ** 7 Prefactor 5.7034 6.5856 -.79964E-06 -.15345E-03 8 Prefactor 10.288 17.605 .10711E-06 -.43031E-05 9 norm .12304 .51215 -.33139E-06 -.25350E-03 10 Prefactor .10000E-03 10.364 -.61281E-07** at limit ** 11 Prefactor .10000E-03 7.9129 .74853E-07** at limit ** 12 Prefactor .10000E-03 6.9027 .20977E-06** at limit ** 13 norm 7.2808 4.2678 -.81510E-06 -.27918E-02 14 norm 9.9019 7.7890 .19804E-05 -.31303E-03 15 Prefactor .10000E-03 5.5712 .44053E-07** at limit ** 16 norm 2.2965 1.7856 -.93344E-07 -.80226E-04 17 Prefactor 2.2503 25.223 -.20337E-05 -.88686E-04 18 Prefactor .10000E-03 475.94 .21797E-05** at limit ** 19 Prefactor 72.659 41.325 -.26741E-05 .11046E-03 20 Prefactor 20.896 41.298 -.68880E-05 .69987E-04 21 Prefactor .10000E-03 3.9291 .14481E-06** at limit ** 22 Normalizat .87785 .20232 .19007E-05 .41317E-04 23 Prefactor .94519 .79157E-01 .27271E-06 .11971E-03 ERR DEF= .500 Final values: norm = 0.909877 Prefactor = 49.0385 Prefactor = 0.0001 Prefactor = 0.0001 norm = 23.036 Prefactor = 0.0001 Prefactor = 5.70339 Prefactor = 10.2883 norm = 0.123042 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 7.28081 norm = 9.90193 Prefactor = 0.0001 norm = 2.29649 Prefactor = 2.25027 Prefactor = 0.000100002 Prefactor = 72.659 Prefactor = 20.8961 Prefactor = 0.0001 Normalizat = 0.877848 Prefactor = 0.945191 ********** ** 18 **HESSE ********** FCN= 9962.501 FROM HESSE STATUS=OK 370 CALLS 3325 TOTAL EDM= .32E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .90988 .95815 .10518E-02 -1.5517 2 Prefactor 49.038 71.588 .57240E-04 -1.4306 3 Prefactor .10000E-03 1.5949 .12295E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 7.2259 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 23.036 5.5484 .83456E-04 -1.4748 6 Prefactor .10000E-03 124.52 .55458E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 5.7034 6.5677 .16816E-03 -1.5230 8 Prefactor 10.288 17.581 .12500E-03 -1.5066 9 norm .12304 2.0647 .13566E-02 -1.5638 10 Prefactor .10000E-03 10.392 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 8.0125 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 6.9072 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 7.2808 4.4636 .74326E-03 -1.5168 14 norm 9.9019 7.7566 .12734E-03 -1.5079 15 Prefactor .10000E-03 5.5922 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.2965 1.7842 .11429E-03 -1.5405 17 Prefactor 2.2503 25.463 .27392E-03 -1.5408 18 Prefactor .10000E-03 481.10 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 72.659 41.347 .47102E-04 -1.4001 20 Prefactor 20.896 41.182 .87651E-04 -1.4793 21 Prefactor .10000E-03 3.9522 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat .87785 .22444 .39954E-03 -.97243 23 Prefactor .94519 .89042E-01 .15452E-03 -.94579 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18481e-08 Minuit parameter uncertainties: 1 0.958164 2 71.7135 3 1.29323e-06 4 9.73525e-06 5 5.54852 6 0.000328586 7 6.56857 8 17.5901 9 1.00768 10 8.26237e-06 11 2.39889e-05 12 7.22479e-06 13 4.46384 14 7.75738 15 1.1938e-05 16 1.78422 17 15.1469 18 0.0017917 19 41.3629 20 41.2385 21 2.93132e-05 22 0.224683 23 0.0890555 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9962.50143279 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 1.029e+01 1.759e+01 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.452e-01 8.906e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 8.778e-01 2.247e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.53 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 6.26e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/655529/likelihoodResults_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.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) = 9962.1027477 delta logL = 0.398685085927 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9962.08106904 delta logL = 0.420363746241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.8459 1.0000 .10000E-03 10000. 2 'Index ' 2.8316 1.0000 .0000 10.000 3 'Normalizat' .83799 1.0000 .10000E-01 10.000 4 'Prefactor ' .95150 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 9962.081 FROM MIGRAD STATUS=CONVERGED 65 CALLS 349 TOTAL EDM= .13E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.8280 57.358 .60256E-02 .75748E-03 2 Index 2.8346 2.2351 .96482E-01 .28881E-03 3 Normalizat .83792 .60654E-01 .92099E-01 .33009E-04 4 Prefactor .95153 .22727E-01 .34853E-01 -.12585E-03 ERR DEF= .500 Final values: Prefactor = 2.82802 Index = 2.83459 Normalizat = 0.83792 Prefactor = 0.951532 ********** ** 18 **HESSE ********** FCN= 9962.081 FROM HESSE STATUS=NOT POSDEF 31 CALLS 380 TOTAL EDM= .17E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.8280 127.12 .15444E-03 -1.5372 2 Index 2.8346 6.4154 .52753E-02 -.44791 3 Normalizat .83792 .24105 .40798E-03 -.98677 4 Prefactor .95153 .86020E-01 .15401E-03 -.94363 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.70179e-06 Minuit parameter uncertainties: 1 38.0067 2 4.88551 3 0.241355 4 0.0860321 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/655529': 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): 102 logL (Free Index) = 9962.08106344 delta logL = 0.420369350517 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 2.828e+00 3.801e+01 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 2.835e+00 4.886e+00 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.515e-01 8.603e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 8.379e-01 2.414e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.39 Ra Dec: 346.173 37.083 Photon Index (Free Index): 2.83 +/- 4.89 Photon Flux (Free Index): 4.72e-08 +/- 9.30e-08 Energy Flux (Free Index): 1.03e-05 +/- 1.71e-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/655529/cmap_HighResolution_274320001_274579201_4FGL_J2304.6+3704_daily_bin135.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/655529 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='4.20e-01', photon_flux2='4.72e-08', job_status='DONE', time_completed='2021-09-29 06:36:42.853137', photon_index_error2='4.89', photon_index2='2.83', ts='0.53', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.26e-08', energy_flux_error2='1.71e-05', EG='0.88', time_epoch_completed='1632922602.85', return_code='0', job_id='655529', GAL2='0.95', EG2='0.84', return_code2='102', photon_flux_error2='9.30e-08', ts2='1.39', photon_index='1.85' WHERE bin_id='135' AND source_name='4FGL J2304.6+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 29 06:36:42 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 655529: <4FGL_J2304.6+3704_daily_bin135> in cluster Done Job <4FGL_J2304.6+3704_daily_bin135> was submitted from host by user in cluster at Wed Sep 29 06:20:49 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 29 06:20:51 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 29 06:20:51 2021 Terminated at Wed Sep 29 06:36:43 2021 Results reported at Wed Sep 29 06:36:43 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.6+3704_daily_bin135 346.173 37.0826 274320001 274579201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2304.6+3704 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 906.00 sec. Max Memory : 618 MB Average Memory : 322.45 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 952 sec. Turnaround time : 954 sec. The output (if any) is above this job summary.