/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 210 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 = 73195 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1220.1+3432_monthly_bin138 RA = 185.046, Dec = 34.5383 tmin = 594691201, tmax = 597283201 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='791800', job_status='RUN', time_executed='2021-10-23 13:04:13.985255', time_epoch_executed='1635019453.99' WHERE source_name='4FGL J1220.1+3432' and cadence='monthly' and bin_id='138' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/791800 Creating custom pfile directory: /scratch/kocevski/791800/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=594691201.0 && nMetStart<597283201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=594691201.0 && nMetStart<597283201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/791800/ft1_4FGL_J1220.1+3432_monthly_bin138.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=594691201.0 && nMetStart<597283201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/791800/ft1_4FGL_J1220.1+3432_monthly_bin138.fits outfile=/scratch/kocevski/791800/ft1_filteredMKT_4FGL_J1220.1+3432_monthly_bin138.fits ra=185.046 dec=34.5383 rad=12.0 tmin=594691201.0 tmax=597283201.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 27.96 user 27.30 sys 0.59 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.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/791800/ft1_filteredMKT_4FGL_J1220.1+3432_monthly_bin138.fits evtable="EVENTS" outfile="/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.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.84 user 0.64 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits" evtable="EVENTS" scfile=/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits sctable="SC_DATA" outfile=/scratch/kocevski/791800/ltcube_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.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/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits .....................! real 113.88 user 113.25 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits evtable="EVENTS" scfile=/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits sctable="SC_DATA" expcube=/scratch/kocevski/791800/ltcube_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.fits outfile=/scratch/kocevski/791800/expmap_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.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/791800/ltcube_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.fits .....................! real 191.40 user 186.59 sys 4.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 Added 193 point sources and 0 extended sources Setting source of interest to: 4FGL J1220.1+3432 @ 185.046 34.5383 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits scfile=/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits outfile=/scratch/kocevski/791800/cmap_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.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=185.046 yref=34.5383 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.77 user 0.60 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits scfile=/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits outfile=/scratch/kocevski/791800/cmap_HighResolution_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.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=185.046 yref=34.5383 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.79 user 0.62 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits evtable="EVENTS" scfile=/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/791800/Model_4FGL_J1220.1+3432_monthly_bin138.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 Working on... /scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits.....................! real 637.24 user 634.56 sys 1.45 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits', '/scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits', expMap='/scratch/kocevski/791800/expmap_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.fits', expCube='/scratch/kocevski/791800/ltcube_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/791800/Model_4FGL_J1220.1+3432_monthly_bin138.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1220.1+3432' 4FGL J1220.1+3432 Spectrum: PowerLaw 299 Prefactor: 1.941e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 300 Index: 2.107e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 301 Scale: 1.673e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/791800/ft1_filtered_4FGL_J1220.1+3432_monthly_bin138.fits Spacecraft file(s): /scratch/kocevski/791800/ft2_4FGL_J1220.1+3432_monthly_bin138.fits Exposure map: /scratch/kocevski/791800/expmap_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.fits Exposure cube: /scratch/kocevski/791800/ltcube_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/791800/Model_4FGL_J1220.1+3432_monthly_bin138.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) = 92537.0529348 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 92536.8641396 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12448 1.0000 .10000E-03 10000. 2 'Prefactor ' .21979E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .78645E-01 1.0000 .10000E-03 10000. 4 'norm ' 8.1796 1.0000 .10000E-03 10000. 5 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.7324 1.0000 .10000E-03 10000. 7 'Prefactor ' 19.076 1.0000 .10000E-03 10000. 8 'norm ' 1.9103 1.0000 .10000E-03 10000. 9 'Prefactor ' 7.9844 1.0000 .10000E-03 10000. 10 'norm ' 8.7702 1.0000 .10000E-03 10000. 11 'Prefactor ' .10046E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.3996 1.0000 .10000E-03 10000. 13 'norm ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 11.513 1.0000 .10000E-03 10000. 15 'norm ' 9.1487 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 2.2853 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.3761 1.0000 .10000E-03 10000. 19 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 20 'norm ' 4.9409 1.0000 .10000E-03 10000. 21 'Prefactor ' 7.0628 1.0000 .10000E-03 10000. 22 'Prefactor ' 1.1245 1.0000 .10000E-03 10000. 23 'Prefactor ' 19.965 1.0000 .10000E-03 10000. 24 'Prefactor ' 1.3547 1.0000 .10000E-03 10000. 25 'norm ' .10002E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .13710E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 6.5832 1.0000 .10000E-03 10000. 28 'norm ' 6.7441 1.0000 .10000E-03 10000. 29 'norm ' 27.712 1.0000 .10000E-03 10000. 30 'norm ' .23679E-03 1.0000 .10000E-03 10000. 31 'Prefactor ' 1.0265 1.0000 .10000E-03 10000. 32 'Normalizat' 1.0273 1.0000 .10000E-01 10.000 33 'Prefactor ' 1.0526 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6130E+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= 92536.86 FROM MIGRAD STATUS=FAILED 1690 CALLS 4870 TOTAL EDM= .38E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .12437 .42575 .17125E-02 .50925E-01 2 Prefactor .10000E-03 16.061 .36285E-02** at limit ** 3 Prefactor .78823E-01 .79090 .90645E-01 .31792E-02 4 norm 8.1800 .84687 .84305E-04 .35364E-02 5 Prefactor .10000E-03 .60471 .75755E-01** at limit ** 6 Prefactor 5.7313 1.4157 .83880E-03 .33823E-02 7 Prefactor 19.038 9.7402 .91702E-04 .65458E-04 8 norm 1.9106 .29529 .58605E-04 .37867E-03 9 Prefactor 7.9870 4.3324 .14190E-03 .12691E-03 10 norm 8.7692 1.9535 .13535E-03 -.43005E-04 11 Prefactor .10000E-03 3.9421 .18142E-02** at limit ** 12 Prefactor 6.3997 6.0268 .15866E-03 -.17197E-04 13 norm .10000E-03 .97429E-01 .11587E-02** at limit ** 14 Prefactor 11.516 7.6945 .11806E-03 .26346E-03 15 norm 9.1487 1.0079 .91730E-04 .55722E-03 16 Prefactor .10000E-03 1.5279 .34542E-02** at limit ** 17 Prefactor 2.2851 .60469 .11136E-03 .14865E-03 18 Prefactor 1.3759 .47592 .11773E-03 -.17767E-03 19 Prefactor .10000E-03 .96899 .28210E-02** at limit ** 20 norm 4.9406 1.0336 .18094E-04 -.64340E-04 21 Prefactor 7.0623 2.1904 .15095E-03 .89174E-04 22 Prefactor 1.1245 1.4714 .42043E-03 .50187E-04 23 Prefactor 19.940 12.089 .89639E-04 -.38556E-04 24 Prefactor 1.3549 .91783 .22905E-03 -.27001E-03 25 norm .10000E-03 .25094 .29080E-03** at limit ** 26 Prefactor .10019E-03 1.6643 .10636 ** at limit ** 27 Prefactor 6.5729 3.6843 .15640E-03 -.45357E-04 28 norm 6.7454 1.5053 .77254E-03 .62043E-03 29 norm 27.712 2.2375 .76102E-04 -.40801E-02 30 norm .10069E-03 1.1245 .60845E-01** at limit ** 31 Prefactor 1.0268 .83000 .23520E-03 -.42150E-03 32 Normalizat 1.0273 .56809E-01 .25207E-03 .87531E-03 33 Prefactor 1.0526 .65305E-01 .30054E-03 .83221E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 92536.86 FROM SIMPLEX STATUS=PROGRESS 1555 CALLS 6425 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .12437 .42575 .87198E-06 -1.5637 2 Prefactor .10000E-03 16.061 .63344E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .78823E-01 .79090 .78359E-06 -1.5652 4 norm 8.1800 .84687 .74616E-06 -1.5136 5 Prefactor .10000E-03 .60471 .31854E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.7313 1.4157 .75216E-06 -1.5229 7 Prefactor 19.038 9.7402 .73568E-06 -1.4835 8 norm 1.9106 .29529 .76000E-06 -1.5432 9 Prefactor 7.9870 4.3324 .74724E-06 -1.5143 10 norm 8.7692 1.9535 .74454E-06 -1.5116 11 Prefactor .10000E-03 3.9421 .28077E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.3997 6.0268 .74932E-06 -1.5202 13 norm .10000E-03 .97429E-01 .27241E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 11.516 7.6945 .74075E-06 -1.5029 15 norm 9.1487 1.0079 .74403E-06 -1.5103 16 Prefactor .10000E-03 1.5279 .11158E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.2851 .60469 .75870E-06 -1.5406 18 Prefactor 1.3759 .47592 .76241E-06 -1.5473 19 Prefactor .10000E-03 .96899 .13194E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 4.9406 1.0336 .75319E-06 -1.5263 21 Prefactor 7.0623 2.1904 .75386E-06 -1.5176 22 Prefactor 1.1245 1.4714 .79935E-06 -1.5496 23 Prefactor 19.940 12.089 .81632E-06 -1.4815 24 Prefactor 1.3549 .91783 .77676E-06 -1.5475 25 norm .10000E-03 .25094 .83143E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10019E-03 1.6643 .28099E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 6.5729 3.6843 .74910E-06 -1.5195 28 norm 6.7454 1.5053 .74808E-06 -1.5188 29 norm 27.712 2.2375 .72170E-06 -1.4655 30 norm .10069E-03 1.1245 .59721E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 31 Prefactor 1.0268 .83000 .76436E-06 -1.5505 32 Normalizat 1.0273 .56809E-01 .45461E-06 -.92122 33 Prefactor 1.0526 .65305E-01 .44820E-06 -.90995 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 92536.86 FROM MIGRAD STATUS=CONVERGED 709 CALLS 7134 TOTAL EDM= .59E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .12438 .42412 .34251E-03 .19974E-02 2 Prefactor .10000E-03 16.148 .72569E-03** at limit ** 3 Prefactor .78829E-01 .78784 .91006E-01 .31569E-02 4 norm 8.1800 .84462 .33722E-05 -.36572E-02 5 Prefactor .10000E-03 .59250 .77318E-01** at limit ** 6 Prefactor 5.7313 1.4139 .33552E-04 -.29547E-02 7 Prefactor 19.038 9.7336 .36681E-05 -.79343E-04 8 norm 1.9106 .29525 .23442E-05 -.52765E-03 9 Prefactor 7.9870 4.3322 .56758E-05 -.10896E-03 10 norm 8.7692 1.9534 .54140E-05 .26878E-04 11 Prefactor .10000E-03 3.9452 .36285E-03** at limit ** 12 Prefactor 6.3997 6.0263 .63463E-05 .11465E-04 13 norm .10000E-03 .98321E-01 .23174E-03** at limit ** 14 Prefactor 11.515 7.6935 .47226E-05 -.21569E-03 15 norm 9.1487 1.0078 .36692E-05 -.49575E-03 16 Prefactor .10000E-03 1.5553 .69084E-03** at limit ** 17 Prefactor 2.2851 .60468 .44542E-05 -.15518E-03 18 Prefactor 1.3759 .47587 .47094E-05 .77250E-04 19 Prefactor .10000E-03 .99165 .56420E-03** at limit ** 20 norm 4.9406 1.0333 .36187E-05 -.40213E-04 21 Prefactor 7.0623 2.1902 .60379E-05 -.12653E-03 22 Prefactor 1.1245 1.4713 .16817E-04 -.71387E-04 23 Prefactor 19.941 12.089 .17928E-04 -.10552E-03 24 Prefactor 1.3549 .91767 .91619E-05 -.79415E-04 25 norm .10000E-03 .25095 .58159E-04** at limit ** 26 Prefactor .10016E-03 1.6116 .10906 ** at limit ** 27 Prefactor 6.5729 3.6833 .62562E-05 -.30820E-03 28 norm 6.7454 1.5049 .30902E-04 -.17282E-02 29 norm 27.712 2.2228 .15220E-04 -.10445E-01 30 norm .10061E-03 .94155 .68153E-01** at limit ** 31 Prefactor 1.0268 .82978 .94079E-05 -.60711E-03 32 Normalizat 1.0273 .56859E-01 .10083E-04 -.19447E-02 33 Prefactor 1.0526 .65359E-01 .12022E-04 -.16039E-02 ERR DEF= .500 Final values: Prefactor = 0.124377 Prefactor = 0.0001 Prefactor = 0.0788291 norm = 8.18001 Prefactor = 0.000100001 Prefactor = 5.73129 Prefactor = 19.0376 norm = 1.91059 Prefactor = 7.98696 norm = 8.7692 Prefactor = 0.0001 Prefactor = 6.3997 norm = 0.0001 Prefactor = 11.5155 norm = 9.14873 Prefactor = 0.0001 Prefactor = 2.28507 Prefactor = 1.37589 Prefactor = 0.0001 norm = 4.94062 Prefactor = 7.06225 Prefactor = 1.12446 Prefactor = 19.9405 Prefactor = 1.35491 norm = 0.0001 Prefactor = 0.000100156 Prefactor = 6.57292 norm = 6.74538 norm = 27.7124 norm = 0.00010061 Prefactor = 1.02681 Normalizat = 1.02728 Prefactor = 1.05265 ********** ** 18 **HESSE ********** FCN= 92536.86 FROM HESSE STATUS=OK 703 CALLS 7837 TOTAL EDM= .51E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .12438 .42373 .68501E-04 -1.5637 2 Prefactor .10000E-03 16.152 .14514E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .78829E-01 .78816 .90967E-01 -1.5652 4 norm 8.1800 .84437 .67444E-06 -1.5136 5 Prefactor .10000E-03 .59390 .77134E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.7313 1.4136 .13421E-05 -1.5229 7 Prefactor 19.038 9.6742 .73362E-06 -1.4835 8 norm 1.9106 .29496 .46884E-06 -1.5432 9 Prefactor 7.9870 4.3216 .11352E-05 -1.5143 10 norm 8.7692 1.9525 .10828E-05 -1.5116 11 Prefactor .10000E-03 3.9453 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.3997 6.0026 .12693E-05 -1.5202 13 norm .10000E-03 .98357E-01 .46348E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 11.515 7.6343 .94452E-06 -1.5029 15 norm 9.1487 1.0075 .73384E-06 -1.5103 16 Prefactor .10000E-03 1.5565 .13817E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.2851 .60444 .89084E-06 -1.5406 18 Prefactor 1.3759 .47577 .94187E-06 -1.5473 19 Prefactor .10000E-03 .99258 .11284E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 4.9406 1.0331 .72375E-06 -1.5263 21 Prefactor 7.0623 2.1889 .12076E-05 -1.5176 22 Prefactor 1.1245 1.4714 .33635E-05 -1.5496 23 Prefactor 19.941 12.086 .35856E-05 -1.4815 24 Prefactor 1.3549 .91766 .18324E-05 -1.5475 25 norm .10000E-03 .25094 .11632E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10016E-03 1.6238 .10842 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 6.5729 3.6765 .12512E-05 -1.5195 28 norm 6.7454 1.5047 .61803E-05 -1.5188 29 norm 27.712 2.2281 .30441E-05 -1.4655 30 norm .10061E-03 .99416 .65831E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 31 Prefactor 1.0268 .82983 .18816E-05 -1.5505 32 Normalizat 1.0273 .56813E-01 .20166E-05 -.92122 33 Prefactor 1.0526 .65324E-01 .24043E-05 -.90995 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.07164e-09 Minuit parameter uncertainties: 1 0.423744 2 6.20191e-05 3 0.49821 4 0.84437 5 3.83246e-05 6 1.41364 7 9.675 8 0.294956 9 4.32178 10 1.95249 11 3.025e-05 12 6.00318 13 7.76478e-07 14 7.63494 15 1.00748 16 2.4945e-05 17 0.604446 18 0.475775 19 8.87174e-06 20 1.03306 21 2.18888 22 1.47143 23 12.0873 24 0.917667 25 1.36629e-07 26 0.00100611 27 3.67663 28 1.50471 29 2.22809 30 0.00155782 31 0.82984 32 0.0568167 33 0.0653288 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 92536.8641174 Extracting fit parameters... 4FGL J1220.1+3432 Spectrum: PowerLaw 299 Prefactor: 1.000e-04 2.494e-05 1.000e-04 1.000e+04 ( 1.000e-13) 300 Index: 2.107e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 301 Scale: 1.673e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 610 Prefactor: 1.053e+00 6.533e-02 0.000e+00 1.000e+01 ( 1.000e+00) 611 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 612 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 609 Normalization: 1.027e+00 5.682e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 185.046 34.538 Photon Flux Upper Limit: 1.04e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.88e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/791800/likelihoodResults_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.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) = 92536.8671991 delta logL = -0.00308166226023 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 92536.8641107 delta logL = 6.70592999086e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10058E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.1784 1.0000 .0000 10.000 3 'Normalizat' 1.0273 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0526 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6130E+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= 92536.39 FROM MIGRAD STATUS=FAILED 172 CALLS 345 TOTAL EDM= .38E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10245 .32840 .68037E-03 -.52310E-02 2 Index 3.6707 1.2681 .15122E-01 .74678E-02 3 Normalizat 1.0117 .56591E-01 .25385E-03 -.81474E-03 4 Prefactor 1.0629 .66242E-01 .29929E-03 .73539E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 92536.39 FROM SIMPLEX STATUS=UNCHANGED 75 CALLS 420 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10245 .32840 .41417E-04 -1.5772 2 Index 3.6707 1.2681 .84476E-03 -.26910 3 Normalizat 1.0117 .56591E-01 .85035E-04 -.92641 4 Prefactor 1.0629 .66242E-01 .88742E-04 -.90662 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 92536.39 FROM MIGRAD STATUS=CONVERGED 30 CALLS 450 TOTAL EDM= .14E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10245 .59364 .27215E-04 .66838E-04 2 Index 3.6707 1.8636 .30244E-02 .29669E-03 3 Normalizat 1.0117 .56106E-01 .10154E-04 -.11823E-03 4 Prefactor 1.0629 .66039E-01 .11972E-04 -.60776E-04 ERR DEF= .500 Final values: Prefactor = 0.102451 Index = 3.67068 Normalizat = 1.01166 Prefactor = 1.06289 ********** ** 18 **HESSE ********** FCN= 92536.39 FROM HESSE STATUS=OK 25 CALLS 475 TOTAL EDM= .22E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10245 .32176 .10886E-05 -1.5772 2 Index 3.6707 1.2329 .60487E-03 -.26910 3 Normalizat 1.0117 .56177E-01 .20308E-05 -.92641 4 Prefactor 1.0629 .66017E-01 .23944E-05 -.90662 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.24528e-12 Minuit parameter uncertainties: 1 0.32177 2 1.24674 3 0.0561806 4 0.0660218 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/791800': 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) = 92536.3936843 delta logL = 0.470433092152 Extracting fit parameters... 4FGL J1220.1+3432 Spectrum: PowerLaw 299 Prefactor: 1.025e-01 3.218e-01 1.000e-04 1.000e+04 ( 1.000e-13) 300 Index: 3.671e+00 1.247e+00 0.000e+00 1.000e+01 (-1.000e+00) 301 Scale: 1.673e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 610 Prefactor: 1.063e+00 6.602e-02 0.000e+00 1.000e+01 ( 1.000e+00) 611 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 612 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 609 Normalization: 1.012e+00 5.618e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.07 Ra Dec: 185.046 34.538 Photon Index (Free Index): 3.67 +/- 1.25 Photon Flux (Free Index): 1.19e-08 +/- 7.24e-08 Energy Flux (Free Index): 1.90e-06 +/- 1.11e-05 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/791800/cmap_HighResolution_594691201_597283201_4FGL_J1220.1+3432_monthly_bin138.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/791800 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-04', comment='SUCCESS', energy_flux2='1.90e-06', dlogl='4.70e-01', photon_flux2='1.19e-08', job_status='DONE', time_completed='2021-10-23 17:02:46.601245', photon_index_error2='1.25', photon_index2='3.67', ts='-0.00', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.04e-08', energy_flux_error2='1.11e-05', EG='1.03', time_epoch_completed='1635033766.6', return_code='0', job_id='791800', GAL2='1.06', EG2='1.01', return_code2='0', photon_flux_error2='7.24e-08', ts2='1.07', photon_index='2.11' WHERE bin_id='138' AND source_name='4FGL J1220.1+3432' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 23 17:02:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 791800: <4FGL_J1220.1+3432_monthly_bin138> in cluster Done Job <4FGL_J1220.1+3432_monthly_bin138> was submitted from host by user in cluster at Sat Oct 23 13:00:33 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Oct 23 13:00:35 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 23 13:00:35 2021 Terminated at Sat Oct 23 17:02:47 2021 Results reported at Sat Oct 23 17:02:47 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1220.1+3432_monthly_bin138 185.046 34.5383 594691201 597283201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1220.1+3432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 14201.82 sec. Max Memory : 1266 MB Average Memory : 433.77 MB Total Requested Memory : - Delta Memory : - Max Swap : 2951 MB Max Processes : 6 Max Threads : 21 Run time : 14532 sec. Turnaround time : 14534 sec. The output (if any) is above this job summary.