/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 42 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 = 7380 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1497 RA = 75.6341, Dec = 13.6685 tmin = 627350401, tmax = 627609601 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='929136', job_status='RUN', time_executed='2021-08-21 18:23:37.450694', time_epoch_executed='1629595417.45' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1497' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/929136 Creating custom pfile directory: /scratch/kocevski/929136/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=627350401.0 && nMetStart<627609601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=627350401.0 && nMetStart<627609601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/929136/ft1_4FGL_J0502.5+1340_daily_bin1497.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=627350401.0 && nMetStart<627609601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/929136/ft1_4FGL_J0502.5+1340_daily_bin1497.fits outfile=/scratch/kocevski/929136/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1497.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=627350401.0 tmax=627609601.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 11.43 user 2.53 sys 8.85 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.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/929136/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1497.fits evtable="EVENTS" outfile="/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.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 9.59 user 0.34 sys 9.21 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits" evtable="EVENTS" scfile=/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits sctable="SC_DATA" outfile=/scratch/kocevski/929136/ltcube_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.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/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits .....................! real 23.27 user 13.10 sys 10.04 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits evtable="EVENTS" scfile=/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits sctable="SC_DATA" expcube=/scratch/kocevski/929136/ltcube_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.fits outfile=/scratch/kocevski/929136/expmap_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.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/929136/ltcube_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.fits .....................! real 202.93 user 187.10 sys 15.33 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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits scfile=/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits outfile=/scratch/kocevski/929136/cmap_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.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=75.6341 yref=13.6685 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 9.08 user 0.38 sys 8.60 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits scfile=/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits outfile=/scratch/kocevski/929136/cmap_HighResolution_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.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=75.6341 yref=13.6685 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 9.05 user 0.39 sys 8.55 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits evtable="EVENTS" scfile=/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929136/Model_4FGL_J0502.5+1340_daily_bin1497.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 GAL_V02 adding source IC 443 adding source S 147 Working on... /scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits....................! real 86.60 user 71.09 sys 12.50 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits', '/scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits', expMap='/scratch/kocevski/929136/expmap_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.fits', expCube='/scratch/kocevski/929136/ltcube_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/929136/Model_4FGL_J0502.5+1340_daily_bin1497.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/929136/ft1_filtered_4FGL_J0502.5+1340_daily_bin1497.fits Spacecraft file(s): /scratch/kocevski/929136/ft2_4FGL_J0502.5+1340_daily_bin1497.fits Exposure map: /scratch/kocevski/929136/expmap_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.fits Exposure cube: /scratch/kocevski/929136/ltcube_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/929136/Model_4FGL_J0502.5+1340_daily_bin1497.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) = 2510.85270542 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2510.78750211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 13.971 1.0000 .10000E-03 10000. 2 'Prefactor ' 1506.3 1.0000 .10000E-03 10000. 3 'Prefactor ' .10974E-02 1.0000 .10000E-03 10000. 4 'norm ' .18721E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .38816E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 121.81 1.0000 .10000E-03 10000. 7 'norm ' .31105E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10624E-01 1.0000 .10000E-03 10000. 9 'Prefactor ' 9.9586 1.0000 .10000E-03 10000. 10 'Prefactor ' 44.272 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'norm ' .10938E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 10.509 1.0000 .10000E-03 10000. 14 'norm ' .13534E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .17490E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10317E-01 1.0000 .10000E-03 10000. 17 'norm ' .27836E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 29.059 1.0000 .10000E-03 10000. 19 'norm ' 1.6987 1.0000 .10000E-03 10000. 20 'norm ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.7030 1.0000 .10000E-03 10000. 22 'norm ' 7.6388 1.0000 .10000E-03 10000. 23 'Prefactor ' 2.2721 1.0000 .10000E-03 10000. 24 'Prefactor ' .22033E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .35035E-02 1.0000 .10000E-03 10000. 26 'Prefactor ' .12170E-01 1.0000 .10000E-03 10000. 27 'Prefactor ' 25.175 1.0000 .10000E-03 10000. 28 'Normalizat' .81230 1.0000 .10000E-01 10.000 29 'Prefactor ' .75999 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 2510.772 FROM MIGRAD STATUS=CONVERGED 859 CALLS 3971 TOTAL EDM= .77E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 648.60 -.10748E-05** at limit ** 2 Prefactor 1455.8 1609.7 .20296E-04 .54538E-05 3 Prefactor .10000E-03 378.19 -.29826E-04** at limit ** 4 norm .10000E-03 9.8372 -.96797E-07** at limit ** 5 Prefactor .10000E-03 277.11 -.69987E-06** at limit ** 6 Prefactor 114.88 108.93 -.12399E-05 .45168E-05 7 norm .10000E-03 13.122 -.22370E-05** at limit ** 8 Prefactor .10000E-03 373.15 .91352E-06** at limit ** 9 Prefactor 30.692 483.79 -.52181E-05 -.19746E-05 10 Prefactor 44.571 49.790 -.19788E-05 .12210E-04 11 norm .10000E-03 1.2960 .14894E-06** at limit ** 12 norm .10000E-03 8.3666 .74246E-07** at limit ** 13 Prefactor 10.737 24.314 -.32083E-05 .64224E-05 14 norm .10000E-03 7.0005 -.85636E-07** at limit ** 15 Prefactor .10000E-03 8.2993 .59891E-07** at limit ** 16 Prefactor .10000E-03 151.12 .23921E-06** at limit ** 17 norm .10000E-03 6.7219 .39924E-06** at limit ** 18 Prefactor 29.110 92.023 -.48038E-05 -.16549E-05 19 norm 1.9795 63.045 .16112E-05 .41555E-04 20 norm .10000E-03 2.5453 -.17820E-07** at limit ** 21 Prefactor 1.7018 .36979 -.84485E-07 .80031E-04 22 norm 7.6509 6.7417 .41199E-06 -.45417E-04 23 Prefactor 2.3002 2.9950 -.64113E-06 -.86805E-04 24 Prefactor .10000E-03 39.910 -.69456E-06** at limit ** 25 Prefactor .10000E-03 31.878 -.44308E-06** at limit ** 26 Prefactor .10000E-03 844.85 .16758E-04** at limit ** 27 Prefactor 25.131 18.574 -.24106E-05 -.78273E-04 28 Normalizat .77365 1.0798 .13453E-04 -.12528E-05 29 Prefactor .76341 .17421 .23891E-05 -.86863E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 1455.77 Prefactor = 0.000100004 norm = 0.0001 Prefactor = 0.0001 Prefactor = 114.875 norm = 0.0001 Prefactor = 0.0001 Prefactor = 30.6923 Prefactor = 44.5709 norm = 0.0001 norm = 0.0001 Prefactor = 10.7374 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 29.1096 norm = 1.97955 norm = 0.0001 Prefactor = 1.70175 norm = 7.65089 Prefactor = 2.30023 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 25.1305 Normalizat = 0.773652 Prefactor = 0.763412 ********** ** 18 **HESSE ********** FCN= 2510.772 FROM HESSE STATUS=OK 545 CALLS 4516 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 648.98 .53579E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1455.8 1608.0 .55914E-04 -.78786 3 Prefactor .10000E-03 387.74 .20700E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 9.8381 .15351E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 277.29 .21277E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 114.88 108.53 .18233E-03 -1.3560 7 norm .10000E-03 13.164 .17729E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 372.89 .18152E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 30.692 466.69 .12698E-03 -1.4599 10 Prefactor 44.571 49.706 .30127E-03 -1.4372 11 norm .10000E-03 1.3052 .55469E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10000E-03 8.3793 .14154E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 10.737 24.204 .12360E-03 -1.5052 14 norm .10000E-03 7.0025 .12950E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 8.3027 .14099E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 151.09 .18149E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .10000E-03 6.7698 .12674E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 29.110 92.504 .74321E-04 -1.4628 19 norm 1.9795 63.432 .16140E-02 -1.5427 20 norm .10000E-03 2.6425 .15630E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 1.7018 .38213 .97561E-05 -1.5447 22 norm 7.6509 6.8905 .10717E-03 -1.5155 23 Prefactor 2.3002 3.0124 .73836E-04 -1.5405 24 Prefactor .10000E-03 39.968 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 31.903 .19654E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 857.67 .36335E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 25.131 18.336 .79838E-04 -1.4705 28 Normalizat .77365 1.0889 .99182E-03 -1.0105 29 Prefactor .76341 .17529 .16738E-03 -1.0109 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.57484e-10 Minuit parameter uncertainties: 1 7.45684e-05 2 1669.65 3 0.00239731 4 1.35766e-06 5 8.37085e-05 6 108.72 7 4.14167e-05 8 0.000286244 9 241.65 10 49.752 11 1.74193e-06 12 7.87901e-08 13 24.2259 14 3.60081e-06 15 1.98686e-06 16 1.90457e-05 17 8.76684e-06 18 92.9644 19 22.4367 20 1.83458e-05 21 0.382129 22 6.89123 23 3.01256 24 2.51828e-05 25 1.68907e-05 26 0.000344897 27 18.3399 28 1.12204 29 0.175415 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2510.77167403 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 4.457e+01 4.975e+01 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 7.634e-01 1.754e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 7.737e-01 1.122e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.71 Ra Dec: 75.634 13.668 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 2.54e-07 +/- 2.83e-07 Energy Flux (Fixed Index): 1.08e-04 +/- 1.20e-04 TS (Fixed Index): 1.71 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 1.00e-06 ph cm-2 s-1 Energy Flux Upper Limit: 7.65e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/929136/likelihoodResults_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.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) = 2509.93235227 delta logL = 0.839321764523 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 2509.88675323 delta logL = 0.884920806093 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.5651 1.0000 .10000E-03 10000. 2 'Index ' 3.6192 1.0000 .0000 10.000 3 'Normalizat' .49205 1.0000 .10000E-01 10.000 4 'Prefactor ' .78910 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 2509.887 FROM MIGRAD STATUS=CONVERGED 57 CALLS 258 TOTAL EDM= .22E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.5906 108.56 .42576E-02 .24449E-04 2 Index 3.6175 3.2060 .70059E-01 .72733E-04 3 Normalizat .49256 .43502 .27118 .20523E-04 4 Prefactor .78882 .68913E-01 .43575E-01 -.53342E-05 ERR DEF= .500 Final values: Prefactor = 5.59056 Index = 3.61751 Normalizat = 0.492565 Prefactor = 0.788816 ********** ** 18 **HESSE ********** FCN= 2509.887 FROM HESSE STATUS=OK 33 CALLS 291 TOTAL EDM= .49E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.5906 85.186 .82872E-04 -1.5235 2 Index 3.6175 3.0932 .28873E-02 -.28015 3 Normalizat .49256 .93021 .12021E-02 -1.1276 4 Prefactor .78882 .16256 .16441E-03 -1.0014 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.93036e-08 Minuit parameter uncertainties: 1 43.7198 2 3.36052 3 0.962253 4 0.162663 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/929136': 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) = 2509.88674907 delta logL = 0.88492495699 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 5.591e+00 4.372e+01 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 3.618e+00 3.361e+00 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 7.888e-01 1.627e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 4.926e-01 9.623e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.62 Ra Dec: 75.634 13.668 Photon Index (Free Index): 3.62 +/- 3.36 Photon Flux (Free Index): 8.77e-07 +/- 9.54e-07 Energy Flux (Free Index): 1.42e-04 +/- 1.05e-04 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/929136/cmap_HighResolution_627350401_627609601_4FGL_J0502.5+1340_daily_bin1497.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/929136 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-02', comment='SUCCESS', photon_flux='2.54e-07', energy_flux2='1.42e-04', photon_flux_error='2.83e-07', dlogl='8.85e-01', energy_flux='1.08e-04', photon_flux2='8.77e-07', job_status='DONE', time_completed='2021-08-21 18:35:13.716614', photon_index_error2='3.36', photon_index2='3.62', ts='1.71', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.00e-06', energy_flux_error2='1.05e-04', EG='0.77', time_epoch_completed='1629596113.72', return_code='0', job_id='929136', GAL2='0.79', EG2='0.49', return_code2='0', energy_flux_error='1.20e-04', photon_flux_error2='9.54e-07', ts2='3.62', photon_index='2.23' WHERE bin_id='1497' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:35:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 929136: <4FGL_J0502.5+1340_daily_bin1497> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1497> was submitted from host by user in cluster at Sat Aug 21 18:20:29 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:20:31 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:20:31 2021 Terminated at Sat Aug 21 18:35:15 2021 Results reported at Sat Aug 21 18:35:15 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1497 75.6341 13.6685 627350401 627609601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 810.28 sec. Max Memory : 1093 MB Average Memory : 270.59 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 883 sec. Turnaround time : 886 sec. The output (if any) is above this job summary.