/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 13 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 = 7389 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0638.7+5658_daily_bin961 RA = 99.6895, Dec = 56.9785 tmin = 488419201, tmax = 488678401 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='604288', job_status='RUN', time_executed='2021-08-25 14:36:13.407278', time_epoch_executed='1629927373.41' WHERE source_name='4FGL J0638.7+5658' and cadence='daily' and bin_id='961' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/604288 Creating custom pfile directory: /scratch/kocevski/604288/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=488419201.0 && nMetStart<488678401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=488419201.0 && nMetStart<488678401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/604288/ft1_4FGL_J0638.7+5658_daily_bin961.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=488419201.0 && nMetStart<488678401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/604288/ft1_4FGL_J0638.7+5658_daily_bin961.fits outfile=/scratch/kocevski/604288/ft1_filteredMKT_4FGL_J0638.7+5658_daily_bin961.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=488419201.0 tmax=488678401.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 7.21 user 6.90 sys 0.28 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.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/604288/ft1_filteredMKT_4FGL_J0638.7+5658_daily_bin961.fits evtable="EVENTS" outfile="/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.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.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits" evtable="EVENTS" scfile=/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits sctable="SC_DATA" outfile=/scratch/kocevski/604288/ltcube_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.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/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits .....................! real 12.11 user 11.43 sys 0.53 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits evtable="EVENTS" scfile=/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits sctable="SC_DATA" expcube=/scratch/kocevski/604288/ltcube_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.fits outfile=/scratch/kocevski/604288/expmap_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.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/604288/ltcube_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.fits .....................! real 189.92 user 184.71 sys 4.74 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 G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template. Added 185 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 J0638.7+5658 @ 99.6895 56.9785 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits scfile=/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits outfile=/scratch/kocevski/604288/cmap_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.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=99.6895 yref=56.9785 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.53 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits scfile=/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits outfile=/scratch/kocevski/604288/cmap_HighResolution_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.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=99.6895 yref=56.9785 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.54 user 0.36 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits evtable="EVENTS" scfile=/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/604288/Model_4FGL_J0638.7+5658_daily_bin961.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 G150.3+4.5 adding source GAL_V02 adding source HB 9 Working on... /scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits.....................! real 120.74 user 119.11 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits', '/scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits', expMap='/scratch/kocevski/604288/expmap_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.fits', expCube='/scratch/kocevski/604288/ltcube_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/604288/Model_4FGL_J0638.7+5658_daily_bin961.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0638.7+5658' 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 3.366e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/604288/ft1_filtered_4FGL_J0638.7+5658_daily_bin961.fits Spacecraft file(s): /scratch/kocevski/604288/ft2_4FGL_J0638.7+5658_daily_bin961.fits Exposure map: /scratch/kocevski/604288/expmap_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.fits Exposure cube: /scratch/kocevski/604288/ltcube_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/604288/Model_4FGL_J0638.7+5658_daily_bin961.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) = 7102.38542049 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7102.34927255 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .75665 1.0000 .10000E-03 10000. 2 'norm ' 285.84 1.0000 .10000E-03 10000. 3 'Prefactor ' 78.129 1.0000 .10000E-03 10000. 4 'norm ' .12219E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 63.186 1.0000 .10000E-03 10000. 6 'Prefactor ' 29.635 1.0000 .10000E-03 10000. 7 'Prefactor ' 7.4894 1.0000 .10000E-03 10000. 8 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 10 'norm ' 1.4834 1.0000 .10000E-03 10000. 11 'norm ' .12286 1.0000 .10000E-03 10000. 12 'norm ' 5.4651 1.0000 .10000E-03 10000. 13 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 8.5688 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10044E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 9.8739 1.0000 .10000E-03 10000. 18 'Prefactor ' 60.349 1.0000 .10000E-03 10000. 19 'Prefactor ' .10157E-03 1.0000 .10000E-03 10000. 20 'norm ' .10017E-03 1.0000 .10000E-03 10000. 21 'norm ' 5.1577 1.0000 .10000E-03 10000. 22 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 23 'Normalizat' 1.1549 1.0000 .10000E-01 10.000 24 'Prefactor ' .95107 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7102.349 FROM MIGRAD STATUS=CONVERGED 591 CALLS 2812 TOTAL EDM= .19E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .49657 59.648 -.10798E-05 .67748E-04 2 norm 285.80 212.76 -.31724E-05 -.62828E-04 3 Prefactor 78.109 52.423 .41756E-07 .65156E-05 4 norm .10000E-03 2.1059 .64781E-07** at limit ** 5 Prefactor 63.188 38.736 -.25521E-06 -.33946E-04 6 Prefactor 29.641 30.714 .14113E-06 .32224E-04 7 Prefactor 7.4895 10.315 .16399E-05 .40299E-03 8 Prefactor .10000E-03 31.069 .13306E-06** at limit ** 9 Prefactor .10000E-03 18.215 -.84754E-08** at limit ** 10 norm 1.4834 3.6556 .24237E-06 -.27904E-03 11 norm .99091E-01 4.8238 -.16685E-06 .19427E-04 12 norm 5.4666 5.7604 .12244E-05 .64992E-03 13 Prefactor .10000E-03 5.6570 .59564E-08** at limit ** 14 Prefactor 8.5715 7.7444 -.33227E-06 -.80629E-04 15 Prefactor .10000E-03 5.6169 -.28604E-07** at limit ** 16 Prefactor .10000E-03 6.1742 -.16921E-07** at limit ** 17 Prefactor 9.8470 23.001 -.73175E-05 -.45662E-03 18 Prefactor 60.366 35.795 -.27206E-05 -.45069E-03 19 Prefactor .10000E-03 157.42 .33825E-05** at limit ** 20 norm .10000E-03 .33897 -.20748E-07** at limit ** 21 norm 5.1613 4.5027 .25044E-05 -.24804E-02 22 Prefactor .10000E-03 13.424 -.55783E-07** at limit ** 23 Normalizat 1.1540 .22127 .46768E-06 -.16163E-04 24 Prefactor .95154 .88357E-01 -.31548E-06 .14701E-03 ERR DEF= .500 Final values: Prefactor = 0.496574 norm = 285.802 Prefactor = 78.1094 norm = 0.0001 Prefactor = 63.1885 Prefactor = 29.6406 Prefactor = 7.48953 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.48341 norm = 0.0990913 norm = 5.46664 Prefactor = 0.0001 Prefactor = 8.57152 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 9.84703 Prefactor = 60.3663 Prefactor = 0.000100003 norm = 0.0001 norm = 5.16128 Prefactor = 0.0001 Normalizat = 1.15398 Prefactor = 0.951543 ********** ** 18 **HESSE ********** FCN= 7102.349 FROM HESSE STATUS=OK 409 CALLS 3221 TOTAL EDM= .63E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .49657 59.677 .18176 -1.5567 2 norm 285.80 213.89 .12002E-03 -1.2311 3 Prefactor 78.109 52.467 .45432E-04 -1.3938 4 norm .10000E-03 4.8633 .23721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 63.188 38.773 .50483E-04 -1.4116 6 Prefactor 29.641 30.766 .73597E-04 -1.4619 7 Prefactor 7.4895 10.374 .14655E-03 -1.5161 8 Prefactor .10000E-03 31.287 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 18.226 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.4834 3.6267 .24411E-03 -1.5464 11 norm .99091E-01 5.5069 .58930E-01 -1.5645 12 norm 5.4666 5.7974 .17188E-03 -1.5240 13 Prefactor .10000E-03 5.6577 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 8.5715 7.7465 .13694E-03 -1.5122 15 Prefactor .10000E-03 5.6198 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 6.1773 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 9.8470 24.155 .12752E-03 -1.5080 18 Prefactor 60.366 36.548 .51648E-04 -1.4152 19 Prefactor .10000E-03 157.89 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 .34738 .95730E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 5.1613 5.1771 .88509E-03 -1.5254 22 Prefactor .10000E-03 13.431 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat 1.1540 .24880 .35941E-03 -.88037 24 Prefactor .95154 .98425E-01 .16338E-03 -.94363 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.30123e-09 Minuit parameter uncertainties: 1 10.8975 2 214.484 3 52.4982 4 1.37338e-05 5 38.7889 6 30.7824 7 10.3768 8 3.7963e-05 9 1.07053e-05 10 3.62722 11 1.47681 12 5.79795 13 3.2387e-06 14 7.74741 15 4.49039e-06 16 1.25721e-05 17 24.1794 18 36.5613 19 0.00147865 20 2.98811e-06 21 5.17756 22 5.14712e-06 23 0.249052 24 0.0984433 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7102.34923996 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.000e-04 3.796e-05 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 9.515e-01 9.844e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 1.154e+00 2.491e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 99.689 56.978 Photon Flux Upper Limit: 8.14e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/604288/likelihoodResults_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.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) = 7102.34939221 delta logL = -0.00015224994695 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7102.34924075 delta logL = -7.80766640673e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.8305 1.0000 .0000 10.000 3 'Normalizat' 1.1540 1.0000 .10000E-01 10.000 4 'Prefactor ' .95154 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+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= 7102.349 FROM MIGRAD STATUS=FAILED 93 CALLS 297 TOTAL EDM= .65E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .16452E-03 121.61 .18142E-01** at limit ** 2 Index 2.1884 6.9495 .50000 .85400E-05 3 Normalizat 1.1540 .93752E-02 .35941E-03 -.90719E-04 4 Prefactor .95154 .39379E-02 .16338E-03 -.83653E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7102.349 FROM SIMPLEX STATUS=PROGRESS 107 CALLS 404 TOTAL EDM= .47E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10129E-03 121.61 .90646E-03** at limit ** 2 Index 2.1850 6.9495 .11562E-02 .85400E-05 3 Normalizat 1.1540 .93752E-02 .10057E-04 -.90719E-04 4 Prefactor .95153 .39379E-02 .47476E-05 -.83653E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7102.349 FROM MIGRAD STATUS=CONVERGED 35 CALLS 439 TOTAL EDM= .45E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10420E-03 534.84 .72569E-02** at limit ** 2 Index 2.0779 5.3551 .50000 .35105E-05 3 Normalizat 1.1540 .18229E-01 .14376E-04 -.71207E-02 4 Prefactor .95153 .76567E-02 .32677E-04 -.15581E-01 ERR DEF= .500 Final values: Prefactor = 0.000104198 Index = 2.07793 Normalizat = 1.15395 Prefactor = 0.951533 ********** ** 18 **HESSE ********** FCN= 7102.349 FROM HESSE STATUS=NOT POSDEF 29 CALLS 468 TOTAL EDM= .23E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10420E-03 6232.2 .14514E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0779 5.8929 .50000 -.62416 3 Normalizat 1.1540 .41949E-01 .28753E-05 -.88038 4 Prefactor .95153 .17618E-01 .65353E-05 -.94363 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.32346e-08 Minuit parameter uncertainties: 1 0.212873 2 1866.2 3 0.0419502 4 0.0176185 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/604288': 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) = 7102.34923923 delta logL = 7.35693902243e-07 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.042e-04 2.129e-01 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.078e+00 1.866e+03 0.000e+00 1.000e+01 (-1.000e+00) 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 9.515e-01 1.762e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 1.154e+00 4.195e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 99.689 56.978 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/604288/cmap_HighResolution_488419201_488678401_4FGL_J0638.7+5658_daily_bin961.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/604288 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.14e-08', time_completed='2021-08-25 14:50:58.043559', job_id='604288', GAL2='0.95', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1629928258.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='961' AND source_name='4FGL J0638.7+5658' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Aug 25 14:50:58 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 604288: <4FGL_J0638.7+5658_daily_bin961> in cluster Done Job <4FGL_J0638.7+5658_daily_bin961> was submitted from host by user in cluster at Wed Aug 25 14:35:50 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Aug 25 14:35:51 2021 was used as the home directory. was used as the working directory. Started at Wed Aug 25 14:35:51 2021 Terminated at Wed Aug 25 14:50:58 2021 Results reported at Wed Aug 25 14:50:58 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0638.7+5658_daily_bin961 99.6895 56.9785 488419201 488678401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0638.7+5658 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 877.00 sec. Max Memory : 1094 MB Average Memory : 351.14 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 907 sec. Turnaround time : 908 sec. The output (if any) is above this job summary.